/* =============================================
   CSS VARIABLES — Edit here to change the theme
   ============================================= */
:root {
    --black:       #0D0D0D;
    --black-soft:  #141414;
    --cream:       #F5F0E6;
    --cream-dark:  #EDE8DE;
    --cream-soft:  #FAF8F4;
    --white:       #FFFFFF;
    --gray:        #888888;
    --gray-light:  #CCCCCC;
    --gray-border: #E5E0D8;
    --green:       #4ade80;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --section-v:   110px;
    --container:   1200px;
    --gutter:      40px;

    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 16px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow:    0 8px 32px rgba(0,0,0,0.12);
    --shadow-lg: 0 24px 64px rgba(0,0,0,0.18);

    --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--cream-soft);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* =============================================
   UTILITY
   ============================================= */
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 16px;
}
.section-label--light { color: rgba(245,240,230,0.45); }

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--black);
}
.section-title--light { color: var(--cream); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn--dark {
    background: var(--black);
    color: var(--cream);
    border: 1.5px solid var(--black);
}
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--cream {
    background: var(--cream);
    color: var(--black);
    border: 1.5px solid var(--cream);
}
.btn--cream:hover { background: var(--cream-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,240,230,0.25); }

.btn--ghost {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(245,240,230,0.3);
}
.btn--ghost:hover { background: rgba(245,240,230,0.08); border-color: rgba(245,240,230,0.6); }

.btn--nav {
    background: var(--cream);
    color: var(--black);
    border: 1.5px solid var(--cream);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
}
.btn--nav:hover { background: var(--cream-dark); transform: translateY(-1px); }
.nav--scrolled .btn--nav { background: var(--black); color: var(--cream); border-color: var(--black); }
.nav--scrolled .btn--nav:hover { background: var(--black-soft); }

.btn--full { width: 100%; justify-content: center; }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal--right { transform: translateX(40px); }
.reveal--left  { transform: translateX(-40px); }
.reveal.visible { opacity: 1; transform: none; }

/* Stagger children inside a grid */
.courses__grid .reveal:nth-child(1),
.why__grid .reveal:nth-child(1),
.testimonials__grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.courses__grid .reveal:nth-child(2),
.why__grid .reveal:nth-child(2),
.testimonials__grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.courses__grid .reveal:nth-child(3),
.why__grid .reveal:nth-child(3),
.testimonials__grid .reveal:nth-child(3) { transition-delay: 0.25s; }
.courses__grid .reveal:nth-child(4),
.why__grid .reveal:nth-child(4) { transition-delay: 0.30s; }
.courses__grid .reveal:nth-child(5),
.why__grid .reveal:nth-child(5) { transition-delay: 0.35s; }
.courses__grid .reveal:nth-child(6),
.why__grid .reveal:nth-child(6) { transition-delay: 0.40s; }
.gallery__grid .reveal:nth-child(1) { transition-delay: 0.0s; }
.gallery__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.gallery__grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 var(--gutter);
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 40px;
    transition: height 0.3s var(--ease);
}
.nav--scrolled {
    background: rgba(250,248,244,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--gray-border);
}
.nav--scrolled .nav__inner { height: 64px; }

/* Nav Logo */
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav__logo-box {
    width: 38px;
    height: 38px;
    background: var(--cream);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    overflow: hidden;
    flex-shrink: 0;
}
.nav--scrolled .nav__logo-box {
    background: var(--black);
}
.nav__logo-box svg { width: 100%; height: 100%; padding: 4px; }
.nav-ekg { stroke: var(--black); transition: stroke 0.3s; }
.nav--scrolled .nav-ekg { stroke: var(--cream); }
/* Logo image in nav & footer box */
.nav__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nav__logo-words {
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.nav__logo-name {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: var(--cream);
    line-height: 1;
    transition: color 0.3s;
}
.nav__logo-tagline {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(245,240,230,0.4);
    text-transform: uppercase;
    transition: color 0.3s;
    margin-top: 2px;
}
.nav--scrolled .nav__logo-name { color: var(--black); }
.nav--scrolled .nav__logo-tagline { color: rgba(13,13,13,0.45); }

/* Nav links */
.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-left: auto;
}
.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(245,240,230,0.65);
    transition: color 0.2s;
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1.5px;
    background: var(--cream);
    transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { width: 100%; }
.nav--scrolled .nav__link { color: var(--gray); }
.nav--scrolled .nav__link::after { background: var(--black); }
.nav--scrolled .nav__link:hover { color: var(--black); }

/* Hamburger */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    margin-left: auto;
}
.nav__hamburger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--cream);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.nav--scrolled .nav__hamburger span { background: var(--black); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
    min-height: 100vh;
    background: var(--black);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245,240,230,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,240,230,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Blue emergency-light atmosphere */
.hero__blue-l,
.hero__blue-r {
    position: absolute;
    top: -60px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.hero__blue-l {
    left: -100px;
    background: radial-gradient(circle, rgba(20,90,255,0.22) 0%, transparent 68%);
    animation: blueFlashL 1.8s ease-in-out infinite;
}
.hero__blue-r {
    right: -100px;
    background: radial-gradient(circle, rgba(20,90,255,0.18) 0%, transparent 68%);
    animation: blueFlashR 1.8s ease-in-out 0.9s infinite;
}
.hero__blue-sweep {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(15,70,210,0.10) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    animation: blueFlashSweep 3.6s ease-in-out infinite;
}
/* Extra blue light sources */
.hero__blue-top {
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(10,60,255,0.14) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
    animation: blueFlashTop 2.7s ease-in-out 0.45s infinite;
}
.hero__blue-bot {
    position: absolute;
    bottom: -60px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(10,50,220,0.09) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: blueFlashBot 5s ease-in-out 1.2s infinite;
}
@keyframes blueFlashL {
    0%, 100% { opacity: 0.3;  transform: scale(1);    }
    10%       { opacity: 1;    transform: scale(1.22); }
    22%       { opacity: 0.06; transform: scale(0.94); }
    38%       { opacity: 0.95; transform: scale(1.16); }
    54%       { opacity: 0.06; transform: scale(1);    }
}
@keyframes blueFlashR {
    0%, 100% { opacity: 0.12; transform: scale(1);    }
    10%       { opacity: 0.95; transform: scale(1.18); }
    22%       { opacity: 0.06; transform: scale(0.96); }
    38%       { opacity: 0.82; transform: scale(1.13); }
    54%       { opacity: 0.06; transform: scale(1);    }
}
@keyframes blueFlashSweep {
    0%, 100% { opacity: 0;    }
    20%       { opacity: 1;    }
    40%       { opacity: 0;    }
    70%       { opacity: 0.75; }
}
@keyframes blueFlashTop {
    0%, 100% { opacity: 0.15; }
    15%       { opacity: 0.9;  }
    35%       { opacity: 0.05; }
    60%       { opacity: 0.7;  }
    80%       { opacity: 0.05; }
}
@keyframes blueFlashBot {
    0%, 100% { opacity: 0.3; }
    40%       { opacity: 0.8; }
    70%       { opacity: 0.2; }
}

/* Blue ambient pulse on dark sections */
.cpr-section::after {
    content: '';
    position: absolute;
    bottom: -100px; right: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,60,220,0.07) 0%, transparent 65%);
    pointer-events: none;
    animation: sectionBlueAmbient 6s ease-in-out infinite;
}
.courses::after {
    background: radial-gradient(ellipse 70% 50% at 20% 50%, rgba(10,60,220,0.05) 0%, transparent 70%);
    animation: sectionBlueAmbient 8s ease-in-out 2s infinite;
}
@keyframes sectionBlueAmbient {
    0%, 100% { opacity: 0.4; transform: scale(1);    }
    50%       { opacity: 1;   transform: scale(1.15); }
}

.hero__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 144px var(--gutter) 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    flex: 1;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(245,240,230,0.07);
    border: 1px solid rgba(245,240,230,0.14);
    color: rgba(245,240,230,0.65);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(74,222,128,0.7);
    animation: pulseDot 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(74,222,128,0.7); }
    50%       { opacity: 0.6; box-shadow: 0 0 4px rgba(74,222,128,0.3); }
}

.hero__title {
    font-size: clamp(46px, 7.5vw, 84px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--cream);
    margin-bottom: 26px;
}
.hero__title-outline {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(245,240,230,0.45);
    transition: -webkit-text-stroke-color 0.3s;
}
.hero__title:hover .hero__title-outline {
    -webkit-text-stroke-color: rgba(245,240,230,0.75);
}

.hero__sub {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(245,240,230,0.55);
    max-width: 460px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Full AIRE Logo (hero visual) */
.hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Hero logo — real image */
.hero__logo-img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    object-fit: contain;
    animation: floatLogo 7s ease-in-out infinite;
    filter: drop-shadow(0 24px 56px rgba(0,0,0,0.55));
}
@keyframes floatLogo {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-10px) rotate(0.3deg); }
    66%       { transform: translateY(-6px) rotate(-0.2deg); }
}

/* EKG strip below logo */
.hero__ekg-strip {
    width: 100%;
    max-width: 340px;
    border-top: 1px solid rgba(245,240,230,0.08);
    padding-top: 16px;
    overflow: hidden;
}
.hero__ekg { width: 100%; height: 50px; }
.ekg-line {
    stroke: rgba(245,240,230,0.6);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: drawEKG 2.5s var(--ease-out) 1s forwards, ekgScroll 6s linear 3.5s infinite;
}
@keyframes drawEKG { to { stroke-dashoffset: 0; } }
@keyframes ekgScroll {
    0%   { stroke-dashoffset: 0; opacity: 1; }
    88%  { stroke-dashoffset: -600; opacity: 1; }
    92%  { stroke-dashoffset: -600; opacity: 0; }
    93%  { stroke-dashoffset: 1400; opacity: 0; }
    96%  { stroke-dashoffset: 1400; opacity: 0; }
    100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Scroll hint */
.hero__scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 36px;
    color: rgba(245,240,230,0.25);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 52px;
    background: linear-gradient(to bottom, transparent, rgba(245,240,230,0.3));
    animation: scrollAnim 2.2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scrollAnim {
    0%, 100% { transform: scaleY(0); opacity: 0; }
    40%       { transform: scaleY(1); opacity: 1; }
    80%       { transform: scaleY(1); opacity: 0; }
}

/* =============================================
   STATS
   ============================================= */
.stats {
    background: var(--cream);
    padding: 52px var(--gutter);
    border-bottom: 1px solid var(--gray-border);
    position: relative;
    z-index: 1;
}
.stats__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stats__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}
.stats__num {
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--black);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.stats__num-suffix {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--black);
    display: inline;
}
.stats__label {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 2px;
}
.stats__divider {
    width: 1px; height: 64px;
    background: var(--gray-border);
    flex-shrink: 0;
    margin: 0 40px;
}

/* =============================================
   CPR ANIMATION SECTION
   ============================================= */
.cpr-section {
    padding: var(--section-v) var(--gutter);
    background: var(--black-soft);
    position: relative;
    overflow: hidden;
}
.cpr-section::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(74,222,128,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cpr-section__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: center;
}

.cpr-section__body {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(245,240,230,0.55);
    margin: 24px 0 36px;
    max-width: 420px;
}

.cpr-facts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}
.cpr-fact {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 20px;
    background: rgba(245,240,230,0.04);
    border: 1px solid rgba(245,240,230,0.08);
    border-radius: var(--radius);
    transition: background 0.2s, border-color 0.2s;
}
.cpr-fact:hover {
    background: rgba(245,240,230,0.07);
    border-color: rgba(245,240,230,0.14);
}
.cpr-fact__num {
    font-size: 22px;
    font-weight: 800;
    color: var(--cream);
    letter-spacing: -0.02em;
    min-width: 64px;
    flex-shrink: 0;
}
.cpr-fact__text {
    font-size: 14px;
    color: rgba(245,240,230,0.55);
    line-height: 1.4;
}

/* CPR SVG Scene */
.cpr-scene-wrap {
    position: relative;
}
.cpr-scene {
    width: 100%;
    height: auto;
    max-width: 580px;
}

/* Compression animation */
.cpr-hands {
    animation: cprCompress 0.62s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: 252px 120px;
}
@keyframes cprCompress {
    0%   { transform: translateY(0);    }
    30%  { transform: translateY(22px); }
    50%  { transform: translateY(22px); }
    75%  { transform: translateY(0);    }
    100% { transform: translateY(0);    }
}

/* Chest responds to compression */
.patient-chest {
    animation: chestCompress 0.62s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: 254px 204px;
}
@keyframes chestCompress {
    0%   { transform: scaleY(1);    }
    30%  { transform: scaleY(0.88); }
    50%  { transform: scaleY(0.88); }
    75%  { transform: scaleY(1);    }
    100% { transform: scaleY(1);    }
}

/* Rescuer arms follow hands */
.rescuer-arm {
    animation: armPress 0.62s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes armPress {
    0%   { transform: scaleY(1);    }
    30%  { transform: scaleY(1.04); }
    50%  { transform: scaleY(1.04); }
    75%  { transform: scaleY(1);    }
    100% { transform: scaleY(1);    }
}

/* Monitor EKG scanning line */
.monitor-ekg {
    stroke-dasharray: 400;
    stroke-dashoffset: 0;
    animation: monitorScan 2.5s linear infinite;
}
@keyframes monitorScan {
    0%   { stroke-dashoffset: 400; opacity: 0; }
    5%   { opacity: 1; }
    90%  { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0.8; }
}

/* AED EKG in about section */
.aed-ekg {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawAedEkg 2s var(--ease-out) 1s infinite;
}
@keyframes drawAedEkg {
    0%   { stroke-dashoffset: 300; }
    60%  { stroke-dashoffset: 0; }
    80%  { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0.3; }
}

.about-annotation--1 { animation: floatAnnotation 4s ease-in-out infinite; }
.about-annotation--2 { animation: floatAnnotation 4s ease-in-out 1s infinite; }
@keyframes floatAnnotation {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

/* Live badge */
.cpr-rate-badge {
    position: absolute;
    top: 12px; left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13,13,13,0.85);
    border: 1px solid rgba(245,240,230,0.12);
    color: rgba(245,240,230,0.6);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 100px;
    backdrop-filter: blur(8px);
}
.cpr-rate-badge__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(74,222,128,0.6);
    animation: pulseDot 1.5s ease-in-out infinite;
}

/* Pause CPR when not in view */
.cpr-scene-wrap:not(.cpr-active) .cpr-hands,
.cpr-scene-wrap:not(.cpr-active) .patient-chest,
.cpr-scene-wrap:not(.cpr-active) .rescuer-arm {
    animation-play-state: paused;
}

/* ── CPR photo (replaces SVG scene) ──────────────────────── */
.cpr-photo-wrap { position: relative; }

.cpr-photo-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 700 / 520;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,240,230,0.08);
}

.cpr-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 7s ease;
}
.cpr-photo-frame:hover .cpr-photo-img { transform: scale(1.04); }

.cpr-photo-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,20,100,0.38) 0%, rgba(0,0,0,0.22) 100%);
    pointer-events: none;
    z-index: 1;
}

.cpr-photo-blue-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(20,90,255,0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
    animation: cprGlowPulse 2.4s ease-in-out infinite;
}
@keyframes cprGlowPulse {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1;   }
}

.cpr-stat-overlay {
    position: absolute;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(245,240,230,0.13);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 3;
}
.cpr-stat-overlay--tl { top: 16px; left: 16px; }
.cpr-stat-overlay--br { bottom: 16px; right: 16px; text-align: right; }

.cpr-stat-overlay__num {
    font-size: 20px;
    font-weight: 800;
    color: var(--cream);
    letter-spacing: -0.02em;
    line-height: 1;
}
.cpr-stat-overlay__label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(245,240,230,0.5);
    text-transform: uppercase;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
    padding: var(--section-v) var(--gutter);
    background: var(--cream-soft);
}
.about__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__body {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0;
}

.about__list {
    margin: 28px 0 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.about__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
}
.about__list li::before {
    content: '';
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--black);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 11L9.5 14.5L16 8' stroke='%23F5F0E6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: cover;
}

.about__visual {
    position: relative;
}
.about__illustration { position: relative; }
.about__svg { width: 100%; height: auto; }

/* ── About photo (replaces SVG illustration) ─────────────── */
.about__photo-wrap {
    position: relative;
    border-radius: var(--radius-lg);
}

.about__photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 580 / 500;
    box-shadow: var(--shadow-lg);
}

.about__photo-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0,0,0,0.06) 0%, transparent 55%);
    pointer-events: none;
}

.about__badge-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(250,248,244,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    box-shadow: var(--shadow);
    white-space: nowrap;
    z-index: 2;
}
.about__badge-float--1 {
    top: -18px;
    right: -18px;
    animation: floatBadge1 4.2s ease-in-out infinite;
}
.about__badge-float--2 {
    bottom: 60px;
    left: -22px;
    animation: floatBadge2 4.2s ease-in-out 1.6s infinite;
}
.about__badge-float--3 {
    bottom: -18px;
    right: -18px;
    animation: floatBadge1 4.2s ease-in-out 0.8s infinite;
}
@keyframes floatBadge1 {
    0%, 100% { transform: translateY(0px);  }
    50%       { transform: translateY(-7px); }
}
@keyframes floatBadge2 {
    0%, 100% { transform: translateY(0px);  }
    50%       { transform: translateY(-5px); }
}

.about__badge-icon {
    width: 36px; height: 36px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    flex-shrink: 0;
}
.about__badge-icon--blue { background: var(--white); }
.about__badge-icon--aire { background: var(--white); }
.about__badge-icon svg { width: 18px; height: 18px; stroke: currentColor; }
.badge-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 2px;
}

.about__badge-title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--black);
    letter-spacing: 0.04em;
    line-height: 1;
}
.about__badge-sub {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
}

/* =============================================
   COURSES
   ============================================= */
.courses {
    padding: var(--section-v) var(--gutter);
    background: var(--black);
    position: relative;
    overflow: hidden;
}
.courses::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(245,240,230,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.courses__inner { max-width: var(--container); margin: 0 auto; }
.courses__header { text-align: center; margin-bottom: 64px; }
.courses__sub {
    margin-top: 16px;
    color: rgba(245,240,230,0.45);
    font-size: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.course-card {
    background: rgba(245,240,230,0.04);
    border: 1px solid rgba(245,240,230,0.09);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: background 0.3s, border-color 0.3s, transform 0.35s var(--spring), box-shadow 0.35s;
    cursor: default;
}
.course-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(245,240,230,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.course-card:hover {
    background: rgba(245,240,230,0.07);
    border-color: rgba(245,240,230,0.18);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}
.course-card:hover::before { opacity: 1; }

.course-card__badge {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
}
.course-card__badge--phecc {
    background: rgba(245,240,230,0.09);
    color: rgba(245,240,230,0.65);
    border: 1px solid rgba(245,240,230,0.14);
}
.course-card__badge--ihf {
    background: rgba(96,165,250,0.1);
    color: rgba(147,197,253,0.8);
    border: 1px solid rgba(96,165,250,0.2);
}

.course-card__icon {
    width: 48px; height: 48px;
    margin-bottom: 20px;
    color: rgba(245,240,230,0.45);
    transition: color 0.3s;
}
.course-card__icon svg { width: 100%; height: 100%; stroke: currentColor; }
.course-card:hover .course-card__icon { color: rgba(245,240,230,0.8); }

.course-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.course-card__duration {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(245,240,230,0.35);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.course-card__desc {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(245,240,230,0.5);
    flex: 1;
    margin-bottom: 24px;
}
.course-card__link {
    font-size: 13px;
    font-weight: 600;
    color: rgba(245,240,230,0.45);
    letter-spacing: 0.02em;
    transition: color 0.2s, letter-spacing 0.3s;
    margin-top: auto;
    display: inline-block;
    position: relative;
}
/* Expand clickable area to cover the whole card */
.course-card__link::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Stretch to fill the entire card via negative margins matching card padding */
    top: -200px;
    left: -32px;
    right: -32px;
    bottom: -32px;
}
.course-card:hover .course-card__link {
    color: var(--cream);
    letter-spacing: 0.08em;
}

.course-card--cta {
    background: var(--cream);
    border-color: transparent;
    justify-content: center;
    align-items: flex-start;
}
.course-card--cta:hover {
    background: var(--cream-dark);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.course-card--cta::before { display: none; }
.course-card__cta-content h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.course-card__cta-content p {
    font-size: 14px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 24px;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery {
    padding: var(--section-v) var(--gutter);
    background: var(--cream-soft);
}
.gallery__inner { max-width: var(--container); margin: 0 auto; }
.gallery__header { text-align: center; margin-bottom: 56px; }

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform 0.4s var(--spring), box-shadow 0.4s;
}
.gallery__item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

/* Photo-based gallery items */
.gallery__item--fa,
.gallery__item--bls,
.gallery__item--aed,
.gallery__item--corp { background: var(--black); }

/* Real photo fill */
.gallery__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s var(--ease);
    z-index: 0;
}
.gallery__item:hover .gallery__photo { transform: scale(1.06); }

/* Colour tint overlays */
.gallery__tint {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s;
}
.gallery__tint--red   { background: linear-gradient(160deg, rgba(120,18,18,0.58) 0%, rgba(0,0,0,0.36) 100%); }
.gallery__tint--blue  { background: linear-gradient(160deg, rgba(18,38,140,0.58) 0%, rgba(0,0,0,0.36) 100%); }
.gallery__tint--green { background: linear-gradient(160deg, rgba(10,72,28,0.54) 0%, rgba(0,0,0,0.36) 100%); }
.gallery__tint--amber { background: linear-gradient(160deg, rgba(100,56,0,0.54) 0%, rgba(0,0,0,0.36) 100%); }

/* Hover glow per card (above tint) */
.gallery__item--fa::before    { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 50% 25%, rgba(200,40,40,0.22) 0%, transparent 70%); opacity:0; transition:opacity 0.4s; z-index:2; }
.gallery__item--bls::before   { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 50% 25%, rgba(40,80,220,0.22) 0%, transparent 70%); opacity:0; transition:opacity 0.4s; z-index:2; }
.gallery__item--aed::before   { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 50% 25%, rgba(74,222,128,0.16) 0%, transparent 70%); opacity:0; transition:opacity 0.4s; z-index:2; }
.gallery__item--corp::before  { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 50% 25%, rgba(245,185,0,0.14) 0%, transparent 70%); opacity:0; transition:opacity 0.4s; z-index:2; }
.gallery__item:hover::before  { opacity: 1; }

.gallery__item-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    color: rgba(245,240,230,0.12);
    transition: color 0.4s, transform 0.4s var(--spring);
    z-index: 3;
}
.gallery__item-icon svg { width: 100%; height: 100%; stroke: currentColor; }
.gallery__item:hover .gallery__item-icon {
    color: rgba(245,240,230,0.2);
    transform: translate(-50%, -60%) scale(0.85);
}

.gallery__item-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
    transform: translateY(calc(100% - 52px));
    transition: transform 0.4s var(--ease-out);
    z-index: 4;
}
.gallery__item:hover .gallery__item-overlay { transform: translateY(0); }

.gallery__item-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245,240,230,0.5);
    margin-bottom: 6px;
}
.gallery__item-overlay h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.gallery__item-overlay p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(245,240,230,0.55);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s 0.1s, transform 0.3s 0.1s;
}
.gallery__item:hover .gallery__item-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   ACCREDITATIONS
   ============================================= */
.accreditations {
    padding: var(--section-v) var(--gutter);
    background: var(--cream);
    border-top: 1px solid var(--gray-border);
}
.accreditations__inner { max-width: var(--container); margin: 0 auto; }
.accreditations__header { text-align: center; margin-bottom: 64px; }
.accreditations__sub {
    margin-top: 16px;
    color: var(--gray);
    font-size: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.accreditations__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.accred-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    text-align: center;
    transition: transform 0.35s var(--spring), box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}
.accred-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(13,13,13,0.15), transparent);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
}
.accred-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.accred-card:hover::after { transform: scaleX(1); }
.accred-card--aire::after { background: linear-gradient(90deg, transparent, rgba(155,20,25,0.3), transparent); }
.accred-logo-placeholder--aire { background: rgba(155,20,25,0.92); }

.accred-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px; height: 80px;
    background: var(--black);
    color: var(--cream);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.04em;
    border-radius: var(--radius-lg);
    margin: 0 auto 24px;
    transition: transform 0.3s var(--spring);
}
.accred-card:hover .accred-logo-placeholder { transform: scale(1.06); }
/* When you drop in a real logo image */
.accred-logo-img {
    width: 80px; height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 24px;
    transition: transform 0.3s var(--spring);
}
.accred-card:hover .accred-logo-img { transform: scale(1.06); }

.accred-card__title { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; color: var(--black); margin-bottom: 4px; }
.accred-card__full { font-size: 13px; font-weight: 500; color: var(--gray); margin-bottom: 20px; }
.accred-card__desc { font-size: 14px; line-height: 1.8; color: #555; margin-bottom: 24px; }
.accred-card__courses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.accred-card__courses span {
    background: var(--cream);
    border: 1px solid var(--gray-border);
    color: var(--black);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
}

/* =============================================
   WHY US
   ============================================= */
.why {
    padding: var(--section-v) var(--gutter);
    background: var(--black-soft);
}
.why__inner { max-width: var(--container); margin: 0 auto; }
.why__header { text-align: center; margin-bottom: 60px; }

.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(245,240,230,0.07);
    gap: 1px;
    background: rgba(245,240,230,0.04);
}

.why-item {
    padding: 40px 36px;
    background: var(--black-soft);
    transition: background 0.3s;
    position: relative;
}
.why-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 24px; right: 24px;
    height: 1px;
    background: rgba(245,240,230,0.04);
}
.why-item:hover { background: rgba(245,240,230,0.035); }

.why-item__icon {
    width: 44px; height: 44px;
    color: rgba(245,240,230,0.35);
    margin-bottom: 20px;
    transition: color 0.3s, transform 0.3s var(--spring);
}
.why-item__icon svg { width: 100%; height: 100%; stroke: currentColor; }
.why-item:hover .why-item__icon { color: var(--cream); transform: scale(1.1); }

.why-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.why-item p { font-size: 14px; line-height: 1.75; color: rgba(245,240,230,0.45); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
    padding: var(--section-v) var(--gutter);
    background: var(--cream);
    border-top: 1px solid var(--gray-border);
}
.testimonials__inner { max-width: var(--container); margin: 0 auto; }
.testimonials__header { text-align: center; margin-bottom: 56px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.35s var(--spring), box-shadow 0.35s;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.testimonial__stars { color: #F59E0B; font-size: 13px; letter-spacing: 3px; margin-bottom: 20px; }
.testimonial__quote { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 24px; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--black);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}
.testimonial__name { display: block; font-weight: 600; font-size: 14px; color: var(--black); }
.testimonial__role { display: block; font-size: 12px; color: var(--gray); margin-top: 2px; }

/* =============================================
   CONTACT
   ============================================= */
.contact {
    padding: var(--section-v) var(--gutter);
    background: var(--black);
}
.contact__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact__desc {
    color: rgba(245,240,230,0.5);
    font-size: 16px;
    line-height: 1.8;
    margin: 24px 0 40px;
    max-width: 380px;
}
.contact__details { display: flex; flex-direction: column; gap: 20px; }
.contact__detail { display: flex; align-items: center; gap: 14px; }
.contact__detail-icon {
    width: 40px; height: 40px;
    background: rgba(245,240,230,0.06);
    border: 1px solid rgba(245,240,230,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
.contact__detail:hover .contact__detail-icon {
    background: rgba(245,240,230,0.1);
    border-color: rgba(245,240,230,0.2);
}
.contact__detail-icon svg { width: 18px; height: 18px; stroke: rgba(245,240,230,0.55); }
.contact__detail a, .contact__detail span { font-size: 15px; color: rgba(245,240,230,0.65); transition: color 0.2s; }
.contact__detail a:hover { color: var(--cream); }

/* Form */
.contact__form-wrap {
    background: rgba(245,240,230,0.04);
    border: 1px solid rgba(245,240,230,0.09);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: border-color 0.3s;
}
.contact__form-wrap:focus-within { border-color: rgba(245,240,230,0.2); }

.contact__form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,240,230,0.4);
}
.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(245,240,230,0.05);
    border: 1px solid rgba(245,240,230,0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--cream);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(245,240,230,0.2); }
.form-group select option { background: #1a1a1a; color: var(--cream); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: rgba(245,240,230,0.35);
    background: rgba(245,240,230,0.08);
}
.form-group input.error, .form-group select.error, .form-group textarea.error {
    border-color: rgba(239,68,68,0.55);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.22);
    color: var(--green);
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}
.form-success svg { width: 18px; height: 18px; stroke: var(--green); flex-shrink: 0; }
.form-success.show { display: flex; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: #070707; border-top: 1px solid rgba(245,240,230,0.06); }
.footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 72px var(--gutter) 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__logo-box {
    width: 48px; height: 34px;
    background: rgba(245,240,230,0.08);
    border-radius: 3px;
    border: 1px solid rgba(245,240,230,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
.footer__logo-box svg { width: 100%; height: 100%; padding: 5px; }
.footer__logo:hover .footer__logo-box { background: rgba(245,240,230,0.13); border-color: rgba(245,240,230,0.2); }

.footer__logo-text { display: flex; flex-direction: column; }
.footer__logo-name { font-size: 18px; font-weight: 900; letter-spacing: 0.14em; color: var(--cream); line-height: 1; }
.footer__logo-sub { font-size: 10px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(245,240,230,0.3); margin-top: 3px; }
.footer__tagline { font-size: 14px; line-height: 1.75; color: rgba(245,240,230,0.35); max-width: 250px; }

.footer__nav h4, .footer__courses h4, .footer__contact h4 {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245,240,230,0.3);
    margin-bottom: 20px;
}
.footer__nav ul, .footer__courses ul, .footer__contact ul { display: flex; flex-direction: column; gap: 12px; }
.footer__nav li a, .footer__courses li a, .footer__contact li a, .footer__contact li span {
    font-size: 14px;
    color: rgba(245,240,230,0.5);
    transition: color 0.2s;
}
.footer__nav li a:hover, .footer__courses li a:hover, .footer__contact li a:hover { color: var(--cream); }

.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.social-link {
    width: 36px; height: 36px;
    background: rgba(245,240,230,0.05);
    border: 1px solid rgba(245,240,230,0.09);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245,240,230,0.4);
    transition: all 0.2s;
}
.social-link svg { width: 15px; height: 15px; }
.social-link:hover { background: rgba(245,240,230,0.1); color: var(--cream); border-color: rgba(245,240,230,0.18); transform: translateY(-2px); }

.footer__bottom { border-top: 1px solid rgba(245,240,230,0.05); padding: 20px var(--gutter); }
.footer__bottom-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer__bottom p { font-size: 13px; color: rgba(245,240,230,0.25); }
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a { font-size: 13px; color: rgba(245,240,230,0.25); transition: color 0.2s; }
.footer__bottom-links a:hover { color: rgba(245,240,230,0.55); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .courses__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .accreditations__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer__brand { grid-column: 1 / -1; }
    .cpr-section__inner { grid-template-columns: 1fr; gap: 48px; }
    .cpr-section__text { max-width: 600px; }
    .about__badge-float--1 { top: -12px; right: -8px; }
    .about__badge-float--2 { bottom: 48px; left: -8px; }
    .about__badge-float--3 { bottom: -12px; right: -8px; }
}

@media (max-width: 768px) {
    :root { --section-v: 72px; --gutter: 20px; }

    .nav__links { display: none; }
    .btn--nav { display: none; }
    .nav__hamburger { display: flex; }

    .nav__links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: rgba(10,10,10,0.97);
        backdrop-filter: blur(20px);
        padding: 20px var(--gutter) 32px;
        gap: 0;
        border-bottom: 1px solid rgba(245,240,230,0.08);
        animation: menuSlide 0.3s var(--ease-out);
    }
    .nav__links.open li { border-bottom: 1px solid rgba(245,240,230,0.05); }
    .nav__links.open .nav__link { display: block; padding: 15px 0; font-size: 18px; color: var(--cream); }
    .nav--scrolled .nav__links.open { background: rgba(250,248,244,0.98); }
    .nav--scrolled .nav__links.open .nav__link { color: var(--black); }
    @keyframes menuSlide {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .hero__inner { grid-template-columns: 1fr; padding-top: 120px; gap: 40px; }
    .hero__visual { order: -1; }
    .hero__logo-img { max-width: 240px; margin: 0 auto; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }

    .stats__inner { flex-wrap: wrap; gap: 32px 0; }
    .stats__divider { display: none; }
    .stats__item { flex: 1 1 45%; min-width: 0; }

    .about__inner { grid-template-columns: 1fr; }
    .about__visual { order: -1; }
    .about__svg { max-width: 340px; margin: 0 auto; }
    .about__photo-wrap { max-width: 420px; margin: 0 auto; }
    .about__badge-float--1 { top: -10px; right: 0; }
    .about__badge-float--2 { bottom: 16px; left: 0; }
    .hero__blue-l { width: 280px; height: 280px; left: -60px; }
    .hero__blue-r { width: 280px; height: 280px; right: -60px; }

    .courses__grid { grid-template-columns: 1fr; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .gallery__item { aspect-ratio: 4/5; }
    .gallery__item-overlay { transform: translateY(0); }
    .gallery__item-overlay p { opacity: 1; transform: none; }

    .accreditations__grid { grid-template-columns: 1fr; }
    .about__badge-float--3 { bottom: -14px; right: 0; }
    .why__grid { grid-template-columns: 1fr; }
    .testimonials__grid { grid-template-columns: 1fr; }

    .contact__inner { grid-template-columns: 1fr; gap: 48px; }
    .contact__form-wrap { padding: 24px 20px; }
    .form-row { grid-template-columns: 1fr; }

    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .footer__brand { grid-column: auto; }
    .footer__bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
}
