/* styles.css */

/* ============================================
   VARIABLES & RESET
============================================= */
:root {
    /* Brand Colors */
    --burgundy: #55262C;
    --burgundy-dark: #3D1B20;
    --burgundy-light: #6B3540;
    --cream: #E6DCC5;
    --cream-light: #F2EDE0;
    --cream-dark: #D4C9AE;
    
    /* Neutrals */
    --white: #FFFDF8;
    --black: #1A1A1A;
    --gray: #8A8175;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-width: 1280px;
    --container-padding: clamp(20px, 4vw, 40px);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-base: 0.3s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);
    --transition-slower: 1s var(--ease-out);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--cream);
    background-color: var(--burgundy);
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: var(--cream);
    color: var(--burgundy);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   LOADER
============================================= */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner { text-align: center; }

.loader-text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--cream);
    display: block;
    margin-bottom: 24px;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(230, 220, 197, 0.15);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--cream);
    border-radius: 2px;
    animation: loaderFill 1.8s var(--ease-in-out) forwards;
}

@keyframes loaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================
   NAVIGATION
============================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    /* NEVER use transition:all or transform on .nav —
       any transform on a parent breaks position:fixed children
       (they get positioned relative to the nav instead of the viewport) */
    transition: background var(--transition-base),
                padding var(--transition-base),
                box-shadow var(--transition-base),
                top 0.35s var(--ease-out);
}

.nav.scrolled {
    background: rgba(85, 38, 44, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(230, 220, 197, 0.08);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1002;
}

.nav-logo-mark {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--cream);
    color: var(--cream);
    transition: all var(--transition-base);
}

.nav-logo:hover .nav-logo-mark {
    background: var(--cream);
    color: var(--burgundy);
}

.nav-logo-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cream);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.8;
    transition: opacity var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cream);
    transition: width var(--transition-base);
}

.nav-link:hover { opacity: 1; }
.nav-link:hover::after { width: 100%; }

.nav-link--cta {
    opacity: 1;
    padding: 10px 24px;
    border: 1px solid var(--cream);
    transition: all var(--transition-base);
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover {
    background: var(--cream);
    color: var(--burgundy);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1002;
}

.nav-lang {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--cream);
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.nav-lang:hover { opacity: 1; }

/* Burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 4px;
}

.nav-burger span {
    width: 24px;
    height: 1.5px;
    background: var(--cream);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   TYPOGRAPHY DEFAULTS
============================================= */
.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 32px;
}

.section-title em {
    font-style: italic;
    font-weight: 400;
}

.section-intro {
    font-size: 1.1rem;
    max-width: 640px;
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 48px;
}

/* ============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--cream);
    color: var(--burgundy);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(230, 220, 197, 0.4);
}

.btn-outline:hover {
    border-color: var(--cream);
    background: rgba(230, 220, 197, 0.08);
}

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

/* ============================================
   REVEAL ANIMATION
============================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO
============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* PLACEHOLDER: Remplacer le background par ta vraie image ou vidéo */
    background: 
        linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, var(--burgundy-light) 100%);
    /* Quand tu auras une image:
       background: url('images/hero.jpg') center/cover no-repeat; */
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(85, 38, 44, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--container-padding);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.7;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 500;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--cream);
    opacity: 0.75;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.5;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--cream), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(0.6); transform-origin: top; }
}

/* ============================================
   SERVICES
============================================= */
.services {
    padding: var(--section-padding) 0;
    background: var(--cream);
    color: var(--burgundy);
}

.services .section-subtitle { color: var(--burgundy); }
.services .section-title { color: var(--burgundy); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    background: var(--white);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(85, 38, 44, 0.1);
}

.service-card-img {
    height: 260px;
    overflow: hidden;
}

.service-card-img .placeholder-img,
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card-img .placeholder-img,
.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-content { padding: 32px; }

.service-number {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.3;
    display: block;
    margin-bottom: 12px;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--burgundy);
}

.service-card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 24px;
}

.service-card-link {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--burgundy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-base);
}

.service-card-link:hover { gap: 14px; }

/* ============================================
   HERITAGE
============================================= */
.heritage {
    padding: var(--section-padding) 0;
    background: var(--burgundy);
    color: var(--cream);
}

.heritage-split {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.heritage-image {
    position: relative;
    overflow: hidden;
}

.heritage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.heritage-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 1px solid rgba(230, 220, 197, 0.15);
    z-index: -1;
}

.heritage-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    opacity: 0.85;
    line-height: 1.8;
}

.heritage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(230, 220, 197, 0.12);
}

.stat { text-align: center; white-space: nowrap; }
.stat-label { white-space: normal; }

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.5;
    margin-top: 4px;
}

/* ============================================
   PORTFOLIO
============================================= */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--cream);
    color: var(--burgundy);
}

.portfolio .section-subtitle { color: var(--burgundy); }
.portfolio .section-title { color: var(--burgundy); }

.portfolio-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 24px;
    border: 1px solid rgba(85, 38, 44, 0.2);
    background: transparent;
    color: var(--burgundy);
    transition: all var(--transition-base);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--burgundy);
    color: var(--cream);
    border-color: var(--burgundy);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    cursor: pointer;
}

.portfolio-item .placeholder-img,
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.portfolio-item:hover .placeholder-img,
.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(85, 38, 44, 0.92) 0%, rgba(85, 38, 44, 0.15) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 1;
    transition: background var(--transition-base);
}

.portfolio-item:hover .portfolio-item-overlay {
    background: linear-gradient(to top, rgba(85, 38, 44, 0.97) 0%, rgba(85, 38, 44, 0.3) 60%, transparent 100%);
}

.portfolio-item-overlay .portfolio-item-cat {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.6;
    margin-bottom: 8px;
}

.portfolio-item-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 4px;
}

.portfolio-item-overlay p {
    font-size: 0.85rem;
    color: var(--cream);
    opacity: 0.7;
}

/* ============================================
   ECOSYSTEM
============================================= */
.ecosystem {
    padding: var(--section-padding) 0;
    background: var(--burgundy-dark);
    color: var(--cream);
    text-align: center;
}

.ecosystem .section-intro { margin: 0 auto 64px; }

.ecosystem-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.eco-card {
    background: rgba(230, 220, 197, 0.05);
    border: 1px solid rgba(230, 220, 197, 0.1);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-base);
}

.eco-card:hover {
    background: rgba(230, 220, 197, 0.08);
    border-color: rgba(230, 220, 197, 0.2);
}

.eco-card--main {
    width: 100%;
    max-width: 500px;
    border-color: rgba(230, 220, 197, 0.25);
}

.eco-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--cream);
    opacity: 0.6;
}

.eco-card-icon svg { width: 100%; height: 100%; }

.eco-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.eco-card-role {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.45;
    margin-bottom: 16px;
}

.eco-card p:last-of-type {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.7;
}

/* Clickable eco-cards (Nadomar Signature, Oviya Group) */
a.eco-card--link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--cream);
    cursor: pointer;
}

a.eco-card--link:hover {
    background: rgba(230, 220, 197, 0.1);
    border-color: rgba(230, 220, 197, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.eco-card-visit {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

a.eco-card--link:hover .eco-card-visit {
    opacity: 1;
}

.eco-connectors {
    display: flex;
    gap: 200px;
}

.eco-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(230, 220, 197, 0.3), rgba(230, 220, 197, 0.05));
}

.eco-cards-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
}

.ecosystem-cta {
    margin-top: 64px;
    font-size: 1.05rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.75;
    line-height: 1.8;
}

.ecosystem-cta strong { opacity: 1; }

/* ============================================
   PARTNERSHIPS
============================================= */
.partnerships {
    padding: var(--section-padding) 0;
    background: var(--cream);
    color: var(--burgundy);
}

.partnerships .section-subtitle { color: var(--burgundy); }
.partnerships .section-title { color: var(--burgundy); }

.partnerships-split {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.partnerships-text p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.partnerships-benefits {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--burgundy);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--burgundy);
    color: var(--cream);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.partnerships-form {
    background: var(--white);
    padding: 48px;
    box-shadow: 0 24px 64px rgba(85, 38, 44, 0.06);
}

.partnerships-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--burgundy);
}

.form-group { margin-bottom: 16px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--burgundy);
    background: var(--cream-light);
    border: 1px solid transparent;
    outline: none;
    transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group select,
.form-group textarea::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2355262C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ============================================
   TESTIMONIALS
============================================= */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--burgundy);
    color: var(--cream);
    text-align: center;
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto 32px;
    position: relative;
    min-height: 200px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card.active { opacity: 1; position: relative; }

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 28px;
}

.testimonial-name {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
}

.testimonial-company {
    font-size: 0.75rem;
    opacity: 0.5;
    display: block;
    margin-top: 4px;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 64px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(230, 220, 197, 0.25);
    border: none;
    transition: all var(--transition-base);
}

.dot.active,
.dot:hover {
    background: var(--cream);
    transform: scale(1.3);
}

/* Logos clients */
.clients-logos { padding-top: 48px; border-top: 1px solid rgba(230, 220, 197, 0.08); }

.clients-logos-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.35;
    margin-bottom: 32px;
}

.logos-track {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    align-items: center;
}

.logo-placeholder {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.25;
    padding: 16px 24px;
    border: 1px dashed rgba(230, 220, 197, 0.15);
}

.logo-client {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.logo-client img {
    height: 52px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    padding: 10px 14px;
    background: rgba(230, 220, 197, 0.88);
    border-radius: 6px;
    transition: background var(--transition-base), transform var(--transition-base);
}

.logo-client:hover img {
    background: rgba(230, 220, 197, 1);
    transform: translateY(-2px);
}

.logo-client-name {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.45;
}

/* ============================================
   CONFIGURATOR
============================================= */
.configurator {
    padding: var(--section-padding) 0;
    background: var(--cream);
    color: var(--burgundy);
    text-align: center;
}

.configurator .section-subtitle { color: var(--burgundy); }
.configurator .section-title { color: var(--burgundy); }
.configurator .section-intro { margin: 0 auto 48px; color: var(--gray); }

.config-steps {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.config-step {
    display: none;
    animation: fadeInUp 0.5s var(--ease-out);
}

.config-step.active { display: block; }

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

.config-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.config-step-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.25;
}

.config-step-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.config-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.config-option input { display: none; }

.config-option-card {
    padding: 28px 20px;
    background: var(--white);
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.config-option-card:hover {
    border-color: var(--burgundy-light);
}

.config-option input:checked + .config-option-card {
    border-color: var(--burgundy);
    background: rgba(85, 38, 44, 0.04);
}

.config-option-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
}

.config-option-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.config-fields .form-group input,
.config-fields .form-group textarea {
    background: var(--white);
    border: 1px solid rgba(85, 38, 44, 0.12);
}

.config-fields .form-group input:focus,
.config-fields .form-group textarea:focus {
    border-color: var(--burgundy);
}

.config-nav {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.config-success { text-align: center; padding: 64px 0; }

.config-success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--burgundy);
    color: var(--cream);
    font-size: 1.5rem;
    margin: 0 auto 24px;
    border-radius: 50%;
}

.config-success h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.config-success p {
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   CONTACT
============================================= */
.contact {
    padding: var(--section-padding) 0;
    background: var(--burgundy);
    color: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details { margin-top: 40px; }

.contact-detail {
    margin-bottom: 28px;
}

.contact-detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.4;
    display: block;
    margin-bottom: 6px;
}

.contact-detail span,
.contact-detail a {
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-detail a {
    transition: opacity var(--transition-base);
}

.contact-detail a:hover { opacity: 0.7; }

.contact-social {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(230, 220, 197, 0.2);
    color: var(--cream);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--cream);
    color: var(--burgundy);
    border-color: var(--cream);
}

.social-link svg { width: 20px; height: 20px; }

.contact-map {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

/* ============================================
   FOOTER
============================================= */
.footer {
    padding: 64px 0 32px;
    background: var(--burgundy-dark);
    color: var(--cream);
    border-top: 1px solid rgba(230, 220, 197, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.5;
    line-height: 1.6;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.35;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 10px;
    transition: opacity var(--transition-base);
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(230, 220, 197, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.35;
}

.footer-credit { opacity: 0.25 !important; }

.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--cream);
    opacity: 0.6;
    margin-top: 6px;
    text-decoration: none;
    transition: opacity var(--transition-base);
}
.footer-contact-line:hover { opacity: 1; }
.footer-contact-line svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.7; }

.footer-social-row {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}

.footer-social-row .social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(230,220,197,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    opacity: 0.5;
    transition: opacity var(--transition-base), border-color var(--transition-base);
}
.footer-social-row .social-link:hover { opacity: 1; border-color: rgba(230,220,197,0.5); }
.footer-social-row .social-link svg { width: 14px; height: 14px; }

/* ============================================
   WHATSAPP FLOAT
============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--burgundy);
    border: 1px solid rgba(230, 220, 197, 0.2);
    color: var(--cream);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    background: var(--cream);
    color: var(--burgundy);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg { width: 26px; height: 26px; }

/* ============================================
   PLACEHOLDER IMAGES (à retirer en production)
============================================= */
.placeholder-img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, rgba(85, 38, 44, 0.08) 0%, rgba(85, 38, 44, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 20px;
    border: 1px dashed rgba(85, 38, 44, 0.15);
}

.placeholder-img::after { content: attr(data-label); }

.placeholder-img--portrait { min-height: 500px; }
.placeholder-img--map { min-height: 400px; }

/* Sections with dark bg need different placeholder */
.heritage .placeholder-img,
.ecosystem .placeholder-img,
.testimonials .placeholder-img,
.contact .placeholder-img {
    background: linear-gradient(135deg, rgba(230, 220, 197, 0.04) 0%, rgba(230, 220, 197, 0.08) 100%);
    color: var(--cream);
    border-color: rgba(230, 220, 197, 0.1);
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
    .heritage-split { grid-template-columns: 1fr; gap: 48px; }
    .heritage-image { max-width: 500px; }
    .heritage-stats { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .eco-cards-secondary { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .eco-connectors { gap: 80px; }
    .partnerships-split { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--burgundy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
        z-index: 1001;
        padding: 80px 20px;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.2rem;
        letter-spacing: 0.15em;
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 8px 0;
    }

    .nav-link--cta {
        margin-top: 16px;
        font-size: 0.9rem;
    }

    .nav-burger { display: flex; }
    
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; max-width: 300px; justify-content: center; }
    
    .heritage-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .config-options { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    
    .partnerships-form { padding: 32px 24px; }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }
    
    .heritage-stats { grid-template-columns: 1fr 1fr; }
}
/* ============================================
   ADDITIONS v2.0
============================================= */

/* Nav auto-hide transition — overrides the base rule above with identical properties */
.nav {
    transition: background var(--transition-base),
                padding var(--transition-base),
                box-shadow var(--transition-base),
                top 0.35s var(--ease-out);
}

/* Active nav link */
.nav-link.active {
    opacity: 1;
}

.nav-link.active::after {
    width: 100%;
}

/* Shake animation for validation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* Input error state */
input[style*="border-color: rgb(192, 57, 43)"],
textarea[style*="border-color: rgb(192, 57, 43)"] {
    animation: shake 0.4s ease;
}

/* Success button override */
.btn[style*="background: rgb(45, 106, 79)"] {
    color: white !important;
}

/* Parallax hero refinement */
.hero-bg {
    will-change: transform;
}

.hero-content {
    will-change: transform, opacity;
}

/* WhatsApp float pointer events when hidden */
.whatsapp-float[style*="opacity: 0"] {
    pointer-events: none;
}
/* ============================================
   MOBILE OPTIMIZATION v3.0
   Audit complet & corrections
============================================= */

/* ---- GLOBAL MOBILE FIXES ---- */
@media (max-width: 768px) {

    /* Prevent horizontal overflow everywhere */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Better touch targets — minimum 44px */
    a, button, .filter-btn, .dot, .config-option-card {
        min-height: 44px;
    }

    /* ---- LOADER ---- */
    .loader-text {
        font-size: 1.3rem;
        letter-spacing: 0.25em;
    }

    .loader-bar {
        width: 150px;
    }

    /* ---- NAVIGATION MOBILE ---- */
    .nav {
        padding: 16px 0;
    }

    .nav.scrolled {
        padding: 12px 0;
    }

    .nav-logo-mark {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .nav-logo-text {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--burgundy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
        z-index: 1001;
        padding: 80px 20px;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.1rem;
        letter-spacing: 0.12em;
        opacity: 1;
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-link::after {
        bottom: 0;
    }

    .nav-link--cta {
        margin-top: 12px;
        padding: 14px 32px;
        font-size: 0.85rem;
    }

    .nav-burger {
        display: flex;
        cursor: pointer;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .nav-lang {
        font-size: 0.7rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* ---- HERO MOBILE ---- */
    .hero {
        min-height: 100svh; /* Safe viewport height — avoids browser bar issues */
        padding: 0 20px;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3.2rem);
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.3em;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 32px;
        line-height: 1.7;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 16px 24px;
        font-size: 0.75rem;
    }

    .hero-scroll {
        bottom: 24px;
    }

    .hero-scroll span {
        font-size: 0.6rem;
    }

    .hero-scroll-line {
        height: 40px;
    }

    /* ---- SECTION TITLES MOBILE ---- */
    .section-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.25em;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: clamp(1.7rem, 6vw, 2.5rem);
        margin-bottom: 24px;
        line-height: 1.2;
    }

    .section-intro {
        font-size: 0.95rem;
        margin-bottom: 36px;
    }

    /* ---- SERVICES MOBILE ---- */
    .services {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
        margin-top: 36px;
    }

    .service-card-img {
        height: 200px;
    }

    .service-card-content {
        padding: 24px;
    }

    .service-number {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .service-card-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .service-card-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* ---- HERITAGE MOBILE ---- */
    .heritage {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .heritage-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .heritage-image {
        max-width: 100%;
        max-height: 400px;
        overflow: hidden;
    }

    .heritage-image::after {
        display: none; /* Remove decorative border on mobile */
    }

    .placeholder-img--portrait {
        min-height: 350px;
    }

    .heritage-text p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .heritage-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 36px;
        padding-top: 36px;
    }

    .stat-number {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* ---- PORTFOLIO MOBILE ---- */
    .portfolio {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .portfolio-filter {
        gap: 6px;
        margin-bottom: 28px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .portfolio-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-item {
        aspect-ratio: 16 / 10;
    }

    .portfolio-item-overlay {
        opacity: 1; /* Always visible on mobile — no hover */
        background: linear-gradient(to top, rgba(85, 38, 44, 0.85) 0%, transparent 70%);
    }

    .portfolio-item-overlay h4 {
        font-size: 1.1rem;
    }

    .portfolio-item-overlay p {
        font-size: 0.8rem;
    }

    /* ---- ECOSYSTEM MOBILE ---- */
    .ecosystem {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .eco-card {
        padding: 28px 20px;
    }

    .eco-card--main {
        max-width: 100%;
    }

    .eco-card h3 {
        font-size: 1.2rem;
    }

    .eco-card p:last-child {
        font-size: 0.88rem;
    }

    .eco-connectors {
        gap: 40px;
    }

    .eco-line {
        height: 30px;
    }

    .eco-cards-secondary {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .ecosystem-cta {
        margin-top: 40px;
        font-size: 0.95rem;
    }

    /* ---- PARTNERSHIPS MOBILE ---- */
    .partnerships {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .partnerships-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partnerships-text p {
        font-size: 0.95rem;
    }

    .benefit {
        font-size: 0.88rem;
    }

    .benefit-icon {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }

    .partnerships-form {
        padding: 28px 20px;
    }

    .partnerships-form h3 {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    /* ---- TESTIMONIALS MOBILE ---- */
    .testimonials {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .testimonial-quote {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        line-height: 1.7;
    }

    .testimonial-name {
        font-size: 0.8rem;
    }

    .testimonial-company {
        font-size: 0.7rem;
    }

    .clients-logos {
        padding-top: 36px;
    }

    .logos-track {
        gap: 24px;
    }

    .logo-placeholder {
        font-size: 0.6rem;
        padding: 12px 16px;
    }

    /* ---- CONFIGURATOR MOBILE ---- */
    .configurator {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .config-steps {
        max-width: 100%;
    }

    .config-step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 24px;
    }

    .config-step-header h3 {
        font-size: 1.3rem;
    }

    .config-options {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .config-option-card {
        padding: 20px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .config-option-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .config-option-label {
        font-size: 0.85rem;
    }

    .config-fields .form-group input,
    .config-fields .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom */
    }

    .config-nav {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

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

    .config-success {
        padding: 40px 0;
    }

    .config-success-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .config-success h3 {
        font-size: 1.5rem;
    }

    /* ---- CONTACT MOBILE ---- */
    .contact {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-details {
        margin-top: 28px;
    }

    .contact-detail {
        margin-bottom: 24px;
    }

    .contact-detail span,
    .contact-detail a {
        font-size: 0.95rem;
    }

    .contact-social {
        margin-top: 28px;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }

    .contact-map {
        height: 280px;
    }

    .placeholder-img--map {
        min-height: 280px;
    }

    /* ---- FOOTER MOBILE ---- */
    .footer {
        padding: 48px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        margin-bottom: 8px;
    }

    .footer-logo {
        font-size: 0.8rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-links h4 {
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-top: 24px;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    /* ---- WHATSAPP FLOAT MOBILE ---- */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* ---- BUTTONS MOBILE ---- */
    .btn {
        padding: 14px 28px;
        font-size: 0.75rem;
    }

    .btn-full {
        padding: 16px 28px;
    }
}

/* ---- SMALL SCREENS (iPhone SE, etc) ---- */
@media (max-width: 380px) {

    :root {
        --container-padding: 16px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .heritage-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .eco-card {
        padding: 20px 16px;
    }

    .partnerships-form {
        padding: 24px 16px;
    }

    .config-option-card {
        padding: 16px 12px;
    }
}

/* ---- TABLET LANDSCAPE ---- */
@media (min-width: 769px) and (max-width: 1024px) {

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .services-grid .service-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .heritage-split {
        grid-template-columns: 1fr 1.3fr;
        gap: 48px;
    }

    .heritage-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partnerships-split {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ---- SAFE AREA (iPhone notch) ---- */
@supports (padding: max(0px)) {
    .nav-container {
        padding-left: max(var(--container-padding), env(safe-area-inset-left));
        padding-right: max(var(--container-padding), env(safe-area-inset-right));
    }

    .footer {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .whatsapp-float {
        bottom: max(20px, calc(env(safe-area-inset-bottom) + 8px));
        right: max(20px, env(safe-area-inset-right));
    }
}

/* ---- TOUCH DEVICE HOVER FIX ---- */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .portfolio-item .placeholder-img,
    .portfolio-item img {
        transform: none !important;
    }

    .portfolio-item-overlay {
        opacity: 1;
    }

    .nav-link:hover::after {
        width: 0;
    }

    .nav-link.active::after {
        width: 100%;
    }
}

/* ---- REDUCE MOTION for accessibility ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-scroll-line {
        animation: none;
    }

    .loader-progress {
        animation: none;
        width: 100%;
    }
}

/* ---- PRINT STYLES ---- */
@media print {
    .nav, .loader, .whatsapp-float, .hero-scroll,
    .config-steps, .portfolio-filter, .testimonials-dots {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    section {
        page-break-inside: avoid;
    }
}
/* ============================================
   SERVICES — TWO TIERS (v2 layout)
============================================= */
.services-tier {
    margin-top: 48px;
}

.services-tier + .services-tier {
    margin-top: 80px;
    padding-top: 64px;
    border-top: 1px solid rgba(85, 38, 44, 0.12);
}

.services-tier-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.55;
    margin-bottom: 8px;
}

.services-tier-tagline {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--burgundy);
    opacity: 0.7;
    margin-bottom: 32px;
}

/* Programmes tier: 2 cards, larger, with departure microcopy */
.services-grid--programmes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 16px;
}

.service-card--featured {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
}

.service-card--featured .service-card-img {
    height: 100%;
    min-height: 320px;
}

.service-card--featured .service-card-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.service-card-meta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed rgba(85, 38, 44, 0.15);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--gray);
    line-height: 1.7;
}

.service-card-meta strong {
    color: var(--burgundy);
    font-weight: 700;
}

.service-card-icon-inline {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    color: var(--burgundy);
    opacity: 0.85;
}

.service-card-icon-inline svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .services-grid--programmes { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
    .service-card--featured { grid-template-columns: 1fr; }
    .service-card--featured .service-card-img { min-height: 220px; height: 220px; }
}

@media (max-width: 768px) {
    .services-tier + .services-tier {
        margin-top: 56px;
        padding-top: 44px;
    }
    .services-tier-label {
        font-size: 0.65rem;
        letter-spacing: 0.25em;
    }
    .services-tier-tagline {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    .service-card--featured .service-card-content { padding: 24px; }
    .service-card-meta { font-size: 0.75rem; padding-top: 16px; }
}

/* ============================================
   SUB-PAGES (Circuits & Omra)
============================================= */

/* ---- Sub-page Hero ---- */
.subpage-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    text-align: center;
    color: var(--cream);
    background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 60%, var(--burgundy-light) 100%);
    overflow: hidden;
}

.subpage-hero--omra {
    background: linear-gradient(180deg, var(--burgundy-dark) 0%, #2A0F12 100%);
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(230, 220, 197, 0.06), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(230, 220, 197, 0.04), transparent 40%);
    pointer-events: none;
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 0 var(--container-padding);
}

.subpage-hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.65;
    margin-bottom: 20px;
}

.subpage-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 24px;
}

.subpage-hero-title em {
    font-style: italic;
    font-weight: 400;
}

.subpage-hero-description {
    font-size: 1.1rem;
    color: var(--cream);
    opacity: 0.8;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 32px;
}

.subpage-hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Generic light/dark sub-page sections ---- */
.subpage-section {
    padding: var(--section-padding) 0;
}

.subpage-section--light {
    background: var(--cream);
    color: var(--burgundy);
}

.subpage-section--dark {
    background: var(--burgundy);
    color: var(--cream);
}

.subpage-section--light .section-subtitle,
.subpage-section--light .section-title { color: var(--burgundy); }

.subpage-section-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---- Pause banner (Omra) ---- */
.pause-banner {
    background: linear-gradient(135deg, rgba(230, 220, 197, 0.08), rgba(230, 220, 197, 0.04));
    border: 1px solid rgba(230, 220, 197, 0.2);
    padding: 28px 32px;
    margin: 32px auto 0;
    max-width: 880px;
    border-left: 3px solid var(--cream);
    color: var(--cream);
}

.pause-banner-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 10px;
    display: block;
}

.pause-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.pause-banner p {
    font-size: 0.98rem;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 16px;
}

.pause-banner a {
    color: var(--cream);
    border-bottom: 1px solid rgba(230, 220, 197, 0.4);
    transition: opacity var(--transition-base);
}

.pause-banner a:hover { opacity: 0.7; }

/* ---- Program cards (Circuits page) ---- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.program-card {
    background: var(--white);
    color: var(--burgundy);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(85, 38, 44, 0.06);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(85, 38, 44, 0.12);
}

.program-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.program-card-img .placeholder-img,
.program-card-img img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

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

.program-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--burgundy);
    color: var(--cream);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 14px;
    z-index: 2;
}

.program-card-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.program-card-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.5;
    margin-bottom: 8px;
}

.program-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.program-card-dates {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 18px;
}

.program-card-price {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--burgundy);
    margin-bottom: 18px;
}

.program-card-price strong {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 4px;
}

.program-card-price small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    opacity: 0.6;
    display: block;
    margin-top: 2px;
    letter-spacing: 0.05em;
}

.program-includes {
    list-style: none;
    margin: 0 0 24px;
    padding: 18px 0;
    border-top: 1px dashed rgba(85, 38, 44, 0.15);
    border-bottom: 1px dashed rgba(85, 38, 44, 0.15);
    display: grid;
    gap: 8px;
}

.program-includes li {
    font-size: 0.88rem;
    color: var(--burgundy);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.program-includes li::before {
    content: '✓';
    color: var(--burgundy);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.85rem;
    margin-top: 1px;
}

.program-card-cta {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.program-card-cta .btn {
    flex: 1;
    min-width: 140px;
    padding: 14px 22px;
    font-size: 0.72rem;
    justify-content: center;
}

/* ---- Hotel options table (Istanbul style pricing) ---- */
.hotels-table {
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.hotels-table th,
.hotels-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(85, 38, 44, 0.1);
}

.hotels-table th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.7;
    background: rgba(85, 38, 44, 0.03);
}

.hotels-table tr:last-child td { border-bottom: none; }

.hotels-table .price-cell {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--burgundy);
}

/* ---- Trust signals ---- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.trust-item {
    text-align: center;
    padding: 24px 16px;
}

.trust-item-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    color: var(--cream);
    opacity: 0.85;
}

.subpage-section--light .trust-item-icon {
    color: var(--burgundy);
}

.trust-item-icon svg { width: 100%; height: 100%; }

.trust-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.88rem;
    line-height: 1.6;
    opacity: 0.75;
}

/* ---- Omra package tiers ---- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    align-items: stretch;
}

.package-tier {
    background: var(--white);
    color: var(--burgundy);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--burgundy);
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.package-tier:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(85, 38, 44, 0.12);
}

.package-tier--featured {
    background: var(--burgundy);
    color: var(--cream);
    border-top-color: var(--cream);
    transform: scale(1.03);
}

.package-tier--featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.package-tier-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cream);
    color: var(--burgundy);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 14px;
}

.package-tier-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.package-tier-tagline {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 24px;
    line-height: 1.5;
}

.package-tier-price {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px dashed currentColor;
    opacity: 0.85;
}

.package-tier-price strong {
    font-size: 1.4rem;
    font-weight: 600;
    display: block;
    opacity: 1;
    margin-bottom: 2px;
}

.package-tier-price small {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
    display: block;
    margin-bottom: 6px;
}

.package-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.package-features li {
    font-size: 0.88rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.package-features li::before {
    content: '•';
    flex-shrink: 0;
    font-weight: 700;
    margin-top: -2px;
}

.package-tier .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.package-tier--featured .btn-primary {
    background: var(--cream);
    color: var(--burgundy);
}

.package-tier .btn-outline {
    border-color: rgba(85, 38, 44, 0.3);
    color: var(--burgundy);
}

.package-tier--featured .btn-outline {
    border-color: rgba(230, 220, 197, 0.4);
    color: var(--cream);
}

.package-disclaimer {
    margin-top: 24px;
    font-size: 0.78rem;
    color: var(--gray);
    text-align: center;
    font-style: italic;
}

/* ---- FAQ (CSS-only accordion via details/summary) ---- */
.faq {
    max-width: 820px;
    margin: 56px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(85, 38, 44, 0.12);
    padding: 0;
}

.subpage-section--dark .faq-item {
    border-bottom-color: rgba(230, 220, 197, 0.12);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 40px 22px 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: opacity var(--transition-base);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover { opacity: 0.7; }

.faq-item-content {
    padding: 0 40px 24px 0;
    font-size: 0.95rem;
    line-height: 1.75;
    opacity: 0.8;
}

/* ---- Lead form (Omra reservation) ---- */
.lead-form {
    background: var(--white);
    color: var(--burgundy);
    padding: 48px;
    max-width: 720px;
    margin: 56px auto 0;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

.lead-form h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.lead-form > p {
    font-size: 0.92rem;
    color: var(--gray);
    margin-bottom: 28px;
    line-height: 1.6;
}

.lead-form .form-group input,
.lead-form .form-group select,
.lead-form .form-group textarea {
    background: var(--cream-light);
}

.lead-form .form-checkbox-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.lead-form .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.lead-form .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--burgundy);
    cursor: pointer;
}

/* ---- Calendar of departures (Omra) ---- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 40px;
}

.calendar-cell {
    background: rgba(230, 220, 197, 0.05);
    border: 1px solid rgba(230, 220, 197, 0.12);
    padding: 18px 14px;
    text-align: center;
    transition: all var(--transition-base);
}

.subpage-section--light .calendar-cell {
    background: var(--white);
    border-color: rgba(85, 38, 44, 0.1);
}

.calendar-cell--paused {
    opacity: 0.5;
    position: relative;
}

.calendar-cell-month {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: capitalize;
}

.calendar-cell-status {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ---- Sticky WhatsApp CTA bar (mobile) ---- */
.sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 800;
        background: var(--burgundy-dark);
        border-top: 1px solid rgba(230, 220, 197, 0.15);
        padding: 12px 16px;
        gap: 10px;
        align-items: center;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
    }

    .sticky-cta-text {
        flex: 1;
        font-size: 0.78rem;
        color: var(--cream);
        opacity: 0.9;
        line-height: 1.3;
    }

    .sticky-cta .btn {
        padding: 12px 18px;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    body.has-sticky-cta { padding-bottom: 70px; }
    body.has-sticky-cta .whatsapp-float { bottom: 84px; }
}

/* ---- Responsive sub-pages ---- */
@media (max-width: 1024px) {
    .programs-grid { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .package-tier--featured { transform: none; }
    .package-tier--featured:hover { transform: translateY(-4px); }
    .calendar-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .subpage-hero { min-height: auto; padding: 110px 0 60px; }
    .subpage-hero-description { font-size: 0.95rem; }
    .program-card-body { padding: 22px 22px 20px; }
    .program-card-title { font-size: 1.35rem; }
    .program-card-cta { flex-direction: column; }
    .program-card-cta .btn { width: 100%; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
    .lead-form { padding: 28px 22px; margin-top: 40px; }
    .lead-form h3 { font-size: 1.3rem; }
    .calendar-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pause-banner { padding: 22px 20px; }
    .pause-banner h3 { font-size: 1.2rem; }
    .faq-item summary { font-size: 1rem; padding: 18px 36px 18px 0; }
    .hotels-table { font-size: 0.78rem; }
    .hotels-table th, .hotels-table td { padding: 10px 6px; }
}

/* ---- Arabic / RTL support ---- */
html[dir="rtl"] body {
    font-family: 'Noto Sans Arabic', 'Lato', sans-serif;
}

html[dir="rtl"] .nav-logo-text,
html[dir="rtl"] .section-subtitle,
html[dir="rtl"] .services-tier-label,
html[dir="rtl"] .program-card-eyebrow,
html[dir="rtl"] .package-tier-badge,
html[dir="rtl"] .program-card-badge,
html[dir="rtl"] .pause-banner-label,
html[dir="rtl"] .footer-links h4,
html[dir="rtl"] .clients-logos-label {
    letter-spacing: 0;
}

html[dir="rtl"] .section-title,
html[dir="rtl"] .subpage-hero-title,
html[dir="rtl"] .program-card-title,
html[dir="rtl"] .package-tier-name,
html[dir="rtl"] .faq-item summary,
html[dir="rtl"] .lead-form h3,
html[dir="rtl"] .pause-banner h3,
html[dir="rtl"] .trust-item h4,
html[dir="rtl"] .services-tier-tagline,
html[dir="rtl"] .program-card-price,
html[dir="rtl"] .package-tier-price,
html[dir="rtl"] .package-tier-price strong,
html[dir="rtl"] .footer-logo {
    font-family: 'Amiri', 'Playfair Display', serif;
    letter-spacing: 0;
}

html[dir="rtl"] .nav-link,
html[dir="rtl"] .btn,
html[dir="rtl"] .service-card-link {
    letter-spacing: 0;
}

html[dir="rtl"] .program-includes li::before,
html[dir="rtl"] .package-features li::before {
    margin-left: 6px;
    margin-right: 0;
}

html[dir="rtl"] .faq-item summary { padding: 22px 0 22px 40px; }
html[dir="rtl"] .faq-item summary::after { right: auto; left: 0; }
html[dir="rtl"] .faq-item-content { padding: 0 0 24px 40px; }

html[dir="rtl"] .pause-banner { border-left: none; border-right: 3px solid var(--cream); }

html[dir="rtl"] .service-card-link span,
html[dir="rtl"] .btn span {
    transform: scaleX(-1);
    display: inline-block;
}

html[dir="rtl"] .footer-links a,
html[dir="rtl"] .nav-links {
    text-align: right;
}

/* ============================================
   LEGAL PAGES
============================================= */
.legal-page {
    padding: 60px 0 var(--section-padding);
    background: var(--cream);
    color: var(--burgundy);
    min-height: 80vh;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--burgundy);
}

.legal-updated {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 48px;
}

.legal-content {
    max-width: 800px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--burgundy);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(85, 38, 44, 0.1);
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 12px;
}

.legal-section strong {
    color: var(--burgundy);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 40px 0 60px;
    }

    .legal-title {
        font-size: 1.8rem;
    }

    .legal-section h2 {
        font-size: 1.15rem;
    }

    .legal-section p {
        font-size: 0.9rem;
    }
}


