/* ============================================================
   KAINET Theme — Main Stylesheet
   Version: 1.0.0
   ============================================================ */

/* ── RESET & ROOT ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --teal:     #0B6B6F;
    --teal-8:   rgba(11,107,111,0.08);
    --teal-14:  rgba(11,107,111,0.14);
    --teal-18:  rgba(11,107,111,0.18);
    --teal-30:  rgba(11,107,111,0.30);
    --teal-60:  rgba(11,107,111,0.60);
    --mist:     #F6FAF9;
    --navy:     #102A43;
    --navy-60:  rgba(16,42,67,0.60);
    --navy-12:  rgba(16,42,67,0.12);
    --coral:    #FF8A5B;
    --white:    #ffffff;
    --display:  'DM Serif Display', serif;
    --sans:     'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 100px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--mist);
    color: var(--navy);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── SCREEN READER UTILITY ────────────────────────────────── */
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ── RIPPLE CANVAS ────────────────────────────────────────── */
#ripple-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ── NAV ──────────────────────────────────────────────────── */
#kainet-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 5vw;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(246,250,249,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--navy-12);
    transition: box-shadow 0.3s;
}
#kainet-nav.scrolled { box-shadow: 0 2px 24px rgba(16,42,67,0.08); }

.nav-logo {
    font-family: var(--display);
    font-size: 22px;
    color: var(--navy);
    letter-spacing: -0.02em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo-mark {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--teal);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}
.nav-links a {
    font-size: 14px; font-weight: 500;
    color: var(--navy-60);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--teal); }
.nav-links li.current-menu-item > a { color: var(--teal); }

.nav-cta {
    background: var(--teal);
    color: white;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.nav-cta:hover { background: #094e51; transform: translateY(-1px); color: white; }

/* Mobile toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-mobile-toggle span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── SECTIONS ─────────────────────────────────────────────── */
section { position: relative; z-index: 1; }
#trust   { position: relative; z-index: 1; }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5vw 80px;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 28px;
    padding: 6px 14px;
    background: var(--teal-8);
    border-radius: var(--radius-pill);
    border: 1px solid var(--teal-14);
}
.hero-eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--coral);
    animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-h1 {
    font-family: var(--display);
    font-size: clamp(42px, 5.5vw, 68px);
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.hero-h1 em { font-style: italic; color: var(--teal); }

.hero-sub {
    font-size: 18px;
    font-weight: 300;
    color: var(--navy-60);
    line-height: 1.7;
    margin-bottom: 44px;
    max-width: 460px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-visual svg { width: 100%; height: 100%; max-width: 420px; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: white;
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(11,107,111,0.20);
    border: none; cursor: pointer;
    font-family: var(--sans);
}
.btn-primary:hover {
    background: #094e51;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(11,107,111,0.28);
    color: white;
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 15px 4px;
    border-bottom: 1.5px solid var(--navy-12);
    transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--teal); border-color: var(--teal-30); }

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--teal);
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border: none; cursor: pointer;
    font-family: var(--sans);
}
.btn-white:hover {
    background: #f0faf9;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    color: var(--teal);
}
.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.40);
    transition: border-color 0.2s, background 0.2s;
}
.btn-outline-white:hover {
    border-color: white;
    background: rgba(255,255,255,0.08);
    color: white;
}

/* ── TRUST STRIP ──────────────────────────────────────────── */
#trust {
    background: var(--white);
    border-top: 1px solid var(--navy-12);
    border-bottom: 1px solid var(--navy-12);
    padding: 28px 5vw;
}
.trust-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-60);
    white-space: nowrap;
}
.trust-items { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy-60);
}
.trust-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--teal-8);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.trust-icon svg { stroke: var(--teal); }

/* ── SECTION COMMON ──────────────────────────────────────── */
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 20px;
}
.section-h2 {
    font-family: var(--display);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.section-h2 em { font-style: italic; color: var(--teal); }

/* ── ABOUT ────────────────────────────────────────────────── */
#about { padding: 120px 5vw; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 64px;
}
.about-body {
    font-size: 17px;
    font-weight: 300;
    color: var(--navy-60);
    line-height: 1.8;
}
.about-body + .about-body { margin-top: 20px; }
.about-cards { display: flex; flex-direction: column; gap: 20px; }
.about-card {
    background: var(--white);
    border: 1px solid var(--navy-12);
    border-radius: var(--radius-lg);
    padding: 28px 28px 28px 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.about-card:hover {
    border-color: var(--teal-30);
    box-shadow: 0 4px 24px rgba(11,107,111,0.07);
}
.about-card-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--teal-8);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.about-card-icon svg { stroke: var(--teal); }
.about-card-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.about-card-body { font-size: 14px; color: var(--navy-60); line-height: 1.6; font-weight: 300; }

/* ── MISSION ──────────────────────────────────────────────── */
#mission {
    background: var(--navy);
    padding: 120px 5vw;
    overflow: hidden;
}
#mission::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(11,107,111,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.mission-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.mission-header .section-tag { color: rgba(255,255,255,0.5); }
.mission-header .section-h2 { color: white; }
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: 64px;
}
.mission-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 52px 44px;
    transition: background 0.3s;
}
.mission-card:hover { background: rgba(255,255,255,0.08); }
.mission-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 20px;
}
.mission-card-h {
    font-family: var(--display);
    font-size: 28px;
    color: white;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.mission-card-body {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.62);
    line-height: 1.75;
}

/* ── PROMISE / VALUES ─────────────────────────────────────── */
#promise { padding: 120px 5vw; }
.promise-intro {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 72px;
}
.promise-intro .section-tag { display: block; }
.promise-intro .section-h2 { margin-bottom: 20px; }
.promise-intro p { font-size: 17px; font-weight: 300; color: var(--navy-60); }

.pillars {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pillar {
    background: var(--white);
    border: 1px solid var(--navy-12);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pillar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.pillar:hover {
    border-color: var(--teal-30);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(11,107,111,0.10);
}
.pillar:hover::after { transform: scaleX(1); }
.pillar-num {
    font-family: var(--display);
    font-size: 52px;
    color: var(--teal-14);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.pillar-title { font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.pillar-body { font-size: 14px; color: var(--navy-60); line-height: 1.7; font-weight: 300; }
.pillar-coral-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--coral);
    position: absolute;
    top: 36px; right: 36px;
    opacity: 0;
    transition: opacity 0.2s;
}
.pillar:hover .pillar-coral-dot { opacity: 1; }

/* ── CTA BAND ─────────────────────────────────────────────── */
#cta-band {
    background: var(--teal);
    padding: 80px 5vw;
    text-align: center;
    overflow: hidden;
}
#cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 500px at 50% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.cta-band-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-band-h {
    font-family: var(--display);
    font-size: clamp(30px, 4vw, 44px);
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.cta-band-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 40px;
    font-weight: 300;
}
.cta-form-wrap { }
.cta-email-row {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.cta-email-input {
    flex: 1;
    min-width: 220px;
    padding: 14px 20px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(255,255,255,0.30);
    background: rgba(255,255,255,0.12);
    color: white;
    font-size: 15px;
    font-family: var(--sans);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.cta-email-input::placeholder { color: rgba(255,255,255,0.55); }
.cta-email-input:focus {
    border-color: rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.18);
}
.cta-form-message {
    margin-top: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    min-height: 20px;
}
.cta-form-message.success { color: #9FEAD4; }
.cta-form-message.error { color: #FFBBA8; }
.cta-form-note {
    margin-top: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

/* ── FOOTER ──────────────────────────────────────────────── */
#kainet-footer {
    background: var(--navy);
    padding: 64px 5vw 40px;
    color: rgba(255,255,255,0.5);
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.footer-brand { max-width: 300px; }
.footer-logo {
    font-family: var(--display);
    font-size: 22px;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.footer-logo-mark {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.footer-tagline { font-size: 14px; font-weight: 300; line-height: 1.6; }
.footer-links-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 300;
}
.footer-links a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copy { font-size: 13px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.40);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ── GENERIC PAGE STYLES (non-landing pages) ─────────────── */
.kainet-page-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 5vw 80px;
}
.kainet-page-wrap h1 {
    font-family: var(--display);
    font-size: clamp(32px, 4vw, 48px);
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.15;
}
.kainet-page-wrap h2 {
    font-family: var(--display);
    font-size: clamp(24px, 3vw, 34px);
    color: var(--navy);
    letter-spacing: -0.01em;
    margin: 48px 0 16px;
}
.kainet-page-wrap p { color: var(--navy-60); font-weight: 300; margin-bottom: 20px; }
.kainet-page-wrap a { color: var(--teal); }
.kainet-page-wrap a:hover { text-decoration: underline; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .mission-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }
    #kainet-nav.menu-open .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 68px; left: 0; right: 0;
        background: rgba(246,250,249,0.97);
        backdrop-filter: blur(14px);
        padding: 24px 5vw 32px;
        border-bottom: 1px solid var(--navy-12);
        gap: 0;
    }
    #kainet-nav.menu-open .nav-links li { border-bottom: 1px solid var(--navy-12); }
    #kainet-nav.menu-open .nav-links a { display: block; padding: 14px 0; font-size: 16px; }
}
@media (max-width: 680px) {
    .pillars { grid-template-columns: 1fr; }
    #hero { padding: 100px 5vw 60px; }
    .trust-inner { flex-direction: column; align-items: flex-start; }
    .mission-card { padding: 36px 28px; }
    .footer-top { flex-direction: column; gap: 32px; }
}

/* ============================================================
   KAINET Theme — v1.1.0 Updates
   ============================================================ */

/* ── #25 HEADINGS: SANS-SERIF ────────────────────────────── */
:root { --display: 'Plus Jakarta Sans', sans-serif; }

.hero-h1,
.section-h2,
.mission-card-h,
.cta-band-h,
.pillar-title,
footer .footer-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ── #24 LOGO: Kainet (title-case) ──────────────────────── */
.nav-logo, .footer-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

/* ── #23 CORAL CTA BUTTON ────────────────────────────────── */
.btn-coral {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--coral);
    color: white;
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255,138,91,0.30);
}
.btn-coral:hover {
    background: #e8754a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,138,91,0.40);
    color: white;
}

/* Also apply coral to nav CTA */
.nav-cta {
    background: var(--coral) !important;
}
.nav-cta:hover {
    background: #e8754a !important;
}

/* ── LEGAL DISCLAIMER BAND (#6) ─────────────────────────── */
#legal-disclaimer {
    background: var(--white);
    border-top: 1px solid var(--navy-12);
    padding: 40px 5vw;
    z-index: 1;
    position: relative;
}
.legal-disclaimer-inner {
    max-width: 900px;
    margin: 0 auto;
}
.legal-disclaimer-inner p {
    font-size: 13px;
    color: var(--navy-60);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 10px;
}
.legal-disclaimer-inner p:last-child { margin-bottom: 0; }

/* ── EMERGENCY NOTICE (#7) ──────────────────────────────── */
#emergency-notice {
    background: rgba(255,138,91,0.06);
    border-top: 1px solid rgba(255,138,91,0.20);
    border-bottom: 1px solid rgba(255,138,91,0.20);
    padding: 20px 5vw;
    z-index: 1;
    position: relative;
}
.emergency-notice-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.emergency-notice-inner p {
    font-size: 13px;
    color: var(--navy);
    line-height: 1.65;
}
.emergency-notice-inner strong { color: #c0501a; }

/* ── FOOTER LEGAL INFO (#5) ─────────────────────────────── */
.footer-legal-info {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 28px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.40);
    line-height: 1.75;
}
.footer-legal-info p { margin-bottom: 4px; }
.footer-legal-info a { color: rgba(255,255,255,0.50); text-decoration: none; }
.footer-legal-info a:hover { color: rgba(255,255,255,0.80); }
.footer-legal-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    margin: 12px 0;
}
.footer-legal-contacts span { font-size: 12px; }
.footer-tm-notice {
    margin-top: 12px !important;
    font-style: italic;
    color: rgba(255,255,255,0.30) !important;
}

/* ── FOOTER LEGAL LINKS (#4) ────────────────────────────── */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.footer-legal-links a {
    font-size: 12px;
    color: rgba(255,255,255,0.40);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.80); }
.footer-copy { font-size: 13px; order: -1; }

/* ── CONSENT / FORM ELEMENTS (#8 #9) ────────────────────── */
.cta-checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 540px;
    margin: 16px auto 0;
    text-align: left;
    cursor: pointer;
}
.cta-checkbox-label input[type="checkbox"] {
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--coral);
    cursor: pointer;
}
.cta-checkbox-label span {
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    line-height: 1.55;
    font-weight: 300;
}
.cta-consent-text {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    max-width: 540px;
    margin: 12px auto 0;
    line-height: 1.6;
    font-weight: 300;
}
.cta-form-note {
    margin-top: 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
}

/* ── COOKIE BANNER (#11) ────────────────────────────────── */
#kainet-cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 20px 5vw;
}
.cookie-banner-inner {
    max-width: 900px;
    margin: 0 auto;
}
.cookie-banner-text {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 300;
}
.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.cookie-banner-links { font-size: 12px; }
.cookie-banner-links a { color: rgba(255,255,255,0.50); text-decoration: underline; }

.cookie-btn {
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    transition: background 0.2s, transform 0.15s;
}
.cookie-btn-primary { background: var(--teal); color: white; }
.cookie-btn-primary:hover { background: #094e51; }
.cookie-btn-secondary { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.85); }
.cookie-btn-secondary:hover { background: rgba(255,255,255,0.18); }
.cookie-btn-ghost { background: transparent; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.20); }
.cookie-btn-ghost:hover { color: white; border-color: rgba(255,255,255,0.50); }

/* Cookie Modal */
#kainet-cookie-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 10000;
}
#kainet-cookie-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    background: white;
    border-radius: 20px;
    width: 90%; max-width: 520px;
    padding: 36px;
    max-height: 90vh;
    overflow-y: auto;
}
.cookie-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 24px;
}
.cookie-pref-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--navy-12);
}
.cookie-pref-row strong { font-size: 14px; color: var(--navy); display: block; margin-bottom: 4px; }
.cookie-pref-row p { font-size: 13px; color: var(--navy-60); margin: 0; }
.cookie-always-on { font-size: 12px; font-weight: 600; color: var(--teal); white-space: nowrap; }
.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
    position: absolute; inset: 0;
    background: rgba(16,42,67,0.15);
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--teal); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-modal-actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-modal-actions .cookie-btn-primary { flex: 1; }

/* ── LEGAL PAGES ─────────────────────────────────────────── */
.legal-page-inner {
    padding-top: 40px;
}
.legal-intro {
    font-size: 17px;
    font-weight: 300;
    color: var(--navy-60);
    max-width: 720px;
    margin-bottom: 48px;
    line-height: 1.75;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.contact-card {
    background: white;
    border: 1px solid var(--navy-12);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.contact-card h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}
.contact-card p, .contact-card address {
    font-size: 14px;
    color: var(--navy-60);
    font-weight: 300;
    line-height: 1.7;
    font-style: normal;
}
.contact-card a { color: var(--teal); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.legal-notice-box {
    background: var(--teal-8);
    border: 1px solid var(--teal-14);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 20px;
}
.legal-notice-box h2 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.legal-notice-box p { font-size: 14px; color: var(--navy-60); font-weight: 300; line-height: 1.7; margin-bottom: 8px; }

/* ── #29 BACK TO TOP BUTTON VISIBILITY FIX ──────────────── */
#cta-band .back-to-top,
#kainet-footer .back-to-top,
#emergency-notice .back-to-top,
#legal-disclaimer .back-to-top {
    display: none !important;
}

/* ── RESPONSIVE UPDATES ──────────────────────────────────── */
@media (max-width: 680px) {
    .contact-grid { grid-template-columns: 1fr; }
    .cookie-banner-actions { flex-direction: column; }
    .cookie-btn { text-align: center; }
    #kainet-cookie-modal { padding: 24px; }
}

/* ============================================================
   KAINET Theme — v1.3.0 Targeted Fixes
   ============================================================ */

/* Item 8 — Primary CTA colour confirmed #FF8A5B (already set via --coral) */
/* Explicit override to ensure nothing overrides it */
.btn-coral,
.nav-cta,
#early-access-submit {
    background: #FF8A5B !important;
    color: #ffffff !important;
}
.btn-coral:hover,
.nav-cta:hover,
#early-access-submit:hover {
    background: #e8754a !important;
}

/* Item 10 — Back-to-top button: hide over forms, CTA, footer, legal text */
/* Also use z-index and positioning so it never overlaps content */
#back-to-top,
.back-to-top,
[id*="back-to-top"],
[class*="back-to-top"],
[id*="scroll-top"],
[class*="scroll-top"],
.wpadminbar ~ #back-to-top {
    z-index: 50 !important; /* below nav (100) and cookie banner (9999) */
    bottom: 80px !important; /* above footer, clear of content */
    right: 16px !important;
}
/* Hide back-to-top when near or inside these sections */
#cta-band:hover ~ #back-to-top,
body.kainet-legal #back-to-top { opacity: 0; pointer-events: none; }

/* Item 11 — Sticky nav overlap fix: scroll-margin-top on all anchor targets */
section[id],
div[id],
.kainet-legal-page,
#hero, #about, #mission, #promise, #cta-band,
#trust, #legal-disclaimer, #emergency-notice {
    scroll-margin-top: 80px;
}
/* Legal pages: add top padding so nav doesn't cover h2 section headings */
.kainet-legal-page .legal-section {
    scroll-margin-top: 90px;
}
/* Ensure legal page body starts below nav with breathing room */
.kainet-legal-page {
    padding-top: 68px;
}

/* Item 12 — Cookie Settings link — visual cue that it's interactive */
#footer-cookie-settings {
    cursor: pointer;
    text-decoration: underline dotted;
}
#footer-cookie-settings:hover { color: rgba(255,255,255,0.80); }

/* Cookie modal and overlay — ensure they sit above everything */
#kainet-cookie-modal  { z-index: 10001; }
#kainet-cookie-overlay { z-index: 10000; }
.cta-launch-note {
    font-size: 12px;
    color: rgba(255,255,255,0.50);
    margin-top: 12px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}