/* ==========================================================================
   ClinicDream - Fisioterapia, Acupuntura & Fisioestética
   Master Stylesheet - High Fidelity Visuals & Expanded Clinical Catalog
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --color-cream: #faf7f2;
    --color-cream-card: #ffffff;
    --color-dark-bg: #090e17;
    --color-dark-surface: #101624;
    --color-dark-border: rgba(255, 255, 255, 0.08);
    --color-gold: #f5b942;
    --color-gold-hover: #e5a72f;
    --color-gold-dark: #b87c17;
    --color-amber-section: #f0b742;
    --color-emerald: #10b981;
    --color-teal-dark: #0f766e;
    --color-text-dark: #111827;
    --color-text-muted: #4b5563;
    --color-text-light: #ffffff;
    --color-text-light-muted: #cbd5e1;

    /* Gradients */
    --gradient-rainbow: linear-gradient(135deg, #a7f3d0 0%, #34d399 24%, #fde68a 68%, #f59e0b 100%);
    --gradient-therapeutic: linear-gradient(135deg, #a7f3d0 0%, #34d399 24%, #fde68a 68%, #f59e0b 100%);
    --gradient-hero-overlay: linear-gradient(180deg, rgba(9, 14, 23, 0.72) 0%, rgba(9, 14, 23, 0.88) 100%);
    --gradient-card-overlay: linear-gradient(180deg, rgba(9, 14, 23, 0.2) 0%, rgba(9, 14, 23, 0.88) 85%);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 12px 28px -6px rgba(245, 185, 66, 0.45);
    --shadow-glow: 0 0 50px -10px rgba(245, 185, 66, 0.25);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
    font-size: 16px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.rainbow-gradient {
    background: var(--gradient-therapeutic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
    font-style: italic;
    filter: drop-shadow(0 2px 20px rgba(52, 211, 153, 0.22));
}

.text-gold {
    color: var(--color-gold);
}

.text-gold-dark {
    color: #c98818;
}

html.loading,
html:has(body.loading),
body.loading {
    overflow: hidden !important;
    height: 100vh !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html.loading::-webkit-scrollbar,
body.loading::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ==========================================================================
   Professional Brand Preloader Screen
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: radial-gradient(circle at center, #0f172a 0%, #060910 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.75s ease;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 460px;
    padding: 2.5rem 2rem;
    z-index: 2;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-overlay.fade-out .preloader-content {
    transform: scale(0.95) translateY(-18px);
}

/* Ambient glow in background */
.preloader-aura {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 185, 66, 0.25) 0%, rgba(16, 185, 129, 0.16) 45%, rgba(99, 102, 241, 0.1) 70%, transparent 80%);
    filter: blur(55px);
    animation: preloaderAuraPulse 3.5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes preloaderAuraPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.55;
    }

    100% {
        transform: scale(1.22);
        opacity: 0.95;
    }
}

/* Logo and animated glowing rings */
.preloader-logo-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--color-gold);
    border-right-color: #10b981;
    border-bottom-color: #ec4899;
    border-left-color: #6366f1;
    animation: preloaderSpin 2.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    filter: drop-shadow(0 0 14px rgba(245, 185, 66, 0.6));
}

.preloader-ring-pulse {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1.5px solid rgba(245, 185, 66, 0.35);
    animation: preloaderPulseRing 2.2s ease-out infinite;
}

@keyframes preloaderSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes preloaderPulseRing {
    0% {
        transform: scale(0.88);
        opacity: 0.85;
    }

    100% {
        transform: scale(1.38);
        opacity: 0;
    }
}

.preloader-logo {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
    animation: preloaderLogoBreathe 2.4s ease-in-out infinite alternate;
    border: 4px solid rgba(255, 255, 255, 0.95);
}

@keyframes preloaderLogoBreathe {
    0% {
        transform: scale(0.96);
    }

    100% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 24px rgba(245, 185, 66, 0.55));
    }
}

/* Brand Title & Tagline */
.preloader-brand {
    margin-bottom: 1.6rem;
}

.preloader-title {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.preloader-tagline {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #94a3b8;
}

.preloader-tagline span {
    color: #f1f5f9;
}

/* Progress bar container */
.preloader-bar-wrap {
    width: 240px;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.85rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.preloader-bar {
    height: 100%;
    width: 0%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #10b981 0%, #f5b942 45%, #ec4899 75%, #6366f1 100%);
    background-size: 200% 100%;
    animation: preloaderBarShimmer 2s linear infinite;
    transition: width 0.25s ease-out;
    box-shadow: 0 0 10px rgba(245, 185, 66, 0.6);
}

@keyframes preloaderBarShimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.preloader-counter {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.05em;
    min-height: 1.25em;
    transition: color 0.3s ease;
}

/* ==========================================================================
   Navigation Bar (Floating Island Capsule Across the Full Length)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.15rem 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    padding: 0.65rem 0;
}

.navbar-wrapper {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 clamp(0.8rem, 1.5vw, 2rem);
    pointer-events: auto;
}

.navbar-capsule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 0.4rem clamp(1rem, 1.6vw, 2.2rem);
    position: relative;
    width: 100%;
    transition: all 0.35s ease;
}

.site-header.scrolled .navbar-capsule {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.38);
    padding: 0.32rem clamp(0.9rem, 1.4vw, 1.8rem);
}

/* Split Navigation Columns - Distributed along the length ("a lo largo") */
.nav-split.nav-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1 1 auto;
}

.nav-split.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 auto;
}

.nav-menu-split {
    display: flex;
    align-items: center;
    gap: clamp(0.55rem, 1vw, 1.5rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Centered Brand Link & Prominent Centerpiece */
.brand-link.brand-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 clamp(1.2rem, 2vw, 2.4rem);
    position: relative;
    margin: 0 auto;
    flex-shrink: 0;
    z-index: 5;
    transition: transform 0.25s ease;
}

.brand-link.brand-center:hover {
    transform: scale(1.05);
}

.brand-badge-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-badge {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24), 0 0 0 3px rgba(245, 185, 66, 0.75);
    border: 3.5px solid #ffffff;
    margin-top: -16px;
    margin-bottom: -16px;
    transition: width 0.3s ease, height 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-link.brand-center:hover .brand-badge {
    transform: rotate(5deg) scale(1.08);
    box-shadow: 0 16px 38px rgba(245, 185, 66, 0.8), 0 0 0 4.5px var(--color-gold);
}

.brand-name {
    display: none;
}

.site-header.scrolled .brand-badge {
    width: 66px;
    height: 66px;
    margin-top: -8px;
    margin-bottom: -8px;
}

/* Common Nav Link Styles */
.nav-link {
    font-size: clamp(0.8rem, 0.86vw, 0.92rem);
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    white-space: nowrap;
    padding: 0.32rem clamp(0.38rem, 0.5vw, 0.75rem);
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    color: #0f172a;
    background: rgba(245, 185, 66, 0.12);
}

.nav-link.active {
    color: #92400e;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.95) 0%, rgba(253, 230, 138, 0.8) 100%);
    box-shadow: 0 3px 12px rgba(245, 185, 66, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 22px;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.5);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Nav CTA Button */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem clamp(0.85rem, 1vw, 1.35rem);
    background: var(--color-gold);
    color: #111827;
    font-size: clamp(0.8rem, 0.84vw, 0.88rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-gold);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -4px rgba(245, 185, 66, 0.6);
}

/* Mobile Toggle & Drawer Defaults (Desktop hidden) */
.mobile-toggle {
    display: none;
}

.mobile-drawer {
    display: none;
}

/* ==========================================================================
   Hero Section (Image 1)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 7rem 0 4rem;
    color: #ffffff;
    overflow: hidden;
}

/* ==========================================================================
   Hero Cinematic Triple-Effect: Ken Burns + Crossfade (Dissolve) + Parallax
   ========================================================================== */

/* 1. Parallax Depth Container: translates on scroll/mouse */
.hero-background-wrapper.parallax-container {
    position: absolute;
    top: -240px;
    bottom: -120px;
    left: -50px;
    right: -50px;
    z-index: 1;
    overflow: hidden;
    background: #090e17;
    perspective: 1000px;
    will-change: transform;
    pointer-events: none;
}

/* 2. Crossfade (Dissolve / Disolvencia): seamless opacity transition without cuts or flashes */
.parallax-bg-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, visibility;
}

/* Outgoing layer stays visible beneath the incoming slide during dissolve */
.parallax-bg-layer.previous {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Incoming active layer smoothly fades in on top */
.parallax-bg-layer.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* 3. Ken Burns Effect: continuous slow scale-up & subtle directional pan */
.hero-kenburns-img {
    position: absolute;
    inset: -55px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    will-change: transform;
}

/* Slide 1 - Fisioterapia: Gentle slow zoom towards clinical stretcher */
.parallax-bg-layer[data-room="terapia"].active .hero-kenburns-img,
.parallax-bg-layer[data-room="terapia"].previous .hero-kenburns-img {
    animation: kenBurnsSlide1 7.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Slide 2 - Acupuntura: Gentle slow zoom towards holistic treatment ambiance */
.parallax-bg-layer[data-room="acupuntura"].active .hero-kenburns-img,
.parallax-bg-layer[data-room="acupuntura"].previous .hero-kenburns-img {
    animation: kenBurnsSlide2 7.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Slide 3 - Fisioestética: Gentle slow zoom towards high-tech aesthetic equipment */
.parallax-bg-layer[data-room="fisioestetica"].active .hero-kenburns-img,
.parallax-bg-layer[data-room="fisioestetica"].previous .hero-kenburns-img {
    animation: kenBurnsSlide3 7.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes kenBurnsSlide1 {
    0% {
        transform: scale(1.04) translate(0, 0);
    }
    100% {
        transform: scale(1.16) translate(-1.5%, -0.8%);
    }
}

@keyframes kenBurnsSlide2 {
    0% {
        transform: scale(1.04) translate(0, 0);
    }
    100% {
        transform: scale(1.16) translate(1.2%, 0.8%);
    }
}

@keyframes kenBurnsSlide3 {
    0% {
        transform: scale(1.04) translate(0, 0);
    }
    100% {
        transform: scale(1.16) translate(0.8%, -1.2%);
    }
}

.parallax-ambient-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 25%, rgba(245, 185, 66, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 25% 75%, rgba(45, 212, 191, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
    will-change: transform;
    transition: transform 0.2s ease-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(9, 14, 23, 0.62) 0%, rgba(9, 14, 23, 0.9) 100%);
    backdrop-filter: blur(1px);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 840px;
    text-align: center;
    margin: auto 0;
}

body:not(.loading) .hero-eyebrow {
    animation: heroFadeSlideDown 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

body:not(.loading) .hero-title {
    animation: heroFadeSlideUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

body:not(.loading) .hero-description {
    animation: heroFadeSlideUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

body:not(.loading) .hero-actions {
    animation: heroFadeScaleUp 0.95s cubic-bezier(0.34, 1.4, 0.64, 1) 0.6s both;
}

body:not(.loading) .hero-room-tabs {
    animation: heroFadeSlideUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

@keyframes heroFadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeScaleUp {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #fde68a;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1.35rem;
    background: rgba(16, 22, 36, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 9999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px #34d399;
    display: inline-block;
    animation: heroPulseDot 2s infinite ease-in-out;
}

@keyframes heroPulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.35);
        opacity: 1;
        box-shadow: 0 0 14px #6ee7b7;
    }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 55%, #d97706 100%);
    color: #0b1120;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    box-shadow: 0 12px 28px -4px rgba(245, 158, 11, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-primary .btn-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: scale(1.15) rotate(-5deg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-22deg);
    transition: left 0.65s ease;
}

.btn-primary:hover::before {
    left: 180%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 55%, #ea580c 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 36px -4px rgba(245, 158, 11, 0.6), 0 0 25px rgba(252, 211, 77, 0.4);
    color: #000000;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 2.2rem;
    background: rgba(16, 22, 36, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.btn-ghost .btn-icon {
    flex-shrink: 0;
    color: #6ee7b7;
    transition: transform 0.3s ease;
}

.btn-ghost:hover .btn-icon {
    transform: scale(1.15);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(52, 211, 153, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(52, 211, 153, 0.2);
}

/* Room Switcher Tabs - Luxury Glassmorphic Dock */
.hero-room-tabs {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
    margin-top: 3.5rem;
    padding: 0.65rem;
    background: rgba(10, 16, 28, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.room-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding: 1.15rem 1.4rem 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
    overflow: hidden;
}

.room-tab-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    width: 100%;
}

.room-tab-num {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
}

.room-tab-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.room-tab-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
    transition: color 0.3s ease;
}

/* Background indicator track */
.room-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
}

/* Therapeutic filling indicator bar spanning full tab width */
.room-tab-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #34d399 0%, #f59e0b 100%);
    border-radius: 9999px;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.65), 0 0 20px rgba(245, 185, 66, 0.5);
    transition: none;
}

.room-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.room-tab-btn:hover .room-tab-num,
.room-tab-btn:hover .room-tab-tag {
    color: #a7f3d0;
}

.room-tab-btn:hover .room-tab-name {
    color: #ffffff;
}

.room-tab-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.room-tab-btn.active .room-tab-num {
    color: #34d399;
}

.room-tab-btn.active .room-tab-tag {
    color: #fcd34d;
}

.room-tab-btn.active .room-tab-name {
    color: #ffffff;
    font-weight: 700;
}

.room-tab-btn.active.filling::after {
    width: 100%;
    transition: width 6s linear;
}

/* ==========================================================================
   About Section (Image 2 - "Sentirse mejor comienza...")
   ========================================================================== */
.about-section {
    padding: 6.5rem 0 5rem;
    background-color: var(--color-cream);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
}

.about-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-aura-glow {
    position: absolute;
    inset: -25px;
    background: radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.4), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(244, 63, 94, 0.35), transparent 50%),
        radial-gradient(circle at 50% 85%, rgba(245, 185, 66, 0.45), transparent 55%);
    filter: blur(35px);
    border-radius: 40px;
    z-index: 1;
    pointer-events: none;
}

.about-image-card {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12);
    border: 4px solid #ffffff;
    background: #ffffff;
    width: 100%;
    max-width: 440px;
}

.about-image-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.about-floating-badge {
    position: absolute;
    bottom: -22px;
    right: 25px;
    z-index: 3;
    width: 105px;
    height: 105px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
    padding: 4px;
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--transition-bounce);
}

.about-floating-badge:hover {
    transform: scale(1.08) rotate(5deg);
}

.about-floating-badge img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--color-text-dark);
    margin-bottom: 1.6rem;
    letter-spacing: -0.01em;
}

.about-title span {
    color: #e5a025;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    max-width: 580px;
}

/* Declaración Oficial y Pilares ClinicDream */
.about-lead-statement {
    font-size: 1.12rem;
    line-height: 1.68;
    color: #1e293b;
    margin-bottom: 1.35rem;
    font-weight: 500;
}

.about-lead-statement strong {
    color: #0f172a;
    font-weight: 700;
}

.about-pillars-list {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    margin-bottom: 2rem;
}

.about-pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #ffffff;
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(245, 185, 66, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-pillar-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(245, 185, 66, 0.16);
    border-color: var(--color-gold);
}

.about-pillar-bullet {
    font-size: 1.6rem;
    line-height: 1;
    color: #d97706;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: -2px;
}

.about-pillar-text {
    font-size: 0.92rem;
    line-height: 1.58;
    color: #475569;
    margin: 0;
}

.about-pillar-text strong {
    color: #0f172a;
}

/* Feature highlight banner inside About */
.about-quote-box {
    background: #ffffff;
    border-left: 4px solid var(--color-gold);
    border-radius: 0 16px 16px 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.about-quote-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 0.35rem;
}

.about-quote-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
}

/* Stat Cards Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.stat-pill {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.2rem 1rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-teal-dark);
    line-height: 1.1;
    margin-bottom: 0.35rem;
    font-family: var(--font-sans);
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3;
}

/* ==========================================================================
   Misión & Visión Section (Image 3)
   ========================================================================== */
.mission-vision-section {
    padding: 5.5rem 0;
    background-color: var(--color-dark-bg);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.mv-card {
    position: relative;
    border-radius: 24px;
    padding: 3rem 2.8rem;
    background: rgba(18, 25, 38, 0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.mv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mv-card-mision::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(245, 185, 66, 0.18) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.mv-card-vision::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.22) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.mv-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    letter-spacing: -0.01em;
}

.mv-text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}

/* ==========================================================================
   Nuestros Servicios (Image 4 - 3 Signature Cards)
   ========================================================================== */
.services-section {
    padding: 6.5rem 0 4rem;
    background-color: var(--color-cream);
}

.section-header-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.8rem;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--color-emerald);
    margin-bottom: 0.85rem;
    display: inline-block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-text-dark);
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    margin-top: 1rem;
    line-height: 1.6;
}

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

.service-card {
    position: relative;
    border-radius: 26px;
    min-height: 460px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem 2.2rem;
    color: #ffffff;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.16);
    transition: var(--transition-smooth);
    cursor: pointer;
    background: #111827;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.28);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover .service-card-bg {
    transform: scale(1.08);
    opacity: 0.7;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 22, 36, 0.15) 0%, rgba(16, 22, 36, 0.75) 55%, rgba(16, 22, 36, 0.95) 100%);
    z-index: 2;
}

.service-card-content {
    position: relative;
    z-index: 3;
}

.service-pill-tag {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    background: var(--color-gold);
    color: #111827;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
    text-transform: capitalize;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-link {
    gap: 0.85rem;
    color: #ffd276;
}

/* ==========================================================================
   NEW: Interactive Catalog of All Treatments (from Canva)
   ========================================================================== */
.catalog-section {
    padding: 5rem 0 6rem;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.filter-btn.active {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.2);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.75rem;
}

.catalog-card {
    background: #faf7f2;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 1;
    transform: scale(1);
    will-change: transform, opacity;
}

.catalog-card.filtering-out {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

/* ==========================================================================
   Smooth Section Scroll Reveal Animations & Distinct Module Choreographies
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Neutralize parent clump transform on specialized grid containers */
.hero-content.reveal-on-scroll,
.about-grid.reveal-on-scroll,
.mission-vision-grid.reveal-on-scroll,
.services-grid.reveal-on-scroll,
.catalog-grid.reveal-on-scroll,
.amber-features-grid.reveal-on-scroll,
.location-grid.reveal-on-scroll,
.faq-container.reveal-on-scroll,
.instagram-feed-container.reveal-on-scroll,
.footer-container.reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
}

/* Quick 0.2s reset without delay when element is offscreen, so re-entry has full animations */
.about-grid:not(.revealed) .about-visual-wrapper,
.about-grid:not(.revealed) .about-floating-badge,
.about-grid:not(.revealed) .about-content,
.about-grid:not(.revealed) .about-quote-box,
.about-grid:not(.revealed) .stat-pill,
.mission-vision-grid:not(.revealed) .mv-card-mision,
.mission-vision-grid:not(.revealed) .mv-card-vision,
.services-grid:not(.revealed) .service-card,
.catalog-grid:not(.revealed) .catalog-card,
.amber-features-grid:not(.revealed) .staff-center-logo,
.amber-features-grid:not(.revealed) .specialist-entry,
.amber-features-grid:not(.revealed) .equipment-pill,
.amber-features-grid:not(.revealed) .inclusive-col,
.location-grid:not(.revealed) .location-card,
.location-grid:not(.revealed) .map-wrapper,
.location-grid:not(.revealed) .contact-icon-box,
.faq-container:not(.revealed) .faq-item,
.instagram-feed-container:not(.revealed) .instagram-profile-card,
.instagram-feed-container:not(.revealed) .instagram-post-card,
.instagram-feed-container:not(.revealed) .instagram-bottom-callout,
.footer-container:not(.revealed) .footer-brand,
.footer-container:not(.revealed) .footer-grid>div:nth-child(2),
.footer-container:not(.revealed) .footer-grid>div:nth-child(3),
.footer-container:not(.revealed) .footer-grid>div:nth-child(4),
.footer-container:not(.revealed) .social-icon-btn,
.footer-container:not(.revealed) .footer-bottom {
    transition-duration: 0.2s !important;
    transition-delay: 0s !important;
}

/* ==========================================================================
   MODULO 1: INICIO (HERO) - Entrada Dinámica al Regresar
   ========================================================================== */
.hero-content .hero-eyebrow,
.hero-content .hero-title,
.hero-content .hero-description,
.hero-content .hero-actions {
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.hero-content:not(.revealed) .hero-eyebrow {
    opacity: 0;
    transform: translateY(-22px);
    transition-duration: 0.2s !important;
    transition-delay: 0s !important;
}

.hero-content:not(.revealed) .hero-title {
    opacity: 0;
    transform: translateY(28px);
    transition-duration: 0.2s !important;
    transition-delay: 0s !important;
}

.hero-content:not(.revealed) .hero-description {
    opacity: 0;
    transform: translateY(26px);
    transition-duration: 0.2s !important;
    transition-delay: 0s !important;
}

.hero-content:not(.revealed) .hero-actions {
    opacity: 0;
    transform: translateY(20px) scale(0.92);
    transition-duration: 0.2s !important;
    transition-delay: 0s !important;
}

.hero-content.revealed .hero-eyebrow {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.hero-content.revealed .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.24s;
}

.hero-content.revealed .hero-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.38s;
}

.hero-content.revealed .hero-actions {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.52s;
}

/* ==========================================================================
   MODULO 2: NOSOTROS - Transición 3D Pivot & Puertas Dobles
   ========================================================================== */
.about-grid .about-visual-wrapper {
    opacity: 0;
    transform: perspective(1000px) rotateY(12deg) translateX(-50px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.about-grid .about-floating-badge {
    opacity: 0;
    transform: scale(0.2) rotate(-60deg);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.35s;
}

.about-grid .about-content {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
}

.about-grid .about-pillar-item {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-grid .about-pillar-item:nth-child(1) {
    transition-delay: 0.24s;
}

.about-grid .about-pillar-item:nth-child(2) {
    transition-delay: 0.36s;
}

.about-grid .about-quote-box {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.44s;
}

.about-grid .stat-pill {
    opacity: 0;
    transform: translateY(26px) scale(0.92);
    transition: opacity 0.6s cubic-bezier(0.34, 1.4, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.about-grid .stat-pill:nth-child(1) {
    transition-delay: 0.42s;
}

.about-grid .stat-pill:nth-child(2) {
    transition-delay: 0.54s;
}

.about-grid .stat-pill:nth-child(3) {
    transition-delay: 0.66s;
}

/* When Revealed */
.about-grid.revealed .about-visual-wrapper {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) translateX(0) scale(1);
}

.about-grid.revealed .about-floating-badge {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: badgeGentleFloat 4s ease-in-out infinite 1.2s;
}

@keyframes badgeGentleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-7px) rotate(4deg);
    }
}

.about-grid.revealed .about-content {
    opacity: 1;
    transform: translateX(0);
}

.about-grid.revealed .about-pillar-item {
    opacity: 1;
    transform: translateX(0);
}

.about-grid:not(.revealed) .about-pillar-item {
    transition-duration: 0.2s !important;
    transition-delay: 0s !important;
}

.about-grid.revealed .about-quote-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.about-grid.revealed .stat-pill {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Mission & Vision: Double Door Slide */
.mission-vision-grid .mv-card-mision {
    opacity: 0;
    transform: translateX(-55px) rotate(-1.5deg);
    transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.mission-vision-grid .mv-card-vision {
    opacity: 0;
    transform: translateX(55px) rotate(1.5deg);
    transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.18s;
}

.mission-vision-grid.revealed .mv-card-mision,
.mission-vision-grid.revealed .mv-card-vision {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

/* ==========================================================================
   MODULO 3: SERVICIOS - Abanico 3D & Zoom Fotográfico Vivo
   ========================================================================== */
.services-section .section-header-center {
    opacity: 0;
    transform: translateY(-28px);
    transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-section .section-header-center.revealed {
    opacity: 1;
    transform: translateY(0);
}

.services-grid .service-card {
    opacity: 0;
    transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
    will-change: transform, opacity;
}

.services-grid .service-card:nth-child(1) {
    transform: perspective(1200px) rotateY(16deg) translateY(60px) scale(0.92);
    transition-delay: 0.08s;
}

.services-grid .service-card:nth-child(2) {
    transform: perspective(1200px) translateY(70px) scale(0.90);
    transition-delay: 0.22s;
}

.services-grid .service-card:nth-child(3) {
    transform: perspective(1200px) rotateY(-16deg) translateY(60px) scale(0.92);
    transition-delay: 0.36s;
}

.services-grid.revealed .service-card {
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) translateY(0) scale(1);
}

.services-grid .service-card .service-card-bg {
    transform: scale(1.16);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.services-grid.revealed .service-card .service-card-bg {
    transform: scale(1.04);
}

/* ==========================================================================
   MODULO 4: ESPECIALIDADES - Ola Diagonal & Expansión Elástica
   ========================================================================== */
.catalog-section .section-header-center {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-section .section-header-center.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.catalog-filters {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
}

.catalog-filters.revealed {
    opacity: 1;
    transform: translateY(0);
}

.catalog-grid .catalog-card {
    opacity: 0;
    transform: translateY(42px) scale(0.93);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    will-change: transform, opacity;
}

.catalog-grid.revealed .catalog-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered diagonal cascade (4x4 matrix wave) */
.catalog-grid.revealed .catalog-card:nth-child(1) {
    transition-delay: 0.04s;
}

.catalog-grid.revealed .catalog-card:nth-child(2) {
    transition-delay: 0.09s;
}

.catalog-grid.revealed .catalog-card:nth-child(3) {
    transition-delay: 0.14s;
}

.catalog-grid.revealed .catalog-card:nth-child(4) {
    transition-delay: 0.19s;
}

.catalog-grid.revealed .catalog-card:nth-child(5) {
    transition-delay: 0.23s;
}

.catalog-grid.revealed .catalog-card:nth-child(6) {
    transition-delay: 0.27s;
}

.catalog-grid.revealed .catalog-card:nth-child(7) {
    transition-delay: 0.31s;
}

.catalog-grid.revealed .catalog-card:nth-child(8) {
    transition-delay: 0.35s;
}

.catalog-grid.revealed .catalog-card:nth-child(9) {
    transition-delay: 0.39s;
}

.catalog-grid.revealed .catalog-card:nth-child(10) {
    transition-delay: 0.43s;
}

.catalog-grid.revealed .catalog-card:nth-child(11) {
    transition-delay: 0.47s;
}

.catalog-grid.revealed .catalog-card:nth-child(12) {
    transition-delay: 0.51s;
}

.catalog-grid.revealed .catalog-card:nth-child(13) {
    transition-delay: 0.55s;
}

.catalog-grid.revealed .catalog-card:nth-child(14) {
    transition-delay: 0.59s;
}

.catalog-grid.revealed .catalog-card:nth-child(15) {
    transition-delay: 0.63s;
}

.catalog-grid.revealed .catalog-card:nth-child(16) {
    transition-delay: 0.67s;
}

/* ==========================================================================
   MODULO 5: STAFF & EQUIPOS - Estallido Magnético Central & Efecto Popcorn
   ========================================================================== */
.amber-features-grid .staff-center-logo {
    opacity: 0;
    transform: scale(0.35) rotate(-25deg);
    transition: opacity 0.85s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.12s;
}

.amber-features-grid.revealed .staff-center-logo {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: staffPulseAura 4s ease-in-out infinite 1.2s;
}

@keyframes staffPulseAura {

    0%,
    100% {
        filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.45));
    }

    50% {
        filter: drop-shadow(0 0 32px rgba(245, 185, 66, 0.95));
    }
}

.amber-features-grid .specialist-entry {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.amber-features-grid.revealed .specialist-entry:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.28s;
}

.amber-features-grid.revealed .specialist-entry:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.40s;
}

.amber-features-grid.revealed .specialist-entry:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.52s;
}

/* Left Equipos: Popcorn tags entrance */
.amber-features-grid .amber-col-equipos .amber-col-title {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.amber-features-grid.revealed .amber-col-equipos .amber-col-title {
    opacity: 1;
    transform: translateX(0);
}

.amber-features-grid .equipment-pill {
    opacity: 0;
    transform: scale(0.65) translateY(18px);
    transition: opacity 0.5s cubic-bezier(0.34, 1.45, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.amber-features-grid.revealed .equipment-pill {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.amber-features-grid.revealed .equipment-pill:nth-child(1) {
    transition-delay: 0.15s;
}

.amber-features-grid.revealed .equipment-pill:nth-child(2) {
    transition-delay: 0.20s;
}

.amber-features-grid.revealed .equipment-pill:nth-child(3) {
    transition-delay: 0.25s;
}

.amber-features-grid.revealed .equipment-pill:nth-child(4) {
    transition-delay: 0.30s;
}

.amber-features-grid.revealed .equipment-pill:nth-child(5) {
    transition-delay: 0.35s;
}

.amber-features-grid.revealed .equipment-pill:nth-child(6) {
    transition-delay: 0.40s;
}

.amber-features-grid.revealed .equipment-pill:nth-child(7) {
    transition-delay: 0.45s;
}

.amber-features-grid.revealed .equipment-pill:nth-child(8) {
    transition-delay: 0.50s;
}

.amber-features-grid.revealed .equipment-pill:nth-child(9) {
    transition-delay: 0.55s;
}

.amber-features-grid.revealed .equipment-pill:nth-child(10) {
    transition-delay: 0.60s;
}

/* Right Inclusivo */
.amber-features-grid .inclusive-col {
    opacity: 0;
    transform: translateX(45px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.22s;
}

.amber-features-grid.revealed .inclusive-col {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   MODULO 6: UBICACIÓN - Horizonte Dividido & Despliegue de Mapa
   ========================================================================== */
.location-grid .location-card {
    opacity: 0;
    transform: perspective(1000px) rotateY(6deg) translateX(-45px);
    transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-grid.revealed .location-card {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) translateX(0);
}

.location-grid .contact-icon-box {
    transform: scale(0.6);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.location-grid.revealed .contact-icon-box {
    transform: scale(1);
}

.location-grid.revealed .contact-info-item:nth-child(1) .contact-icon-box {
    transition-delay: 0.25s;
}

.location-grid.revealed .contact-info-item:nth-child(2) .contact-icon-box {
    transition-delay: 0.40s;
}

.location-grid.revealed .contact-info-item:nth-child(3) .contact-icon-box {
    transition-delay: 0.55s;
}

.location-grid .map-wrapper {
    opacity: 0;
    transform: perspective(1000px) rotateY(-6deg) translateX(45px);
    transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
}

.location-grid.revealed .map-wrapper {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) translateX(0);
}

/* ==========================================================================
   MODULO 7: FAQ - Cascada de Preguntas & Acordeón Fluido
   ========================================================================== */
.faq-container .section-header-center {
    opacity: 0;
    transform: translateY(-25px);
    transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-container.revealed .section-header-center {
    opacity: 1;
    transform: translateY(0);
}

.faq-accordion .faq-item {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.faq-container.revealed .faq-item:nth-child(1) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.10s;
}

.faq-container.revealed .faq-item:nth-child(2) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.20s;
}

.faq-container.revealed .faq-item:nth-child(3) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.30s;
}

.faq-container.revealed .faq-item:nth-child(4) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.40s;
}

.faq-container.revealed .faq-item:nth-child(5) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.50s;
}

/* ==========================================================================
   MODULO 7.5: INSTAGRAM FEED (@clinicdream1) - Cascada de Posts & Aro de Stories
   ========================================================================== */
.instagram-feed-container .instagram-profile-card {
    opacity: 0;
    transform: translateY(-24px) scale(0.95);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-feed-container.revealed .instagram-profile-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.instagram-feed-grid .instagram-post-card {
    opacity: 0;
    transform: translateY(35px) scale(0.93);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease;
    will-change: transform, opacity;
}

.instagram-feed-container.revealed .instagram-post-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.08s;
}

.instagram-feed-container.revealed .instagram-post-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.16s;
}

.instagram-feed-container.revealed .instagram-post-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.24s;
}

.instagram-feed-container.revealed .instagram-post-card:nth-child(4) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.32s;
}

.instagram-feed-container.revealed .instagram-post-card:nth-child(5) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.40s;
}

.instagram-feed-container.revealed .instagram-post-card:nth-child(6) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.48s;
}

.instagram-feed-container .instagram-bottom-callout {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-feed-container.revealed .instagram-bottom-callout {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

/* ==========================================================================
   MODULO 8: FOOTER - Cascada de 4 Columnas, Iconos Flotantes & Barra Inferior
   ========================================================================== */
.footer-container .footer-brand {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.footer-container.revealed .footer-brand {
    opacity: 1;
    transform: translateX(0);
}

.footer-container .footer-brand .brand-badge {
    transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-container:not(.revealed) .footer-brand .brand-badge {
    transform: scale(0.65) rotate(-15deg);
}

.footer-container.revealed .footer-brand .brand-badge {
    transform: scale(1) rotate(0deg);
    transition-delay: 0.15s;
}

/* Staggered Social Icon Buttons */
.footer-container .social-icon-btn {
    opacity: 0;
    transform: scale(0.35) translateY(18px);
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-container.revealed .social-icon-btn:nth-child(1) {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.22s;
}

.footer-container.revealed .social-icon-btn:nth-child(2) {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.32s;
}

.footer-container.revealed .social-icon-btn:nth-child(3) {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.42s;
}

.footer-container.revealed .social-icon-btn:nth-child(4) {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.52s;
}

/* Column 2: Navegación Rápida */
.footer-container .footer-grid>div:nth-child(2) {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-container.revealed .footer-grid>div:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

/* Column 3: Horarios */
.footer-container .footer-grid>div:nth-child(3) {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-container.revealed .footer-grid>div:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.28s;
}

/* Column 4: Contacto */
.footer-container .footer-grid>div:nth-child(4) {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-container.revealed .footer-grid>div:nth-child(4) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.38s;
}

/* Footer Bottom Bar */
.footer-container .footer-bottom {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-container.revealed .footer-bottom {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.48s;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.07);
    border-color: rgba(245, 185, 66, 0.4);
    background: #ffffff;
}

.catalog-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.catalog-category-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
}

.tag-terapia {
    background: #e0f2fe;
    color: #0369a1;
}

.tag-acupuntura {
    background: #fef3c7;
    color: #92400e;
}

.tag-fisioestetica {
    background: #fce7f3;
    color: #9d174d;
}

.catalog-item-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.65rem;
}

.catalog-item-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.catalog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.catalog-action-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #b87c17;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.catalog-action-link:hover {
    color: #92400e;
}

/* ==========================================================================
   Equipos, Staff & Inclusivo Section (Image 5)
   ========================================================================== */
.amber-features-section {
    background-color: var(--color-amber-section);
    color: #111827;
    padding: 5.5rem 0;
}

.amber-features-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.amber-col-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    color: #111827;
}

.equipment-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.equipment-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
    transition: var(--transition-smooth);
    cursor: default;
}

.equipment-pill:hover {
    background: rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
}

.staff-center-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.staff-center-logo {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.8rem;
    border: 3px solid #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.staff-center-logo:hover {
    transform: scale(1.06);
}

.staff-center-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialists-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    width: 100%;
}

.specialist-entry {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.specialist-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.specialist-role {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(17, 24, 39, 0.85);
}

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

.inclusive-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #111827;
}

/* ==========================================================================
   Ubicación, Contacto & Banner Oficial
   ========================================================================== */
.location-section {
    padding: 6rem 0;
    background-color: var(--color-cream);
}

/* Banner Invitación a la Acción Oficial */
.clinic-cta-banner {
    background: linear-gradient(135deg, #090e17 0%, #111e2f 50%, #0a1320 100%);
    border-radius: 28px;
    padding: clamp(2.2rem, 4vw, 3.8rem);
    color: #ffffff;
    margin-bottom: 3.5rem;
    box-shadow: 0 20px 50px rgba(9, 14, 23, 0.35), 0 0 0 1px rgba(245, 185, 66, 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.clinic-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 185, 66, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fca5a5;
    margin-bottom: 1.25rem;
}

.cta-banner-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 1rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-banner-desc {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    color: #cbd5e1;
    max-width: 720px;
    margin: 0 auto 1.25rem;
    line-height: 1.6;
}

.cta-banner-highlight {
    display: inline-block;
    padding: 0.65rem 1.4rem;
    background: rgba(245, 185, 66, 0.12);
    border: 1px solid rgba(245, 185, 66, 0.35);
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fde68a;
    margin-bottom: 2rem;
}

.cta-banner-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.9rem;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.96rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp-cta:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.location-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.8rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fef3c7;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.contact-details p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.address-reference {
    display: inline-block;
    color: #b45309;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(245, 185, 66, 0.12);
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    margin: 0.25rem 0;
}

.contact-phone-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.contact-phone-link:hover {
    color: #d97706;
}

.contact-whatsapp-link {
    display: inline-flex;
    align-items: center;
    color: #15803d;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 0.35rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-whatsapp-link:hover {
    color: #166534;
    transform: translateX(3px);
}

.map-wrapper {
    height: 100%;
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border: 4px solid #ffffff;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

/* ==========================================================================
   NEW: FAQ Accordion Section
   ========================================================================== */
.faq-section {
    padding: 5.5rem 0;
    background: #ffffff;
}

.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.4rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    padding: 0;
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--color-gold-dark);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.65;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 1rem;
}

/* ==========================================================================
   Instagram Feed & Community Section (@clinicdream1)
   ========================================================================== */
.instagram-feed-section {
    padding: 5.5rem 0 6rem;
    background-color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.instagram-gradient-text {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.instagram-header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

/* Profile Summary Capsule Card */
.instagram-profile-card {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    background: #ffffff;
    border-radius: 28px;
    padding: 0.85rem 1.6rem 0.85rem 1.1rem;
    box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    margin-top: 0.5rem;
    max-width: 720px;
    width: 100%;
    justify-content: space-between;
}

.profile-avatar-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.instagram-story-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    animation: storyRingSpin 8s linear infinite;
}

@keyframes storyRingSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.profile-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    object-fit: cover;
    background: #ffffff;
}

.profile-info-wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: left;
}

.profile-handle-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.profile-handle {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    font-family: var(--font-sans);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
}

.profile-bio {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

.profile-social-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex-shrink: 0;
}

.btn-instagram-follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    padding: 0.52rem 1.3rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(220, 39, 67, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.btn-instagram-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(220, 39, 67, 0.42);
}

.btn-facebook-follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: #1877f2;
    color: #ffffff;
    padding: 0.52rem 1.3rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.btn-facebook-follow:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.42);
}

/* --------------------------------------------------------------------------
   Filter Tabs for Reels
   -------------------------------------------------------------------------- */
.reel-filters-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

.reel-filter-tab {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #64748b;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.reel-filter-tab:hover {
    color: #0f172a;
    border-color: rgba(217, 119, 6, 0.4);
    background: #fffbeb;
    transform: translateY(-1px);
}

.reel-filter-tab.active {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

/* --------------------------------------------------------------------------
   Authentic Instagram Reels Grid & Vertical Card (4:5 Ratio)
   -------------------------------------------------------------------------- */
.instagram-reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 1rem;
}

.instagram-reel-card {
    display: block;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: #0f172a;
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    aspect-ratio: 4 / 5;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.3s ease;
}

.instagram-reel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px -8px rgba(15, 23, 42, 0.22), 0 0 0 2px rgba(217, 119, 6, 0.35);
}

.reel-thumbnail-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.reel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-reel-card:hover .reel-img {
    transform: scale(1.08);
}

/* Badges Header on Top of Reel */
.reel-top-badges {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    right: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}

.reel-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.25rem 0.6rem 0.25rem 0.3rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.reel-author-avatar {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ffffff;
}

.reel-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(45deg, rgba(240, 148, 51, 0.9), rgba(220, 39, 67, 0.9));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Center Glowing Play Button */
.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid #ffffff;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    opacity: 0.85;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background 0.3s ease;
}

.reel-play-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.65);
    animation: reelPlayPulseAnim 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes reelPlayPulseAnim {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.instagram-reel-card:hover .reel-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
    background: #ffffff;
    color: #d97706;
    box-shadow: 0 14px 35px rgba(217, 119, 6, 0.45);
}

/* Reel Overlay with Real Caption & Metadata */
.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.3) 40%, rgba(15, 23, 42, 0.95) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.3rem;
    z-index: 2;
    transition: background 0.3s ease;
}

.instagram-reel-card:hover .reel-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.5) 40%, rgba(15, 23, 42, 0.98) 100%);
}

.reel-metrics {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.45rem;
}

.reel-badge-pill {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    background: rgba(217, 119, 6, 0.3);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fef3c7;
}

.reel-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    font-family: var(--font-sans);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.6rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.reel-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.reel-watch-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fcd34d;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.reel-open-ig-icon {
    font-size: 0.85rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.instagram-reel-card:hover .reel-open-ig-icon {
    background: #d97706;
    color: #ffffff;
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   Expand / Collapse Bar for Reels
   -------------------------------------------------------------------------- */
.reel-expand-bar {
    display: flex;
    justify-content: center;
    margin-top: 2.2rem;
}

.btn-reel-expand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1.5px solid #d97706;
    color: #92400e;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.75rem 1.8rem;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.12);
    transition: all 0.25s ease;
}

.btn-reel-expand:hover {
    background: #fef3c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.2);
}

.reel-extended-item {
    display: none;
}

.reel-extended-item.visible {
    display: block;
    animation: reelCardFadeIn 0.4s ease forwards;
}

@keyframes reelCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   Instagram Reel Lightbox Modal
   -------------------------------------------------------------------------- */
.modal-window-reel {
    background: #090e17;
    color: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.reel-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reel-modal-profile {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    overflow: hidden;
}

.reel-modal-avatar-ring {
    position: relative;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    padding: 2px;
}

.reel-modal-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    border: 1.5px solid #090e17;
}

.reel-modal-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.reel-modal-handle-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.reel-modal-handle {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.verified-badge-sm {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.reel-modal-caption {
    font-size: 0.72rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.reel-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.btn-reel-open-ig {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 30%, #dc2743 70%, #bc1888 100%);
    color: #ffffff;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-reel-open-ig:hover {
    transform: scale(1.04);
    opacity: 0.95;
}

.reel-close-btn {
    position: static;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.reel-close-btn:hover {
    background: rgba(239, 68, 68, 0.8);
}

.reel-modal-frame-wrap {
    position: relative;
    width: 100%;
    height: 560px;
    background: #000000;
    overflow: hidden;
}

.reel-modal-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #94a3b8;
    font-size: 0.82rem;
    background: #090e17;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.reel-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #d97706;
    border-radius: 50%;
    animation: reelSpinnerSpin 0.8s linear infinite;
}

@keyframes reelSpinnerSpin {
    to {
        transform: rotate(360deg);
    }
}

.reel-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 2;
}

.reel-modal-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.2rem;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-reel-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reel-nav:hover:not(:disabled) {
    background: #d97706;
    color: #ffffff;
    border-color: #d97706;
}

.btn-reel-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.reel-page-counter {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments for Reels
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .instagram-reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem;
    }

    .instagram-profile-card {
        border-radius: 20px;
        flex-direction: column;
        text-align: center;
        padding: 1.4rem;
    }

    .profile-info-wrap {
        text-align: center;
        align-items: center;
    }

    .profile-handle-row {
        justify-content: center;
    }

    .profile-social-actions {
        flex-direction: row;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 600px) {
    .profile-social-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .btn-instagram-follow,
    .btn-facebook-follow {
        width: 100%;
    }

    .instagram-reels-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .reel-modal-frame-wrap {
        height: 500px;
    }

    .modal-window-reel {
        max-width: 95vw;
        border-radius: 20px;
    }

    .reel-filters-wrap {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .reel-filter-tab {
        white-space: nowrap;
    }
}

/* Bottom Callout */
.instagram-bottom-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.8rem;
    font-size: 0.95rem;
    color: #64748b;
    flex-wrap: wrap;
    text-align: center;
}

.instagram-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #92400e;
    font-weight: 700;
    text-decoration: none;
    background: #fef3c7;
    padding: 0.45rem 1.2rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.instagram-link-pill:hover {
    background: #fde68a;
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .instagram-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .instagram-profile-card {
        border-radius: 20px;
        flex-direction: column;
        text-align: center;
        padding: 1.4rem;
    }

    .profile-info-wrap {
        text-align: center;
        align-items: center;
    }

    .profile-handle-row {
        justify-content: center;
    }
}

@media (max-width: 580px) {
    .instagram-feed-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
    background-color: var(--color-dark-bg);
    color: #ffffff;
    padding: 5.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-desc {
    color: var(--color-text-light-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-social-icons {
    display: flex;
    gap: 0.85rem;
    margin-top: 0.6rem;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-bounce);
}

.social-icon-btn:hover {
    background: var(--color-gold);
    color: #111827;
    transform: translateY(-3px);
}

.footer-col-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--color-text-light-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text-light-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   Modals (Appointment Booking & Treatment Details)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(9, 14, 23, 0.82);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        -webkit-backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-window {
    background: #ffffff;
    border-radius: 28px;
    width: 100%;
    max-width: 680px;
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
    position: relative;
    padding: 1.85rem 2.25rem;
    opacity: 0;
    transform: scale(0.85) translateY(36px);
    transition: transform 0.45s cubic-bezier(0.34, 1.45, 0.64, 1),
        opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.modal-window::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.modal-overlay.active .modal-window {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Modal closing animation */
.modal-overlay.closing {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.closing .modal-window {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #64748b;
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 1.2rem;
    text-align: left;
    padding-right: 2rem;
}

.modal-badge-tag {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 0.4rem;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.modal-desc {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 0.35rem;
    line-height: 1.45;
}

/* ==========================================================================
   Appointment Booking Modal Form Styles
   ========================================================================== */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-top: 0.85rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    text-align: left;
}

.form-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.72rem 1rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #cbd5e1;
    background-color: #ffffff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background-color: #ffffff;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3.5px rgba(245, 185, 66, 0.22);
}

/* Custom styled dropdown arrow for selects */
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1rem;
    padding-right: 2.75rem;
    cursor: pointer;
}

.form-select optgroup {
    font-weight: 700;
    font-size: 0.86rem;
    color: #0f172a;
    background: #f1f5f9;
    padding: 0.45rem 0.5rem;
}

.form-select option {
    font-weight: 500;
    font-size: 0.92rem;
    color: #1e293b;
    background: #ffffff;
    padding: 0.4rem 0.6rem;
}

/* Native date input styling polish */
.form-input[type="date"] {
    cursor: pointer;
    color: #334155;
}

.form-textarea {
    resize: vertical;
    min-height: 75px;
    line-height: 1.45;
}

.form-submit-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-whatsapp-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 0.85rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp-action svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.btn-whatsapp-action:hover {
    background: #1ebd56;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
}

.btn-whatsapp-action:hover svg {
    transform: scale(1.1);
}

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

#bookingFeedback {
    margin-top: 0.75rem;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.3s ease forwards;
}

#bookingFeedback.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block !important;
}

#bookingFeedback.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block !important;
}

/* ==========================================================================
   Appointment Booking Modal Form Styles
   ========================================================================== */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-top: 0.85rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    text-align: left;
}

.form-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.72rem 1rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #cbd5e1;
    background-color: #ffffff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background-color: #ffffff;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3.5px rgba(245, 185, 66, 0.22);
}

/* Custom styled dropdown arrow for selects */
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1rem;
    padding-right: 2.75rem;
    cursor: pointer;
}

.form-select optgroup {
    font-weight: 700;
    font-size: 0.86rem;
    color: #0f172a;
    background: #f1f5f9;
    padding: 0.45rem 0.5rem;
}

.form-select option {
    font-weight: 500;
    font-size: 0.92rem;
    color: #1e293b;
    background: #ffffff;
    padding: 0.4rem 0.6rem;
}

/* Native date input styling polish */
.form-input[type="date"] {
    cursor: pointer;
    color: #334155;
}

.form-textarea {
    resize: vertical;
    min-height: 75px;
    line-height: 1.45;
}

.form-submit-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-whatsapp-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 0.85rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp-action svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.btn-whatsapp-action:hover {
    background: #1ebd56;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
}

.btn-whatsapp-action:hover svg {
    transform: scale(1.1);
}

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

#bookingFeedback {
    margin-top: 0.75rem;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.3s ease forwards;
}

#bookingFeedback.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block !important;
}

#bookingFeedback.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block !important;
}

/* ==========================================================================
   Treatment Details Modal with Hero Banner & 2x2 Grid (Reference Design)
   ========================================================================== */
.modal-window-treatment {
    padding: 0;
    overflow: hidden;
    max-width: 740px;
    background: #ffffff;
}

.modal-banner {
    position: relative;
    width: 100%;
    height: 185px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

.modal-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 14, 23, 0.25) 0%, rgba(9, 14, 23, 0.88) 100%);
    z-index: 1;
}

.modal-close-btn-banner {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.modal-close-btn-banner:hover {
    background: rgba(15, 23, 42, 0.95);
    transform: rotate(90deg) scale(1.08);
}

.modal-banner-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem 2.2rem;
    width: 100%;
}

.modal-badge-tag-banner {
    display: inline-block;
    padding: 0.28rem 0.9rem;
    background: var(--color-gold);
    color: #0f172a;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 0.45rem;
    box-shadow: 0 4px 12px rgba(245, 185, 66, 0.35);
}

.modal-title-banner {
    font-family: var(--font-serif);
    font-size: 2.15rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.modal-body-content {
    padding: 1.6rem 2.2rem 2.2rem;
}

.modal-desc-lead {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 1.4rem;
}

/* 2x2 Grid of Soft Cream Pill Cards */
.treatment-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.7rem;
}

.treatment-card-pill {
    background: #f5f1ea;
    border-radius: 18px;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
    transform: translateY(14px) scale(0.97);
}

.modal-overlay.active .treatment-card-pill {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.modal-overlay.active .treatment-card-pill:nth-child(1) {
    transition-delay: 0.08s;
}

.modal-overlay.active .treatment-card-pill:nth-child(2) {
    transition-delay: 0.14s;
}

.modal-overlay.active .treatment-card-pill:nth-child(3) {
    transition-delay: 0.20s;
}

.modal-overlay.active .treatment-card-pill:nth-child(4) {
    transition-delay: 0.26s;
}

.treatment-card-pill:hover {
    background: #ede8df;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.treatment-card-pill-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.treatment-card-pill-desc {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.44;
}

.btn-modal-action {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 9999px;
    background: var(--color-gold);
    color: #0f172a;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(245, 185, 66, 0.45);
    transition: var(--transition-bounce);
}

.btn-modal-action:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -4px rgba(245, 185, 66, 0.6);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 990;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: var(--transition-bounce);
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 16px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-floating-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ==========================================================================
   Scroll To Top Floating Button ("Subir al inicio")
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 32px;
    z-index: 989;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #090e17;
    color: var(--color-gold);
    border: 2px solid rgba(245, 185, 66, 0.75);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(245, 185, 66, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.9);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    background: var(--color-gold);
    color: #090e17;
    border-color: var(--color-gold);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 14px 30px rgba(245, 185, 66, 0.6), 0 0 25px rgba(245, 185, 66, 0.45);
}

.scroll-top-btn svg {
    transition: transform 0.25s ease;
}

.scroll-top-btn:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 92px;
        right: 24px;
        width: 46px;
        height: 46px;
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-visual-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }

    .amber-features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .equipment-tags-cloud {
        justify-content: center;
    }

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

    .location-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

@media (max-width: 1140px) {
    .site-header {
        padding: 0.75rem 0;
        pointer-events: auto;
    }

    .navbar-wrapper {
        padding: 0 1rem;
    }

    .navbar-capsule {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.55rem 1.25rem;
        border-radius: 18px;
    }

    .nav-split.nav-left,
    .nav-split.nav-right {
        display: none !important;
    }

    .brand-link.brand-center {
        margin: 0;
        padding: 0;
    }

    .brand-badge {
        width: 56px;
        height: 56px;
        margin: 0;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(15, 23, 42, 0.06);
        border: 1px solid rgba(15, 23, 42, 0.12);
        border-radius: 8px;
        color: #0f172a;
        font-size: 1.4rem;
        width: 42px;
        height: 42px;
        cursor: pointer;
        z-index: 1005;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .mobile-toggle:hover {
        background: rgba(15, 23, 42, 0.12);
        transform: scale(1.05);
    }

    .mobile-drawer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(9, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
        z-index: 1002;
    }

    .mobile-drawer.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.6rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-menu .nav-link {
        font-size: 1.15rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.25s ease;
        display: block;
        padding: 0.65rem 1.4rem;
        border-radius: 12px;
        width: 100%;
        text-align: center;
    }

    .mobile-nav-menu .nav-link:hover {
        color: var(--color-gold);
        background: rgba(255, 255, 255, 0.08);
    }

    .mobile-nav-menu .nav-link.active {
        color: var(--color-gold);
        background: rgba(245, 185, 66, 0.2);
        font-weight: 700;
        border-left: 4px solid var(--color-gold);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }

    .mobile-cta-item {
        margin-top: 1rem;
    }

    .mobile-nav-menu .nav-cta-btn {
        padding: 0.85rem 2.4rem;
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-room-tabs {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
        border-radius: 16px;
    }

    .hero-room-tabs .room-tab-btn {
        width: 100%;
        padding: 0.9rem 1.1rem;
    }

    .hero-room-tabs .room-tab-btn::before {
        display: block;
    }

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

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

    .modal-window {
        padding: 1.4rem 1.25rem;
        border-radius: 22px;
        max-height: 94vh;
    }

    .modal-window-treatment {
        padding: 0;
    }

    .treatment-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .modal-banner {
        height: 145px;
    }

    .modal-title-banner {
        font-size: 1.65rem;
    }

    .modal-banner-content {
        padding: 1.2rem 1.4rem;
    }

    .modal-body-content {
        padding: 1.2rem 1.4rem 1.6rem;
    }

    .modal-title {
        font-size: 1.45rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}