﻿*, *::before, *::after { box-sizing: border-box; }

:root {
    /* Greens */
    --moss:        #006726;
    --moss-deep:   #003d16;
    --moss-mid:    #1a7a3d;
    --moss-soft:   #e3eee5;
    --moss-tint:   #f1f6f0;
    --moss-line:   #c8dccc;

    /* Paper */
    --bone:        #f6f1e6;
    --paper:       #fdfaf3;
    --pure:        #ffffff;

    /* Ink */
    --ink:         #1a2a1d;
    --ink-soft:    #4a5a4d;
    --muted:       #8a958c;
    --line:        #e6dfd0;
    --line-soft:   #efe9da;

    /* Accent */
    --gold:        #b08a3e;
    --gold-soft:   #d9bf80;

    /* Type */
    --display:     'Fraunces', 'Cormorant Garamond', 'Apple Garamond', Georgia, serif;
    --body:        'Manrope', 'Helvetica Neue', system-ui, sans-serif;
    --mono:        'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

    /* Layout */
    --nav-h:       86px;
    --rule:        1px solid var(--line);
    --rule-moss:   1px solid var(--moss-line);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-weight: 400;
    background: var(--bone);
    color: var(--ink);
    overflow-x: hidden;
    margin: 0;
    padding-top: var(--nav-h);
    line-height: 1.65;
    font-feature-settings: "ss01", "ss02", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle paper grain — overlays the whole page, very faint */
body::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: .35;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--moss); color: var(--paper); }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--moss); color: var(--paper);
    padding: .6rem 1rem; z-index: 9999;
    font-family: var(--body); font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ─── HEADINGS ─── */
h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -.01em;
    margin: 0;
}

/* ─── NAV ─── */
.iocp-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 3rem;
    background: rgba(253, 250, 243, 0.86);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: padding .35s ease, border-color .35s ease, background .35s ease;
}
.iocp-nav.scrolled {
    padding: .65rem 3rem;
    border-bottom-color: var(--line);
    background: rgba(253, 250, 243, 0.94);
}

.nav-brand {
    display: inline-flex; align-items: center;
    height: 56px;
}
.nav-brand-img {
    height: 100%;
    width: auto;
    display: block;
    transition: transform .35s ease;
}
.nav-brand:hover .nav-brand-img { transform: translateY(-1px); }
.iocp-nav.scrolled .nav-brand { height: 44px; }

.nav-links { margin: 0; }
.nav-links ul {
    display: flex; align-items: center;
    gap: 2.2rem;
    list-style: none; margin: 0; padding: 0;
}
.nav-links a {
    font-family: var(--body);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    position: relative;
    padding: .35rem 0;
    transition: color .2s;
}
.nav-links a::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--moss);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s ease;
}
.nav-links a:hover { color: var(--moss); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
    background: var(--moss);
    color: var(--paper) !important;
    padding: .6rem 1.2rem !important;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .76rem !important;
    font-weight: 600 !important;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
    background: var(--moss-deep);
    color: var(--paper) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 103, 38, .18);
}

.iocp-nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: .5rem;
}
.iocp-nav-toggle span {
    display: block; width: 26px; height: 1.5px;
    background: var(--ink); border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

/* ─── BUTTONS ─── */
a.btn-primary-iocp,
button.btn-primary-iocp,
.btn-primary-iocp {
    display: inline-flex; align-items: center; gap: .6rem;
    background: var(--moss);
    color: var(--paper);
    padding: .9rem 1.8rem;
    border-radius: 2px;
    border: 1px solid var(--moss);
    font-family: var(--body);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}
.btn-primary-iocp::after {
    content: '→';
    font-family: var(--display);
    font-weight: 400;
    transform: translateX(0);
    transition: transform .25s ease;
}
a.btn-primary-iocp:hover,
button.btn-primary-iocp:hover,
.btn-primary-iocp:hover,
a.btn-primary-iocp:visited,
a.btn-primary-iocp:focus {
    background: var(--moss-deep);
    color: var(--paper);
    border-color: var(--moss-deep);
    text-decoration: none;
}
a.btn-primary-iocp:hover,
button.btn-primary-iocp:hover,
.btn-primary-iocp:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(0, 103, 38, .35);
}
.btn-primary-iocp:hover::after { transform: translateX(4px); }
.btn-primary-iocp.btn-no-arrow::after { content: none; }
.btn-primary-iocp .btn-icon { width: 1.05em; height: 1.05em; flex-shrink: 0; }

a.btn-outline-iocp,
button.btn-outline-iocp,
.btn-outline-iocp {
    display: inline-flex; align-items: center; gap: .6rem;
    background: transparent;
    color: var(--moss);
    padding: .9rem 1.8rem;
    border-radius: 2px;
    border: 1px solid var(--moss);
    font-family: var(--body);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
}
a.btn-outline-iocp:hover,
button.btn-outline-iocp:hover,
.btn-outline-iocp:hover {
    background: var(--moss);
    color: var(--paper);
    transform: translateY(-2px);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    background: var(--bone);
    overflow: hidden;
    margin-top: calc(-1 * var(--nav-h));
    padding-top: var(--nav-h);
    border-bottom: var(--rule);
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 85% 30%, rgba(0,103,38,.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 10% 90%, rgba(176,138,62,.06) 0%, transparent 65%);
    pointer-events: none;
}
.hero-grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0, 103, 38, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 103, 38, .035) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 75%, transparent 100%);
}
.hero::before {
    content: 'IOCP';
    position: absolute;
    top: 50%; left: -40px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    font-family: var(--display);
    font-weight: 300;
    font-style: italic;
    font-size: 14rem;
    color: rgba(0, 103, 38, .04);
    pointer-events: none;
    letter-spacing: -.02em;
    z-index: 0;
}

.hero-content {
    position: relative; z-index: 2;
    padding: 5.5rem 4rem 5rem 5.5rem;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .8rem;
    font-family: var(--mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--moss);
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0; animation: fadeUp .8s .25s forwards;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 36px; height: 1px;
    background: var(--moss);
}

.hero-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -.025em;
    color: var(--ink);
    margin-bottom: 1.6rem;
    opacity: 0; animation: fadeUp .9s .4s forwards;
    overflow-wrap: break-word;
    hyphens: auto;
}
.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--moss);
    font-variation-settings: "opsz" 144;
}

.hero-subtitle {
    font-family: var(--body);
    color: var(--ink-soft);
    font-size: 1.06rem;
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 2.4rem;
    opacity: 0; animation: fadeUp .8s .55s forwards;
}

.hero-actions {
    display: flex; gap: .9rem; flex-wrap: wrap;
    opacity: 0; animation: fadeUp .8s .7s forwards;
}

.hero-visual {
    position: relative; z-index: 1;
    min-height: 540px;
    display: flex; align-items: center; justify-content: center;
    padding: 4rem 3rem;
    opacity: 0; animation: fadeIn 1.2s .6s forwards;
}
.hero-card-stack {
    position: relative;
    width: 380px; height: 540px;
}

.hero-card {
    position: absolute;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 2rem;
    box-shadow:
        0 1px 0 rgba(255,255,255,.7) inset,
        0 18px 40px -22px rgba(0,103,38,.18),
        0 2px 6px rgba(26, 42, 29, .04);
}

.hero-card:nth-child(1) {
    width: 290px; top: 0; right: 0;
    background: var(--moss);
    border-color: var(--moss-deep);
    color: var(--paper);
    transform: rotate(2deg);
}
.hero-card:nth-child(1) .card-label,
.hero-card:nth-child(1) .card-value,
.hero-card:nth-child(1) .card-sub { color: var(--paper); }
.hero-card:nth-child(1) .card-label {
    color: rgba(255,255,255,.7);
}

.hero-card:nth-child(2) {
    width: 290px; bottom: 0; left: 0;
    background: var(--paper);
    transform: rotate(-3deg);
}

.hero-card:nth-child(3) {
    width: 250px; top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-1deg);
    background: var(--bone);
    border-color: var(--moss-line);
    text-align: center; padding: 1.8rem;
}

.card-icon {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: .8rem;
    line-height: 1;
}
.card-label {
    font-family: var(--mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--muted);
    margin-bottom: .5rem;
}
.card-value {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.7rem;
    line-height: 1.15;
    color: var(--ink);
}
.card-sub {
    font-family: var(--body);
    font-size: .82rem;
    color: var(--ink-soft);
    margin-top: .4rem;
}

/* ─── STATS BAR ─── */
.stats-bar {
    background: var(--paper);
    border-bottom: var(--rule);
    position: relative;
}
.stat-item {
    padding: 2.4rem 2.6rem;
    border-right: var(--rule);
    opacity: 0; animation: fadeUp .6s forwards;
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item:nth-child(1) { animation-delay: .1s }
.stat-item:nth-child(2) { animation-delay: .2s }
.stat-item:nth-child(3) { animation-delay: .3s }
.stat-item:nth-child(4) { animation-delay: .4s }

.stat-number {
    font-family: var(--display);
    font-weight: 400;
    font-size: 2.6rem;
    color: var(--moss);
    line-height: 1;
    margin-bottom: .5rem;
    letter-spacing: -.02em;
    font-feature-settings: "lnum";
}
.stat-label {
    font-family: var(--body);
    font-size: .8rem;
    color: var(--ink-soft);
    line-height: 1.5;
    letter-spacing: .01em;
}

/* ─── SECTION SHARED ─── */
section {
    padding: 7rem 0;
    position: relative;
    z-index: 2;
}

.section-eyebrow {
    display: inline-flex; align-items: center; gap: .8rem;
    font-family: var(--mono);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--moss);
    font-weight: 500;
    margin-bottom: 1.2rem;
}
.section-eyebrow::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--moss);
}

.section-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: 1.2rem;
}
.section-title em {
    font-style: italic;
    color: var(--moss);
    font-weight: 400;
}

.section-desc {
    font-family: var(--body);
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.78;
    max-width: 540px;
}

/* ─── COURSES ─── */
.courses-section { background: var(--bone); }
.courses-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1.5rem;
}

.course-card {
    background: var(--paper);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    cursor: pointer;
    height: 100%;
    display: flex; flex-direction: column;
    position: relative;
}
.course-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--moss);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s ease;
    z-index: 2;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -22px rgba(0,103,38,.22);
    border-color: var(--moss-line);
}
.course-card:hover::before { transform: scaleX(1); }

.course-card-top {
    background: var(--moss-tint);
    padding: 2rem 1.8rem 1.4rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--moss-line);
}
.course-card-top::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(0, 103, 38, .07);
}

.course-tag {
    display: inline-block;
    background: var(--paper);
    color: var(--moss);
    font-family: var(--mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    padding: .35rem .8rem;
    border-radius: 2px;
    margin-bottom: 1.2rem;
    border: 1px solid var(--moss-line);
    font-weight: 500;
}

.course-title-card {
    font-family: var(--display);
    font-weight: 500;
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.course-card-body {
    padding: 1.6rem 1.8rem 1.8rem;
    flex: 1;
    display: flex; flex-direction: column;
}
.course-date {
    display: flex; align-items: center; gap: .5rem;
    font-family: var(--mono);
    font-size: .76rem;
    color: var(--ink-soft);
    font-weight: 500;
    margin-bottom: .8rem;
    letter-spacing: .04em;
}
.course-date svg { width: 14px; height: 14px; color: var(--moss); }
.course-format {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
    font-style: italic;
    font-family: var(--display);
    font-weight: 400;
}
.course-link {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--body);
    font-size: .76rem;
    font-weight: 600;
    color: var(--moss);
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: gap .25s ease, color .2s;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line-soft);
}
.course-link:hover { gap: .9rem; color: var(--moss-deep); }

/* ─── AGENDA ─── */
.agenda-section {
    background: var(--paper);
    border-top: var(--rule);
    border-bottom: var(--rule);
}
.agenda-tabs {
    display: flex; gap: 0;
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 4px;
    width: fit-content;
    margin: 2.5rem 0 2rem;
    flex-wrap: wrap;
}
.agenda-tab {
    padding: .7rem 1.4rem;
    border-radius: 2px;
    font-family: var(--mono);
    font-size: .74rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ink-soft);
    cursor: pointer;
    border: none;
    background: none;
    transition: background .2s, color .2s;
}
.agenda-tab.active {
    background: var(--moss);
    color: var(--paper);
}
.agenda-item {
    display: flex; align-items: flex-start; gap: 1.5rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: padding-left .3s ease;
    color: inherit;
    position: relative;
}
.agenda-item:hover {
    padding-left: 12px;
    color: inherit;
}
.agenda-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--moss);
    flex-shrink: 0;
    margin-top: 10px;
    box-shadow: 0 0 0 4px var(--moss-soft);
}
.agenda-item-title {
    font-family: var(--display);
    font-weight: 500;
    color: var(--ink);
    font-size: 1.15rem;
    margin-bottom: .35rem;
    line-height: 1.3;
}
.agenda-item-date {
    font-family: var(--mono);
    font-size: .76rem;
    color: var(--muted);
    letter-spacing: .04em;
}
.agenda-hidden { display: none; }

/* ─── ABOUT ─── */
.about-section { background: var(--bone); }
.about-visual { position: relative; height: 440px; }
.about-block {
    position: absolute;
    border-radius: 2px;
    overflow: hidden;
}
.about-block:nth-child(1) {
    width: 72%; height: 76%;
    top: 0; left: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    padding: 2.2rem;
    box-shadow: 0 24px 50px -28px rgba(0,103,38,.18);
}
.about-block:nth-child(1) > div {
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    color: var(--ink);
    font-size: 1.18rem;
    line-height: 1.55;
    text-align: center;
}
.about-block:nth-child(1) > div::before,
.about-block:nth-child(1) > div::after {
    color: var(--moss);
    font-size: 2.4rem;
    line-height: 0;
    vertical-align: -.4em;
    font-style: normal;
    font-weight: 400;
}
.about-block:nth-child(1) > div::before { content: '“'; margin-right: .15em; }
.about-block:nth-child(1) > div::after  { content: '”'; margin-left: .1em; }

.about-block:nth-child(2) {
    width: 56%; height: 52%;
    bottom: 0; right: 0;
    background: var(--moss);
    color: var(--paper);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
}
.about-block:nth-child(2)::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255,255,255,.18);
    pointer-events: none;
}
.about-block-num {
    font-family: var(--display);
    font-weight: 400;
    font-size: 2.6rem;
    color: var(--paper);
    line-height: 1;
    letter-spacing: -.01em;
}
.about-block-label {
    font-family: var(--mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: rgba(255,255,255,.78);
    margin-top: .8rem;
}

.about-list {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}
.about-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--body);
    font-size: .96rem;
    line-height: 1.65;
    color: var(--ink);
}
.about-list li::before {
    content: '';
    flex-shrink: 0;
    width: 24px; height: 1px;
    background: var(--moss);
    margin-top: .8em;
}

/* ─── CONTACT ─── */
.contact-section {
    background: var(--paper);
    border-top: var(--rule);
}
.contact-item {
    display: flex; gap: 1.1rem; align-items: flex-start;
    margin-bottom: 1.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line-soft);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--moss-soft);
    color: var(--moss);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.contact-item-label {
    font-family: var(--mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--muted);
    margin-bottom: .35rem;
    font-weight: 500;
}
.contact-item-value {
    font-family: var(--body);
    font-size: .96rem;
    color: var(--ink);
    line-height: 1.6;
}

.form-row { margin-bottom: 1.3rem; }
.form-row label {
    display: block;
    font-family: var(--mono);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    margin-bottom: .55rem;
    font-weight: 500;
}
.form-row input, .form-row textarea {
    width: 100%;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    font-family: var(--body);
    font-size: .95rem;
    color: var(--ink);
    background: var(--bone);
    transition: border-color .2s, background .2s;
    outline: none;
    resize: none;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--muted);
    font-style: italic;
    font-family: var(--display);
    font-weight: 400;
}
.form-row input:focus, .form-row textarea:focus {
    border-color: var(--moss);
    background: var(--paper);
}
.form-row textarea { height: 130px; }

/* ─── FOOTER ─── */
.iocp-footer {
    background: var(--bone);
    border-top: var(--rule);
    position: relative;
    z-index: 2;
}
.footer-inner {
    padding: 4.5rem 5rem 2.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 0;
}
.footer-brand-img {
    height: 64px; width: auto;
    display: block;
    margin-bottom: 1.4rem;
}
.footer-tagline {
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    font-size: 1.02rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0; max-width: 320px;
}
.footer-col h4 {
    font-family: var(--mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--moss);
    font-weight: 600;
    margin: 0 0 1.2rem;
}
.footer-col ul {
    list-style: none; margin: 0; padding: 0;
}
.footer-col li {
    margin-bottom: .65rem;
}
.footer-col a {
    font-family: var(--body);
    font-size: .92rem;
    color: var(--ink-soft);
    transition: color .2s;
    position: relative;
}
.footer-col a:hover { color: var(--moss); }

.footer-meta {
    font-family: var(--body);
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0 0 1.4rem;
}
.footer-social { display: flex; gap: .6rem; }
.social-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bone);
    color: var(--ink-soft);
    display: flex; align-items: center; justify-content: center;
    transition: all .25s ease;
}
.social-btn:hover {
    background: var(--moss);
    color: var(--paper);
    border-color: var(--moss);
    transform: translateY(-2px);
}

.footer-baseline {
    background: var(--moss-deep);
    padding: 1.4rem 5rem;
}
.footer-baseline-inner {
    display: flex; flex-wrap: wrap; gap: 1rem 2rem;
    justify-content: space-between; align-items: center;
}
.footer-copy, .footer-fineprint {
    margin: 0;
    font-family: var(--mono);
    font-size: .72rem;
    color: rgba(246, 241, 230, .72);
    letter-spacing: .04em;
}
.footer-fineprint { color: rgba(246, 241, 230, .5); }

/* ─── NEWSLETTER STRIP ─── */
.newsletter-strip {
    background: var(--moss);
    color: var(--paper);
    padding: 3rem 5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
    position: relative; z-index: 2;
    overflow: hidden;
}
.newsletter-strip::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255,255,255,.2);
    pointer-events: none;
}
.newsletter-strip > div { position: relative; z-index: 1; }
.newsletter-strip p {
    font-family: var(--display);
    font-weight: 400;
    color: var(--paper);
    font-size: 1.6rem;
    margin: 0;
    letter-spacing: -.01em;
}
.newsletter-strip small {
    display: block;
    font-family: var(--body);
    font-size: .88rem;
    color: rgba(255,255,255,.78);
    margin-top: .35rem;
    font-style: normal;
}
.newsletter-form {
    display: flex; gap: .6rem; flex-wrap: wrap;
    position: relative; z-index: 1;
}
.newsletter-form input {
    padding: .85rem 1.2rem;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    color: var(--paper);
    border-radius: 2px;
    font-family: var(--body);
    font-size: .9rem;
    width: 280px;
    outline: none;
    transition: background .2s, border-color .2s;
}
.newsletter-form input::placeholder {
    color: rgba(255,255,255,.55);
    font-style: italic;
    font-family: var(--display);
}
.newsletter-form input:focus {
    background: rgba(255,255,255,.16);
    border-color: var(--paper);
}
.newsletter-form button {
    background: var(--paper);
    color: var(--moss);
    border: 1px solid var(--paper);
    padding: .85rem 1.6rem;
    border-radius: 2px;
    cursor: pointer;
    font-family: var(--body);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    transition: background .2s, color .2s;
}
.newsletter-form button:hover {
    background: var(--moss-deep);
    color: var(--paper);
    border-color: var(--moss-deep);
}
.newsletter-cta {
    display: flex; flex-direction: column;
    gap: .85rem; align-items: flex-start;
}
.newsletter-strip .newsletter-feedback {
    margin: 0;
    max-width: 360px;
    padding: .6rem .95rem;
    border-radius: 2px;
    font-family: var(--body);
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
}
.newsletter-strip .newsletter-feedback-success {
    background: var(--paper);
    color: var(--moss-deep);
    border: 1px solid var(--paper);
}
.newsletter-strip .newsletter-feedback-info {
    background: rgba(255,255,255,.14);
    color: var(--paper);
    border: 1px solid rgba(255,255,255,.4);
}
.newsletter-strip .newsletter-feedback-error {
    background: #fdecea;
    color: #9a2b21;
    border: 1px solid #f3c0bb;
}

/* ─── COURSE DETAIL PAGES ─── */
.course-hero {
    background: var(--paper);
    color: var(--ink);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: var(--rule);
}
.course-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 80% 30%, rgba(0,103,38,.06) 0%, transparent 65%),
        linear-gradient(rgba(0,103,38,.025) 1px, transparent 1px) 0 0 / 60px 60px,
        linear-gradient(90deg, rgba(0,103,38,.025) 1px, transparent 1px) 0 0 / 60px 60px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 100%);
}
.course-hero > .container { position: relative; z-index: 1; }
.course-hero .course-tag {
    margin-bottom: 1.4rem;
    background: var(--moss-soft);
    border-color: var(--moss-line);
}
.course-hero-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -.025em;
    color: var(--ink);
    margin-bottom: 1.2rem;
}
.course-hero-title em,
.course-hero-title span[style] {
    font-style: italic !important;
    color: var(--moss) !important;
    font-weight: 400 !important;
}
.course-hero-meta {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: var(--rule-moss);
}
.course-hero-meta > div {
    flex: 1 1 200px;
    background: var(--paper);
    border: 1px solid var(--moss-line);
    border-left: 3px solid var(--moss);
    border-radius: 4px;
    padding: 1.05rem 1.3rem;
    box-shadow: 0 12px 30px -24px rgba(0, 103, 38, .3);
    font-family: var(--display);
    font-size: 1.06rem;
    color: var(--ink);
    line-height: 1.4;
}
.course-hero-meta strong {
    color: var(--moss);
    font-weight: 500;
    display: block;
    font-family: var(--mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: .4rem;
}

.course-detail {
    background: var(--bone);
}
.course-detail h2 {
    font-family: var(--display);
    font-weight: 500;
    color: var(--ink);
    font-size: 1.7rem;
    margin: 2.8rem 0 1rem;
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.course-detail h2 .h2-ic {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--moss-soft);
    color: var(--moss);
}
.course-detail h2 .h2-ic svg { width: 20px; height: 20px; }
.course-detail h2:first-child { margin-top: 0; }
.course-detail p, .course-detail li {
    font-family: var(--body);
    color: var(--ink);
    line-height: 1.78;
    font-size: 1rem;
}
.course-detail strong { color: var(--moss-deep); font-weight: 600; }
.course-detail :where(p, li, h2, h3) a {
    color: var(--moss);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.course-detail :where(p, li, h2, h3) a:hover { color: var(--moss-deep); }

.course-sidebar {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 2rem;
    position: sticky; top: calc(var(--nav-h) + 16px);
    box-shadow: 0 18px 40px -28px rgba(0,103,38,.18);
}
.course-sidebar::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--moss);
    margin-bottom: 1.4rem;
}
.course-sidebar-row {
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line-soft);
}
.course-sidebar-row:nth-last-child(2) { border-bottom: none; padding-bottom: 0; }
.course-sidebar-label {
    font-family: var(--mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--muted);
    margin-bottom: .4rem;
    font-weight: 500;
}
.course-sidebar-value {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.45;
}
.course-sidebar .btn-primary-iocp {
    width: 100%;
    justify-content: center;
    margin-top: .8rem;
}

.pricing-table {
    background: var(--paper);
}
.pricing-table .section-title { color: var(--ink); }
.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
}
.pricing-table th, .pricing-table td {
    padding: 1.1rem 1.4rem;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
    font-size: .94rem;
    font-family: var(--body);
}
.pricing-table th {
    background: var(--moss);
    color: var(--paper);
    font-family: var(--mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .72rem;
    border-bottom: 1px solid var(--moss-deep);
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:nth-child(even) td { background: var(--moss-tint); }
.pricing-table .price {
    color: var(--moss);
    font-weight: 600;
    white-space: nowrap;
    font-family: var(--mono);
    font-size: .92rem;
}
.pricing-table :where(td, th, p) a {
    color: var(--moss);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1199.98px) {
    .iocp-nav { padding: 1rem 2rem; }
    .iocp-nav.scrolled { padding: .65rem 2rem; }
    .footer-inner { padding: 4rem 2rem 2.5rem; }
    .footer-baseline { padding: 1.4rem 2rem; }
    .newsletter-strip { padding: 2.5rem 2rem; }
    .hero-content { padding: 4.5rem 2.5rem; }
    .hero::before { display: none; }
}

@media (max-width: 991.98px) {
    :root { --nav-h: 78px; }
    .iocp-nav-toggle { display: flex; z-index: 11; }
    .nav-links {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: var(--paper);
        border-bottom: var(--rule);
        padding: 1.5rem 2rem 2rem;
        box-shadow: 0 20px 30px -20px rgba(0,103,38,.12);
        display: none;
    }
    .nav-links ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    .nav-links li {
        padding: .85rem 0;
        border-bottom: 1px solid var(--line-soft);
    }
    .nav-links li:last-child { border-bottom: none; padding-top: 1.2rem; }
    .nav-links a { font-size: .9rem; }
    .iocp-nav.open .nav-links { display: block; }
    .iocp-nav.open .iocp-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .iocp-nav.open .iocp-nav-toggle span:nth-child(2) { opacity: 0; }
    .iocp-nav.open .iocp-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero-content { padding: 4rem 1.5rem 3rem; }
    .hero-visual { min-height: 0; padding: 1rem 1.5rem 3rem; }

    section { padding: 5rem 0; }
    .stat-item { padding: 1.6rem 1.4rem; }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) {
        border-bottom: var(--rule);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .course-sidebar { position: static; margin-top: 2rem; }

    .hero-card-stack { width: 100%; max-width: 360px; height: auto; margin: 0 auto; }
}

@media (max-width: 767.98px) {
    .hero-card-stack {
        position: relative;
        width: 100%; max-width: 360px;
        height: auto;
        margin: 0 auto;
        display: flex; flex-direction: column;
        gap: 1rem;
    }
    .hero-card,
    .hero-card:nth-child(1),
    .hero-card:nth-child(2),
    .hero-card:nth-child(3) {
        position: static;
        width: 100%;
        top: auto; bottom: auto; left: auto; right: auto;
        transform: none;
        padding: 1.6rem;
    }
    .hero-card:nth-child(3) { text-align: left; }

    .about-visual {
        position: static;
        height: auto;
        display: flex; flex-direction: column;
        gap: 1rem;
    }
    .about-visual .about-block,
    .about-visual .about-block:nth-child(1),
    .about-visual .about-block:nth-child(2) {
        position: static;
        width: 100%;
        height: auto;
        min-height: 200px;
        padding: 1.8rem;
    }

    .courses-header { align-items: flex-start; }
    .newsletter-strip { padding-left: 1.25rem; padding-right: 1.25rem; }
    .footer-inner, .footer-baseline { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media (max-width: 575.98px) {
    :root { --nav-h: 70px; }
    .iocp-nav { padding: .9rem 1.25rem; }
    .nav-brand { height: 44px; }
    .iocp-nav.scrolled .nav-brand { height: 36px; }
    .hero-content { padding: 3rem 1.25rem 2.5rem; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
    .hero-card { padding: 1.4rem; }
    .about-block-num { font-size: 2.2rem; }
    .footer-baseline-inner { justify-content: center; text-align: center; }
    .stat-number { font-size: 2.2rem; }
    .course-detail h2 { font-size: 1.4rem; }
    .pricing-table th, .pricing-table td { padding: .85rem 1rem; font-size: .88rem; }
}

/* ─── BANNERS CAROUSEL ─── */
.banners-carousel-section {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    background: var(--bone);
}
.banners-carousel-section .container {
    max-width: 1200px;
}
.banners-carousel-section .carousel {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px -30px rgba(0, 61, 22, 0.35);
    border: 1px solid var(--moss-line);
    background: var(--paper);
}
.banners-carousel-section .carousel-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1980 / 700;
    background: var(--paper);
    line-height: 0;
}
.banners-carousel-section .carousel-item img {
    width: 80%;
    height: auto;
    display: block;
}
.banners-carousel-section .carousel-indicators {
    margin-bottom: 1rem;
}
.banners-carousel-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--paper);
    background-color: rgba(255, 255, 255, 0.55);
    opacity: 1;
    margin: 0 5px;
    transition: background-color .25s ease, transform .25s ease;
}
.banners-carousel-section .carousel-indicators [data-bs-target].active {
    background-color: var(--moss);
    border-color: var(--paper);
    transform: scale(1.15);
}
.banners-carousel-section .carousel-control-prev,
.banners-carousel-section .carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity .25s ease;
}
.banners-carousel-section .carousel:hover .carousel-control-prev,
.banners-carousel-section .carousel:hover .carousel-control-next,
.banners-carousel-section .carousel-control-prev:focus,
.banners-carousel-section .carousel-control-next:focus {
    opacity: 1;
}
.banners-carousel-section .carousel-control-prev-icon,
.banners-carousel-section .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-color: rgba(0, 61, 22, 0.55);
    border-radius: 50%;
    background-size: 50% 50%;
}

@media (max-width: 767.98px) {
    .banners-carousel-section { padding: 2rem 0; }
}

/* ─── LIVROS PAGE ─── */
.livro-cover {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 12px 36px -22px rgba(0, 61, 22, 0.25);
}
.livro-cover img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}
.livro-sumario {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 2rem;
}
.livro-sumario li {
    position: relative;
    padding: .65rem 0 .65rem 1.25rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: .95rem;
    color: var(--ink-soft);
}
.livro-sumario li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 6px; height: 6px;
    background: var(--moss);
    border-radius: 50%;
    transform: translateY(-50%);
}

@media (max-width: 767.98px) {
    .livro-cover { position: static; padding: 1rem; }
    .livro-sumario { grid-template-columns: 1fr; gap: 0; }
}

.back-to-top {
    position: fixed;
    bottom: 5.6rem; right: 1.6rem;
    z-index: 90;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid var(--moss-deep);
    background: var(--moss);
    color: var(--paper);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 28px -10px rgba(0, 61, 22, .5);
    opacity: 0; visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, background .2s ease, visibility .3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--moss-deep); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

@media (max-width: 575.98px) {
    .back-to-top { width: 42px; height: 42px; bottom: 4.9rem; right: 1.1rem; }
    .wa-float { width: 50px; height: 50px; bottom: 1.1rem; right: 1.1rem; }
}

.program-section { background: var(--bone); }
.program-section .section-title { color: var(--ink); }
.program-figure {
    display: inline-block;
    max-width: 880px;
    width: 100%;
    border: 1px solid var(--moss-line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--paper);
    box-shadow: 0 18px 44px -28px rgba(0, 103, 38, .3);
    transition: transform .3s ease, box-shadow .3s ease;
}
.program-figure:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -28px rgba(0, 103, 38, .38); }
.program-figure img { width: 100%; height: auto; display: block; }
.program-soon {
    font-family: var(--display);
    font-style: italic;
    color: var(--muted);
    font-size: 1.08rem;
    margin: 0;
}

/* Textual program card (coordination + collaborators) */
.program-card {
    max-width: 880px;
    background: var(--paper);
    border: 1px solid var(--moss-line);
    border-left: 3px solid var(--moss);
    border-radius: 6px;
    padding: 2.4rem 2.6rem;
    box-shadow: 0 18px 44px -28px rgba(0, 103, 38, .3);
}
.program-card-title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.22;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 0 0 1.8rem;
}
.program-card-title em {
    font-style: italic;
    color: var(--moss);
}
.program-role {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .4rem .9rem;
    padding-bottom: 1.6rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid var(--line-soft);
}
.program-role-label,
.program-collab-label {
    font-family: var(--body);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--moss);
}
.program-role-name {
    font-family: var(--display);
    font-size: 1.25rem;
    color: var(--ink);
}
.program-collab-label { display: block; margin-bottom: 1rem; }
.program-collab-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .7rem 1.6rem;
}
.program-collab-list li {
    position: relative;
    padding-left: 1.3rem;
    font-family: var(--body);
    font-size: 1rem;
    color: var(--ink-soft);
}
.program-collab-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--moss);
}

.realizados-intro {
    font-family: var(--display);
    font-style: italic;
    color: var(--ink-soft);
    font-size: 1.1rem;
    max-width: 640px;
    margin-top: 1.4rem;
}
.realizados-section { background: var(--bone); }
.realizados-year { margin-top: 3.5rem; }
.realizados-year:first-of-type { margin-top: 0; }
.realizados-year > h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 2rem;
    color: var(--moss);
    margin: 0 0 1.4rem;
    display: flex; align-items: center; gap: 1.2rem;
    letter-spacing: -.01em;
}
.realizados-year > h2::after {
    content: ''; flex: 1; height: 1px; background: var(--moss-line);
}
.realizados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}
.realizado-card {
    display: flex; flex-direction: column; gap: .55rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--moss);
    border-radius: 4px;
    padding: 1.2rem 1.3rem;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-left-color .25s ease;
}
.realizado-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -24px rgba(0, 103, 38, .3);
    border-left-color: var(--moss-deep);
    color: inherit;
}
.realizado-badge {
    align-self: flex-start;
    font-family: var(--mono);
    font-size: .58rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 600;
    color: var(--moss);
    background: var(--moss-soft);
    padding: .22rem .55rem;
    border-radius: 2px;
}
.realizado-title {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.28;
    color: var(--ink);
}
.realizado-date {
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--muted);
    letter-spacing: .03em;
    line-height: 1.55;
    margin-top: auto;
}

.cert-section { background: var(--bone); }
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.4rem;
}
.cert-group {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--moss);
    border-radius: 6px;
    padding: 1.6rem 1.6rem 1.8rem;
}
.cert-year {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.8rem;
    color: var(--moss);
    margin-bottom: 1.2rem;
    letter-spacing: -.01em;
}
.cert-items { display: flex; flex-direction: column; gap: 1rem; }
.cert-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line-soft);
}
.cert-item:last-child { padding-bottom: 0; border-bottom: none; }
.cert-item-name {
    display: block;
    font-family: var(--body);
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink);
    margin-bottom: .55rem;
    line-height: 1.35;
}
.cert-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.cert-link {
    font-family: var(--mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--moss);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}
.cert-link:hover { color: var(--moss-deep); border-bottom-color: var(--moss-deep); }

.nav-has-dropdown { position: relative; }
.nav-caret { font-size: .7em; margin-left: .3em; opacity: .7; }
.nav-links .nav-dropdown {
    display: block;
    list-style: none;
    margin: 0;
    padding: .5rem 0;
    min-width: 240px;
}
.nav-links .nav-dropdown li { margin: 0; padding: 0; border: none; }
.nav-links .nav-dropdown a {
    display: block;
    padding: .6rem 1.2rem;
    font-size: .8rem;
    text-transform: none;
    letter-spacing: .02em;
    color: var(--ink-soft);
    white-space: normal;
}
.nav-links .nav-dropdown a::after { display: none; }
.nav-links .nav-dropdown a:hover { color: var(--moss); background: var(--moss-tint); }

@media (min-width: 992px) {
    .nav-links .nav-dropdown {
        position: absolute;
        top: 100%; left: 0;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 4px;
        box-shadow: 0 18px 40px -20px rgba(0, 61, 22, .28);
        opacity: 0; visibility: hidden;
        transform: translateY(8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        z-index: 120;
    }
    .nav-has-dropdown:hover .nav-dropdown,
    .nav-has-dropdown:focus-within .nav-dropdown {
        opacity: 1; visibility: visible; transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .nav-links .nav-dropdown { padding: .2rem 0 .4rem 1rem; }
    .nav-links .nav-dropdown a { padding: .5rem 0; }
}

.contact-item-value a {
    color: var(--moss);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.contact-item-value a:hover { color: var(--moss-deep); }

.wa-float {
    position: fixed;
    bottom: 1.6rem; right: 1.6rem;
    z-index: 95;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .55);
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.wa-float:hover {
    transform: translateY(-2px) scale(1.04);
    color: #fff;
    box-shadow: 0 18px 36px -8px rgba(37, 211, 102, .6);
}
.wa-float svg { width: 30px; height: 30px; }

.btn-email {
    max-width: 100%;
    overflow-wrap: anywhere;
}
