/* ==========================================================================
   Univers Cheval - Main Stylesheet
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-primary: #1a2744;
    --navy-secondary: #2d3e5f;
    --navy-light: #3d4f6f;
    --cream: #f9f7f4;
    --white: #ffffff;
    --gold: #c9a961;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --border: #e8e6e3;
}

body {
    font-family: 'Georgia', 'Garamond', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    min-width: 320px;
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-delay-3 {
    animation-delay: 0.6s;
}

.section-intro {
    animation: fadeInUp 0.8s ease-out;
}

.service-card {
    animation: fadeInUp 0.8s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.gallery-carousel {
    animation: fadeIn 1s ease-out;
}

.stat-item {
    animation: fadeInUp 0.8s ease-out backwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.team-member {
    animation: fadeInUp 0.8s ease-out backwards;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.header-wrapper.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Top bar hidden by default - keeping styles for potential future use */
.top-bar {
    display: none;
}

header {
    background-color: var(--white);
}

.header-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 8px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-exp {
    text-decoration: none;
    flex-shrink: 0;
}

.logo-exp-img {
    height: 120px;
    width: auto;
}

@media (max-width: 1023px) {
    .logo-exp-img {
        height: 90px;
    }
}

@media (max-width: 768px) {
    .logo-exp-img {
        height: 75px;
    }
}

@media (max-width: 500px) {
    .logo-exp-img {
        height: 60px;
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    flex-shrink: 0;
}

.logo-icon {
    width: 80px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo-text h1,
.logo-text .logo-title {
    font-size: 1.3rem;
    color: var(--navy-primary);
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.logo-text p {
    display: none;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav > ul > li {
    position: relative;
}

nav > ul > li > a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: color 0.3s;
    letter-spacing: 0.8px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
}

nav > ul > li:not(.dropdown) > a::after,
nav > ul > li.dropdown > .dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 1.5px;
    background-color: var(--navy-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav > ul > li:not(.dropdown) > a:hover::after,
nav > ul > li:not(.dropdown) > a.active::after,
nav > ul > li.dropdown:hover > .dropdown-toggle::after {
    transform: scaleX(1);
}

nav > ul > li > a:hover {
    color: var(--navy-primary);
}

/* CTA Button in nav */
.nav-cta {
    margin-left: 20px;
}

.nav-cta .btn-nav {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    color: var(--white);
    background-color: var(--navy-primary);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: 0.8px;
    font-weight: 500;
    text-transform: uppercase;
    border: 2px solid var(--navy-primary);
    white-space: nowrap;
}

.nav-cta .btn-nav:hover {
    background-color: transparent;
    color: var(--navy-primary);
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown::after {
    content: '';
    position: absolute;
    left: -24px;
    right: -24px;
    top: 100%;
    height: 24px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Arrow indicator for dropdown - using a span element */
.dropdown-toggle .dropdown-arrow {
    border: solid var(--text-dark);
    border-width: 0 1.5px 1.5px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
    margin-left: 6px;
}

@media (hover: hover) and (pointer: fine) {
    .dropdown:hover .dropdown-toggle .dropdown-arrow {
        transform: rotate(-135deg);
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background-color: var(--white);
    width: min(900px, 92vw);
    box-shadow: 0 15px 50px rgba(26, 39, 68, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 28px 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-top: 6px;
    display: grid;
    gap: 24px;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.dropdown-item {
    display: grid;
    grid-template-rows: 38px auto;
    align-content: start;
    justify-items: center;
    row-gap: 10px;
    padding: 16px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.25s ease;
    background-color: var(--white);
    text-align: center;
    min-height: 96px;
}

.dropdown-item::before,
.dropdown-item::after {
    display: none !important;
    content: none !important;
}

.dropdown-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-primary);
    background-color: transparent;
    background-image: url('../images/horse-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    flex-shrink: 0;
    position: relative;
}

.dropdown-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy-primary);
}

.dropdown-item:hover {
    background-color: var(--navy-primary);
    border-color: var(--border);
    transform: translateY(-2px);
}

.dropdown-item:hover .dropdown-icon,
.dropdown-item:active .dropdown-icon,
.dropdown-item:focus-visible .dropdown-icon {
    background-color: transparent;
    background-image: url('../images/horse-icon-white.png');
}

.dropdown-item:hover .dropdown-title {
    color: var(--white);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy-primary);
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 24px;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--navy-primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-toggle span:nth-child(1) {
    top: 0;
}

.mobile-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

main {
    margin-top: 136px; /* logo 120px + padding 8px×2 */
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    height: 85vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-secondary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(26, 39, 68, 0.95) 0%, rgba(26, 39, 68, 0.7) 50%, rgba(26, 39, 68, 0.4) 100%);
    z-index: 1;
}

.hero-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/dsc05425.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
    color: var(--white);
    z-index: 3;
}

.hero-content h1,
.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    max-width: 900px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 45px;
    max-width: 700px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-horse-overlay {
    position: absolute;
    left: -8%;
    top: 50%;
    transform: translateY(-50%);
    height: 98%;
    width: auto;
    z-index: 2;
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    padding: 17px 48px;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--white);
    color: var(--navy-primary);
    border: 2px solid transparent;
}

.btn-primary.btn-solid {
    background-color: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
}

.btn-primary:hover {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy-primary);
    border: 2px solid var(--navy-primary);
}

.btn-outline:hover {
    background-color: var(--navy-primary);
    color: var(--white);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background-color: var(--navy-primary);
    border-color: var(--navy-primary);
}

/* ==========================================================================
   Sections
   ========================================================================== */

section {
    padding: 120px 0;
    scroll-margin-top: 136px; /* = hauteur header desktop */
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 90px;
}

.section-label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.section-intro h2 {
    font-size: 2.75rem;
    color: var(--navy-primary);
    margin-bottom: 30px;
    font-weight: 300;
}

.section-intro p {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.9;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    background-color: var(--cream);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c9c5bf;
    opacity: 0.15;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 550px;
    background-color: #c9c5bf;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.about-text h3 {
    font-size: 2.25rem;
    color: var(--navy-primary);
    margin-bottom: 35px;
    font-weight: 300;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 28px;
    line-height: 1.9;
}

/* ==========================================================================
   Lune Hubert Section
   ========================================================================== */

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

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

.lune-image {
    width: 100%;
    height: 560px;
    overflow: hidden;
}

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

.lune-text h2 {
    font-size: 3rem;
    color: var(--navy-primary);
    font-weight: 400;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.lune-role {
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.lune-text p {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 28px;
    line-height: 1.9;
}

.lune-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.credential-tag {
    display: inline-block;
    background-color: var(--cream);
    color: var(--navy-secondary);
    border: 1px solid var(--border);
    padding: 6px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum";
}

/* ==========================================================================
   Services Section
   ========================================================================== */

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

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

.service-card {
    position: relative;
    text-align: center;
    padding: 0;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 280px;
    background-color: #c9c5bf;
    position: relative;
    overflow: hidden;
}

.service-placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    z-index: 2;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 40px 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--navy-primary);
    margin-bottom: 18px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--gold);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-section {
    background-color: var(--cream);
    padding-top: 120px;
    border-top: 1px solid var(--border);
}

.gallery-carousel {
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    padding: 20px 0 30px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--border);
}

.gallery-track::-webkit-scrollbar {
    height: 8px;
}

.gallery-track::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 4px;
}

.gallery-track::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.gallery-track::-webkit-scrollbar-thumb:hover {
    background: var(--navy-primary);
}

.gallery-item {
    flex: 0 0 400px;
    height: 400px;
    background-color: #c9c5bf;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    text-align: center;
    padding: 20px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    overflow: visible;
    padding: 10px;
}

.carousel-btn {
    background-color: var(--navy-primary);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--gold);
    transform: scale(1.15);
}

.carousel-btn:disabled {
    background-color: var(--border);
    cursor: not-allowed;
    transform: scale(1);
}

/* ==========================================================================
   Video Section
   ========================================================================== */

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

.video-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #2a3a52;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Clinics/Events Section
   ========================================================================== */

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

.clinics-section .btn-primary {
    background-color: transparent;
    color: var(--navy-primary);
    border: 2px solid var(--navy-primary);
}

.clinics-section .btn-primary:hover {
    background-color: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
}

.clinic-card {
    background-color: var(--white);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.clinic-image {
    width: 100%;
    height: 450px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
}

.clinic-content h3 {
    font-size: 2rem;
    color: var(--navy-primary);
    margin-bottom: 20px;
    font-weight: 400;
}

.clinic-date {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.clinic-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 30px;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-section {
    background-color: var(--navy-primary);
    color: var(--white);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 200;
}

.stat-item p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ==========================================================================
   Team Section
   ========================================================================== */

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

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

.team-member {
    text-align: center;
}

.team-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: var(--white);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    overflow: hidden;
}

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

.team-member h4 {
    font-size: 1.4rem;
    color: var(--navy-primary);
    margin-bottom: 10px;
    font-weight: 400;
}

.team-role {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

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

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

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item h4 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 500;
}

.contact-item p,
.contact-item a {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-map {
    width: 100%;
    height: 600px;
    background-color: #c9c5bf;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

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

.messenger-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .messenger-section {
        padding: 60px 0;
    }
}

/* Messenger CTA */
.messenger-cta {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.messenger-cta__heading {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--navy-primary);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.messenger-cta__text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 40px;
}

.messenger-cta__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-messenger {
    background-color: var(--navy-primary);
    color: var(--white);
    border: 2px solid var(--navy-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-messenger:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--white);
    padding: 60px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    color: var(--navy-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--cream);
    border: 2px solid var(--border);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 52px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--navy-primary) 50%),
        linear-gradient(135deg, var(--navy-primary) 50%, transparent 50%);
    background-position:
        calc(100% - 24px) 50%,
        calc(100% - 18px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.custom-select {
    position: relative;
}

.custom-select-trigger {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--cream);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.custom-select-trigger:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.custom-select-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--navy-primary);
    border-bottom: 2px solid var(--navy-primary);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.custom-select-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(26, 39, 68, 0.12);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 10;
    max-height: 260px;
    overflow-y: auto;
}

.custom-select-list li {
    padding: 12px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-select-list li:hover,
.custom-select-list li.is-selected {
    background-color: var(--cream);
    color: var(--navy-primary);
}

.custom-select.open .custom-select-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select.open .custom-select-arrow {
    transform: rotate(-135deg);
}

.native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

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

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

.form-submit {
    text-align: center;
    margin-top: 40px;
}


/* ==========================================================================
   Privacy Modal
   ========================================================================== */

.privacy-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(26, 39, 68, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 25px;
    z-index: 10000;
}

.privacy-modal.is-open {
    display: flex;
}

.privacy-dialog {
    width: min(900px, 92vw);
    max-height: 85vh;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(26, 39, 68, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.privacy-dialog-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--border);
}

.privacy-dialog-header h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 300;
    color: var(--navy-primary);
}

.privacy-dialog-header p {
    margin: 0;
    color: var(--text-medium);
}

.privacy-dialog-body {
    padding: 28px 32px 10px;
    overflow-y: auto;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.privacy-card {
    background-color: var(--cream);
    border: 1px solid var(--border);
    padding: 22px;
}

.privacy-card h3 {
    font-size: 1.2rem;
    color: var(--navy-primary);
    margin-bottom: 14px;
    font-weight: 300;
}

.privacy-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-medium);
    line-height: 1.8;
}

.privacy-list li {
    margin-bottom: 10px;
}

.privacy-note {
    margin: 20px 32px 28px;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

.privacy-dialog-footer {
    padding: 0 32px 28px;
    display: flex;
    justify-content: flex-end;
}

.privacy-close {
    background-color: var(--navy-primary);
    color: var(--white);
    border: 2px solid var(--navy-primary);
    padding: 10px 26px;
    border-radius: 999px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.privacy-close:hover {
    background-color: transparent;
    color: var(--navy-primary);
}

/* ==========================================================================
   Page Header (for internal pages)
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-secondary) 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Stage Page
   ========================================================================== */

.stage-statut {
    display: inline-block;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 2px;
}

.stage-statut--complet {
    background-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stage-statut--ouvert {
    background-color: var(--gold);
    color: var(--navy-primary);
    border: 1px solid var(--gold);
}

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

.stage-description h3 {
    font-size: 2rem;
    color: var(--navy-primary);
    font-weight: 300;
    margin-bottom: 24px;
}

.stage-description p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.9;
}

.stage-infos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
}

.stage-info-card {
    background-color: rgba(255, 255, 255, 0.07);
    padding: 30px 24px;
    text-align: center;
}

.stage-info-label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.stage-info-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.stage-prerequis-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stage-prerequis-list li {
    font-size: 1.05rem;
    color: var(--text-medium);
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.stage-prerequis-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 1px;
    background-color: var(--gold);
}

@media (max-width: 1024px) {
    .stage-infos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stage-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stage-infos-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Service Detail Page
   ========================================================================== */

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

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

.service-detail-image {
    width: 100%;
    height: 500px;
    background-color: #c9c5bf;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-content h3 {
    font-size: 2rem;
    color: var(--navy-primary);
    margin-bottom: 25px;
    font-weight: 400;
}

.service-detail-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 25px;
}

.service-features {
    margin-top: 40px;
}

.service-features h4 {
    font-size: 1.2rem;
    color: var(--navy-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1rem;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background-color: var(--navy-secondary);
    color: var(--white);
    padding: 80px 0 40px;
}

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

.footer-column h4 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    font-weight: 500;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    line-height: 2;
    font-size: 0.95rem;
    display: block;
    transition: color 0.3s;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.footer-column p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-column a {
    white-space: nowrap;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-about {
    font-size: 0.975rem;
    line-height: 1.85;
    padding-right: 40px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
    text-align: center;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1400px) {
    nav > ul > li > a {
        padding: 10px 15px;
        font-size: 0.75rem;
    }

    .nav-cta .btn-nav {
        padding: 10px 22px;
        font-size: 0.7rem;
    }
}

@media (max-width: 1200px) {
    .header-wrapper {
        border-bottom: none;
    }

    .header-main,
    .container {
        padding-left: 50px;
        padding-right: 50px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 60px;
        height: 42px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2.75rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-card {
        min-height: 400px;
    }

    .gallery-item {
        flex: 0 0 350px;
        height: 350px;
    }

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

    .clinic-card {
        grid-template-columns: 1fr;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 900px) {
    .lune-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lune-image {
        height: 380px;
    }

    .lune-text h2 {
        font-size: 2.25rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        height: auto;
        margin-bottom: 10px;
    }

    .about-image img {
        height: 180px !important;
    }

    .about-text h3 {
        font-size: 2rem;
    }

    .privacy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .privacy-dialog-header {
        padding: 22px 20px 16px;
    }

    .privacy-dialog-body {
        padding: 20px;
    }

    .privacy-note {
        margin: 16px 20px 22px;
    }

    .privacy-dialog-footer {
        padding: 0 20px 22px;
    }
}

.camps-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .camps-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    nav > ul > li > a {
        padding: 10px 12px;
        font-size: 0.7rem;
    }

    .nav-cta {
        margin-left: 10px;
    }

    .nav-cta .btn-nav {
        padding: 8px 18px;
        font-size: 0.65rem;
    }
}

@media (max-width: 1023px) {
    main {
        margin-top: 106px; /* logo 90px + padding 8px×2 */
    }

    section {
        scroll-margin-top: 106px;
    }

    .header-wrapper {
        border-bottom: none;
    }

    .header-main {
        position: relative;
    }

    nav {
        position: static;
    }

    nav > ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--navy-primary);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        z-index: 1000;
        padding: 20px 0;
    }

    nav > ul.active {
        display: flex;
    }

    nav > ul > li > a {
        padding: 15px 25px;
        border-bottom: none;
        font-size: 0.85rem;
        text-transform: uppercase;
        text-align: center;
        color: var(--white);
    }

    .dropdown-toggle {
        justify-content: center;
        width: 100%;
    }

    nav > ul > li > a::after {
        display: none;
    }

    nav > ul > li {
        width: 100%;
    }

    nav > ul > li:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background-color: var(--navy-secondary);
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        margin: 0;
        padding: 8px 20px 10px;
        width: 100%;
        pointer-events: auto;
    }

    .dropdown.active .dropdown-menu {
        transform: none;
    }

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

    .dropdown-item {
        background-color: transparent;
        border-color: rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 0.9);
        padding: 12px 14px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: auto;
    }

    .dropdown-icon {
        display: none;
    }

    .dropdown-title {
        color: rgba(255, 255, 255, 0.9);
    }

    nav > ul > li > a:hover {
        color: var(--gold);
    }

    .dropdown-item:hover,
    .dropdown-item:hover .dropdown-title {
        color: var(--gold);
        background-color: transparent;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle .dropdown-arrow {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    main {
        margin-top: 91px; /* logo 75px + padding 8px×2 */
    }

    section {
        scroll-margin-top: 91px;
    }

    .header-main,
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .header-main {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .logo {
        gap: 10px;
    }

    .nav-cta .btn-nav {
        padding: 8px 16px;
        font-size: 0.65rem;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 60px 0 30px;
    }

    .footer-about {
        padding-right: 0;
    }

    .logo-icon {
        width: 50px;
        height: 35px;
    }

    .logo-text h1 {
        font-size: 1rem;
        letter-spacing: 1px;
    }

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

    .hero-content h1,
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    section {
        padding: 70px 0;
    }

    .section-intro {
        margin-bottom: 60px;
    }

    .section-intro h2 {
        font-size: 2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .service-card {
        min-height: 350px;
        padding: 0;
    }

    .service-image {
        height: 250px;
    }

    .service-content {
        padding: 35px 25px;
    }

    .gallery-item {
        flex: 0 0 300px;
        height: 300px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

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

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

    .contact-form,
    .clinic-card {
        padding: 35px 25px;
    }

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

    .page-header {
        padding: 80px 0 60px;
    }

    .page-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .stat-item h4 {
        font-size: 2rem;
    }

    .btn {
        padding: 15px 35px;
        font-size: 0.8rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .nav-cta {
        display: none;
    }
}

/* ==========================================================================
   Mobile Optimized Design (360px - 500px)
   ========================================================================== */

@media (max-width: 500px) {
    /* Header Optimization */
    .header-wrapper {
        border-bottom: 1px solid var(--border);
    }

    .header-main {
        padding: 8px 20px;
    }

    .logo {
        gap: 10px;
    }

    .logo-icon {
        width: 50px;
        height: 35px;
    }

    .logo-text h1 {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    /* Navigation Mobile */
    nav {
        gap: 8px;
    }

    nav > ul {
        padding: 15px 0;
    }

    nav > ul > li > a {
        font-size: 0.75rem;
        padding: 12px 20px;
        text-align: center;
    }

    .nav-cta .btn-nav {
        font-size: 0.6rem;
        padding: 8px 14px;
        white-space: nowrap;
    }

    /* Dropdown Menu Mobile */
    .dropdown-toggle {
        justify-content: center;
    }

    .dropdown-menu {
        background-color: var(--cream);
        border-top: 1px solid var(--border);
        padding: 8px 15px 10px;
        border-radius: 0;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dropdown-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding: 10px 12px;
        border-radius: 8px;
        gap: 12px;
        min-height: auto;
    }

    .dropdown-icon {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        background-size: 18px 18px;
    }

    .dropdown-title {
        font-size: 0.8rem;
    }

    /* Mobile Toggle Button */
    .mobile-toggle {
        width: 28px;
        height: 22px;
    }

    .mobile-toggle span {
        height: 2.5px;
    }

    .mobile-toggle span:nth-child(2) {
        top: 9px;
    }

    .mobile-toggle span:nth-child(3) {
        top: 18px;
    }

    .mobile-toggle.active span:nth-child(1) {
        top: 9px;
    }

    .mobile-toggle.active span:nth-child(3) {
        top: 9px;
    }

    main {
        margin-top: 76px; /* logo 60px + padding 8px×2 */
    }

    section {
        scroll-margin-top: 76px;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 450px;
        padding: 60px 0;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    /* Buttons Mobile */
    .btn {
        padding: 14px 32px;
        font-size: 0.75rem;
        text-align: center;
    }

    /* Sections Mobile */
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .section-intro {
        margin-bottom: 50px;
    }

    .section-label {
        font-size: 0.65rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .section-intro h2 {
        font-size: 1.75rem;
        margin-bottom: 18px;
    }

    .section-intro p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    /* About Section Mobile */
    .about-grid {
        gap: 30px;
    }

    .about-image {
        height: auto;
    }

    .about-image img {
        height: 140px !important;
    }

    .about-text h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 18px;
        line-height: 1.8;
    }

    /* Services Section Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        min-height: 320px;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        padding: 28px 20px;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 0.875rem;
        line-height: 1.7;
    }

    .service-placeholder-text {
        font-size: 0.7rem;
    }

    /* Gallery Section Mobile */
    .gallery-section {
        padding-top: 60px;
    }

    .gallery-track {
        gap: 15px;
        padding: 8px 0 20px;
    }

    .gallery-track::-webkit-scrollbar {
        height: 6px;
    }

    .gallery-item {
        flex: 0 0 260px;
        height: 260px;
    }

    .gallery-placeholder {
        font-size: 0.7rem;
        padding: 15px;
    }

    .carousel-controls {
        gap: 12px;
        margin-top: 20px;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    /* Stats Section Mobile */
    .stats-section {
        padding: 30px 0;
    }

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

    .stat-item h4 {
        font-size: 2rem;
        margin-bottom: 6px;
    }

    .stat-item p {
        font-size: 0.75rem;
        letter-spacing: 1.2px;
    }

    /* Team Section Mobile */
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member h4 {
        font-size: 1.3rem;
    }

    .team-role {
        font-size: 0.8rem;
    }

    .team-bio {
        font-size: 0.9rem;
    }

    /* Contact Section Mobile */
    .contact-grid {
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .contact-item {
        margin-bottom: 30px;
    }

    .contact-item h4 {
        font-size: 0.65rem;
        margin-bottom: 8px;
    }

    .contact-item p,
    .contact-item a {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .contact-map {
        height: 300px;
    }

    /* Footer Mobile */
    footer {
        padding: 50px 0 30px;
    }

    .footer-grid {
        gap: 35px;
        margin-bottom: 40px;
    }

    .footer-column h4 {
        font-size: 0.75rem;
        margin-bottom: 18px;
    }

    .footer-column p,
    .footer-column a {
        font-size: 0.85rem;
        line-height: 1.9;
    }

    .footer-about {
        font-size: 0.875rem;
        line-height: 1.8;
    }

    .footer-bottom {
        padding-top: 25px;
        font-size: 0.7rem;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 80px 0 60px;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Service Detail Mobile */
    .service-detail-grid {
        gap: 40px;
    }

    .service-detail-image {
        height: 350px;
    }

    .service-detail-content h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .service-detail-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .service-features h4 {
        font-size: 1.1rem;
    }

    .service-features li {
        font-size: 0.9rem;
        padding: 10px 0;
        padding-left: 25px;
    }

    /* Clinic Card Mobile */
    .clinic-card {
        padding: 35px 25px;
        gap: 40px;
    }

    .clinic-image {
        height: 300px;
    }

    .clinic-content h3 {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }

    .clinic-date {
        font-size: 0.75rem;
        margin-bottom: 20px;
    }

    .clinic-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    /* Contact Form Mobile */
    .contact-form {
        padding: 40px 20px;
    }

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

    .form-group label {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .custom-select-trigger {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .custom-select-list li {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .form-submit {
        margin-top: 30px;
    }

    /* Video Section Mobile */
    .video-wrapper {
        aspect-ratio: 16/9;
    }

    /* Touch States for Mobile */
    .service-card:active {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }

    .service-card:active h3 {
        color: var(--gold);
    }

    .gallery-item:active {
        transform: scale(1.03);
    }

    .carousel-btn:active {
        background-color: var(--gold);
        transform: scale(1.1);
    }

    .btn-primary:active {
        background-color: var(--gold);
        color: var(--white);
        border-color: var(--gold);
    }

    .btn-secondary:active {
        border-color: var(--white);
        background-color: rgba(255, 255, 255, 0.1);
    }

    .btn-outline:active {
        background-color: var(--navy-primary);
        color: var(--white);
    }

    .nav-cta .btn-nav:active {
        background-color: transparent;
        color: var(--navy-primary);
    }

    .dropdown-item:active {
        background-color: var(--navy-primary);
        transform: scale(0.98);
    }

    .dropdown-item:active .dropdown-icon {
        background-image: url('../images/horse-icon-white.png');
    }

    .dropdown-item:active .dropdown-title {
        color: var(--white);
    }

    .contact-item a:active {
        color: var(--gold);
    }

    .footer-column a:active {
        color: var(--gold);
    }
}

/* ===========================================
   GALERIE PAGE
   =========================================== */

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

.photo-grid-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--cream);
}

.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-grid-item:hover img {
    transform: scale(1.04);
}

/* Lightbox */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.93);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

#lb-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#lb-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 2.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

#lb-close:hover { color: var(--white); }

#lb-prev,
#lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 14px 20px;
    border-radius: 4px;
    transition: background 0.2s;
    line-height: 1;
}

#lb-prev { left: 20px; }
#lb-next { right: 20px; }
#lb-prev:hover, #lb-next:hover { background: rgba(255, 255, 255, 0.2); }

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #lb-prev { left: 8px; padding: 10px 14px; }
    #lb-next { right: 8px; padding: 10px 14px; }
}

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