/* ============================================================
   SPIRITBIRD - Yoga & Surf Retreat Camp
   Main Stylesheet - Production Ready
   Le Porge Ocean, France
   ============================================================ */

/* ============================================================
   0. CSS RESET / NORMALIZE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.15;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    -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;
    color: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

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

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* --- Colors --- */
    --color-primary: #E8783A;
    --color-primary-light: #F09A66;
    --color-primary-dark: #C5612B;
    --color-primary-rgb: 232, 120, 58;

    --color-secondary: #3D1F5C;
    --color-secondary-light: #5A3580;
    --color-secondary-dark: #2A1540;
    --color-secondary-rgb: 61, 31, 92;

    --color-background: #FFF8F0;
    --color-background-alt: #FFF1E3;
    --color-background-dark: #F5E6D3;

    --color-text: #2C2C2C;
    --color-text-light: #3A3A3A;
    --color-text-muted: #5A5A5A;

    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-cream: #FFF8F0;
    --color-sand: #F5E6D3;

    --color-success: #4CAF50;
    --color-warning: #FF9800;
    --color-error: #F44336;

    /* --- Typography --- */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;

    --fs-xs: 0.875rem;    /* 14px */
    --fs-sm: 1rem;        /* 16px */
    --fs-base: 1.125rem;  /* 18px */
    --fs-md: 1.25rem;     /* 20px */
    --fs-lg: 1.5rem;      /* 24px */
    --fs-xl: 1.75rem;     /* 28px */
    --fs-2xl: 2.25rem;    /* 36px */
    --fs-3xl: 3rem;       /* 48px */
    --fs-4xl: 3.5rem;     /* 56px */
    --fs-5xl: 4rem;       /* 64px */
    --fs-hero: 5rem;      /* 80px */

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    --lh-tight: 1.2;
    --lh-normal: 1.6;
    --lh-relaxed: 1.8;

    --ls-tight: -0.02em;
    --ls-normal: 0;
    --ls-wide: 0.05em;
    --ls-wider: 0.1em;

    /* --- Spacing --- */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 6rem;     /* 96px */
    --space-5xl: 8rem;     /* 128px */

    /* --- Layout --- */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1400px;

    --nav-height: 80px;
    --nav-height-scrolled: 64px;

    /* --- Borders & Radius --- */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 50%;

    --border-thin: 1px solid;
    --border-medium: 2px solid;

    /* --- Shadows --- */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-inner: inset 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-orange: 0 4px 20px rgba(232, 120, 58, 0.3);
    --shadow-purple: 0 4px 20px rgba(61, 31, 92, 0.3);

    /* --- Transitions --- */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* --- Z-index layers --- */
    --z-behind: -1;
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-nav: 1000;
    --z-overlay: 1500;
    --z-modal: 2000;
    --z-cookie: 2500;
    --z-top: 9999;
}


/* ============================================================
   2. BASE STYLES
   ============================================================ */
body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    color: var(--color-text);
    letter-spacing: var(--ls-tight);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); }

p {
    margin-bottom: var(--space-md);
    line-height: var(--lh-relaxed);
}

a {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

strong, b {
    font-weight: var(--fw-bold);
}

em, i {
    font-style: italic;
}

::selection {
    background-color: rgba(var(--color-primary-rgb), 0.2);
    color: var(--color-text);
}

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


/* ============================================================
   3. LAYOUT & GRID SYSTEM
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--sm { max-width: var(--container-sm); }
.container--md { max-width: var(--container-md); }
.container--lg { max-width: var(--container-lg); }
.container--xl { max-width: var(--container-xl); }
.container--2xl { max-width: var(--container-2xl); }
.container--fluid { max-width: 100%; }
.container--formulas {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--space-md) * -0.5);
    overflow-x: hidden;
}

.col {
    flex: 1;
    padding: 0 calc(var(--space-md) * 0.5);
}

/* Column widths (mobile-first: full width) */
.col-1  { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-2  { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-3  { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-4  { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-5  { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-6  { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-7  { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-8  { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-9  { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-10 { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-11 { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--space-md) * 0.5); }

/* CSS Grid layout */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.grid--5 { grid-template-columns: 1fr; }
.grid--contact { grid-template-columns: 1fr; }
.grid--booking { grid-template-columns: 1fr; }


/* ============================================================
   4. NAVIGATION (mobile-first)
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    height: auto;
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    transition: all var(--transition-base);
    background: transparent;
}

/* Scrolled: no background on mobile - stays transparent */
.navbar.scrolled {
    background: transparent;
}

/* Menu open: solid bg so menu and hamburger X are visible */
.navbar.menu-open {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-2xl);
    margin: 0 auto;
}

/* Logo - visible on hero, disappears on scroll */
.navbar__logo {
    flex-shrink: 0;
    position: relative;
    transition: all var(--transition-base);
}

.navbar__logo img {
    height: clamp(45px, 10vw, 60px);
    width: auto;
    transition: all var(--transition-base);
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}

/* Logo disappears on scroll (mobile) */
.navbar.scrolled .navbar__logo {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

/* Nav menu - half-page dropdown */
.navbar__menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    max-height: 55vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-sm) var(--space-lg) var(--space-lg);
    z-index: calc(var(--z-nav) - 1);
    overflow-y: auto;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
}

.navbar__menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.navbar__links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.navbar__link {
    font-family: var(--font-body);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--color-text);
    padding: var(--space-md) var(--space-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color var(--transition-fast), background-color var(--transition-fast);
    position: relative;
    text-align: center;
    border-radius: var(--radius-md);
}

.navbar__link:last-child {
    border-bottom: none;
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--color-primary);
    background-color: rgba(var(--color-primary-rgb), 0.05);
}

/* Language switcher */
.navbar__langs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar__lang {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-text);
    opacity: 0.7;
    cursor: pointer;
}

.navbar__lang:hover,
.navbar__lang.active {
    opacity: 1;
    background-color: var(--color-background-alt);
}

.navbar__lang img {
    width: 22px;
    height: auto;
    border-radius: 2px;
}

/* Hamburger - white on transparent, dark on scrolled */
.navbar__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    z-index: var(--z-nav);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.navbar__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-base);
    border-radius: 2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Hamburger dark when menu is open */
.navbar.menu-open .navbar__toggle span {
    background-color: var(--color-text);
    filter: none;
}

/* Hamburger adapts to background via JS class */
.navbar.navbar--dark-toggle .navbar__toggle span {
    background-color: var(--color-text);
    filter: none;
}

.navbar.navbar--light-toggle .navbar__toggle span {
    background-color: var(--color-white);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.navbar__toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__toggle.open span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: var(--z-behind);
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: var(--space-xl);
    max-width: 800px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    margin-bottom: var(--space-md);
    letter-spacing: var(--ls-tight);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--fs-md);
    font-weight: var(--fw-light);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: var(--lh-relaxed);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero__scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-white);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-12px);
    }
    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}


/* ============================================================
   6. SECTIONS
   ============================================================ */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow-x: hidden;
}

.section--sm {
    padding: var(--space-2xl) 0;
}

.section--lg {
    padding: var(--space-5xl) 0;
}

.section--bg-white {
    background-color: var(--color-white);
}

.section--bg-cream {
    background-color: var(--color-background);
}

.section--bg-sand {
    background-color: var(--color-sand);
}

.section--bg-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section--bg-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.section--bg-dark {
    background-color: var(--color-text);
    color: var(--color-white);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section__title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.section--bg-primary .section__title,
.section--bg-secondary .section__title,
.section--bg-dark .section__title {
    color: var(--color-white);
}

.section__subtitle {
    font-size: var(--fs-md);
    color: var(--color-text-light);
    line-height: var(--lh-relaxed);
}

.section--bg-primary .section__subtitle,
.section--bg-secondary .section__subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* Section divider - decorative wave/diagonal */
.section__divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: var(--space-md) auto;
    border-radius: 2px;
}

/* Diagonal separator image */
.section__diagonal {
    width: 100%;
    margin: 0;
    line-height: 0;
}

.section__diagonal img {
    width: 100%;
    height: auto;
}


/* ============================================================
   7. CARDS
   ============================================================ */
.card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card__image img {
    transform: scale(1.05);
}

.card__body {
    padding: var(--space-lg);
}

.card__tag {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.card__title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
}

.card__text {
    font-size: var(--fs-base);
    color: var(--color-text-light);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-md);
}

.card__footer {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--color-sand);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Card variants */
.card--horizontal {
    display: flex;
    flex-direction: column;
}

.card--featured {
    border: 2px solid var(--color-primary);
}

.card--featured .card__badge {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Badge for featured card */
.card__badge {
    position: absolute;
    top: 0;
    right: var(--space-md);
    background: var(--color-secondary);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* Pricing card */
.card--pricing {
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card__image--pricing {
    height: 180px;
    overflow: hidden;
}

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

.card__pricing-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-lg) var(--space-md);
}

.card__pricing-body .card__title {
    margin-bottom: var(--space-xs);
}

.card__pricing-body .card__text {
    margin-bottom: var(--space-sm);
    flex: 0 0 auto;
}

.card--pricing .card__price {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--color-primary);
    margin: var(--space-sm) 0;
}

.card--pricing .card__price span {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    color: var(--color-text-light);
}

.card--pricing ul {
    text-align: left;
    margin: var(--space-md) 0;
    flex: 1;
}

.card--pricing ul li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-sand);
    font-size: var(--fs-xs);
    color: var(--color-text-light);
    position: relative;
    padding-left: var(--space-lg);
}

.card--pricing ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: var(--fw-bold);
}

.card__pricing-body .btn {
    margin-top: auto;
}

/* Formulas grid - adaptive to number of cards */
.grid--formulas {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.grid--formulas .card--pricing {
    min-width: 0;
}


/* ============================================================
   8. TEAM MEMBER CARDS
   ============================================================ */
.team-card {
    text-align: center;
    padding: var(--space-lg);
}

.team-card__photo {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto var(--space-lg);
    border: 4px solid var(--color-primary);
    transition: border-color var(--transition-base);
}

.team-card:hover .team-card__photo {
    border-color: var(--color-secondary);
}

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

.team-card__name {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    margin-bottom: var(--space-xs);
}

.team-card__role {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-bottom: var(--space-md);
}

.team-card__bio {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    line-height: var(--lh-relaxed);
}


/* ============================================================
   9. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

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

/* Primary - Orange */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    box-shadow: var(--shadow-orange);
    transform: translateY(-2px);
    color: var(--color-white);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Secondary - Purple */
.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-light);
    border-color: var(--color-secondary-light);
    box-shadow: var(--shadow-purple);
    transform: translateY(-2px);
    color: var(--color-white);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Outline variants */
.btn-outline-primary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-outline-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* White variant (for dark backgrounds) */
.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Sizes */
.btn--sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-xs);
}

.btn--lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--fs-base);
}

/* Full width */
.btn--block {
    display: flex;
    width: 100%;
}


/* ============================================================
   10. FORMS
   ============================================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.form-label--required::after {
    content: " *";
    color: var(--color-error);
}

.form-control {
    display: block;
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text);
    background-color: var(--color-white);
    border: 1px solid var(--color-sand);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
}

.form-control:hover {
    border-color: var(--color-primary-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

.form-control--error {
    border-color: var(--color-error);
}

.form-control--error:focus {
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.15);
}

/* Select */
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232C2C2C' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: calc(var(--space-md) * 2 + 12px);
}

/* Textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Checkbox / Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.form-check label {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    cursor: pointer;
}

/* Help text & errors */
.form-help {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

.form-error {
    font-size: var(--fs-xs);
    color: var(--color-error);
    margin-top: var(--space-xs);
}

/* Stripe Card Element */
.stripe-card-input {
    display: block;
    width: 100%;
    padding: var(--space-md);
    background-color: var(--color-white);
    border: 1px solid var(--color-sand);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.stripe-card-input:hover {
    border-color: var(--color-primary-light);
}

.stripe-card-input.StripeElement--focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.stripe-card-input.StripeElement--invalid {
    border-color: var(--color-error);
}

.stripe-card-errors {
    font-size: var(--fs-xs);
    color: var(--color-error);
    margin-top: var(--space-xs);
    min-height: 1.2em;
}


/* ============================================================
   11. GALLERY GRID
   ============================================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.4) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    color: var(--color-white);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    z-index: 2;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery__item:hover .gallery__caption {
    transform: translateY(0);
}

/* Featured item takes up 2 cells */
.gallery__item--featured {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

/* Lightbox overlay */
.gallery__lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background-color: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
}

.gallery__lightbox.open {
    display: flex;
}

.gallery__lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.gallery__lightbox-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--fs-xl);
    cursor: pointer;
    background: none;
    border: none;
}


/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
    background-color: var(--color-secondary-dark);
    color: var(--color-white);
    padding: var(--space-3xl) 0 0;
    overflow-x: hidden;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.footer__brand {
    text-align: center;
}

.footer__logo {
    height: 60px;
    width: auto;
    margin: 0 auto var(--space-lg);
}

.footer__tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer__social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer columns */
.footer__col {
    text-align: center;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-lg);
    color: var(--color-white);
}

.footer__col-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    margin: var(--space-sm) auto 0;
}

.footer__link {
    display: block;
    padding: var(--space-xs) 0;
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-primary);
    padding-left: var(--space-sm);
}

.footer__contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

.footer__contact-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer__contact-item a:hover {
    color: var(--color-primary);
}

/* Footer bottom bar */
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg) 0;
    text-align: center;
}

.footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.footer__copyright {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.footer__legal a {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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


/* ============================================================
   13. COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-cookie);
    background-color: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    max-width: var(--container-xl);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    text-align: center;
}

.cookie-banner__text {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    line-height: var(--lh-relaxed);
}

.cookie-banner__text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-banner__btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.cookie-banner__btn--accept {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.cookie-banner__btn--accept:hover {
    background-color: var(--color-primary-dark);
}

.cookie-banner__btn--decline {
    background-color: transparent;
    color: var(--color-text-light);
    border-color: var(--color-sand);
}

.cookie-banner__btn--decline:hover {
    border-color: var(--color-text-muted);
    color: var(--color-text);
}

.cookie-banner__btn--settings {
    background-color: transparent;
    color: var(--color-text-muted);
    font-size: var(--fs-xs);
    text-decoration: underline;
}


/* ============================================================
   14. UTILITY CLASSES
   ============================================================ */

/* --- Display --- */
.d-none        { display: none !important; }
.d-block       { display: block !important; }
.d-flex        { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid        { display: grid !important; }
.d-inline      { display: inline !important; }

/* --- Flexbox --- */
.flex-column    { flex-direction: column; }
.flex-row       { flex-direction: row; }
.flex-wrap      { flex-wrap: wrap; }
.flex-nowrap    { flex-wrap: nowrap; }
.flex-center    { align-items: center; justify-content: center; }
.flex-between   { justify-content: space-between; }
.flex-end       { justify-content: flex-end; }
.align-start    { align-items: flex-start; }
.align-center   { align-items: center; }
.align-end      { align-items: flex-end; }
.justify-start  { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end    { justify-content: flex-end; }
.gap-sm         { gap: var(--space-sm); }
.gap-md         { gap: var(--space-md); }
.gap-lg         { gap: var(--space-lg); }
.gap-xl         { gap: var(--space-xl); }

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

.text-primary   { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-white     { color: var(--color-white) !important; }
.text-muted     { color: var(--color-text-muted) !important; }
.text-light     { color: var(--color-text-light) !important; }

.text-uppercase { text-transform: uppercase; letter-spacing: var(--ls-wide); }
.text-italic    { font-style: italic; }

.fw-light    { font-weight: var(--fw-light); }
.fw-regular  { font-weight: var(--fw-regular); }
.fw-medium   { font-weight: var(--fw-medium); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold     { font-weight: var(--fw-bold); }

.fs-sm { font-size: var(--fs-sm); }
.fs-md { font-size: var(--fs-md); }
.fs-lg { font-size: var(--fs-lg); }
.fs-xl { font-size: var(--fs-xl); }

/* --- Spacing --- */
.m-0  { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-0  { padding: 0 !important; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }

/* --- Positioning --- */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }

/* --- Width/Height --- */
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.min-vh-100 { min-height: 100vh; }

/* --- 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); }

/* --- Shadows --- */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-none { box-shadow: none; }

/* --- Background --- */
.bg-white    { background-color: var(--color-white); }
.bg-cream    { background-color: var(--color-background); }
.bg-sand     { background-color: var(--color-sand); }
.bg-primary  { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-dark     { background-color: var(--color-text); }

/* --- Image --- */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* --- Lists --- */
.list-check li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: var(--fs-sm);
    color: var(--color-text-light);
}

.list-check li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: var(--fw-bold);
}

/* --- Screen reader only --- */
.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;
}


/* ============================================================
   15. ANIMATIONS
   ============================================================ */

/* --- Fade in --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Delay variants for staggered animations */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* --- Fade in from directions --- */
.animate-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-left.visible,
.animate-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Scale in --- */
.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Keyframe animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Animation utility classes */
.anim-fade-in     { animation: fadeIn 0.6s ease-out both; }
.anim-slide-up    { animation: slideUp 0.6s ease-out both; }
.anim-slide-down  { animation: slideDown 0.4s ease-out both; }
.anim-pulse       { animation: pulse 2s ease-in-out infinite; }
.anim-float       { animation: float 3s ease-in-out infinite; }


/* ============================================================
   16. SPECIFIC COMPONENTS
   ============================================================ */

/* --- Dates/Calendar section --- */
.dates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.date-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.date-card__period {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--color-secondary);
}

.date-card__details {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
}

.date-card__price {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--color-primary);
}

.date-card__status {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-2xl);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
}

.date-card__status--available {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--color-success);
}

.date-card__status--few {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--color-warning);
}

.date-card__status--full {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--color-error);
}

/* --- Testimonials --- */
.testimonial {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.testimonial::before {
    content: "\201C";
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.15;
    position: absolute;
    top: var(--space-md);
    left: var(--space-lg);
}

.testimonial__text {
    font-style: italic;
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial__name {
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
}

.testimonial__origin {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

/* --- Feature/Icon blocks --- */
.feature-block {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.feature-block__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), rgba(var(--color-secondary-rgb), 0.1));
    border-radius: var(--radius-full);
}

.feature-block__icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 1.5;
}

.feature-block__title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
}

.feature-block__text {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    line-height: var(--lh-relaxed);
}

/* --- Image with text overlay --- */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.image-overlay__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        transparent 60%
    );
    color: var(--color-white);
}

/* --- Back to top --- */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: var(--z-sticky);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

/* --- Contact info items (Info page) --- */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-info-item__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), rgba(var(--color-secondary-rgb), 0.1));
    border-radius: var(--radius-full);
}

.contact-info-item__icon svg {
    width: 20px;
    height: 20px;
}

/* --- Loading spinner --- */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-sand);
    border-top-color: var(--color-primary);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}


/* ============================================================
   17. MEDIA QUERIES - TABLET (>= 768px)
   ============================================================ */
@media (min-width: 768px) {
    /* Typography scaling */
    h1 { font-size: var(--fs-4xl); }
    h2 { font-size: var(--fs-3xl); }
    h3 { font-size: var(--fs-2xl); }

    .container {
        padding: 0 var(--space-xl);
    }

    /* Grid: tablet columns */
    .col-1  { flex: 0 0 8.333%;  max-width: 8.333%;  }
    .col-2  { flex: 0 0 16.666%; max-width: 16.666%; }
    .col-3  { flex: 0 0 25%;     max-width: 25%;     }
    .col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-5  { flex: 0 0 41.666%; max-width: 41.666%; }
    .col-6  { flex: 0 0 50%;     max-width: 50%;     }
    .col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
    .col-8  { flex: 0 0 66.666%; max-width: 66.666%; }
    .col-9  { flex: 0 0 75%;     max-width: 75%;     }
    .col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
    .col-11 { flex: 0 0 91.666%; max-width: 91.666%; }
    .col-12 { flex: 0 0 100%;    max-width: 100%;    }

    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--5 { grid-template-columns: repeat(3, 1fr); }
    .grid--formulas { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .grid--booking { grid-template-columns: 7fr 5fr; gap: var(--space-2xl); }

    /* Section spacing */
    .section {
        padding: var(--space-4xl) 0;
    }

    .section__title {
        font-size: var(--fs-3xl);
    }

    /* Hero */
    .hero__title {
        font-size: var(--fs-4xl);
    }

    .hero__subtitle {
        font-size: var(--fs-lg);
    }

    .hero__cta {
        flex-direction: row;
        gap: var(--space-lg);
    }

    /* Cards horizontal */
    .card--horizontal {
        flex-direction: row;
    }

    .card--horizontal .card__image {
        flex: 0 0 40%;
        aspect-ratio: auto;
    }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    /* Footer */
    .footer__inner {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer__brand {
        text-align: left;
    }

    .footer__logo {
        margin: 0 0 var(--space-lg);
    }

    .footer__social {
        justify-content: flex-start;
    }

    .footer__col {
        text-align: left;
    }

    .footer__col-title::after {
        margin: var(--space-sm) 0 0;
    }

    .footer__contact-item {
        justify-content: flex-start;
    }

    .footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Cookie banner */
    .cookie-banner__inner {
        flex-direction: row;
        text-align: left;
    }

    .cookie-banner__text {
        flex: 1;
    }

    .cookie-banner__actions {
        flex-shrink: 0;
    }

    /* Dates */
    .dates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .date-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    /* Contact page 2-column layout */
    .grid--contact {
        grid-template-columns: 5fr 7fr;
        gap: var(--space-2xl);
    }

    /* Tablet display utilities */
    .d-md-none  { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex  { display: flex !important; }
}


/* ============================================================
   18. MEDIA QUERIES - DESKTOP (>= 1024px)
   ============================================================ */
@media (min-width: 1024px) {
    /* Typography */
    h1 { font-size: var(--fs-5xl); }
    h2 { font-size: var(--fs-4xl); }
    h3 { font-size: var(--fs-2xl); }

    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
    .grid--5 { grid-template-columns: repeat(5, 1fr); }
    .grid--formulas { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .grid--contact { grid-template-columns: 5fr 7fr; gap: var(--space-2xl); }
    .grid--booking { grid-template-columns: 7fr 5fr; gap: var(--space-3xl); }

    /* Navigation: desktop layout - restore glass bg, logo always visible */
    .navbar {
        min-height: var(--nav-height);
        padding: var(--space-sm) var(--space-2xl);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .navbar.scrolled {
        padding: var(--space-xs) var(--space-2xl);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: var(--shadow-md);
    }

    /* Desktop: hamburger contrast classes not needed */
    .navbar.navbar--dark-toggle .navbar__toggle span,
    .navbar.navbar--light-toggle .navbar__toggle span {
        background-color: var(--color-text);
        filter: none;
    }

    .navbar__logo img {
        height: clamp(85px, 10vw, 115px);
        filter: none;
    }

    /* Desktop: logo stays visible on scroll */
    .navbar.scrolled .navbar__logo {
        opacity: 1;
        max-width: none;
        overflow: visible;
        pointer-events: auto;
    }

    .navbar.scrolled .navbar__logo img {
        height: clamp(60px, 8vw, 80px);
    }

    .navbar__toggle {
        display: none;
    }

    .navbar__menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        max-height: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        gap: var(--space-md);
        border-radius: 0;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        transition: none;
    }

    .navbar__links {
        flex-direction: row;
        gap: 0;
    }

    .navbar__link {
        font-size: var(--fs-md);
        font-weight: var(--fw-semibold);
        padding: var(--space-sm) var(--space-lg);
        color: var(--color-text);
        border-bottom: none;
        text-align: left;
        border-radius: 0;
        background-color: transparent;
        position: relative;
    }

    .navbar__link:hover,
    .navbar__link.active {
        background-color: transparent;
    }

    .navbar__link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--color-primary);
        transition: all var(--transition-base);
        transform: translateX(-50%);
    }

    .navbar__link:hover::after,
    .navbar__link.active::after {
        width: 70%;
    }

    .navbar__link:hover,
    .navbar__link.active {
        color: var(--color-primary);
    }

    /* Language switcher desktop */
    .navbar__langs {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        justify-content: flex-start;
        border-left: 1px solid var(--color-sand);
        padding-left: var(--space-md);
        margin-left: var(--space-sm);
    }

    .navbar__lang {
        font-size: var(--fs-xs);
    }

    .navbar__lang img {
        width: 18px;
    }

    /* Hero */
    .hero__title {
        font-size: var(--fs-hero);
    }

    .hero__subtitle {
        font-size: var(--fs-xl);
    }

    /* Section */
    .section__title {
        font-size: var(--fs-4xl);
    }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Footer */
    .footer__inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    /* Dates */
    .dates-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Desktop display utilities */
    .d-lg-none  { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex  { display: flex !important; }
}


/* ============================================================
   19. MEDIA QUERIES - LARGE DESKTOP (>= 1400px)
   ============================================================ */
@media (min-width: 1400px) {
    html {
        font-size: 17px;
    }
}


/* ============================================================
   20. PRINT STYLES
   ============================================================ */
@media print {
    .navbar,
    .cookie-banner,
    .back-to-top,
    .footer__social {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    .section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }

    .hero {
        min-height: auto;
        color: #000;
    }
}


/* ============================================================
   21. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll,
    .animate-fade-left,
    .animate-fade-right,
    .animate-scale {
        opacity: 1;
        transform: none;
    }
}


/* ============================================================
   22. BOOKING SIDEBAR - Calendar & Pack Summary
   ============================================================ */
.booking-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-xl));
}

.booking-calendar {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
    border: 2px solid var(--color-sand);
}

.booking-calendar__header {
    text-align: center;
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary);
}

.booking-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.booking-calendar__day-name {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    padding: var(--space-xs);
}

.booking-calendar__day {
    padding: var(--space-xs);
    font-size: var(--fs-sm);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
}

.booking-calendar__day--empty {
    color: transparent;
}

.booking-calendar__day--highlight {
    background-color: rgba(var(--color-primary-rgb), 0.15);
    color: var(--color-primary-dark);
    font-weight: var(--fw-bold);
}

.booking-calendar__day--start,
.booking-calendar__day--end {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-sm);
}

.booking-calendar__legend {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

.booking-calendar__legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background-color: rgba(var(--color-primary-rgb), 0.15);
    flex-shrink: 0;
}

.booking-pack-summary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.booking-pack-summary__title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary);
}

.booking-pack-summary__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    font-size: var(--fs-base);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.booking-pack-summary__item:last-child {
    border-bottom: none;
}

.booking-pack-summary__label {
    color: rgba(255,255,255,0.8);
}

.booking-pack-summary__value {
    font-weight: var(--fw-bold);
}

.booking-pack-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 2px solid var(--color-primary);
    font-family: var(--font-heading);
}

.booking-pack-summary__total-label {
    font-size: var(--fs-lg);
}

.booking-pack-summary__total-price {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: var(--color-primary-light);
}


/* ============================================================
   23. FORM 2-COLUMN LAYOUT (Ados page)
   ============================================================ */
.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .form-grid-2col {
        grid-template-columns: 1fr 1fr;
    }
    .form-grid-2col .form-group--full {
        grid-column: 1 / -1;
    }
}


/* ============================================================
   24. MOBILE OVERFLOW FIXES
   ============================================================ */
@media (max-width: 767px) {
    /* Buttons: allow text wrapping on very small screens */
    .btn {
        white-space: normal;
        text-align: center;
        word-break: break-word;
    }

    /* Hero CTA buttons: full width on mobile */
    .hero__cta .btn {
        width: 100%;
        max-width: 320px;
    }

    /* Container: ensure padding on small screens */
    .container,
    .container--formulas {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    /* Prevent long words from overflowing */
    .card__title,
    .section__title,
    .hero__title,
    .feature-block__title,
    .date-card__period {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Booking sidebar: no sticky on mobile */
    .booking-sidebar {
        position: static;
    }

    /* Date card: stack vertically on mobile */
    .date-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
