﻿
:root {
    --paper: #F7ECD3;
    --paper-deep: #EFDFB8;
    --paper-panel: #FBF4E4;
    --ink: #2A231C;
    --ink-soft: #6B5F4F;
    --sage: #4B6944;
    --sage-deep: #34492F;
    --sage-tint: #DCE6D5;
    --blue: #7CA0BF;
    --blue-deep: #5A7E9C;
    --blue-tint: #E3EDF4;
    --red: #9A2A20;
    --red-deep: #7A1F17;
    --gold: #B08A2E;
    --gold-soft: #D9C079;
    --shadow: rgba(42, 35, 28, 0.14);
    --radius-lg: 26px;
    --radius-md: 16px;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        background-image: radial-gradient(circle at 1px 1px, rgba(42,35,28,0.045) 1px, transparent 0);
        background-size: 22px 22px;
        opacity: 0.55;
    }

h1, h2, h3 {
    font-family: "Bricolage Grotesque", sans-serif;
    color: var(--ink);
}

.script {
    font-family: "Great Vibes", cursive;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============ BANNER ============ */
.banner {
    position: relative;
    background: linear-gradient(180deg, rgba(42,35,28,0.06), rgba(42,35,28,0) 60%), var(--sage-deep);
    background-color: var(--sage-deep);
    overflow: hidden;
    padding: 64px 0 46px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

    .banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
        background-size: 20px 20px;
    }

    .banner::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 6px;
        background: repeating-linear-gradient(90deg, var(--gold-soft) 0 14px, transparent 14px 26px);
        opacity: 0.6;
    }

    .banner .wrap {
        position: relative;
        z-index: 2;
    }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.03em;
    color: rgba(247,236,211,0.72);
    margin-bottom: 22px;
}

    .breadcrumb a {
        color: rgba(247,236,211,0.72);
        transition: color .2s;
    }

        .breadcrumb a:hover {
            color: var(--gold-soft);
        }

    .breadcrumb .sep {
        opacity: 0.5;
    }

    .breadcrumb .current {
        color: var(--gold-soft);
        font-weight: 500;
    }

.banner-kicker {
    font-family: "Great Vibes", cursive;
    font-size: 30px;
    color: var(--gold-soft);
    display: block;
    margin-bottom: 2px;
    transform: rotate(-1.5deg);
}

.banner h1 {
    color: var(--paper);
    font-size: clamp(34px, 5.2vw, 58px);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.02;
}

.banner-seal {
    position: absolute;
    right: 38px;
    top: 50%;
    transform: translateY(-50%);
    width: 118px;
    height: 118px;
    opacity: 0.9;
}

@media (max-width:760px) {
    .banner-seal {
        display: none;
    }
}

/* ============ INTRO ============ */
.intro {
    position: relative;
    z-index: 1;
    padding: 50px 0 50px;
    background: #fff;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.intro h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
}

    .intro h2 em {
        font-style: normal;
        color: var(--red);
        position: relative;
    }

.intro p.lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 52ch;
}

.intro-underline {
    display: inline-block;
    width: 64px;
    height: 3px;
    background: var(--red);
    margin-bottom: 20px;
    position: relative;
}

    .intro-underline::after {
        content: "";
        position: absolute;
        left: 0;
        top: -5px;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--gold);
    }

.seal-card {
    background: var(--paper-panel);
    border: 1px solid var(--paper-deep);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 18px 40px -18px var(--shadow);
    position: relative;
}

    .seal-card .stitch {
        position: absolute;
        inset: 10px;
        border: 1.5px dashed rgba(176,138,46,0.4);
        border-radius: 20px;
        pointer-events: none;
    }

    .seal-card svg {
        width: 150px;
        height: 150px;
        margin: 0 auto 18px;
    }

    .seal-card .seal-caption {
        font-size: 13px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink-soft);
        font-weight: 500;
    }

        .seal-card .seal-caption strong {
            display: block;
            font-family: "Bricolage Grotesque", sans-serif;
            text-transform: none;
            letter-spacing: 0;
            font-size: 20px;
            color: var(--ink);
            margin-bottom: 4px;
        }

@media (max-width:880px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .seal-card {
        max-width: 340px;
        margin: 0 auto;
    }
}

/* ============ DOSSIER (diagnostic sections) ============ */
.dossier {
    position: relative;
    padding: 50px 0 70px;
}
.dossier-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 15px;
}
.card-list article.diag-card:nth-child(2n) .diag-body {
    margin-right: 30px;
}
.card-list article.diag-card:nth-child(2n+1) .diag-body {
    margin-left: 30px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ae2220;
    padding: 7px 16px;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 16px;
}
.kicker img {
    height: 30px;
    filter: brightness(0) saturate(100%) invert(19%) sepia(70%) saturate(2253%) hue-rotate(346deg) brightness(102%) contrast(92%);
}
.dossier-head h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
}
.eyebrow::before {
    display: none;
}
.cta-band h2 span {
    color: #d9c079;
}
    .spine {
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 80px;
    width: 2px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(180deg, rgba(176,138,46,0.55) 0 8px, transparent 8px 16px);
    z-index: 0;
}
section.cta-band .btn-primary:hover {
    border-color: #fff !important;
    color: #fff;
}
@media (max-width:900px) {
    .spine {
        display: none;
    }
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 54px;
    position: relative;
    z-index: 1;
}
.diag-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    opacity: 1;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}
    .diag-card.in-view {
        opacity: 1;
        transform: translateY(0);
    }

    .diag-card:nth-child(even) {
        direction: rtl;
    }

        .diag-card:nth-child(even) .diag-body {
            direction: ltr;
        }

        .diag-card:nth-child(even) .diag-visual {
            direction: ltr;
        }

.diag-visual {
    display: flex;
    justify-content: center;
}

.icon-plate {
    width: 154px;
    height: 154px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--paper-panel);
    border: 1px solid var(--paper-deep);
    box-shadow: 0 20px 34px -18px var(--shadow);
}

    .icon-plate::before {
        content: "";
        position: absolute;
        inset: -10px;
        border-radius: 50%;
        border: 1.5px dashed rgba(176,138,46,0.38);
    }

    .icon-plate svg {
        width: 64px;
        height: 64px;
        stroke: var(--sage-deep);
    }

.diag-card:nth-child(2) .icon-plate svg {
    stroke: var(--blue-deep);
}

.diag-card:nth-child(3) .icon-plate svg {
    stroke: var(--red);
}

.diag-card:nth-child(4) .icon-plate svg {
    stroke: var(--sage-deep);
}

.diag-card:nth-child(5) .icon-plate svg {
    stroke: var(--blue-deep);
}

.diag-card:nth-child(6) .icon-plate svg {
    stroke: var(--red);
}

.diag-body {
    background: var(--paper-panel);
    border: 1px solid var(--paper-deep);
    border-radius: var(--radius-lg);
    padding: 38px 40px;
    position: relative;
    margin: 0 -34px;
    box-shadow: 0 22px 40px -22px var(--shadow);
}

.diag-card:nth-child(odd) .diag-body {
    margin-left: 0;
}

.diag-card:nth-child(even) .diag-body {
    margin-right: 0;
}

.diag-index {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.diag-body h3 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 12px;
}
.diag-body p {
    font-size: 15px;
    line-height: 1.72;
    color: var(--ink-soft);
    margin-bottom: 16px;
    font-weight: 300;
}
.margin-note {
    font-family: "Great Vibes", cursive;
    font-size: 25px;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: rotate(-1.2deg);
    display: none;
}
.diag-body h3 span {
    color: #4c6a45;
    font-size: 35px;
}
    .margin-note svg {
        width: 22px;
        height: 22px;
        stroke: var(--red);
        flex-shrink: 0;
    }
.card-list article.diag-card:nth-child(2n) .icon-plate img {
    filter: brightness(0) saturate(100%) invert(36%) sepia(29%) saturate(507%) hue-rotate(63deg) brightness(96%) contrast(89%);
}
.card-list article.diag-card:nth-child(2n+1) .icon-plate img {
    filter: brightness(0) saturate(100%) invert(30%) sepia(93%) saturate(2587%) hue-rotate(344deg) brightness(68%) contrast(99%);
}
.card-list article.diag-card .icon-plate img {
    height: 90px;
}
@media (max-width:900px) {
    .diag-card, .diag-card:nth-child(even) {
        direction: ltr;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .diag-body {
        margin: 0 !important;
        padding: 90px 26px 50px;
    }
    .icon-plate {
        width: 104px;
        height: 104px;
    }

        .icon-plate svg {
            width: 46px;
            height: 46px;
        }
}

/* ============ CTA ============ */
.cta-band {
    position: relative;
    background: var(--sage-deep);
    padding: 40px 0;
    overflow: hidden;
    text-align: center;
}
    .cta-band::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
        background-size: 20px 20px;
    }

    .cta-band .wrap {
        position: relative;
        z-index: 1;
    }

    .cta-band .script-line {
        font-family: "Great Vibes", cursive;
        font-size: 32px;
        color: var(--gold-soft);
        margin-bottom: 6px;
        display: block;
    }

    .cta-band h2 {
        color: var(--paper);
        font-size: clamp(26px, 3.4vw, 40px);
        max-width: 640px;
        margin: 0 auto 14px;
        line-height: 1.2;
    }
    .cta-band p {
        color: rgba(247,236,211,0.78);
        max-width: 520px;
        margin: 0 auto 36px;
        font-size: 15.5px;
        line-height: 1.7;
        font-weight: 300;
    }
.btn-stamp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--red);
    color: var(--paper);
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.02em;
    padding: 17px 34px;
    border-radius: 999px;
    border: 1.5px solid rgba(247,236,211,0.5);
    box-shadow: 0 16px 30px -14px rgba(0,0,0,0.5);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

    .btn-stamp:hover {
        transform: translateY(-3px);
        background: var(--red-deep);
        box-shadow: 0 22px 36px -14px rgba(0,0,0,0.55);
    }

    .btn-stamp svg {
        width: 18px;
        height: 18px;
    }


@media (max-width:767px){
    section.innerbannersection {
        padding: 0;
    }
}