/* WAVECREST SURF SCHOOL: FULLY AUDITED & CORRECTED */

:root {
    --ocean-deep: #0B4F6C;
    --ocean-blue: #20A4F3;
    --wave-cyan: #00D4FF;
    --sunset: #FF6B35;
    --sand: #F4E8D0;
    --white: #FFFFFF;
    --black: #0F172A;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --gradient-ocean: linear-gradient(135deg, var(--ocean-deep), var(--ocean-blue));
    --gradient-sunset: linear-gradient(135deg, var(--sunset), #FF8C61);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.15);

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    --font-display: 'Righteous', cursive;
    --font-body: 'Poppins', sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    /* FIX: Single source of truth, JS updates this on load+resize */
    --banner-height: 56px;
}

/* ============================================================
   ANNOUNCEMENT BANNER
============================================================ */
.announcement-banner {
    background: var(--gradient-ocean);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    height: var(--banner-height);
}

.banner-messages {
    position: relative;
    width: 100%;
    height: var(--banner-height);
}

.banner-message {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: var(--banner-height);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s 0.6s;
    pointer-events: none;
}

.banner-message.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s 0s;
    pointer-events: auto;
}

.banner-message.exiting {
    opacity: 0;
    visibility: visible;
    transform: translateY(-20px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s;
}

.banner-icon { font-size: 1.1rem; flex-shrink: 0; display: flex; align-items: center; }

.banner-text {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.banner-cta {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 1rem;
    font-size: 0.9rem;
    transition: background 0.3s var(--ease);
    margin-left: 0.5rem;
    white-space: nowrap;
}

.banner-cta:hover { background: rgba(255,255,255,0.3); }

.banner-pause {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s var(--ease);
    z-index: 2;
}

.banner-pause:hover { background: rgba(255,255,255,0.25); }

.banner-pause.paused svg { display: none; }
.banner-pause.paused::before { content: '▶'; font-size: 0.75rem; }

@media (max-width: 768px) {
    .announcement-banner { height: auto; min-height: var(--banner-height); }
    .banner-messages { height: auto; min-height: var(--banner-height); }
    .banner-message { height: auto; min-height: var(--banner-height); padding: 1rem 3rem 1rem 1rem; flex-wrap: wrap; }
    .banner-text { font-size: 0.875rem; }
    .banner-cta { font-size: 0.825rem; padding: 0.2rem 0.6rem; }
    .banner-pause { top: 1rem; transform: none; }
}

@media (max-width: 480px) {
    .banner-icon { display: none; }
    .banner-message { padding: 0.875rem 2.5rem 0.875rem 0.875rem; }
    .banner-text { font-size: 0.8125rem; }
}

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

html {
    scroll-behavior: smooth;
    /* FIX: Prevents anchor links scrolling under fixed banner + navbar
       Base fallback, JS overrides this dynamically via syncBannerHeight() */
    scroll-padding-top: calc(var(--banner-height) + 72px);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Tracks --banner-height, updated dynamically by JS */
    padding-top: var(--banner-height);
}

/* Screen-reader only utility: visually hidden but announced by assistive tech */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Accessibility: Skip-link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--gradient-sunset);
    color: white;
    padding: 0.75rem 1.5rem;
    z-index: 2000;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-weight: 600;
    transition: top 0.3s var(--ease);
}

.skip-link:focus {
    top: var(--banner-height);
    outline: none;
}

.nav-link[aria-current="page"] {
    color: var(--ocean-blue);
    font-weight: 700;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--black);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h3.as-h4 { font-size: 1.25rem; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) { .container { padding: 0 3rem; } }

/* ============================================================
   NAVBAR: top aligns to bottom of banner
============================================================ */
.navbar {
    position: fixed;
    top: var(--banner-height); /* JS keeps this in sync */
    left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: top 0.2s var(--ease);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ocean-deep);
    letter-spacing: -0.01em;
}

.logo img {
    height: 52px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--ocean-blue); }

.nav-phone {
    margin-left: 0.5rem;
}

.nav-link-phone {
    color: var(--ocean-deep);
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: all 0.2s var(--ease);
}

.nav-link-phone:hover {
    background: var(--gray-200);
    color: var(--ocean-blue);
}

.btn-nav {
    background: var(--gradient-sunset);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.btn-nav:hover { transform: translateY(-2px); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 28px; height: 3px;
    background: var(--ocean-deep);
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .mobile-menu-toggle { display: flex; }

    .nav-content { flex-wrap: wrap; position: relative; }

    .logo { order: 1; flex: 1; display: flex; justify-content: center; align-items: center; gap: 0.5rem; }
    .logo img { height: 40px; max-width: 180px; }
    .logo-name { font-size: 0.875rem; }

    .mobile-menu-toggle {
        order: 2;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }

    /* JS sets exact top; CSS provides safe fallback */
    .nav-links {
        order: 3;
        position: fixed;
        top: 110px;
        left: 0; right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.75rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s var(--ease);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    .nav-links.active { transform: translateX(0); }

    .nav-phone {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-link-phone {
        display: block;
        width: 100%;
        font-size: 1.1rem;
    }
}

/* ============================================================
   WHATSAPP FLOAT
============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 999;
    background: #25D366;
    color: white;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: all 0.3s var(--ease);
    opacity: 0;
    pointer-events: none;
}

.whatsapp-float.visible { opacity: 1; pointer-events: all; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.2s var(--ease);
    text-align: center;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-ocean);
    color: white;
    box-shadow: 0 4px 16px rgba(32,164,243,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32,164,243,0.4);
}

.btn-secondary {
    background: white;
    color: var(--ocean-deep);
    border: 2px solid var(--ocean-blue);
}

.btn-secondary:hover { background: var(--ocean-blue); color: white; }

.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover { background: rgba(255,255,255,0.25); }

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
    background: #1ebe5e;
}

.btn-lg { padding: 1.25rem 2.5rem; font-size: 1.1rem; }
.btn-xl { padding: 1.5rem 3rem; font-size: 1.25rem; }

/* ============================================================
   BADGE
============================================================ */
.badge {
    display: inline-block;
    background: var(--gradient-ocean);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   HERO: Video Background
============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 4rem;
    overflow: hidden;
}

@media (max-width: 768px) { .hero { padding: 120px 0 4rem; } }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Performance: serve poster image only on mobile, video is too heavy on SA mobile connections */
@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
    .hero-bg {
        background-image: url('images/Hero.webp');
        background-size: cover;
        background-position: center;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,79,108,0.78), rgba(32,164,243,0.45));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    animation: fadeUp 1s var(--ease);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    color: white;
    margin: 1rem 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.highlight {
    background: linear-gradient(135deg, #FFD166, var(--sunset));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }

.stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 100px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    display: block;
}

.stat-label { font-size: 0.9rem; opacity: 0.9; }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    margin: 0 auto;
    animation: scrollBounce 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ============================================================
   SECTIONS (shared)
============================================================ */
section { padding: 6rem 0; position: relative; }

.section-header { margin-bottom: 3rem; }

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 { margin: 1rem 0; }

.section-header p { font-size: 1.15rem; color: var(--gray-700); }

/* ============================================================
   ABOUT
============================================================ */
.about { background: linear-gradient(180deg, white 0%, var(--gray-50) 100%); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

@media (min-width: 968px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; } }

.feature {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.4s var(--ease);
}

.feature:hover { 
    transform: translateY(-5px) translateX(5px); 
    box-shadow: var(--shadow-md);
    border-color: var(--wave-cyan);
}

.feature:nth-child(even) {
    transform: translateX(10px);
}

@media (max-width: 968px) {
    .feature:nth-child(even) { transform: none; }
}

.feature-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-ocean);
    border-radius: 14px;
    color: white;
    box-shadow: 0 4px 12px rgba(32,164,243,0.2);
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* Decorative element behind Libby's photo */
.about-image::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 100%; height: 100%;
    background: var(--gradient-ocean);
    opacity: 0.1;
    border-radius: var(--radius-lg);
    z-index: -1;
    transition: all 0.5s var(--ease);
}

.about-image:hover::before {
    top: -30px; right: -30px;
    opacity: 0.15;
}

.about-image-inner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.about-image img { 
    width: 100%; 
    height: auto; 
    display: block;
    transition: transform 0.8s var(--ease);
}

.about-image:hover img { transform: scale(1.05); }

/* ============================================================
   PHOTO GALLERY
   Sits inside the existing .about-image wrapper on index.html
   and about.html, so the decorative offset panel, white border
   and shadow all carry over unchanged. Manual advance only.
============================================================ */
.gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--ocean-deep);
}

.gallery-track {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}

.gallery-slide {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease);
}

.gallery-slide.is-active {
    opacity: 1;
    visibility: visible;
}

/* Overrides the earlier `.about-image img { height: auto }` rule so each
   photo fills the fixed 4:5 frame regardless of its source aspect ratio. */
.about-image .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease);
}

.about-image:hover .gallery-slide.is-active img { transform: scale(1.05); }

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    color: var(--ocean-deep);
    box-shadow: 0 2px 10px rgba(0,0,0,0.28);
    transition: background 0.25s var(--ease);
}

.gallery-arrow:hover { background: #ffffff; }
.gallery-arrow:focus-visible { outline: 3px solid var(--ocean-blue); outline-offset: 2px; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

/* Caption is now a child of .about-image-inner. Lift it above the slides
   and let clicks pass through to the frame so swipe still works. */
.about-image-inner .image-caption {
    z-index: 2;
    pointer-events: none;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

.gallery-dot {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: none;
}

.gallery-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.gallery-dot.is-active::after {
    background: var(--ocean-blue);
    transform: scale(1.35);
}

.gallery-dot:hover::after { background: var(--wave-cyan, var(--ocean-blue)); }
.gallery-dot:focus-visible { outline: 3px solid var(--ocean-blue); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .gallery-slide,
    .about-image .gallery-slide img { transition: none; }
    .about-image:hover .gallery-slide.is-active img { transform: none; }
}

/* Tighter insets on small screens. The arrows deliberately stay 44x44:
   shrinking them to 40 would fail the 44x44 minimum touch target the QA
   checklist requires, and there is room for both at a 360px viewport. */
@media (max-width: 480px) {
    .gallery-prev { left: 8px; }
    .gallery-next { right: 8px; }
}

.image-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem;
}

.image-caption h4, .image-caption h3.as-h4, .image-caption p { color: white; margin: 0; }

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

.trust-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
    text-align: left;
    width: 100%;
}

.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.trust-icon {
    width: 48px; height: 48px;
    background: var(--gradient-ocean);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-card strong { display: block; color: var(--ocean-deep); margin-bottom: 0.25rem; }
.trust-card span { color: var(--ocean-blue); font-size: 0.9rem; font-weight: 600; }

/* ============================================================
   LESSONS / PACKAGES
   Now with Video Background
============================================================ */
.lessons { 
    position: relative; 
    overflow: hidden;
    padding: 8rem 0;
    background: var(--ocean-deep);
}

.lessons .container {
    position: relative;
    z-index: 2;
}

.lessons .section-header * {
    color: white;
}

.lessons .section-header p {
    color: rgba(255,255,255,0.9);
}

.section-video-bg {
    position: absolute;
    /* Extend 20% above and below so the video has room to travel without
       showing gaps as the parallax offset shifts it, clipped by .lessons overflow:hidden */
    top: -20%;
    left: 0;
    right: 0;
    height: 140%;
    z-index: 0;
    will-change: transform;
}

.section-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11,79,108,0.85), rgba(11,79,108,0.7));
    z-index: 1;
}

@media (max-width: 768px) {
    .section-video-bg {
        background-image: url('images/Hero.webp'); /* Fallback */
        background-size: cover;
        background-position: center;
    }
    .section-video-bg video { display: none; }
}

/* ---- Pricing grid: 3-up on desktop, 2-up tablet, 1-up mobile ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 1.5rem;
    padding-top: 1.25rem; /* clearance for .card-badge top: -12px */
}

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

/* ---- Standalone card container (grid context) ---- */
.lesson-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.lesson-card.featured {
    border-color: var(--ocean-blue);
    box-shadow: 0 8px 32px rgba(11,79,108,0.18), 0 0 0 2px var(--ocean-blue);
    /* Fully opaque: video parallax bg was bleeding through the previous near-transparent gradient */
    background: linear-gradient(135deg, #eaf6fd, #f5fbff);
}

.lesson-card.highlighted {
    border-color: var(--sunset);
    box-shadow: 0 8px 32px rgba(255,107,53,0.16), 0 0 0 2px var(--sunset);
}



.card-badge {
    position: absolute;
    top: -12px; right: 1rem;
    background: var(--gradient-sunset);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.card-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-ocean);
    border-radius: 12px;
    color: white;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.lesson-card h3 { margin-bottom: 0.5rem; }
.lesson-card p { color: var(--gray-700); margin-bottom: 1rem; }

.lesson-card ul { margin: 1rem 0; flex: 1; }

.lesson-card li {
    padding: 0.4rem 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lesson-card li::before { content: "✓"; color: var(--ocean-blue); font-weight: 700; flex-shrink: 0; }

.card-meta {
    background: var(--gray-100);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin: 0.75rem 0;
    color: var(--gray-700);
}

.card-price {
    margin: 0.75rem 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}

.price-row span:first-child {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ocean-deep);
    font-weight: 700;
}

.price-unit {
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-top: 0.25rem;
}

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

.pricing-note {
    text-align: center;
    color: var(--gray-700);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.pricing-note a { color: var(--ocean-blue); text-decoration: underline; }

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

/* The J-Bay explore grid carries four cards, not three. Left on the shared
   auto-fit track sizing it wraps 3 + 1 and the last card reads as a stray,
   so it gets its own column counts: 4 across on desktop, a balanced 2 x 2
   on tablet, and the shared single-column fallback on phones. Scoped to
   this grid only, so the three-card services grid above is untouched. */
@media (min-width: 700px) {
    .services-grid.services-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
    .services-grid.services-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
    width: 100%;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-icon {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-ocean);
    border-radius: 14px;
    color: white;
    margin: 0 auto 1rem;
}

.service-card h4, .service-card h3.as-h4 { margin-bottom: 0.5rem; }
.service-card p { color: var(--gray-700); margin-bottom: 1rem; }
.service-card span { color: var(--ocean-blue); font-weight: 700; }

/* ============================================================
   CONDITIONS
============================================================ */
.conditions-section { background: white; }

.surf-widget {
    background: white;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    min-height: 450px;
    -webkit-overflow-scrolling: touch;
}

.conditions-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.info-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.info-item:hover { background: white; box-shadow: var(--shadow-sm); }

.info-item .info-icon {
    width: 40px; height: 40px;
    background: var(--gradient-ocean);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-item strong { display: block; color: var(--ocean-deep); font-size: 0.95rem; }
.info-item span { color: var(--gray-700); font-size: 0.9rem; }

/* ============================================================
   SOCIAL
============================================================ */
.social { background: var(--gray-50); }

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.social-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    color: white;
    transition: all 0.3s var(--ease);
    display: block;
}

.social-card.instagram {
    background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-card.tiktok {
    background: linear-gradient(135deg, #000000 0%, #69C9D0 100%);
}

.social-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.social-card svg { margin: 0 auto 1rem; }
.social-card h3 { color: white; margin-bottom: 0.5rem; }
.social-card p { font-weight: 700; margin-bottom: 0.5rem; }
.social-card .cta { opacity: 0.9; font-weight: 400; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials { background: var(--gradient-ocean); color: white; }
.testimonials .section-header * { color: white; }

.tripadvisor {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-top: 1rem;
    transition: all 0.3s;
}

.tripadvisor:hover { background: rgba(255,255,255,0.2); }
.stars { color: #FFD166; font-size: 1.25rem; }

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    min-height: 200px;
}

.testimonial {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    display: none;
}

.testimonial.active { display: block; animation: fadeIn 0.5s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.testimonial p { font-size: 1.15rem; line-height: 1.8; margin-bottom: 1.5rem; }
.author { display: flex; justify-content: space-between; align-items: center; }
.author span { color: #FFD166; }

.slider-nav { display: flex; justify-content: center; gap: 1rem; }

.slider-nav button {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.slider-nav button:hover { background: rgba(255,255,255,0.3); }

/* ============================================================
   FAQ
============================================================ */
.faq-section { background: var(--gray-50); }

.faq-list {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-item {
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.3s var(--ease);
}

.faq-item:hover { box-shadow: var(--shadow-md); }

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

.faq-question:hover { background: var(--gray-50); }
.faq-question[aria-expanded="true"] { background: var(--gray-50); }

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    color: var(--ocean-blue);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* FIX: Consolidated from two conflicting padding declarations */
.faq-answer {
    padding: 1.25rem 1.5rem 1.5rem;
    color: var(--gray-700);
    line-height: 1.7;
    border-top: 1px solid var(--gray-100);
}

.faq-answer p { margin-bottom: 0.5rem; }

.faq-cta {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 800px;
    margin: 0 auto;
}

.faq-cta p { margin-bottom: 1rem; color: var(--gray-700); font-size: 1.1rem; }

/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.contact-card .contact-icon {
    width: 52px; height: 52px;
    background: var(--gradient-ocean);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    margin: 0 auto 1rem;
}

.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card a {
    color: var(--ocean-blue);
    font-weight: 600;
    word-break: normal;
    overflow-wrap: break-word;
    font-size: 0.9rem;
    display: block;
    line-height: 1.4;
}

.map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   FINAL CTA
============================================================ */
.cta-final {
    background: var(--gradient-sunset);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-final h2 { color: white; margin-bottom: 1rem; }
.cta-final p { font-size: 1.15rem; margin-bottom: 2rem; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-200);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer img { max-width: 200px; height: auto; margin-bottom: 1rem; }
.footer h4, .footer h3.as-h4 { color: white; margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0.5rem; }
.footer a:hover { color: var(--ocean-blue); }

.social-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-link-icon {
    width: 40px; height: 40px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.2s var(--ease);
    flex-shrink: 0;
}

.social-link-icon:hover { background: var(--ocean-blue); transform: translateY(-2px); }
.social-link-icon svg { width: 20px; height: 20px; }

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p { margin: 0.5rem 0; }

/* ============================================================
   MODAL
============================================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active { display: flex; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    padding: 2rem;
    animation: slideUp 0.3s var(--ease);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover { background: var(--gray-200); transform: rotate(90deg); }

#modalBody h2 { margin-bottom: 1.5rem; }
#modalBody h3 { margin-top: 1.5rem; margin-bottom: 1rem; }
#modalBody p { margin-bottom: 1rem; line-height: 1.7; }
#modalBody ul { margin: 1rem 0 1.5rem 1.5rem; }
#modalBody li { list-style: disc; margin-bottom: 0.5rem; }
#modalBody .btn { margin-top: 1.5rem; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
    .hero { min-height: auto; padding: 5rem 0 3rem; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .modal-content { max-height: 90vh; padding: 1.5rem; }
    .conditions-info { grid-template-columns: 1fr 1fr; }
    .video-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ACCESSIBILITY: prefers-reduced-motion
============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    /* FIX: Hide video (not animation-play-state which does nothing on <video>)
       The poster image becomes the visible fallback */
    .hero-video { display: none; }
}

/* ============================================================
   MARCH UPDATE: SPACING FIXES & NEW COMPONENTS
============================================================ */

/* --- Card title & text breathing room --- */
.lesson-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.lesson-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-card h4,
.service-card h3.as-h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Section header title centering */
.section-header h2 {
    margin: 0.75rem 0 1rem;
    line-height: 1.2;
}

.section-header.center {
    text-align: center;
}

/* --- CTA Button Group (multiple side-by-side buttons) --- */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* --- WhatsApp CTA Block (in lessons section) --- */
.whatsapp-cta-block {
    text-align: center;
    padding: 2rem 2rem 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid #25D366;
}

.whatsapp-cta-block p {
    color: var(--gray-700);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .cta-buttons .btn { text-align: center; justify-content: center; }
    .whatsapp-cta-block { padding: 1.5rem; }
}

/* ============================================================
   INSTRUCTOR PROFILE CARDS
============================================================ */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.instructor-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.instructor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.instructor-avatar {
    width: 72px;
    height: 72px;
    background: var(--gradient-ocean);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--white);
}

.instructor-card h4,
.instructor-card h3.as-h4 {
    margin-bottom: 0.25rem;
    color: var(--ocean-deep);
}

.instructor-title {
    display: block;
    font-size: 0.875rem;
    color: var(--ocean-blue);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.instructor-card p {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.instructor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.instructor-tags span {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-weight: 500;
}

/* ============================================================
   J-BAY SURF BREAKS SECTION
============================================================ */
.breaks-section {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.breaks-section h3 {
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--ocean-deep);
}

.breaks-section > p {
    text-align: center;
    color: var(--gray-700);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.break-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.break-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--wave-cyan);
}

/* Header row: wave icon + difficulty badge */
.break-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.break-icon {
    width: 44px; height: 44px;
    background: var(--gradient-ocean);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    flex-shrink: 0;
}

/* Difficulty badges */
.break-difficulty {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.break-difficulty.beginner  { background: #D1FAE5; color: #065F46; }
.break-difficulty.intermediate { background: #DBEAFE; color: #1E40AF; }
.break-difficulty.advanced  { background: #FEF3C7; color: #92400E; }
.break-difficulty.expert    { background: #FFE4E6; color: #9F1239; }

.break-card h4,
.break-card h3.as-h4 {
    color: var(--ocean-deep);
    font-size: 1.05rem;
    margin: 0;
}

.break-card p {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* Small tag at bottom of card */
.break-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ocean-blue);
    background: rgba(32,164,243,0.08);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    align-self: flex-start;
}

@media (min-width: 1100px) {
    .breaks-section { padding: 2rem 1.5rem; }
    .breaks-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
    .break-card { padding: 1.5rem 1rem 1.25rem; }
}

@media (max-width: 768px) {
    .breaks-section { padding: 1.5rem; }
    .breaks-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FACEBOOK SOCIAL CARD
============================================================ */
.social-card.facebook {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
}

/* ============================================================
   UTILITY CLASSES (Replaced Inline Styles)
============================================================ */
.map-iframe {
    border: 0;
    border-radius: 1rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
}

.whatsapp-cta-icon {
    display: inline-block;
    vertical-align: -4px;
    margin-right: 6px;
    color: var(--ocean-blue);
}

.pt-4rem { padding-top: 4rem; }
.pt-5rem { padding-top: 5rem; }
.mt-1rem { margin-top: 1rem; }
.mt-1-5rem { margin-top: 1.5rem; }
.mt-2rem { margin-top: 2rem; }
.mt-3rem { margin-top: 3rem; }
.mt-4rem { margin-top: 4rem; }

.lessons-action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.included-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Page Hero (from about.html) */
.page-hero {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-blue) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/Hero.webp') center/cover no-repeat;
    opacity: 0.15;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }
.breadcrumb-nav { font-size: 0.9rem; opacity: 0.75; margin-bottom: 1.5rem; }
.breadcrumb-nav a { color: white; text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 0.5rem; }
.stat-highlight {
    display: inline-flex; gap: 3rem; margin-top: 2rem;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    padding: 1.5rem 3rem; border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
}
.stat-highlight .stat { text-align: center; }
.stat-highlight .stat-number { display: block; font-family: var(--font-heading); font-size: 2rem; color: var(--wave-cyan); }
.stat-highlight .stat-label { font-size: 0.85rem; opacity: 0.8; }

/* What's included (from lessons.html) */
.whats-included {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    margin: 3rem 0 0;
}
.whats-included h3 { margin-bottom: 1.5rem; }
.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.included-item {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.95rem;
}
.included-item svg { color: var(--wave-cyan); flex-shrink: 0; }

/* Conditions Specific Classes */
.how-to-read {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
}
.how-to-read h3 { margin-bottom: 1rem; }

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.season-h4 {
    color: var(--wave-cyan);
    margin-bottom: 0.5rem;
}

.season-p { font-size: 0.9rem; }

.conditions-cta-box {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--glass-bg);
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
}

.mb-1-5rem { margin-bottom: 1.5rem; }

/* Contact Specific Classes */
.opening-hours {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
}
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.95rem; }
.hours-row .day { font-weight: 500; }
.hours-row .time { color: var(--wave-cyan); font-weight: 600; }
.contact-info-extra { margin-top: 2rem; }
.contact-info-extra h3 { margin-bottom: 1rem; }
.info-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.info-row svg { color: var(--wave-cyan); flex-shrink: 0; margin-top: 2px; }
.info-row strong { display: block; margin-bottom: 0.25rem; }

.contact-card-note {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

.contact-additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-heading-icon {
    display: inline-block;
    vertical-align: -4px;
    margin-right: 8px;
    color: var(--wave-cyan);
}

.contact-sub-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.slots-container {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glass-border);
}

.slots-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.slots-wrap {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.slot-badge {
    background: var(--wave-cyan);
    color: var(--ocean-deep);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-contact-map {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* 404 Specific Classes */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-blue) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.error-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/Hero.webp') center/cover no-repeat;
    opacity: 0.12;
}
.error-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}
.error-number {
    font-family: var(--font-display);
    font-size: clamp(6rem, 20vw, 12rem);
    line-height: 1;
    color: var(--wave-cyan);
    opacity: 0.4;
    margin-bottom: -1rem;
}
.error-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}
.error-content h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}
.error-content p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.error-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
    width: 100%;
}
.quick-link-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0.75rem;
    padding: 1rem;
    text-decoration: none;
    color: white;
    transition: background 0.2s, transform 0.2s;
}
.quick-link-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    color: white;
}
.quick-link-card span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.jump-text {
    font-size: 0.9rem;
    opacity: 0.65;
    margin-bottom: 1rem;
}

.navbar-dark {
    background: rgba(10,20,40,0.95);
}

/* ============================================================
   TAP TARGETS: larger hit area, same appearance
============================================================ */
.nav-link, .footer ul a, .breadcrumb-nav a { padding-block: 2px; }
.contact-card a { padding-block: 2px; margin-block: -2px; }
.footer-privacy a { padding-block: 3px; }
.mobile-menu-toggle::after { content: ''; position: absolute; inset: -8px -6px; }

/* ============================================================
   PRIVACY NOTICE
============================================================ */
#privacy { padding-bottom: 5rem; }
.privacy-content { max-width: 760px; margin: 0 auto; }
.privacy-content h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p, .privacy-content li { color: var(--gray-700); line-height: 1.7; margin-bottom: 1rem; }
.privacy-content ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.privacy-content a { color: var(--ocean-blue); text-decoration: underline; }
