/* ─── PAGE HERO ─────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    padding: 48px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(0,0,0,0.1) 0%, transparent 50%);
}

.page-hero__content { position: relative; }

.page-hero__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 12px;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

/* ─── SECTION SHARED ────────────────────────────────────────── */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.2;
}

.section-rule {
    width: 48px;
    height: 3px;
    background: var(--red);
    margin: 16px auto 48px;
    border-radius: 2px;
}

/* ─── SHARED BLOCK LAYOUT ───────────────────────────────────── */
.dept-block {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}

.dept-block-abo {
    display: block;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}

.dept-block-rh {
    display: block;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}

.dept-block-rh .dept-block__img-rh {
    width: 60%;
    justify-self: center;
}

@media (width <= 768px) {
.dept-block-rh .dept-block__img-rh {
    width: 90%;
    justify-self: center;
}
}

.dept-block__img img{
    padding: 0.5rem;
    border-radius: 10px;
}

.dept-block--reverse {
    grid-template-columns: 1fr 300px;
}

.dept-block--reverse .dept-block__img { order: 2; }
.dept-block--reverse .dept-block__text { order: 1; }

.dept-block__img {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    line-height: 0;
    flex-shrink: 0;
}

.dept-block__img img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dept-block__img:hover img { transform: scale(1.03); }

.dept-block__text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dept-block__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
}

.dept-block__heading {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.dept-block__body {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}

.dept-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    max-width: 960px;
    margin: 0 auto;
}

/* ─── ABO SECTION ────────────────────────────────────────────── */
.abo-section {
    padding: 80px 0;
    background: var(--white);
}

.abo-section .dept-block {
    margin-bottom: 0;
}

/* ─── RH SECTION ─────────────────────────────────────────────── */
.rh-section {
    padding: 80px 0;
    background: var(--red-pale);
}

/* ─── SUBGROUPS SECTION ─────────────────────────────────────── */
.subgroups-section {
    padding: 80px 0;
    background: var(--white);
}

.subgroups-wrap {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ─── METHOD CARDS ───────────────────────────────────────────── */
.method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.method-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.method-card:hover {
    border-color: var(--red);
    box-shadow: 0 6px 32px var(--shadow);
    transform: translateY(-2px);
}
.method-card:hover::before { transform: scaleY(1); }

.method-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.3;
}

.method-card__body {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
}

/* ─── ANTIBODIES SECTION ─────────────────────────────────────── */
.antibodies-section {
    padding: 80px 0;
    background: var(--red-pale);
}

.antibodies-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.antibodies-intro {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--red);
    border-radius: 4px;
    padding: 36px 40px;
}

.antibodies-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red-pale);
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
}

.antibodies-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
}

.antibodies-intro__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
    line-height: 1.35;
}

.antibodies-intro__body {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}

.type-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.type-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    border-radius: 4px;
    padding: 22px 24px;
}

.type-card__name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.type-card__body {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
}

/* ─── HDN SECTION ────────────────────────────────────────────── */
.hdn-section {
    padding: 80px 0;
    background: var(--white);
}

.hdn-card {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--red);
    border-radius: 4px;
    padding: 44px 48px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hdn-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red-pale);
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
}

.hdn-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
}

.hdn-card__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
}

.hdn-card__body {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}

.hdn-note {
    background: var(--red-pale);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    border-radius: 4px;
    padding: 18px 22px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .dept-block,
    .dept-block--reverse { grid-template-columns: 1fr; }
    .dept-block--reverse .dept-block__img,
    .dept-block--reverse .dept-block__text { order: unset; }
    .dept-block__img img { height: 220px; }
    .method-grid { grid-template-columns: 1fr; }
    .type-cards { grid-template-columns: 1fr; }
    .antibodies-intro { padding: 28px 24px; }
    .hdn-card { padding: 32px 24px; }
}

@media (max-width: 600px) {
    .page-hero { padding: 40px 20px; }
    .abo-section, .rh-section, .subgroups-section,
    .antibodies-section, .hdn-section { padding: 56px 0; }
}