/* ============================================
   IPP — Institut Professionnel du Peuple
   Design tokens
   ============================================ */

:root {
    --navy: #0f3460;
    --navy-deep: #0a2647;
    --navy-soft: #16447f;
    --gold: #d99a3d;
    --gold-light: #f0c179;
    --cream: #f7f4ee;
    --paper: #fffdf9;
    --ink: #16213e;
    --ink-soft: #4b5468;
    --line: #dcd8cd;
    --line-on-navy: rgba(255, 255, 255, .16);
    --font-display: "Archivo Expanded", "Archivo", sans-serif;
    --font-head: "Archivo", sans-serif;
    --font-body: "Source Sans 3", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;
    --radius-s: 6px;
    --radius-m: 12px;
    --radius-l: 22px;
    --shadow-card: 0 1px 2px rgba(15, 52, 96, .06), 0 10px 30px -12px rgba(15, 52, 96, .18);
    --ease: cubic-bezier(.22, .68, 0, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    color: var(--navy-deep);
    margin: 0 0 .5em;
    line-height: 1.12;
    letter-spacing: -.01em;
}

p {
    margin: 0 0 1em;
    color: var(--ink-soft);
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: .035;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin: 0 0 .9em;
}

.eyebrow-light {
    color: var(--gold-light);
}


/* ============ BUTTONS ============ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .95em 1.7em;
    border-radius: var(--radius-s);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .96rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-deep);
    box-shadow: 0 8px 20px -8px rgba(217, 154, 61, .6);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--navy-deep);
    border-color: var(--navy-deep);
}

.btn-ghost:hover {
    background: var(--navy-deep);
    color: #fff;
    transform: translateY(-2px);
}

.btn-header {
    padding: .7em 1.4em;
    font-size: .88rem;
}


/* ============ HEADER ============ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 244, 238, .75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s, box-shadow .3s;
}

.site-header.scrolled {
    background: rgba(247, 244, 238, .92);
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(15, 52, 96, .4);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: .85rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-right: auto;
}

.brand-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--paper);
    background: var(--navy);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-s);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -.02em;
}

.brand-full {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .8rem;
    line-height: 1.25;
    color: var(--navy-deep);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-family: var(--font-head);
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink-soft);
    position: relative;
    padding: .3rem 0;
    transition: color .2s;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .25s var(--ease);
}

.main-nav a:hover {
    color: var(--navy-deep);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.4rem;
    height: 2.4rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--navy-deep);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}


/* ============ HERO SLIDER ============ */

.hero-slider {
    position: relative;
    height: min(760px, 88vh);
    min-height: 460px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform .9s var(--ease);
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

.slide-media {
    width: 100%;
    height: 100%;
    display: block;
}

.slide-tag {
    position: absolute;
    right: 2rem;
    bottom: 4.2rem;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(100deg, rgba(10, 38, 71, .94) 0%, rgba(10, 38, 71, .82) 34%, rgba(10, 38, 71, .35) 62%, rgba(10, 38, 71, .08) 100%);
    pointer-events: none;
}

.slider-content {
    max-width: 620px;
    padding: 0 1.75rem 0 clamp(1.75rem, 6vw, 6rem);
    pointer-events: auto;
}

.slider-content h1 {
    color: var(--paper);
    font-size: clamp(2.3rem, 4.4vw, 3.5rem);
}

.slider-content .hero-accent {
    color: var(--gold-light);
}

.slider-content .hero-accent::after {
    background: rgba(217, 154, 61, .35);
}

.slider-content .hero-lede {
    color: rgba(255, 255, 255, .78);
    font-size: 1.08rem;
    max-width: 46ch;
}

.slider-content .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.btn-ghost-light {
    color: var(--paper);
    border-color: rgba(255, 255, 255, .5);
}

.btn-ghost-light:hover {
    background: var(--paper);
    color: var(--navy-deep);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(10, 38, 71, .35);
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: var(--paper);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .25s, transform .25s, border-color .25s;
    z-index: 5;
}

.slider-arrow:hover {
    background: rgba(217, 154, 61, .85);
    border-color: var(--gold);
    color: var(--navy-deep);
}

.slider-arrow.prev {
    left: 1.5rem;
}

.slider-arrow.next {
    right: 1.5rem;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 1.8rem;
    transform: translateX(-50%);
    display: flex;
    gap: .55rem;
    z-index: 5;
}

.slider-dots button {
    width: 2.1rem;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    padding: 0;
    transition: background .3s, width .3s;
}

.slider-dots button.active {
    background: var(--gold);
    width: 2.7rem;
}


/* ============ STAT STRIP ============ */

.stat-strip {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.stat-strip-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.4rem 1.75rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 2rem;
    color: var(--navy-deep);
}

.stat-item span {
    font-size: .85rem;
    color: var(--ink-soft);
}


/* ============ HERO (legacy split, kept for reference sections) ============ */

.hero-copy h1 {
    font-size: clamp(2.4rem, 4.6vw, 3.7rem);
}

.hero-accent {
    color: var(--navy);
    position: relative;
}

.hero-accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .08em;
    height: .28em;
    background: var(--gold-light);
    z-index: -1;
    opacity: .55;
}

.hero-lede {
    font-size: 1.1rem;
    max-width: 46ch;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.6rem 0 2.4rem;
}

.hero-trust {
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--navy-deep);
}

.trust-item span {
    font-size: .82rem;
    color: var(--ink-soft);
}


/* ---- ID Card signature element ---- */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.id-card {
    width: min(360px, 100%);
    aspect-ratio: 340/430;
    background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 78%);
    border-radius: var(--radius-l);
    padding: 1.7rem 1.6rem;
    color: var(--paper);
    position: relative;
    box-shadow: 0 30px 60px -20px rgba(10, 38, 71, .55), 0 4px 16px rgba(10, 38, 71, .3);
    transform: rotate3d(1, -1, 0, 8deg);
    transition: transform .4s var(--ease);
    overflow: hidden;
}

.id-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.id-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    background: var(--gold);
    color: var(--navy-deep);
    padding: .25em .6em;
    border-radius: 5px;
    letter-spacing: -.02em;
}

.id-label {
    font-family: var(--font-mono);
    font-size: .68rem;
    opacity: .65;
    text-align: right;
    max-width: 8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.id-photo {
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1.5px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.id-photo svg {
    width: 2.4rem;
    height: 2.4rem;
    stroke: rgba(255, 255, 255, .55);
    stroke-width: 5;
    fill: none;
}

.id-fields {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-bottom: 1.6rem;
}

.id-field {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.id-field span {
    font-family: var(--font-mono);
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    opacity: .55;
}

.id-field strong {
    font-family: var(--font-head);
    font-size: .96rem;
    font-weight: 600;
}

.id-card-bottom {
    position: absolute;
    left: 1.6rem;
    right: 1.6rem;
    bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, .25);
}

.id-serial {
    font-family: var(--font-mono);
    font-size: .68rem;
    opacity: .6;
}

.id-seal {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 800;
}

.id-sheen {
    position: absolute;
    inset: -40% -60%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .16) 50%, transparent 60%);
    transform: translateX(-30%);
    pointer-events: none;
}

.id-card-shadow {
    position: absolute;
    left: 50%;
    bottom: -1.2rem;
    width: 70%;
    height: 2.2rem;
    background: radial-gradient(ellipse at center, rgba(10, 38, 71, .35), transparent 70%);
    transform: translateX(-50%);
    z-index: -1;
}

.hero-marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    overflow: hidden;
    padding: .95rem 0;
}

.marquee-track {
    display: flex;
    gap: 1.1rem;
    white-space: nowrap;
    animation: marquee 34s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-family: var(--font-mono);
    font-size: .82rem;
    color: var(--ink-soft);
}

.marquee-track span:nth-child(odd) {
    color: var(--gold);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* ============ SECTIONS (shared) ============ */

.section {
    padding: 6.5rem 0;
}

.section-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

.section-head {
    max-width: 640px;
    margin-bottom: 3.2rem;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.section-lede {
    font-size: 1.03rem;
}

.section-head.light h2,
.section-head.light .eyebrow {
    color: var(--paper);
}

.section-head.light .eyebrow {
    color: var(--gold-light);
}


/* ============ FORMATIONS ============ */

.formation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 1.4rem;
}

.formation-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 1.8rem 1.6rem;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.formation-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--navy-soft);
}

.formation-icon {
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 1rem;
}

.formation-code {
    font-family: var(--font-mono);
    font-size: .74rem;
    color: var(--gold);
    letter-spacing: .06em;
    font-weight: 500;
    margin-bottom: .9rem;
}

.formation-card h3 {
    font-size: 1.12rem;
    margin-bottom: .5rem;
}

.formation-card p {
    font-size: .93rem;
    margin-bottom: 1.2rem;
}

.formation-meta {
    display: flex;
    gap: .6rem;
}

.formation-meta span {
    font-family: var(--font-mono);
    font-size: .7rem;
    background: var(--cream);
    color: var(--navy-deep);
    padding: .3em .65em;
    border-radius: 4px;
}


/* ============ PARCOURS ============ */

.parcours {
    background: var(--navy-deep);
    background-image: radial-gradient(ellipse 80% 60% at 15% 0%, var(--navy-soft), var(--navy-deep) 65%);
    color: var(--paper);
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.4rem;
    counter-reset: step;
}

.timeline-step {
    position: relative;
    padding-top: 1.5rem;
    border-top: 2px solid var(--line-on-navy);
}

.timeline-step::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--gold);
    transition: width .6s var(--ease);
}

.timeline-step.in-view::before {
    width: 100%;
}

.step-num {
    font-family: var(--font-mono);
    font-size: .82rem;
    color: var(--gold);
    display: block;
    margin-bottom: .9rem;
}

.timeline-step h3 {
    color: var(--paper);
    font-size: 1.05rem;
    margin-bottom: .5rem;
}

.timeline-step p {
    color: rgba(255, 255, 255, .62);
    font-size: .88rem;
}


/* ============ CERTIFICATION ============ */

.certification {
    background: var(--paper);
}

.certification-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3.5rem;
    align-items: center;
}

.check-list {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.check-list li {
    position: relative;
    padding-left: 1.7rem;
    font-size: .96rem;
    color: var(--ink);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-deep);
    font-size: .7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification .id-card {
    transform: rotate3d(1, -1, 0, 6deg);
}

.certification .hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}


/* ============ PARTENAIRES ============ */

.partners {
    background: var(--cream);
    padding: 3.4rem 0;
    border-bottom: 1px solid var(--line);
}

.partners-eyebrow {
    text-align: center;
    margin-bottom: 1.6rem;
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.4rem;
}

.partner-badge {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .88rem;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .6em 1.3em;
    letter-spacing: .01em;
    transition: color .2s, border-color .2s;
}

.partner-badge:hover {
    color: var(--navy-deep);
    border-color: var(--navy-soft);
}


/* ============ FAQ ============ */

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--paper);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy-deep);
}

.faq-icon {
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--cream);
    color: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    transition: transform .3s var(--ease), background .3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}

.faq-answer p {
    padding: 0 1.5rem 1.3rem;
    font-size: .94rem;
    margin: 0;
}


/* ============ POURQUOI ============ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.6rem;
}

.feature-card {
    padding: 1rem 0;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-s);
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--gold-light);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: .5rem;
}

.feature-card p {
    font-size: .92rem;
}


/* ============ TEMOIGNAGES ============ */

.temoignages {
    background: var(--paper);
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.quote-card {
    background: var(--cream);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-m) var(--radius-m) 0;
    padding: 1.8rem 1.7rem;
    margin: 0;
}

.quote-card p {
    font-family: var(--font-head);
    font-style: normal;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 1.3rem;
    line-height: 1.55;
}

.quote-card footer strong {
    display: block;
    font-size: .9rem;
    color: var(--navy-deep);
}

.quote-card footer span {
    font-size: .8rem;
    color: var(--ink-soft);
}


/* ============ CTA / ADMISSION ============ */

.cta-band {
    background: var(--navy);
    background-image: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 5.5rem 1.75rem;
}

.cta-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.cta-inner h2 {
    color: var(--paper);
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}

.cta-lede {
    color: rgba(255, 255, 255, .68);
    max-width: 46ch;
    margin-left: auto;
    margin-right: auto;
}

.admission-form {
    margin-top: 2.2rem;
    text-align: left;
}

.form-row {
    display: flex;
    gap: .9rem;
    margin-bottom: .9rem;
    flex-wrap: wrap;
}

.form-row input,
.form-row select {
    flex: 1 1 220px;
    padding: .95em 1.1em;
    border-radius: var(--radius-s);
    border: 1.5px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: .96rem;
}

.form-row input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.form-row select {
    color: rgba(255, 255, 255, .85);
}

.form-row select option {
    color: var(--ink);
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, .1);
}

.form-row .btn {
    flex: 1 1 220px;
}

.form-note {
    font-family: var(--font-mono);
    font-size: .82rem;
    color: var(--gold-light);
    min-height: 1.4em;
    margin: .6rem 0 0;
}


/* ============ FOOTER ============ */

.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .7);
    padding: 4rem 1.75rem 1.6rem;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.8rem;
    border-bottom: 1px solid var(--line-on-navy);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .brand-mark {
    background: var(--gold);
    color: var(--navy-deep);
}

.footer-brand p {
    color: rgba(255, 255, 255, .55);
    font-size: .88rem;
}

.footer-social {
    display: flex;
    gap: .7rem;
}

.footer-social a {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1px solid var(--line-on-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .6);
    transition: color .2s, border-color .2s, background .2s;
}

.footer-social a:hover {
    color: var(--navy-deep);
    background: var(--gold);
    border-color: var(--gold);
}

.footer-social svg {
    width: 1.1rem;
    height: 1.1rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gold-light);
    margin: 0 0 .3rem;
}

.footer-col a,
.footer-col span {
    font-size: .9rem;
    color: rgba(255, 255, 255, .68);
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--paper);
}

.footer-address {
    color: rgba(255, 255, 255, .5);
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 1.6rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .45);
}


/* ============ SCROLL REVEAL ============ */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}


/* ============ RESPONSIVE ============ */

@media (max-width: 980px) {
    .hero-visual {
        order: -1;
    }
    .id-card {
        transform: rotate3d(0, 0, 0, 0);
        width: min(300px, 80%);
    }
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .certification-inner {
        grid-template-columns: 1fr;
    }
    .certification .id-card {
        transform: rotate3d(0, 0, 0, 0);
        width: min(300px, 80%);
    }
    .stat-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .main-nav {
        display: none;
    }
    .btn-header {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .header-inner {
        padding: .8rem 1.25rem;
    }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: .5rem 1.25rem 1.25rem;
    }
    .main-nav.open a {
        padding: .85rem 0;
        border-bottom: 1px solid var(--line);
    }
    .hero-slider {
        height: 92vh;
        min-height: 560px;
    }
    .slider-overlay {
        background: linear-gradient(180deg, rgba(10, 38, 71, .55) 0%, rgba(10, 38, 71, .92) 62%, rgba(10, 38, 71, .97) 100%);
        align-items: flex-end;
        padding-bottom: 5rem;
    }
    .slider-content {
        padding: 0 1.25rem;
        max-width: 100%;
    }
    .slide-tag {
        display: none;
    }
    .slider-arrow {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.3rem;
    }
    .slider-arrow.prev {
        left: .75rem;
    }
    .slider-arrow.next {
        right: .75rem;
    }
    .section {
        padding: 4.5rem 0;
    }
    .section-inner {
        padding: 0 1.25rem;
    }
    .timeline {
        grid-template-columns: 1fr;
    }
    .timeline-step {
        border-top: none;
        border-left: 2px solid var(--line-on-navy);
        padding: 0 0 0 1.2rem;
    }
    .timeline-step::before {
        top: 0;
        left: -2px;
        height: 0;
        width: 2px;
    }
    .timeline-step.in-view::before {
        height: 100%;
        width: 2px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
    }
    .cta-band {
        padding: 4rem 1.25rem;
    }
    .stat-strip-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem 1rem;
    }
}