/* ==============================
   CLINIQUE LA PLAGE — STYLE.CSS
   ============================== */

:root {
    --primary: #42919e;
    --primary-dark: #2a5f68;
    --primary-light: #e8f4f6;
    --gold: #f7c100;
    --gold-hover: #ffd740;
    --dark: #1a2332;
    --text: #4a5a62;
    --text-light: #7a8c94;
    --bg: #f8fafb;
    --white: #ffffff;
    --red: #d8261c;
    --border: rgba(0,0,0,0.06);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ==============================
   HEADER
   ============================== */

header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.93);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding: 14px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-link img {
    height: 48px;
    width: auto;
    border-radius: 8px;
}

.logo-text h2 {
    font-size: 1.15rem;
    margin-bottom: -4px;
    color: var(--primary-dark);
    font-family: var(--font-serif);
}

.logo-text span {
    font-size: 0.72rem;
    color: var(--text);
    letter-spacing: 1px;
    font-family: var(--font-sans);
    font-weight: 400;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--dark);
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after { width: 100%; }

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 76px; left: 0;
    width: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 20px 5% 28px;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    font-weight: 500;
    color: var(--dark);
    font-size: 1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: color 0.2s ease;
}

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

.mobile-nav a.btn-primary {
    text-align: center;
    border: none;
    margin-top: 12px;
    padding: 14px 28px;
}

/* ==============================
   BUTTONS
   ============================== */

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 8px 20px rgba(66,145,158,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(66,145,158,0.35);
    color: var(--white);
}

.btn-primary::after { display: none !important; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--dark);
    padding: 15px 38px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 25px rgba(247,193,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(247,193,0,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid rgba(255,255,255,0.65);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; }

/* ==============================
   HERO
   ============================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
    background-color: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('10031.png');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
    animation: bgZoom 20s infinite alternate;
}

@keyframes bgZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
        rgba(26,35,50,0.94) 0%,
        rgba(26,35,50,0.55) 55%,
        rgba(42,95,104,0.25) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    animation: fadeInUp 1s ease forwards;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247,193,0,0.15);
    border: 1px solid rgba(247,193,0,0.4);
    color: var(--gold);
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-family: var(--font-sans);
}

.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero-content h1 {
    color: var(--white);
    font-size: 4.4rem;
    line-height: 1.08;
    margin-bottom: 24px;
}

.hero-content h1 em {
    color: var(--gold);
    font-style: italic;
}

.hero-content p {
    color: rgba(255,255,255,0.86);
    font-size: 1.18rem;
    margin-bottom: 40px;
    max-width: 580px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2.5s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(9px); }
}

/* ==============================
   STATS BAND
   ============================== */

.stats-band {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 0;
}

.stats-grid {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-item {
    padding: 44px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: background 0.3s ease;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.06); }

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .unit {
    font-size: 1.6rem;
    vertical-align: baseline;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.72);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.5;
    font-family: var(--font-sans);
}

/* ==============================
   SECTIONS — SHARED
   ============================== */

section { padding: 90px 5%; }

.section-label {
    display: block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 { font-size: 2.8rem; }

.section-title p {
    margin-top: 16px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.06rem;
    color: var(--text);
    line-height: 1.8;
}

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

.section-cta {
    text-align: center;
    margin-top: 56px;
}

/* ==============================
   ABOUT SECTION
   ============================== */

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

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

/* About image frame */
.about-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 270px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    margin-bottom: 24px;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.about-image-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(26,35,50,0.85), transparent);
    padding: 24px 20px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.88);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.about-image-caption svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

/* Open feature list (no boxes) */
.about-features { display: flex; flex-direction: column; }

.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    transition: padding-left 0.25s ease;
}

.feature-item:last-child { border-bottom: none; padding-bottom: 0; }
.feature-item:hover { padding-left: 5px; }

.feature-item-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.feature-item:hover .feature-item-icon { background: var(--primary-dark); }

.feature-item h4 {
    font-size: 0.97rem;
    color: var(--dark);
    font-family: var(--font-sans);
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.86rem;
    color: var(--text);
    line-height: 1.62;
    margin: 0;
}

.about-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    line-height: 1.18;
}

.about-text p {
    font-size: 1.04rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 0;
}

/* Stat chips row */
.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 36px;
}

.about-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 0.86rem;
    font-weight: 700;
    border: 1px solid rgba(66,145,158,0.2);
}

.about-stat-chip svg {
    width: 16px; height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.about-text blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    margin: 28px 0;
    background: #fffdf0;
    border-radius: 0 12px 12px 0;
    font-size: 1.02rem;
    color: var(--dark);
    font-style: italic;
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 12px;
}

.highlight-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 22px 26px;
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(66,145,158,0.1);
}

.highlight-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.highlight-card-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.highlight-card h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    font-family: var(--font-sans);
    font-weight: 700;
}

.highlight-card p {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.65;
}

/* ==============================
   SERVICES GRID
   ============================== */

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 6px 24px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 48px rgba(66,145,158,0.13);
}

.service-card:hover::before { transform: scaleY(1); }

.service-icon {
    width: 58px; height: 58px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(-5deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-family: var(--font-serif);
}

.service-card p {
    font-size: 0.92rem;
    line-height: 1.72;
    color: var(--text);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s ease;
    font-family: var(--font-sans);
}

.service-link svg { width: 16px; height: 16px; }
.service-link:hover { gap: 10px; }

/* ==============================
   WHY CHOOSE US
   ============================== */

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

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-card {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    background: var(--bg);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: var(--primary-light);
    border-color: rgba(66,145,158,0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(66,145,158,0.1);
}

.why-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.why-card:hover .why-icon { background: var(--primary-dark); }

.why-card h4 {
    font-size: 1.08rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-family: var(--font-serif);
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.68;
}

/* ==============================
   TEAM SECTION
   ============================== */

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 24px 30px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(66,145,158,0.12);
}

.doctor-avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-light);
    transition: border-color 0.3s ease;
}

.team-card:hover .doctor-avatar { border-color: var(--primary); }

.doctor-photo {
    width: 96px; height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-light);
    transition: border-color 0.3s ease;
}

.team-card:hover .doctor-photo { border-color: var(--primary); }

.team-card h3 {
    font-size: 1.08rem;
    color: var(--dark);
    margin-bottom: 4px;
    font-family: var(--font-serif);
}

.doctor-specialty {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}

.team-card p {
    font-size: 0.86rem;
    color: var(--text);
    line-height: 1.65;
}

/* ==============================
   EMERGENCY BANNER
   ============================== */

.emergency-banner {
    background: linear-gradient(135deg, #a93226 0%, #e74c3c 100%);
    padding: 72px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.emergency-inner { max-width: 800px; margin: 0 auto; position: relative; }

.emergency-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.emergency-banner h2 {
    color: white;
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.emergency-banner p {
    color: rgba(255,255,255,0.86);
    font-size: 1.06rem;
    margin-bottom: 36px;
    line-height: 1.75;
}

.emergency-phones {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.emergency-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.emergency-phone-btn:hover {
    background: white;
    color: #a93226;
    border-color: white;
}

/* ==============================
   PAGE HERO (inner pages)
   ============================== */

.page-hero {
    padding: 150px 5% 70px;
    background: linear-gradient(150deg, var(--dark) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.page-hero::before { width: 350px; height: 350px; top: -80px; right: -60px; }
.page-hero::after  { width: 200px; height: 200px; bottom: -60px; left: 5%; }

.page-hero h1 {
    color: white;
    font-size: 3.2rem;
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    color: rgba(255,255,255,0.78);
    font-size: 1.08rem;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.78;
    position: relative;
}

/* ==============================
   SERVICES DETAIL (services.html)
   ============================== */

.service-detail-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 36px;
    align-items: start;
}

.service-detail-icon {
    width: 72px; height: 72px;
    border-radius: 18px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.service-detail-body h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 14px;
}

.service-detail-body > p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 18px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    margin-top: 18px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.service-feature::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff5e6;
    border: 1px solid rgba(247,193,0,0.4);
    color: #b07400;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bed capacity table */
.table-section {
    background: var(--primary-light);
    border-radius: 24px;
    padding: 48px;
    margin: 40px 0;
}

.table-section h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.table-section > p {
    color: var(--text);
    margin-bottom: 28px;
    font-size: 0.97rem;
}

.bed-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.bed-table th {
    background: var(--primary-dark);
    color: white;
    padding: 16px 22px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
}

.bed-table td {
    padding: 14px 22px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text);
    background: var(--white);
}

.bed-table tr:nth-child(even) td { background: var(--bg); }

.bed-table tfoot td {
    background: var(--primary-dark);
    color: white;
    font-weight: 700;
    border-bottom: none;
}

.bed-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
}

tfoot .bed-count { background: var(--gold); color: var(--dark); }

/* Equipment list */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.equipment-item {
    background: var(--white);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text);
    border: 1px solid rgba(0,0,0,0.05);
}

.equipment-item::before {
    content: '';
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

/* ==============================
   TEAM DETAIL (equipe.html)
   ============================== */

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

.doctor-profile {
    background: var(--bg);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 28px;
    transition: box-shadow 0.3s ease;
}

.doctor-profile:hover {
    box-shadow: 0 12px 40px rgba(66,145,158,0.1);
}

.doctor-profile-visual { text-align: center; }

.doctor-large-avatar {
    width: 150px; height: 150px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 14px;
}

.doctor-profile-visual img {
    width: 150px; height: 150px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto 14px;
}

.order-number {
    font-size: 0.76rem;
    color: var(--text-light);
    line-height: 1.5;
}

.doctor-profile-info h2 {
    font-size: 2rem;
    margin-bottom: 6px;
}

.title-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-profile-info p {
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.82;
    margin-bottom: 14px;
}

.credentials-list { list-style: none; margin-top: 20px; }

.credentials-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.9rem;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.credentials-list li:last-child { border-bottom: none; }

.credentials-list li svg {
    width: 18px; height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==============================
   CONTACT SECTION
   ============================== */

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

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.contact-info-box {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

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

.contact-info-box > p {
    font-size: 0.96rem;
    color: var(--text);
    margin-bottom: 36px;
    line-height: 1.75;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.contact-item-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item-text strong {
    display: block;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.88rem;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-text span,
.contact-item-text a {
    font-size: 0.94rem;
    color: var(--text);
    line-height: 1.65;
}

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

.emergency-contact-box {
    background: #fff5f5;
    border-radius: 16px;
    padding: 20px 22px;
    border-left: 4px solid var(--red);
    margin-top: 24px;
}

.emergency-contact-box .contact-item-icon {
    background: #ffe5e5;
    color: var(--red);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.contact-action-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-card {
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    border-radius: 24px;
    padding: 44px 36px;
    text-align: center;
}

.cta-card h3 {
    color: white;
    font-size: 1.7rem;
    margin-bottom: 12px;
}

.cta-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.93rem;
    margin-bottom: 30px;
    line-height: 1.72;
}

.hours-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
}

.hours-card h4 {
    font-size: 1.1rem;
    margin-bottom: 22px;
    color: var(--dark);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.93rem;
}

.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--text); }
.hours-row .time { font-weight: 700; color: var(--dark); }

/* ==============================
   FOOTER
   ============================== */

footer {
    background: var(--dark);
    color: rgba(255,255,255,0.62);
    padding: 72px 5% 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 52px;
    max-width: 1200px;
    margin: 0 auto 52px;
}

.footer-brand .footer-logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-brand img {
    height: 42px;
    background: white;
    border-radius: 8px;
    padding: 4px;
}

.footer-brand h2 { color: white; font-size: 1.25rem; }

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.78;
    max-width: 290px;
    margin-bottom: 22px;
}

.footer-col h4 {
    color: white;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav li a {
    color: rgba(255,255,255,0.58);
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.86rem;
}

.footer-contact-item svg {
    width: 17px; height: 17px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a, .footer-contact-item span {
    color: rgba(255,255,255,0.62);
    line-height: 1.55;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,0.45); transition: color 0.3s ease; }
.footer-bottom a:hover { color: var(--gold); }

/* ==============================
   LOCATION SHOWCASE (homepage)
   ============================== */

.location-section {
    padding: 0;
    position: relative;
    height: 420px;
    overflow: hidden;
}

.location-bg {
    position: absolute;
    inset: 0;
    background-image: url('10031.png');
    background-size: cover;
    background-position: center 35%;
    transition: transform 0.6s ease;
}

.location-section:hover .location-bg { transform: scale(1.02); }

.location-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,35,50,0.82) 0%, rgba(26,35,50,0.45) 55%, rgba(26,35,50,0.15) 100%);
}

.location-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5%;
    max-width: 680px;
}

.location-content h2 {
    color: white;
    font-size: 2.6rem;
    margin-bottom: 14px;
    line-height: 1.15;
}

.location-content h2 em { color: var(--gold); font-style: italic; }

.location-content p {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

/* Service image cards (services.html) */
.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
    display: block;
}

.service-img-placeholder {
    width: 100%;
    height: 220px;
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(66,145,158,0.25) 100%);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    gap: 10px;
}

/* Header logo update for LOGOCLINIC */
.logo-link img {
    height: 52px;
    width: auto;
    border-radius: 8px;
}

/* ==============================
   GALLERY MOSAIC (homepage)
   ============================== */

.gallery-section {
    background: var(--white);
    padding: 100px 5%;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 440px;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-cell {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(66,145,158,0.22) 100%);
    cursor: default;
}

.gallery-cell.gallery-main { grid-row: auto; }

/* Placeholder shown when no real photo is loaded */
.gallery-cell-ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    padding: 20px;
    z-index: 1;
}

.gallery-cell-ph svg { color: var(--primary); opacity: 0.6; }

/* Real photo — sits above placeholder */
.gallery-cell img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: transform 0.55s ease;
}

.gallery-cell:hover img { transform: scale(1.04); }

/* Caption overlay */
.gallery-cell-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(26,35,50,0.72), transparent);
    color: rgba(255,255,255,0.92);
    padding: 40px 18px 16px;
    font-size: 0.81rem;
    font-weight: 600;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 7px;
}

.gallery-cell:hover .gallery-cell-caption { opacity: 1; }

/* Main cell caption always visible */
.gallery-main .gallery-cell-caption {
    opacity: 1;
    padding: 70px 24px 22px;
    font-size: 0.88rem;
}

/* ==============================
   DIRECTRICE TECHNIQUE SECTION
   ============================== */

.director-section {
    background: var(--bg);
    padding: 100px 5%;
}

.director-card {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 28px;
    padding: 56px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items: center;
    box-shadow: 0 16px 60px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}

.director-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    background: var(--primary-light);
    box-shadow: 0 12px 36px rgba(66,145,158,0.18);
    position: relative;
}

.director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.director-photo:hover img {
    transform: scale(1.05);
}

.director-info h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.director-info .title-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.83rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.director-info p {
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.78;
    margin-bottom: 22px;
}

.director-info .credentials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.director-info .credentials-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text);
}

.director-info .credentials-list li:last-child {
    border-bottom: none;
}

.director-info .credentials-list svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ==============================
   MEDICAL TEAM SECTION
   ============================== */

.medical-team-section {
    background: var(--white);
    padding: 100px 5%;
}

.medical-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.medical-team-card {
    background: var(--bg);
    padding: 32px 24px;
    border-radius: 18px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.medical-team-card:hover {
    transform: translateY(-6px);
    background: var(--primary-light);
    box-shadow: 0 12px 30px rgba(66,145,158,0.13);
}

.medical-team-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: transform 0.3s ease;
}

.medical-team-card:hover .medical-team-icon {
    transform: rotate(-6deg) scale(1.05);
    background: var(--primary-dark);
}

.medical-team-card h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.medical-team-card p {
    font-size: 0.86rem;
    color: var(--text);
    line-height: 1.6;
}

/* ==============================
   FAQ SECTION
   ============================== */

.faq-section {
    background: var(--bg);
    padding: 90px 5%;
}

.faq-list {
    max-width: 820px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    border-color: rgba(66,145,158,0.25);
}

.faq-item[open] {
    box-shadow: 0 8px 24px rgba(66,145,158,0.1);
    border-color: rgba(66,145,158,0.3);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 26px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s ease;
}

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

.faq-item summary:hover { color: var(--primary-dark); }

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
}

.faq-item p {
    padding: 0 26px 22px;
    color: var(--text);
    line-height: 1.75;
    font-size: 0.95rem;
    margin: 0;
}

.faq-item p a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(66,145,158,0.3);
}

.faq-item p a:hover {
    border-bottom-color: var(--primary-dark);
}

@media (max-width: 520px) {
    .faq-item summary { padding: 16px 18px; font-size: 0.94rem; }
    .faq-item p { padding: 0 18px 18px; font-size: 0.9rem; }
}

/* ==============================
   WHATSAPP FLOATING BUTTON
   ============================== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
    flex-shrink: 0;
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background: var(--dark);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-float .whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==============================
   APPOINTMENT FORM
   ============================== */

.appt-form-section {
    background: var(--white);
    padding: 80px 5%;
}

.appt-form-wrapper {
    max-width: 860px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 16px 60px rgba(0,0,0,0.07);
    padding: 56px 60px;
    border: 1px solid var(--border);
}

.appt-form-header {
    text-align: center;
    margin-bottom: 44px;
}

.appt-form-header span.section-label {
    display: inline-block;
    margin-bottom: 12px;
}

.appt-form-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.appt-form-header p {
    font-size: 0.97rem;
    color: var(--text);
    max-width: 520px;
    margin: 0 auto;
}

.appt-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.appt-form-grid .form-group--full {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.01em;
}

.form-label .form-required {
    color: var(--red);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #dde3e7;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.93rem;
    color: var(--dark);
    background: var(--bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(66,145,158,0.12);
}

.form-control::placeholder {
    color: #aab4bb;
}

.form-control--select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5a62' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
    cursor: pointer;
}

.form-control--textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-privacy {
    font-size: 0.82rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}

.appt-form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    letter-spacing: 0.01em;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(66,145,158,0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit svg {
    width: 18px;
    height: 18px;
}

.btn-submit.loading {
    opacity: 0.75;
    pointer-events: none;
}

/* Form success state */
.appt-form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 16px;
}

.appt-form-success.visible {
    display: flex;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e6f9ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.success-icon svg {
    width: 36px;
    height: 36px;
    color: #1d9e54;
}

.appt-form-success h3 {
    font-size: 1.7rem;
    color: var(--dark);
}

.appt-form-success p {
    font-size: 0.97rem;
    color: var(--text);
    max-width: 420px;
}

/* ==============================
   SCROLL ANCHOR OFFSET
   ============================== */

[id] { scroll-margin-top: 100px; }

/* ==============================
   UTILITY — SECTION CONTAINER
   ============================== */

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

.section-container--narrow {
    max-width: 900px;
    margin: 0 auto;
}

/* ==============================
   STAFF SECTION (equipe.html)
   ============================== */

.staff-section {
    max-width: 1100px;
    margin: 50px auto 0;
    background: var(--primary-light);
    border-radius: 24px;
    padding: 40px 48px;
}

.staff-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.staff-section h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.staff-section p {
    font-size: 0.97rem;
    line-height: 1.8;
    color: var(--text);
}

.staff-roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text);
}

.staff-role-item {
    background: white;
    padding: 12px 16px;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.staff-role-item:hover {
    transform: translateY(-2px);
}

/* ==============================
   CONTACT — SERVICES REMINDER
   ============================== */

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

.contact-service-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 24px;
    border-left: 4px solid var(--primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.contact-service-card--accent {
    border-left-color: var(--gold);
}

.contact-service-card h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-family: var(--font-sans);
    font-weight: 700;
}

.contact-service-card p {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.65;
}

/* ==============================
   DIRECTIONS CARD (contact.html)
   ============================== */

.directions-card {
    background: var(--bg);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border);
}

.directions-card h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: var(--dark);
}

.directions-card p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 12px;
}

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

.directions-card strong {
    color: var(--dark);
}

/* ==============================
   INTRO SECTION (equipe.html)
   ============================== */

.intro-section {
    background: var(--bg);
    padding-bottom: 20px;
}

.intro-section h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.intro-section p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}

/* ==============================
   CTA BANNER — TEAL VARIANT
   ============================== */

.emergency-banner--teal {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 44px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .medical-team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .why-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .doctor-profile { grid-template-columns: 1fr; text-align: center; }
    .credentials-list li { text-align: left; }
    .service-detail-card { grid-template-columns: 1fr; gap: 20px; }
    .service-features { grid-template-columns: 1fr; }
    .equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 320px;
    }
    .gallery-cell.gallery-main { grid-row: auto; grid-column: auto; }
    .contact-services-grid { grid-template-columns: repeat(2, 1fr); }
    .staff-section-grid { grid-template-columns: 1fr; }
    .staff-section { padding: 32px 28px; }
    .director-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 32px;
        text-align: center;
    }
    .director-photo {
        max-width: 280px;
        margin: 0 auto;
    }
    .director-info .credentials-list li { text-align: left; }
}

@media (max-width: 768px) {
    nav ul { display: none; }
    .hamburger { display: flex; }

    .hero-content h1 { font-size: 2.8rem; }
    .btn-outline { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

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

    .page-hero h1 { font-size: 2.4rem; }
    .contact-info-box { padding: 32px 24px; }
    .cta-card { padding: 36px 24px; }
    .hours-card { padding: 28px 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .table-section { padding: 32px 24px; }
    .doctor-profile { padding: 32px 24px; }

    section { padding: 60px 5%; }
    .section-title h2 { font-size: 2.2rem; }
    .emergency-banner h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .contact-services-grid { grid-template-columns: 1fr; }
    .staff-roles-grid { grid-template-columns: 1fr; }
    .appt-form-wrapper { padding: 36px 28px; }
    .appt-form-grid { grid-template-columns: 1fr; }
    .appt-form-grid .form-group--full { grid-column: auto; }
    .whatsapp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
    .director-section { padding: 60px 5%; }
    .medical-team-section { padding: 60px 5%; }
}

@media (max-width: 520px) {
    .hero-content h1 { font-size: 2.2rem; }
    .team-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.5rem; }
    .equipment-grid { grid-template-columns: 1fr; }
    .medical-team-grid { grid-template-columns: 1fr; }
    .director-info h3 { font-size: 1.6rem; }
    .emergency-phone-btn { width: 100%; justify-content: center; }
    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: 280px 280px;
    }
    .gallery-cell.gallery-main { grid-row: auto; grid-column: auto; }
    .location-section { height: 360px; }
    .location-content h2 { font-size: 2rem; }
}
