/**
 * BRAVES Theme - Main Stylesheet
 *
 * Table of Contents:
 * 1. Fonts
 * 2. CSS Variables
 * 3. Reset & Base
 * 4. Typography
 * 5. Layout & Grid System
 * 6. Buttons
 * 7. Utilities
 * 8. Components
 * 9. Header
 * 10. Footer
 * 11. Sections
 */

/* ==========================================================================
   1. FONTS
   ========================================================================== */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   2. CSS VARIABLES
   ========================================================================== */

:root {
    /* -------------------------------------------------------------------------
       Colors - Primary Palette
       ------------------------------------------------------------------------- */
    --color-primary: #111827;
    --color-white: #FFFFFF;
    --color-accent: #5EEAD4;
    --color-light-gray: #F2F2F2;
    --color-teal: #0A7A83;
    --color-purple: #353C75;
    --color-dark-blue: #152C4F;

    /* Colors - Semantic */
    --color-text: var(--color-primary);
    --color-text-light: #6B7280;
    --color-text-muted: #9CA3AF;
    --color-background: var(--color-white);
    --color-background-alt: var(--color-light-gray);

    /* Colors - Hover states (brightness adjustments) */
    --color-accent-hover: #4dd4c0;
    --color-teal-hover: #086670;
    --color-purple-hover: #2a3060;
    --color-primary-hover: #1f2937;

    /* -------------------------------------------------------------------------
       Typography
       ------------------------------------------------------------------------- */
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Font Sizes - Base */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-md: 1.125rem;     /* 18px */
    --font-size-lg: 1.25rem;      /* 20px */
    --font-size-xl: 1.5rem;       /* 24px */

    /* Line Heights */
    --line-height-none: 1;
    --line-height-tight: 1.1;
    --line-height-snug: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 1.75;

    /* -------------------------------------------------------------------------
       Spacing (multiples of 8)
       ------------------------------------------------------------------------- */
    --spacing-0: 0;
    --spacing-1: 0.25rem;         /* 4px */
    --spacing-2: 0.5rem;          /* 8px */
    --spacing-3: 0.75rem;         /* 12px */
    --spacing-4: 1rem;            /* 16px */
    --spacing-5: 1.25rem;         /* 20px */
    --spacing-6: 1.5rem;          /* 24px */
    --spacing-8: 2rem;            /* 32px */
    --spacing-9: 2.25rem;         /* 36px */
    --spacing-10: 2.5rem;         /* 40px */
    --spacing-12: 2.875rem;       /* 46px */
    --spacing-14: 3.5rem;         /* 56px */
    --spacing-16: 3.8125rem;      /* 61px */
    --spacing-20: 5rem;           /* 80px */
    --spacing-24: 6rem;           /* 96px */
    --spacing-30: 7.5rem;         /* 120px - section gap */
    --spacing-40: 10rem;          /* 160px */

    /* -------------------------------------------------------------------------
       Layout & Container
       ------------------------------------------------------------------------- */
    --container-max-width: 1824px;
    --container-padding: 1.5rem;  /* 24px mobile */
    --container-margin: 48px;

    /* Grid */
    --grid-columns: 12;
    --grid-gutter: 20px;

    /* -------------------------------------------------------------------------
       Border Radius
       ------------------------------------------------------------------------- */
    --radius-sm: 0.25rem;         /* 4px */
    --radius-md: 0.375rem;        /* 6px - buttons */
    --radius-lg: 0.5rem;          /* 8px */
    --radius-xl: 1rem;            /* 16px */
    --radius-2xl: 1.5rem;         /* 24px */
    --radius-full: 9999px;

    /* -------------------------------------------------------------------------
       Shadows
       ------------------------------------------------------------------------- */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* -------------------------------------------------------------------------
       Transitions
       ------------------------------------------------------------------------- */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-button: 200ms cubic-bezier(0.4, 0, 0.2, 1);

    /* -------------------------------------------------------------------------
       Z-index Scale
       ------------------------------------------------------------------------- */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;

    /* -------------------------------------------------------------------------
       Header
       ------------------------------------------------------------------------- */
    --header-height: 80px;

    /* -------------------------------------------------------------------------
       Section spacing
       ------------------------------------------------------------------------- */
    --section-gap: var(--spacing-30); /* 120px */
}

/* Responsive adjustments */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem; /* 32px */
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: 3rem; /* 48px = margin from Figma */
    }
}

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

/*
 * Responsive typography using clamp()
 * Format: clamp(min, preferred, max)
 *
 * H1: 91px max → ~40px mobile
 * H2: 58px max → ~32px mobile
 * H3: 16px (fixed, uppercase with ellipse)
 * H4: 46px max → ~28px mobile
 * H5: 26px max → ~20px mobile
 */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-primary);
}

/* H1 - 91px max */
h1,
.h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 5.6875rem);
    /* 40px → 91px */
    line-height: 1.05;
    letter-spacing: -0.02em;
}

/* H2 - 58px max */
h2,
.h2 {
    font-size: clamp(2rem, 3vw + 1rem, 3.625rem);
    /* 32px → 58px */
    line-height: var(--line-height-tight);
    letter-spacing: -0.01em;
}

/* H3 - 16px fixed, uppercase, with ellipse */
h3,
.h3 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: var(--line-height-normal);
    display: flex;
    align-items: center;
    gap: 12px;
}

h3::before,
.h3::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    min-width: 15px;
    background-image: url('../img/Ellipse.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* H3 without ellipse variant */
h3.no-ellipse::before,
.h3.no-ellipse::before {
    display: none;
}

/* H4 - 46px max */
h4,
.h4 {
    font-size: clamp(1.75rem, 2vw + 0.75rem, 2.875rem);
    /* 28px → 46px */
    line-height: var(--line-height-snug);
}

/* H5 - 26px max */
h5,
.h5 {
    font-size: clamp(1.25rem, 1vw + 0.75rem, 1.625rem);
    /* 20px → 26px */
    line-height: var(--line-height-snug);
}

/* H6 */
h6,
.h6 {
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
}

/* Paragraph */
p {
    margin-bottom: var(--spacing-4);
    line-height: var(--line-height-relaxed);
}

p:last-child {
    margin-bottom: 0;
}

/* Text highlight spans */
.text-highlight-accent {
    color: var(--color-accent);
}

.text-highlight-teal {
    color: var(--color-teal);
}

/* Lead text (larger intro paragraphs) */
.lead {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
}

@media (min-width: 768px) {
    .lead {
        font-size: var(--font-size-lg);
    }
}

/* Small text */
.small,
small {
    font-size: var(--font-size-sm);
}

/* Text weights */
.font-light { font-weight: var(--font-weight-light); }
.font-regular { font-weight: var(--font-weight-regular); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* Strong & emphasis */
strong, b {
    font-weight: var(--font-weight-bold);
}

em, i {
    font-style: italic;
}

/* ==========================================================================
   5. LAYOUT & GRID SYSTEM
   ========================================================================== */

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Container variants */
.container--narrow {
    max-width: 900px;
}

.container--medium {
    max-width: 1200px;
}

.container--wide {
    max-width: 1600px;
}

.container--full {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* 12-Column Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), 1fr);
    gap: var(--grid-gutter);
}

/* Grid column spans */
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* Mobile: all columns full width by default */
@media (max-width: 767px) {
    .grid > * {
        grid-column: span 12;
    }
}

/* Tablet breakpoint */
@media (min-width: 768px) {
    .col-md-1 { grid-column: span 1; }
    .col-md-2 { grid-column: span 2; }
    .col-md-3 { grid-column: span 3; }
    .col-md-4 { grid-column: span 4; }
    .col-md-5 { grid-column: span 5; }
    .col-md-6 { grid-column: span 6; }
    .col-md-7 { grid-column: span 7; }
    .col-md-8 { grid-column: span 8; }
    .col-md-9 { grid-column: span 9; }
    .col-md-10 { grid-column: span 10; }
    .col-md-11 { grid-column: span 11; }
    .col-md-12 { grid-column: span 12; }
}

/* Desktop breakpoint */
@media (min-width: 1024px) {
    .col-lg-1 { grid-column: span 1; }
    .col-lg-2 { grid-column: span 2; }
    .col-lg-3 { grid-column: span 3; }
    .col-lg-4 { grid-column: span 4; }
    .col-lg-5 { grid-column: span 5; }
    .col-lg-6 { grid-column: span 6; }
    .col-lg-7 { grid-column: span 7; }
    .col-lg-8 { grid-column: span 8; }
    .col-lg-9 { grid-column: span 9; }
    .col-lg-10 { grid-column: span 10; }
    .col-lg-11 { grid-column: span 11; }
    .col-lg-12 { grid-column: span 12; }
}

/* Large desktop breakpoint */
@media (min-width: 1280px) {
    .col-xl-1 { grid-column: span 1; }
    .col-xl-2 { grid-column: span 2; }
    .col-xl-3 { grid-column: span 3; }
    .col-xl-4 { grid-column: span 4; }
    .col-xl-5 { grid-column: span 5; }
    .col-xl-6 { grid-column: span 6; }
    .col-xl-7 { grid-column: span 7; }
    .col-xl-8 { grid-column: span 8; }
    .col-xl-9 { grid-column: span 9; }
    .col-xl-10 { grid-column: span 10; }
    .col-xl-11 { grid-column: span 11; }
    .col-xl-12 { grid-column: span 12; }
}

/* Flexbox utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

/* Gap utilities */
.gap-2 { gap: var(--spacing-2); }
.gap-3 { gap: var(--spacing-3); }
.gap-4 { gap: var(--spacing-4); }
.gap-5 { gap: var(--spacing-5); }
.gap-6 { gap: var(--spacing-6); }
.gap-8 { gap: var(--spacing-8); }

/* Section spacing */
section,
.section {
    padding-top: var(--spacing-16);
    padding-bottom: var(--spacing-16);
}

@media (min-width: 768px) {
    section,
    .section {
        padding-top: var(--spacing-24);
        padding-bottom: var(--spacing-24);
    }
}

@media (min-width: 1024px) {
    section,
    .section {
        padding-top: var(--section-gap);
        padding-bottom: var(--section-gap);
    }
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

/* Base button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition:
        background-color var(--transition-button),
        color var(--transition-button),
        transform var(--transition-button);
}

.btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.98);
}

/* Button 1: Accent (Primary CTA) - bg #5EEAD4, text #111827 */
.btn--accent,
.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn--accent:hover,
.btn--primary:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-primary);
}

/* Button 2: Teal - bg #0A7A83, text #FFFFFF */
.btn--teal {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.btn--teal:hover {
    background-color: var(--color-teal-hover);
    color: var(--color-white);
}

/* Button 3: White - bg #FFFFFF, text #0A7A83 */
.btn--white {
    background-color: var(--color-white);
    color: var(--color-teal);
}

.btn--white:hover {
    background-color: var(--color-light-gray);
    color: var(--color-teal);
}

/* Button 4: Purple - bg #353C75, text #FFFFFF */
.btn--purple {
    background-color: var(--color-purple);
    color: var(--color-white);
}

.btn--purple:hover {
    background-color: var(--color-purple-hover);
    color: var(--color-white);
}

/* Button 5: Link with arrow - text #0A7A83, underline */
.btn--link {
    background-color: transparent;
    color: var(--color-teal);
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 0;
    border-radius: 0;
}

.btn--link::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230A7A83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform var(--transition-button);
}

.btn--link:hover {
    color: var(--color-teal-hover);
}

.btn--link:hover::before {
    transform: translateX(4px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23086670' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}

/* Button sizes */
.btn--sm {
    padding: 8px 14px;
    font-size: var(--font-size-sm);
}

.btn--lg {
    padding: 16px 24px;
    font-size: var(--font-size-md);
}

/* Button full width */
.btn--full {
    width: 100%;
}

/* Button group */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-4);
}

@media (max-width: 479px) {
    .btn-group--stack-mobile {
        flex-direction: column;
    }

    .btn-group--stack-mobile .btn {
        width: 100%;
    }
}

/* ==========================================================================
   7. UTILITIES
   ========================================================================== */

/* Screen Reader Only */
.screen-reader-text,
.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;
}

.screen-reader-text:focus,
.sr-only:focus {
    position: fixed;
    top: 5px;
    left: 5px;
    width: auto;
    height: auto;
    padding: var(--spacing-4);
    background-color: var(--color-white);
    color: var(--color-primary);
    z-index: var(--z-modal);
    clip: auto;
}

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.text-accent { color: var(--color-accent); }
.text-teal { color: var(--color-teal); }
.text-purple { color: var(--color-purple); }
.text-light { color: var(--color-text-light); }
.text-muted { color: var(--color-text-muted); }

/* Background Colors */
.bg-primary { background-color: var(--color-primary); }
.bg-white { background-color: var(--color-white); }
.bg-light { background-color: var(--color-light-gray); }
.bg-accent { background-color: var(--color-accent); }
.bg-teal { background-color: var(--color-teal); }
.bg-purple { background-color: var(--color-purple); }
.bg-dark-blue { background-color: var(--color-dark-blue); }

/* Margin utilities */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--spacing-2); }
.mt-4 { margin-top: var(--spacing-4); }
.mt-6 { margin-top: var(--spacing-6); }
.mt-8 { margin-top: var(--spacing-8); }
.mt-12 { margin-top: var(--spacing-12); }
.mt-16 { margin-top: var(--spacing-16); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--spacing-2); }
.mb-4 { margin-bottom: var(--spacing-4); }
.mb-6 { margin-bottom: var(--spacing-6); }
.mb-8 { margin-bottom: var(--spacing-8); }
.mb-12 { margin-bottom: var(--spacing-12); }
.mb-16 { margin-bottom: var(--spacing-16); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding utilities */
.p-0 { padding: 0; }
.p-4 { padding: var(--spacing-4); }
.p-6 { padding: var(--spacing-6); }
.p-8 { padding: var(--spacing-8); }

.py-4 { padding-top: var(--spacing-4); padding-bottom: var(--spacing-4); }
.py-6 { padding-top: var(--spacing-6); padding-bottom: var(--spacing-6); }
.py-8 { padding-top: var(--spacing-8); padding-bottom: var(--spacing-8); }

.px-4 { padding-left: var(--spacing-4); padding-right: var(--spacing-4); }
.px-6 { padding-left: var(--spacing-6); padding-right: var(--spacing-6); }
.px-8 { padding-left: var(--spacing-8); padding-right: var(--spacing-8); }

/* Width utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }
.max-w-full { max-width: 100%; }

/* Display utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:hidden { display: none; }
    .md\:flex { display: flex; }
}

@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:hidden { display: none; }
    .lg\:flex { display: flex; }
}

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Border radius */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ==========================================================================
   8. COMPONENTS
   ========================================================================== */

/* Section header (title + subtitle) */
.section-header {
    max-width: 900px;
    margin-bottom: var(--spacing-12);
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-header h3,
.section-header .h3 {
    margin-bottom: var(--spacing-4);
}

.section-header h3.text-center::before,
.section-header .h3.text-center::before {
    /* For centered H3, we need flexbox centering */
}

.section-header h2,
.section-header .h2 {
    margin-bottom: var(--spacing-6);
}

.section-header p {
    color: var(--color-text-light);
    font-size: var(--font-size-md);
}

/* Card base */
.card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card--bordered {
    border: 1px solid var(--color-light-gray);
}

.card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card__content {
    padding: var(--spacing-6);
}

/* Image container with aspect ratio */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-portrait {
    aspect-ratio: 3 / 4;
}

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

.object-contain {
    object-fit: contain;
}

/* ==========================================================================
   9. HEADER
   ========================================================================== */

/*
 * Note: Main header styles are now in Section 11 (Hero Section)
 * The header is positioned inside the hero on the landing page.
 * This section contains only shared/global header styles.
 */

/* Remove default padding on main when hero contains the header */
.site-main {
    padding-top: 0;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--color-white);
    padding: var(--spacing-20) 0 var(--spacing-10);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-8);
    text-align: center;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    justify-content: center;
}

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

/* Event Info */
.footer-event-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
}

.footer-event-info__dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.footer-event-info__text {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Footer CTA */
.footer-cta {
    margin-top: var(--spacing-4);
}

/* Footer Navigation */
.footer-nav {
    margin-top: var(--spacing-8);
}

.footer-nav__menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-4) var(--spacing-8);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav__menu li {
    margin: 0;
}

.footer-nav__menu a {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.footer-nav__menu a:hover {
    color: var(--color-primary);
}

/* Footer Social */
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-4);
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    color: var(--color-text-light);
    border: 1.5px solid var(--color-light-gray);
    transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.footer-social__link:hover {
    color: var(--color-teal);
    border-color: var(--color-teal);
    background-color: rgba(10, 122, 131, 0.06);
    transform: translateY(-3px);
}

/* Footer Copyright */
.footer-copyright {
    margin-top: var(--spacing-6);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 599px) {
    .footer-nav__menu {
        flex-direction: column;
        gap: var(--spacing-4);
    }
}

/* ==========================================================================
   11. SECTIONS
   ========================================================================== */

/* ---------------------------------------------------------------------------
   HERO SECTION

   Layout:
   - Full viewport height
   - Background image with linear-gradient overlay
   - Container: max 1824px, margin 2.5% (48px at 1920px)
   - Flexbox column with space-between for vertical distribution
   --------------------------------------------------------------------------- */

.section-hero {
    padding: 0;
    background-image:
        linear-gradient(
            rgba(21, 44, 79, 0.7),
            rgba(21, 44, 79, 0.7)
        ),
        url('../img/BraVes-image-hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 14px;
    margin: 2.5%;
}

/* Hero container: flexbox column, space-between */
.hero__container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 96px);
    padding-top: 24px;
    padding-bottom: 24px;
}

@media (min-width: 768px) {
    .hero__container {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

@media (min-width: 1024px) {
    .hero__container {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

/* ---------------------------------------------------------------------------
   HEADER (inside Hero)
   --------------------------------------------------------------------------- */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-header__logo {
    display: block;
    line-height: 0;
}

.site-header__logo img {
    height: 90px;
    width: auto;
}

@media (min-width: 768px) {
    .site-header__logo img {
        height: 40px;
    }
}

@media (min-width: 1024px) {
    .site-header__logo img {
        height: 90px;
    }
}

/* Navigation */
.site-header__nav {
    display: flex;
    align-items: center;
}

/* Nav menu */
.nav-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 32px;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu li {
    margin: 0;
}

.nav-menu li a {
    color: var(--color-white);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-menu li a:hover::after,
.nav-menu li a:focus::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* Nav CTA button */
.nav-menu__cta a {
    padding: 0;
}

.nav-menu__cta a::after {
    display: none !important;
}

.nav-menu li a.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-button), color var(--transition-button), transform var(--transition-button);
}

/* Mobile toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    z-index: 20;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu open */
@media (max-width: 1023px) {
    .site-header__nav.is-open .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(17, 24, 39, 0.98);
        padding: 120px 24px 48px;
        gap: 16px;
        align-items: center;
        justify-content: center;
        z-index: 15;
    }

    .site-header__nav.is-open .nav-menu li a {
        display: block;
        padding: 16px 24px;
        font-size: var(--font-size-lg);
        text-align: center;
    }

    .site-header__nav.is-open .nav-menu__cta {
        margin-top: 16px;
    }

    .site-header__nav.is-open .nav-menu__cta a {
        padding: 12px 24px !important;
    }
}

body.menu-open {
    overflow: hidden;
}

@media (min-width: 1024px) {
    body.menu-open {
        overflow: auto;
    }
}

/* ---------------------------------------------------------------------------
   HERO CONTENT
   --------------------------------------------------------------------------- */

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1506px; 
    margin: 0 auto;
    color: var(--color-white);
}

/* Tagline */
.hero__tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 26px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.hero__tagline-dot {
    width: 15px;
    height: 15px;
    min-width: 15px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* Title */
.hero__title {
    color: var(--color-white);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero__title {
        margin-bottom: 32px;
    }
}

/* Subtitle */
.hero__subtitle {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .hero__subtitle {
        font-size: var(--font-size-lg);
    }
}

.hero__subtitle strong {
    font-weight: var(--font-weight-bold);
}

/* Buttons */
.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 479px) {
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero__buttons .btn {
        width: 100%;
    }
}

/* Spacer */
.hero__spacer {
    height: 100px;
}

@media (min-width: 1024px) {
    .hero__spacer {
        height: 100px;
    }
}

/* Intro section placeholder */
.section-intro {
    /* Will be styled in Phase 7 */
}

.section-intro .container{
    display: flex;
    flex-direction: row;
    gap: 61px;
    padding: 0px 16% 0px 16%;
}

.section-intro .container .col-6{
    flex: 0 0 50%;
}

.section-intro .container .hero__buttons{
    justify-content: flex-start;
}

/* Card section placeholder */
.section-card {
    padding-top: 0;
}

.section-card .container{
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0;
}

.section-card .container .col-4{
    background-color: var(--color-teal);
    color: var(--color-white);
    min-height: 641px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
}

.section-card .container .col-4:nth-child(1){
    background-image:
        linear-gradient(
            rgb(10, 122, 131, 0),
            rgb(10, 122, 131, 1)
        ),
        url('../img/BraVes-section-card-img-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-card .container .col-4:nth-child(2){
    justify-content: space-between;
}

.section-card .container .col-4:nth-child(3){
    background-image:
        linear-gradient(
            rgb(10, 122, 131, 0),
            rgb(10, 122, 131, 1)
        ),
        url('../img/BraVes-section-card-img-3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-card .container .col-4 h5{
    color: var(--color-white);
}

/* ---------------------------------------------------------------------------
   PROGRAMME SECTION
   --------------------------------------------------------------------------- */

.section-programme .container {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    padding: var(--spacing-30);
    border-radius: 14px;
}

@media (max-width: 767px) {
    .section-programme .container {
        padding: var(--spacing-10);
    }
}

.section-programme .container .col-12 {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.section-programme h3,
.section-programme h2,
.section-programme p {
    color: var(--color-white);
    max-width: 1110px;
}

.section-programme .program-details {
    margin-top: var(--spacing-16);
}

/* ---------------------------------------------------------------------------
   ACCORDION
   --------------------------------------------------------------------------- */

.accordion {
    width: 100%;
}

.accordion__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion__item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Accordion Header (Day title) */
.accordion__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--spacing-6) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.accordion__title {
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
}

.accordion__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url('../img/arrow-close.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--transition-base);
}

.accordion__item.is-open .accordion__icon {
    background-image: url('../img/arrow-open.svg');
}

/* Accordion Panel */
.accordion__panel {
    overflow: hidden;
}

.accordion__panel[hidden] {
    display: none;
}

.accordion__content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: var(--spacing-4);
    padding-bottom: var(--spacing-8);
}

/* Custom scrollbar for accordion content */
.accordion__content::-webkit-scrollbar {
    width: 6px;
}

.accordion__content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.accordion__content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.accordion__content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Firefox scrollbar */
.accordion__content {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
}

/* ---------------------------------------------------------------------------
   SESSION ROW
   --------------------------------------------------------------------------- */

.session-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-16) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    gap: var(--spacing-8);
}

.session-row:first-child {
    border-top: none;
}

/* Left side: Time + Title */
.session-row__left {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-8);
    flex: 1;
}

.session-row__time {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    min-width: 100px;
}

.session-row__dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.session-row__title {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.375rem);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    line-height: var(--line-height-snug);
}

/* Right side: Duration + Speakers + Type */
.session-row__right {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
    flex-shrink: 0;
}

.session-row__duration {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.7);
    min-width: 50px;
}

.session-row__speakers {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    min-width: 180px;
}

.session-row__type {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-md);
    white-space: nowrap;
}

/* Responsive: Stack on mobile */
@media (max-width: 1023px) {
    .session-row {
        flex-direction: column;
        gap: var(--spacing-4);
    }

    .session-row__left {
        flex-direction: column;
        gap: var(--spacing-3);
    }

    .session-row__right {
        flex-wrap: wrap;
        gap: var(--spacing-3);
    }

    .session-row__speakers {
        min-width: auto;
    }
}

/* Speakers section placeholder */
.section-speakers {
    /* Will be styled in Phase 10 */
}

.section-speakers .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-speakers .container .col-12{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 61px;
}

.section-speakers .container .col-12 .intro-speaker{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-direction: column;
}

.section-speakers h3, .section-speakers h2{
    text-align: center;
    max-width: 1110px;
}
.card-speaker{
    max-width: 291px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-speaker img{
    height: 360px;
    width: auto;
    border-radius: 8px;
    max-width: 291px;
    object-fit: cover;
    object-position: center;
}

.card-speaker p{
    font-size: 14px;
}

.speaker-grid{
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.card-speaker h5{
    font-size: 1.6rem;
}

/* ---------------------------------------------------------------------------
   WHAT'S INCLUDED SECTION
   --------------------------------------------------------------------------- */

.section-included .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-16);
    padding-left: 8%;
    padding-right: 8%;
}

@media (min-width: 1280px) {
    .section-included .container {
        padding-left: 10%;
        padding-right: 10%;
    }
}

/* Intro block */
.intro-included {
    max-width: 1110px;
}

.intro-included h3 {
    margin-bottom: var(--spacing-6);
}

.intro-included h2 {
    margin-bottom: var(--spacing-6);
}

.intro-included p {
    color: var(--color-text-light);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* Cards grid - 3 columns */
.included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-16) var(--spacing-8);
}

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

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

/* Card included */
.card-included {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.card-included h6 {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-3);
    font-size: clamp(1.125rem, 1vw + 0.5rem, 1.375rem);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    color: var(--color-primary);
}

.card-included h6::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    min-width: 15px;
    margin-top: 4px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.card-included p {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-light);
    padding-left: 27px;
}

.card-included p a {
    color: var(--color-teal);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.card-included p a:hover {
    color: var(--color-teal-hover);
}

/* ---------------------------------------------------------------------------
   CONTACT SECTION
   --------------------------------------------------------------------------- */

.section-contact {
    padding: 0;
}

.section-contact .container {
    background-color: var(--color-purple);
    border-radius: 14px;
    padding: var(--spacing-30);
}

@media (max-width: 767px) {
    .section-contact .container {
        padding: var(--spacing-10);
    }
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-12);
}

/* Contact Header */
.contact-header {
    text-align: center;
}

.contact-header h3 {
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: var(--spacing-6);
}

.contact-header h2 {
    color: var(--color-white);
    font-size: 81px;
}

/* Contact Form wrapper */
.contact-form {
    width: 100%;
    max-width: 800px;
}

.contact-form__placeholder {
    text-align: center;
    color: var(--color-white);
    opacity: 0.7;
}

/* ---------------------------------------------------------------------------
   CONTACT FORM 7 STYLES
   --------------------------------------------------------------------------- */

.section-contact .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

/* Remove default p margins from CF7 */
.section-contact .wpcf7-form p {
    margin: 0;
}

/* Two-column row for side-by-side fields (First name / Last name) */
.section-contact .form-row {
    display: flex;
    gap: var(--spacing-4);
}

.section-contact .form-row p {
    display: flex;
    flex: 1;
    gap: var(--spacing-4);
}

.section-contact .form-row .wpcf7-form-control-wrap {
    flex: 1;
}

/* Remove br inside form-row */
.section-contact .form-row br {
    display: none;
}

@media (max-width: 599px) {
    .section-contact .form-row,
    .section-contact .form-row p {
        flex-direction: column;
    }
}

/* Input & Textarea base styles */
.section-contact .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    background-color: var(--color-white);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.section-contact .wpcf7-form-control:not(.wpcf7-submit)::placeholder {
    color: var(--color-text-light);
}

.section-contact .wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.2);
}

/* Textarea specific - 6 lines max */
.section-contact .wpcf7-textarea {
    min-height: calc(6 * 1.5em + 20px); /* 6 lignes * line-height + padding */
    max-height: calc(6 * 1.5em + 20px);
    resize: none;
    overflow-y: auto;
}

/* Submit button */
.section-contact .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    margin: var(--spacing-4) auto 0;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    background-color: var(--color-accent);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-button), transform var(--transition-button);
}

.section-contact .wpcf7-submit:hover {
    background-color: var(--color-accent-hover);
}

.section-contact .wpcf7-submit:active {
    transform: scale(0.98);
}

.section-contact .wpcf7-submit:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

/* Validation messages */
.section-contact .wpcf7-not-valid-tip {
    display: block;
    margin-top: var(--spacing-2);
    font-size: var(--font-size-sm);
    color: #ff6b6b;
}

.section-contact .wpcf7-response-output {
    margin-top: var(--spacing-6);
    padding: var(--spacing-4);
    text-align: center;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
}

.section-contact .wpcf7-mail-sent-ok {
    background-color: rgba(94, 234, 212, 0.2);
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.section-contact .wpcf7-validation-errors,
.section-contact .wpcf7-spam-blocked {
    background-color: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

/* Spinner */
.section-contact .wpcf7-spinner {
    margin-left: var(--spacing-3);
}

/* ---------------------------------------------------------------------------
   SPONSORS SECTION
   --------------------------------------------------------------------------- */

.section-sponsors {
    padding-top: var(--spacing-20);
    padding-bottom: var(--spacing-20);
}

.section-sponsors .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-12);
    padding-left: 10%;
    padding-right: 10%;
}

.section-sponsors h2 {
    font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
    font-weight: var(--font-weight-semibold);
}

/* Sponsors grid — main tier (first 3, prominent row) */
.sponsors-grid--main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Sponsors grid — secondary tier (remaining sponsors) */
.sponsors-grid--secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: stretch;
}

/* Sponsor card — base */
.sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-6);
    background-color: var(--color-light-gray);
    border-radius: var(--radius-lg);
    transition: background-color var(--transition-fast);
}

.sponsor-card:hover {
    background-color: #e8e8e8;
}

/* Main sponsor card — larger, full-width within grid cell */
.sponsor-card--main {
    width: 100%;
    height: 220px;
    padding: var(--spacing-8);
}

/* Secondary sponsor card — fixed square, smaller */
.sponsors-grid--secondary .sponsor-card {
    width: 160px;
    height: 160px;
    opacity: 0.85;
}

.sponsors-grid--secondary .sponsor-card:hover {
    opacity: 1;
}

.sponsor-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Main sponsor logo — larger */
.sponsor-card--main .sponsor-card__logo {
    max-width: 180px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Secondary sponsor logo — smaller */
.sponsors-grid--secondary .sponsor-card__logo {
    max-width: 100px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsor-card__name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    text-align: center;
}

/* Responsive */
@media (max-width: 767px) {
    /* Main tier: stack to 1 column on very small screens */
    .sponsors-grid--main {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsor-card--main {
        height: 160px;
        padding: var(--spacing-5);
    }

    .sponsor-card--main .sponsor-card__logo {
        max-width: 120px;
        max-height: 75px;
    }

    /* Secondary tier: centre-align */
    .sponsors-grid--secondary {
        justify-content: center;
    }

    .sponsors-grid--secondary .sponsor-card {
        width: 130px;
        height: 130px;
        padding: var(--spacing-3);
    }

    .sponsors-grid--secondary .sponsor-card__logo {
        max-width: 80px;
        max-height: 50px;
    }
}

/* ---------------------------------------------------------------------------
   FAQ SECTION
   --------------------------------------------------------------------------- */

.section-faq {
    padding-top: var(--spacing-20);
    padding-bottom: var(--spacing-30);
}

.section-faq .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-12);
}

.section-faq h2 {
    text-align: center;
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    font-weight: var(--font-weight-semibold);
}

/* FAQ Accordion */
.faq-accordion {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* FAQ Item */
.faq-item {
    background-color: var(--color-light-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* FAQ Header */
.faq-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: var(--spacing-6);
}

.faq-item__question {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    line-height: var(--line-height-normal);
}

.faq-item__icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--transition-base);
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(90deg);
}

/* FAQ Panel */
.faq-item__panel {
    overflow: hidden;
}

.faq-item__panel[hidden] {
    display: none;
}

.faq-item__answer {
    padding: 0 32px 24px;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-light);
}

.faq-item__answer p {
    margin-bottom: var(--spacing-4);
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .faq-item__header {
        padding: 20px 24px;
    }

    .faq-item__answer {
        padding: 0 24px 20px;
    }
}

/* ---------------------------------------------------------------------------
   MODAL
   --------------------------------------------------------------------------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-6);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal[hidden] {
    display: none;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

/* Backdrop */
.modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

/* Container */
.modal__container {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-base);
}

.modal.is-open .modal__container {
    transform: scale(1) translateY(0);
}

/* Header */
.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-8) var(--spacing-10);
    border-bottom: 1px solid var(--color-light-gray);
}

.modal__header h2 {
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    margin: 0;
}

.modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.modal__close:hover {
    background-color: var(--color-light-gray);
    color: var(--color-primary);
}

.modal__close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Body */
.modal__body {
    flex: 1;
    padding: var(--spacing-8) var(--spacing-10);
    overflow-y: auto;
}

.modal__body p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-6);
}

.modal__body p:last-child {
    margin-bottom: 0;
}

/* Footer */
.modal__footer {
    display: flex;
    justify-content: center;
    padding: var(--spacing-6) var(--spacing-10) var(--spacing-8);
    border-top: 1px solid var(--color-light-gray);
}

/* Body scroll lock */
body.modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 767px) {
    .modal {
        padding: var(--spacing-4);
    }

    .modal__container {
        max-height: 95vh;
    }

    .modal__header {
        padding: var(--spacing-6);
    }

    .modal__body {
        padding: var(--spacing-6);
    }

    .modal__footer {
        padding: var(--spacing-4) var(--spacing-6) var(--spacing-6);
    }
}


/* ==========================================================================
   12. ANIMATIONS
   ========================================================================== */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll-triggered animations base class */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation variants */
.animate-on-scroll.fade-in {
    transform: none;
}

.animate-on-scroll.slide-left {
    transform: translateX(-30px);
}

.animate-on-scroll.slide-left.is-visible {
    transform: translateX(0);
}

.animate-on-scroll.slide-right {
    transform: translateX(30px);
}

.animate-on-scroll.slide-right.is-visible {
    transform: translateX(0);
}

.animate-on-scroll.scale-in {
    transform: scale(0.95);
}

.animate-on-scroll.scale-in.is-visible {
    transform: scale(1);
}

/* Staggered animations for grids */
.animate-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.animate-stagger.is-visible > *:nth-child(2) { transition-delay: 100ms; }
.animate-stagger.is-visible > *:nth-child(3) { transition-delay: 200ms; }
.animate-stagger.is-visible > *:nth-child(4) { transition-delay: 300ms; }
.animate-stagger.is-visible > *:nth-child(5) { transition-delay: 400ms; }
.animate-stagger.is-visible > *:nth-child(6) { transition-delay: 500ms; }

.animate-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Hero entrance animations */
.hero__tagline {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__title {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__subtitle {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__buttons {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Hover animations for cards */
.card-speaker {
    transition: transform var(--transition-base);
}

.card-speaker:hover {
    transform: translateY(-8px);
}

.card-speaker img {
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.card-speaker:hover img {
    transform: scale(1.03);
}

/* Included cards hover */
.card-included {
    transition: transform var(--transition-base);
}

.card-included:hover {
    transform: translateY(-4px);
}

/* Section cards hover */
.section-card .container .col-4 {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.section-card .container .col-4:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Accordion smooth animations */
.accordion__panel {
    transition: max-height 0.35s ease-out;
}

.faq-item__panel {
    transition: max-height 0.35s ease-out;
}

/* Button hover animations */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::after {
    opacity: 1;
}

/* Nav link underline animation */
.nav-menu li a::after {
    transition: width var(--transition-base), left var(--transition-base);
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu li a:hover::after,
.nav-menu li a:focus::after,
.nav-menu li a.active::after {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* Dot pulse animation */
.hero__tagline-dot,
.footer-event-info__dot,
.session-row__dot {
    animation: pulse 2s ease-in-out infinite;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .animate-stagger > * {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   13. RESPONSIVE - TABLET & SMALL LAPTOPS (768px - 1279px)
   ========================================================================== */

/* MacBook Air / Small Laptops (1280px - 1440px) */
@media (min-width: 1280px) and (max-width: 1440px) {
    :root {
        --section-gap: 100px;
    }

    .section-intro .container {
        padding: 0 10%;
        gap: 40px;
    }

    .section-card .container .col-4 {
        min-height: 500px;
    }

    .section-speakers .container .col-12 {
        gap: 48px;
    }

    .speaker-grid {
        gap: 24px;
    }

    .card-speaker {
        max-width: 260px;
    }

    .card-speaker img {
        height: 320px;
        max-width: 260px;
    }

    .section-programme .container {
        padding: var(--spacing-20);
    }

    .section-included .container {
        padding-left: 6%;
        padding-right: 6%;
    }

    .section-sponsors .container {
        padding-left: 6%;
        padding-right: 6%;
    }
}

/* Tablets landscape & small laptops (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    :root {
        --section-gap: 80px;
    }

    .section-intro .container {
        padding: 0 6%;
        gap: 32px;
    }

    .section-card .container .col-4 {
        min-height: 450px;
        padding: 28px;
    }

    .section-card .container .col-4 h5 {
        font-size: 1.25rem;
    }

    .section-speakers .container .col-12 {
        gap: 40px;
    }

    .speaker-grid {
        gap: 20px;
    }

    .card-speaker {
        max-width: 220px;
    }

    .card-speaker img {
        height: 280px;
        max-width: 220px;
    }

    .card-speaker h5 {
        font-size: 1.25rem;
    }

    .section-programme .container {
        padding: var(--spacing-16);
    }

    .accordion__title {
        font-size: 1.5rem;
    }

    .session-row__title {
        font-size: 1.1rem;
    }

    .section-included .container {
        padding-left: 4%;
        padding-right: 4%;
    }

    .included-grid {
        gap: var(--spacing-10) var(--spacing-6);
    }

    .section-contact .container {
        padding: var(--spacing-20);
    }

    .contact-header h2 {
        font-size: 56px;
    }

    .section-sponsors .container {
        padding-left: 4%;
        padding-right: 4%;
    }
}

/* Tablets portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --section-gap: 64px;
    }

    .section-hero {
        margin: 3%;
    }

    .hero__container {
        min-height: calc(100vh - 6%);
    }

    .section-intro .container {
        flex-direction: column;
        padding: 0 8%;
        gap: 24px;
    }

    .section-intro .container .col-6 {
        flex: 0 0 100%;
    }

    .section-intro .container .hero__buttons {
        justify-content: flex-start;
    }

    .section-card {
        padding-top: var(--spacing-10);
    }

    .section-card .container {
        flex-wrap: wrap;
        padding: 0 3%;
        gap: 16px;
    }

    .section-card .container .col-4 {
        flex: 0 0 calc(50% - 8px);
        min-height: 380px;
        padding: 24px;
    }

    .section-card .container .col-4:nth-child(3) {
        flex: 0 0 100%;
        min-height: 300px;
    }

    .section-speakers .container .col-12 {
        gap: 32px;
    }

    .speaker-grid {
        gap: 20px;
        justify-content: center;
    }

    .card-speaker {
        max-width: 200px;
    }

    .card-speaker img {
        height: 260px;
        max-width: 200px;
    }

    .card-speaker h5 {
        font-size: 1.125rem;
    }

    .section-programme .container {
        padding: var(--spacing-12);
    }

    .accordion__title {
        font-size: 1.375rem;
    }

    .section-included .container {
        padding-left: 4%;
        padding-right: 4%;
        gap: var(--spacing-10);
    }

    .section-contact .container {
        padding: var(--spacing-16);
    }

    .contact-header h2 {
        font-size: 48px;
    }

    .section-sponsors .container {
        padding-left: 4%;
        padding-right: 4%;
    }

    .sponsor-card--main {
        height: 200px;
    }

    .sponsors-grid--secondary .sponsor-card {
        width: 155px;
        height: 155px;
    }

    .faq-accordion {
        max-width: 100%;
    }
}

/* ==========================================================================
   14. RESPONSIVE - MOBILE (< 768px)
   ========================================================================== */

/* Small tablets / Large phones (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    :root {
        --section-gap: 56px;
    }

    .section-hero {
        margin: 3%;
    }

    .section-intro .container {
        flex-direction: column;
        padding: 0 6%;
        gap: 20px;
    }

    .section-intro .container .col-6 {
        flex: 0 0 100%;
    }

    .section-card .container {
        flex-direction: column;
        padding: 0 3%;
        gap: 12px;
    }

    .section-card .container .col-4 {
        min-height: 320px;
    }

    .speaker-grid {
        gap: 16px;
    }

    .card-speaker {
        max-width: 180px;
    }

    .card-speaker img {
        height: 230px;
        max-width: 180px;
    }

    .contact-header h2 {
        font-size: 40px;
    }
}

/* Mobile (420px - 599px) */
@media (min-width: 420px) and (max-width: 599px) {
    :root {
        --section-gap: 48px;
    }

    .section-hero {
        margin: 4%;
        border-radius: 10px;
    }

    .hero__container {
        min-height: calc(100vh - 8%);
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .site-header__logo img {
        height: 56px;
    }

    .hero__tagline {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 16px;
    }

    .hero__subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero__spacer {
        height: 60px;
    }

    .section-intro .container {
        flex-direction: column;
        padding: 0 6%;
        gap: 16px;
    }

    .section-intro .container .col-6 {
        flex: 0 0 100%;
    }

    .section-intro h3 {
        font-size: 14px;
    }

    .section-intro h5 {
        font-size: 1.125rem;
    }

    .section-card .container {
        flex-direction: column;
        padding: 0 4%;
        gap: 12px;
    }

    .section-card .container .col-4 {
        min-height: 350px;
        padding: 24px;
    }

    .section-speakers .container .col-12 {
        gap: 32px;
    }

    .speaker-grid {
        gap: 16px;
    }

    .card-speaker {
        max-width: 160px;
    }

    .card-speaker img {
        height: 200px;
        max-width: 160px;
    }

    .card-speaker h5 {
        font-size: 1rem;
    }

    .card-speaker p {
        font-size: 12px;
    }

    .section-programme .container {
        padding: var(--spacing-8);
    }

    .accordion__title {
        font-size: 1.125rem;
    }

    .session-row {
        padding: var(--spacing-10) 0;
    }

    .session-row__title {
        font-size: 1rem;
    }

    .section-included .container {
        padding-left: 5%;
        padding-right: 5%;
        gap: var(--spacing-8);
    }

    .intro-included h2 {
        font-size: 1.75rem;
    }

    .section-contact .container {
        padding: var(--spacing-10);
    }

    .contact-header h2 {
        font-size: 36px;
    }

    .contact-header h3 {
        font-size: 14px;
    }

    .section-sponsors .container {
        padding-left: 5%;
        padding-right: 5%;
    }

    .sponsor-card--main {
        height: 145px;
    }

    .sponsor-card--main .sponsor-card__logo {
        max-width: 100px;
        max-height: 65px;
    }

    .sponsors-grid--secondary .sponsor-card {
        width: 120px;
        height: 120px;
    }

    .section-faq h2 {
        font-size: 1.75rem;
    }
}

/* Small mobile (< 420px) */
@media (max-width: 419px) {
    :root {
        --section-gap: 40px;
    }

    .section-hero {
        margin: 4%;
        border-radius: 10px;
    }

    .site-header__logo img {
        height: 48px;
    }

    .hero__container {
        min-height: calc(100vh - 8%);
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .hero__content {
        align-items: flex-start;
    }

    .hero__tagline {
        align-items: flex-start;
        font-size: 12px;
        text-align: left;
        margin-bottom: 8px;
    }

    .hero__title {
        text-align: left;
        font-size: 32px;
        margin-bottom: 12px;
    }

    .hero__subtitle {
        text-align: left;
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero__spacer {
        height: 48px;
    }

    .hero__buttons {
        width: 100%;
    }

    .section-intro .container {
        flex-direction: column;
        padding: 0 6%;
        gap: 12px;
    }

    .section-intro .container .col-6 {
        flex: 0 0 100%;
    }

    .section-intro h3 {
        font-size: 12px;
    }

    .section-intro h5 {
        font-size: 1rem;
    }

    .section-intro p {
        font-size: 14px;
    }

    .section-intro .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .section-intro .hero__buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-card .container {
        flex-direction: column;
        padding: 0 4%;
        gap: 10px;
    }

    .section-card .container .col-4 {
        min-height: 320px;
        padding: 20px;
    }

    .section-card .container .col-4 h5 {
        font-size: 1.125rem;
    }

    .section-card .container .col-4 p {
        font-size: 13px;
    }

    .section-speakers .container .col-12 {
        gap: 24px;
    }

    .section-speakers h2 {
        font-size: 1.75rem;
    }

    .section-speakers h3 {
        font-size: 12px;
    }

    .speaker-grid {
        gap: 12px;
    }

    .card-speaker {
        max-width: calc(50% - 6px);
        flex: 0 0 calc(50% - 6px);
    }

    .card-speaker img {
        height: 180px;
        max-width: 100%;
    }

    .card-speaker h5 {
        font-size: 0.9rem;
    }

    .card-speaker p {
        font-size: 11px;
    }

    .section-programme .container {
        padding: var(--spacing-6);
    }

    .section-programme h2 {
        font-size: 1.5rem;
    }

    .section-programme h3 {
        font-size: 12px;
    }

    .accordion__title {
        font-size: 1rem;
    }

    .accordion__header {
        padding: var(--spacing-4) 0;
    }

    .session-row {
        padding: var(--spacing-6) 0;
    }

    .session-row__time {
        font-size: 12px;
    }

    .session-row__title {
        font-size: 0.9rem;
    }

    .session-row__duration,
    .session-row__speakers {
        font-size: 11px;
    }

    .session-row__type {
        font-size: 11px;
        padding: 6px 12px;
    }

    .section-included .container {
        padding-left: 5%;
        padding-right: 5%;
        gap: var(--spacing-6);
    }

    .intro-included h3 {
        font-size: 12px;
    }

    .intro-included h2 {
        font-size: 1.5rem;
    }

    .card-included h6 {
        font-size: 1rem;
    }

    .card-included p {
        font-size: 13px;
    }

    .section-contact .container {
        padding: var(--spacing-8);
    }

    .contact-wrapper {
        align-items: flex-start;
    }

    .contact-header h2 {
        text-align: left;
        font-size: 28px;
    }

    .contact-header h3 {
        font-size: 12px;
        text-align: left;
    }

    .section-contact .wpcf7-submit {
        width: 100%;
    }

    .section-sponsors .container {
        padding-left: 5%;
        padding-right: 5%;
        gap: var(--spacing-8);
    }

    .section-sponsors h2 {
        font-size: 1.5rem;
    }

    /* At very small widths: main tier goes single column */
    .sponsors-grid--main {
        grid-template-columns: 1fr;
    }

    .sponsor-card--main {
        height: 130px;
        padding: var(--spacing-4);
    }

    .sponsor-card--main .sponsor-card__logo {
        max-width: 110px;
        max-height: 65px;
    }

    .sponsors-grid--secondary .sponsor-card {
        width: calc(50% - 6px);
        height: auto;
        aspect-ratio: 1;
        padding: var(--spacing-3);
    }

    .sponsors-grid--secondary .sponsor-card__logo {
        max-width: 70px;
        max-height: 45px;
    }

    .section-faq {
        padding-bottom: var(--spacing-20);
    }

    .section-faq h2 {
        font-size: 1.5rem;
    }

    .faq-item__header {
        padding: 16px 20px;
    }

    .faq-item__question {
        font-size: 14px;
    }

    .faq-item__answer {
        padding: 0 20px 16px;
        font-size: 13px;
    }

    .footer-content {
        align-items: flex-start;
        gap: var(--spacing-6);
    }

    .footer-logo__img {
        max-width: 160px;
    }

    .footer-event-info__text {
        font-size: 12px;
        text-align: left;
    }

    .footer-cta .btn {
        width: 100%;
    }

    .footer-nav {
        margin-top: var(--spacing-4);
    }

    .footer-nav__menu {
        align-items: flex-start;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-copyright {
        font-size: 12px;
    }
}