:root {
  --primary: #1F989B;
  --primary-dark: #177577;
  --secondary: #38C0CC;
  --accent: #56ADAF;
  --light: #E1F7F8;
  --lighter: #F0FBFB;
  --white: #FFFFFF;
  --black: #0A1A1B;
  --dark: #1A2E2F;
  --text: #4A6667;
  --text-light: #7A9A9B;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-weight: 300; color: var(--dark); background: var(--white); overflow-x: hidden; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Particles ── */
#particles-canvas { position: fixed; top:0; left:0; width:100%; height:100%; pointer-events: none; z-index: 0; opacity: 0.35; }

/* ── Navbar ── */
.navbar { position: fixed; top:0; left:0; right:0; z-index: 1000; padding: 20px 0; transition: all 0.5s var(--ease-out); }
.navbar.scrolled { backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); padding: 10px 0; box-shadow: 0 1px 0 rgba(31,152,155,0.08); }
.navbar.scrolled:not(.on-dark) { background: rgba(255,255,255,0.92); }
.navbar.scrolled.on-dark { background: rgba(10,26,27,0.85); box-shadow: none; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; transition: filter 0.4s; }
.navbar.on-dark .nav-logo img { filter: brightness(0) invert(1); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 400; color: var(--text); letter-spacing: 1.5px; text-transform: uppercase; position: relative; transition: color 0.3s; }
.navbar.on-dark .nav-links a { color: rgba(255,255,255,0.7); }
.navbar.on-dark .nav-links a:hover { color: var(--white); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--secondary); transition: width 0.4s var(--ease-out); }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.navbar.on-dark .nav-links a:hover { color: var(--secondary); }

.nav-contact { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 13px; font-weight: 400; color: var(--text); letter-spacing: 0.5px; transition: color 0.3s; }
.navbar.on-dark .nav-phone { color: rgba(255,255,255,0.7); }
.nav-phone:hover { color: var(--primary); }

.nav-social { display: flex; gap: 10px; }
.nav-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(31,152,155,0.15); display: flex; align-items: center; justify-content: center; transition: all 0.3s; color: var(--text-light); }
.navbar.on-dark .nav-social a { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.5); }
.nav-social a:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-2px); }
.nav-social svg { width: 14px; height: 14px; fill: currentColor; }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 1.5px; background: var(--dark); transition: all 0.3s; display: block; }
.navbar.on-dark .nav-burger span { background: white; }

/* ── Hero ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--black); }
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center center; filter: brightness(0.4) saturate(0.85); }
.hero-slide.active img { }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,27,0.5) 0%, transparent 40%), linear-gradient(0deg, rgba(10,26,27,0.75) 0%, transparent 50%), linear-gradient(90deg, rgba(10,26,27,0.4) 0%, transparent 60%); z-index: 2; }

.hero-content { position: relative; z-index: 10; padding: 0 24px; max-width: 800px; margin-left: 8%; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s var(--ease-out) 0.3s forwards; }
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--secondary); }
.hero-eyebrow-text { font-size: 12px; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; color: var(--secondary); }

.hero h1 { font-family: var(--font-display); font-size: clamp(42px, 6vw, 76px); font-weight: 300; line-height: 1.08; color: var(--white); letter-spacing: -0.5px; margin-bottom: 20px; opacity: 0; transform: translateY(30px); animation: fadeUp 1s var(--ease-out) 0.5s forwards; }
.hero h1 em { font-style: italic; color: var(--secondary); font-weight: 300; }

.hero-sub { font-size: 16px; font-weight: 200; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 480px; margin-bottom: 40px; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s var(--ease-out) 0.7s forwards; }

.hero-tagline { font-family: var(--font-display); font-size: 20px; font-style: italic; color: rgba(255,255,255,0.45); margin-bottom: 36px; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s var(--ease-out) 0.65s forwards; letter-spacing: 0.5px; }

.hero-actions { display: flex; align-items: center; gap: 24px; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s var(--ease-out) 0.9s forwards; }

.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: var(--primary); color: white; font-size: 13px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; position: relative; overflow: hidden; transition: all 0.4s var(--ease-out); }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: var(--secondary); transform: translateX(-100%); transition: transform 0.5s var(--ease-out); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 0; color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 300; letter-spacing: 1.5px; text-transform: uppercase; transition: color 0.3s; }
.btn-ghost:hover { color: var(--secondary); }

.hero-indicators { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); z-index: 10; display: flex; flex-direction: column; gap: 12px; }
.hero-indicator { width: 3px; height: 24px; background: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.4s var(--ease-out); border-radius: 2px; }
.hero-indicator.active { height: 48px; background: var(--secondary); }

.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.35); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; animation: float 3s ease-in-out infinite; }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent); }

/* ── Sections ── */
.section { position: relative; z-index: 1; padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 11px; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; color: var(--primary); }
.section-eyebrow::before, .section-eyebrow::after { content: ''; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.section-eyebrow::after { background: linear-gradient(90deg, var(--accent), transparent); }
.section-title { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 56px); font-weight: 300; color: var(--dark); letter-spacing: -0.3px; line-height: 1.15; }
.section-title em { font-style: italic; color: var(--primary); }

/* ── Treatments ── */
.treatments { background: var(--white); }
.treatments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.treatment-card { position: relative; overflow: hidden; cursor: default; background: var(--light); padding: 48px 32px; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; transition: background 0.5s; }
.treatment-card:hover { background: var(--lighter); }
.treatment-card-number { position: absolute; top: 24px; right: 24px; font-family: var(--font-display); font-size: 72px; font-weight: 300; color: var(--primary); opacity: 0.06; line-height: 1; }
.treatment-card-icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(31,152,155,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--primary); transition: all 0.5s var(--ease-out); }
.treatment-card:hover .treatment-card-icon { background: var(--primary); border-color: var(--primary); color: white; }
.treatment-card-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.treatment-card h3 { font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--dark); margin-bottom: 12px; line-height: 1.2; }
.treatment-card p { font-size: 14px; font-weight: 300; color: var(--text); line-height: 1.6; max-width: 280px; }
.treatment-card { cursor: pointer; }
.treatment-card-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); transition: gap 0.3s; }
.treatment-card-toggle svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.4s var(--ease-out); }
.treatment-card.expanded .treatment-card-toggle svg { transform: rotate(180deg); }
.treatment-details { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease-out), opacity 0.4s; opacity: 0; }
.treatment-card.expanded .treatment-details { opacity: 1; }
.treatment-details-inner { padding: 24px 0 8px; }
.treatment-details-inner ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.treatment-details-inner li { padding: 10px 0; border-bottom: 1px solid rgba(31,152,155,0.06); font-size: 13.5px; font-weight: 300; color: var(--dark); letter-spacing: 0.2px; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.3s, color 0.3s; }
.treatment-card.expanded .treatment-details-inner li { opacity: 1; transform: translateX(0); }
.treatment-details-inner li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; }
.treatment-details-inner li:hover { color: var(--primary); }

/* Tech items - play opens YouTube */
.tech-item { cursor: pointer; position: relative; }
.tech-item-play { width: 16px; height: 16px; opacity: 0; transition: opacity 0.3s; flex-shrink: 0; }
.tech-item:hover .tech-item-play { opacity: 1; }
.tech-item-play svg { width: 16px; height: 16px; fill: var(--secondary); }

/* Video poster card */
.video-inline-wrap { position: relative; flex: 1; max-width: 640px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #000; }
.video-inline-poster { position: absolute; inset: 0; cursor: pointer; z-index: 2; }
.video-inline-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out), filter 0.6s; filter: brightness(0.6); }
.video-inline-poster:hover img { transform: scale(1.03); filter: brightness(0.4); }
.video-inline-poster.hidden { opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.video-inline-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tech-video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; z-index: 2; }
.tech-video-play-btn { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); border: 1.5px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; transition: all 0.4s var(--ease-out); }
.tech-video-card:hover .tech-video-play-btn { background: var(--primary); border-color: var(--primary); transform: scale(1.08); }
.tech-video-play-btn svg { width: 28px; height: 28px; fill: white; margin-left: 3px; }
.tech-video-label { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.6); letter-spacing: 2px; text-transform: uppercase; }

/* ── Video Banner ── */
.video-banner { position: relative; z-index: 1; padding: 80px 0; background: var(--lighter); }
.video-banner-line { height: 1px; background: linear-gradient(90deg, transparent 5%, var(--accent) 50%, transparent 95%); opacity: 0.3; }
.video-banner-content { display: flex; align-items: center; gap: 48px; padding: 40px 0; }
.video-banner-text { flex-shrink: 0; min-width: 200px; }
.video-banner-eyebrow { display: block; font-size: 11px; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.video-banner-title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 300; color: var(--dark); line-height: 1.2; }
.video-banner-title em { font-style: italic; color: var(--primary); }
.video-banner .tech-video-card { flex: 1; max-width: 640px; aspect-ratio: 16/9; }
@media (max-width: 768px) {
  .video-banner-content { flex-direction: column; gap: 28px; text-align: center; }
  .video-banner .video-inline-wrap { width: 100%; max-width: 100%; }
}

/* ── Video Modal ── */
.video-modal-overlay { position: fixed; inset: 0; z-index: 9000; background: rgba(10,26,27,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease-out); }
.video-modal-overlay.open { opacity: 1; pointer-events: all; }
.video-modal-inner { position: relative; width: 90vw; max-width: 900px; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: #000; transform: scale(0.93); transition: transform 0.4s var(--ease-spring); box-shadow: 0 40px 100px rgba(0,0,0,0.6); }
.video-modal-overlay.open .video-modal-inner { transform: scale(1); }
.video-modal-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; color: white; font-size: 18px; line-height: 1; transition: background 0.3s; z-index: 10; }
.video-modal-close:hover { background: var(--primary); border-color: var(--primary); }

/* ── Intro Overlay ── */
.intro-overlay { position: fixed; inset: 0; z-index: 99999; background: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; transition: opacity 0.8s var(--ease-out); }
.intro-overlay.done { opacity: 0; pointer-events: none; }
.intro-logo-wrap { position: relative; display: inline-block; }
.intro-logo { height: 52px; width: auto; opacity: 0; filter: brightness(0) invert(1); animation: introLogoIn 1.2s var(--ease-out) 0.3s forwards; }
.intro-line { width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--secondary), transparent); animation: introLineIn 1s var(--ease-out) 0.8s forwards; }
#intro-glitter { position: absolute; inset: -20px; pointer-events: none; }

@keyframes introLogoIn { 0% { opacity:0; transform: translateY(12px) scale(0.95); } 100% { opacity:1; transform: translateY(0) scale(1); } }
@keyframes introLineIn { to { width: 200px; } }

/* ── Logo Glitter (navbar) ── */
.nav-logo { position: relative; }
#nav-glitter { position: absolute; inset: -6px; pointer-events: none; z-index: 10; }

/* ── Page Build (hero waits for intro) ── */
body.loading .hero-eyebrow, body.loading .hero h1, body.loading .hero-tagline, body.loading .hero-sub, body.loading .hero-actions { animation-play-state: paused; }
body.loaded .hero-eyebrow { animation: fadeUp 0.8s var(--ease-out) 0s forwards; }
body.loaded .hero h1 { animation: fadeUp 1s var(--ease-out) 0.15s forwards; }
body.loaded .hero-tagline { animation: fadeUp 0.8s var(--ease-out) 0.3s forwards; }
body.loaded .hero-sub { animation: fadeUp 0.8s var(--ease-out) 0.4s forwards; }
body.loaded .hero-actions { animation: fadeUp 0.8s var(--ease-out) 0.55s forwards; }
body.loaded .navbar { animation: fadeDown 0.6s var(--ease-out) 0.2s both; }
@keyframes fadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }

/* ── Tech Marquee ── */
.tech-section { background: var(--dark); padding: 100px 0; overflow: hidden; }
.tech-section .section-eyebrow { color: var(--secondary); }
.tech-section .section-eyebrow::before { background: linear-gradient(90deg, transparent, var(--secondary)); }
.tech-section .section-eyebrow::after { background: linear-gradient(90deg, var(--secondary), transparent); }
.tech-section .section-title { color: var(--white); }
.tech-section .section-title em { color: var(--secondary); }
.tech-marquee { margin-top: 60px; overflow: hidden; position: relative; }
.tech-marquee::before, .tech-marquee::after { content: ''; position: absolute; top:0; bottom:0; width: 120px; z-index: 2; pointer-events: none; }
.tech-marquee::before { left:0; background: linear-gradient(90deg, var(--dark), transparent); }
.tech-marquee::after { right:0; background: linear-gradient(-90deg, var(--dark), transparent); }
.tech-track { display: flex; gap: 60px; animation: marquee 35s linear infinite; width: max-content; }
.tech-item { flex-shrink: 0; display: flex; align-items: center; gap: 16px; padding: 16px 32px; border: 1px solid rgba(56,192,204,0.1); border-radius: 60px; transition: all 0.3s; }
.tech-item:hover { border-color: rgba(56,192,204,0.3); background: rgba(56,192,204,0.05); }
.tech-item-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; }
.tech-item span { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.7); letter-spacing: 1px; white-space: nowrap; }

/* ── SM Skin ── */
.sm-skin { background: var(--black); padding: 120px 0; overflow: hidden; position: relative; z-index: 1; }
.sm-skin::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(56,192,204,0.06) 0%, transparent 60%); pointer-events: none; }
.sm-skin .section-eyebrow { color: var(--secondary); }
.sm-skin .section-eyebrow::before { background: linear-gradient(90deg, transparent, var(--secondary)); }
.sm-skin .section-eyebrow::after { background: linear-gradient(90deg, var(--secondary), transparent); }
.sm-skin .section-title { color: var(--white); }
.sm-skin .section-title em { color: var(--secondary); }
.sm-skin-intro { max-width: 640px; margin: 0 auto 64px; text-align: center; font-size: 16px; font-weight: 200; color: rgba(255,255,255,0.6); line-height: 1.8; }
.sm-skin-intro strong { color: rgba(255,255,255,0.85); font-weight: 400; }

/* Slider */
.sm-skin-slider-wrap { position: relative; }
.sm-skin-slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 0 24px; -ms-overflow-style: none; scrollbar-width: none; cursor: grab; }
.sm-skin-slider:active { cursor: grabbing; }
.sm-skin-slider::-webkit-scrollbar { display: none; }
.sm-skin-slide { flex-shrink: 0; width: 280px; aspect-ratio: 3/4; scroll-snap-align: start; border-radius: 4px; overflow: hidden; border: 1px solid rgba(56,192,204,0.1); transition: border-color 0.3s; }
.sm-skin-slide:hover { border-color: rgba(56,192,204,0.3); }
.sm-skin-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.5s var(--ease-out); }
.sm-skin-slide:hover img { transform: scale(1.04); }
.sm-skin-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }
.sm-skin-nav-arrows { display: flex; gap: 10px; }
.sm-skin-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(56,192,204,0.25); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgba(255,255,255,0.5); transition: all 0.3s; }
.sm-skin-arrow:hover { background: var(--primary); border-color: var(--primary); color: white; }
.sm-skin-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.sm-skin-dots { display: flex; gap: 6px; }
.sm-skin-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: all 0.3s; cursor: pointer; }
.sm-skin-dot.active { background: var(--secondary); width: 18px; border-radius: 3px; }
@media (max-width: 768px) {
  .sm-skin-slide { width: 220px; }
}

/* ── Nosotros ── */
.nosotros { background: var(--lighter); padding: 120px 0; }
.nosotros-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 64px; }
.nosotros-photo-wrap { position: relative; }
.nosotros-photo-frame { position: relative; border-radius: 2px; overflow: hidden; aspect-ratio: 3/4; }
.nosotros-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.nosotros-photo-accent { position: absolute; bottom: -16px; right: -16px; width: 60%; height: 60%; border: 2px solid var(--accent); border-radius: 2px; z-index: -1; opacity: 0.4; }
.nosotros-text {}
.nosotros-name { font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 48px); font-weight: 300; color: var(--dark); line-height: 1.1; margin-bottom: 8px; }
.nosotros-title { font-size: 13px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 36px; }
.nosotros-quote { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 300; font-style: italic; color: var(--text); line-height: 1.7; padding-left: 24px; border-left: 2px solid var(--accent); }
@media (max-width: 860px) {
  .nosotros-layout { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-photo-frame { aspect-ratio: 4/3; max-width: 480px; }
}

/* ── Locations ── */
.locations { background: var(--lighter); }
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.location-card { background: var(--white); padding: 48px 36px; position: relative; overflow: hidden; transition: all 0.5s var(--ease-out); border: 1px solid rgba(31,152,155,0.06); }
.location-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(31,152,155,0.08); border-color: rgba(31,152,155,0.12); }
.location-card-accent { position: absolute; top:0; left:0; right:0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.location-card:hover .location-card-accent { transform: scaleX(1); }
.location-card h3 { font-family: var(--font-display); font-size: 32px; font-weight: 400; color: var(--dark); margin-bottom: 16px; }
.location-card-address { font-size: 15px; font-weight: 300; color: var(--text); line-height: 1.6; margin-bottom: 24px; }
.location-card-address strong { display: block; font-weight: 400; color: var(--dark); margin-bottom: 4px; }
.location-card-maps { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); transition: gap 0.3s; }
.location-card-maps:hover { gap: 12px; }
.location-card-maps svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ── CTA ── */
.cta-band { position: relative; padding: 100px 0; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); overflow: hidden; z-index: 1; }
.cta-band::before { content: ''; position: absolute; inset:0; background: radial-gradient(circle at 20% 50%, rgba(56,192,204,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(86,173,175,0.1) 0%, transparent 50%); }
.cta-band .container { position: relative; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 300; color: var(--white); margin-bottom: 16px; }
.cta-band p { font-size: 16px; font-weight: 200; color: rgba(255,255,255,0.65); margin-bottom: 36px; }
.btn-white { display: inline-flex; align-items: center; gap: 10px; padding: 16px 40px; background: var(--white); color: var(--primary); font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; transition: all 0.4s var(--ease-out); }
.btn-white:hover { background: var(--light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.btn-white svg { width: 18px; height: 18px; fill: currentColor; }

/* ── Footer ── */
.footer { background: var(--black); color: rgba(255,255,255,0.5); padding: 80px 0 40px; position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand-logo { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); transition: all 0.3s; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: white; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-col h4 { font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; font-weight: 300; transition: color 0.3s; }
.footer-col a:hover { color: var(--secondary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; font-size: 13px; }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── WhatsApp FAB ── */
.wa-fab { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 4px 20px rgba(37,211,102,0.3); transition: all 0.3s var(--ease-spring); }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(37,211,102,0.4); }
.wa-fab svg { width: 26px; height: 26px; fill: currentColor; }

/* ── Mobile Nav ── */
.mobile-nav { position: fixed; inset:0; z-index: 9999; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a { font-family: var(--font-display); font-size: 32px; font-weight: 300; color: var(--dark); transition: color 0.3s; }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--dark); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-contact { display: none; }
  .nav-burger { display: flex; }
  .hero-indicators { right: 20px; }
  .hero-content { margin-left: 0; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 50px; }
  .treatments-grid { grid-template-columns: 1fr; gap: 1px; }
  .treatment-card { min-height: 260px; }
  .locations-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-scroll, .hero-indicators { display: none; }
}

/* ── FAQ Accordion ── */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid rgba(31,152,155,0.1); background: var(--lighter); transition: border-color 0.3s; }
.faq-item[open] { border-color: rgba(31,152,155,0.25); }
.faq-item summary { list-style: none; padding: 22px 28px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-size: clamp(17px, 2vw, 21px); font-weight: 400; color: var(--dark); line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; transition: transform 0.35s var(--ease-out); color: var(--primary); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-chevron svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.faq-answer { padding: 0 28px 22px; font-size: 15px; font-weight: 300; color: var(--text); line-height: 1.75; }
.faq-answer a { color: var(--primary); }
@media (max-width: 768px) {
  .faq-item summary { padding: 18px 20px; font-size: 16px; }
  .faq-answer { padding: 0 20px 18px; }
}

.skip-link:focus { left: 12px !important; }

.section-social {
  background: var(--lighter);
}

.section-social .section-title {
  max-width: 720px;
  margin: 0 auto;
}

.social-proof-copy {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
}

.social-facade-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.social-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-card-trigger,
.social-card-link {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(31,152,155,0.14);
  box-shadow: 0 24px 64px rgba(31,152,155,0.12);
  background: #0f1b1c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card-trigger:hover,
.social-card-trigger:focus-visible,
.social-card-link:hover,
.social-card-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(31,152,155,0.18);
}

.social-card-trigger:focus-visible,
.social-card-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.social-card-window {
  --social-primary: #1F989B;
  --social-secondary: #38C0CC;
  --social-glow: rgba(56,192,204,0.26);
  position: relative;
  min-height: 360px;
  padding: 22px;
  background: radial-gradient(circle at top right, var(--social-glow), transparent 45%), linear-gradient(160deg, rgba(10,26,27,0.98), rgba(22,41,42,0.94));
  display: flex;
  flex-direction: column;
}

.social-card--instagram .social-card-window {
  --social-primary: #d34bd8;
  --social-secondary: #f9a03f;
  --social-glow: rgba(211,75,216,0.24);
}

.social-card--youtube .social-card-window {
  --social-primary: #ff4f5e;
  --social-secondary: #ff9a6b;
  --social-glow: rgba(255,79,94,0.22);
}

.social-card--facebook .social-card-window {
  --social-primary: #4c88ff;
  --social-secondary: #79b4ff;
  --social-glow: rgba(76,136,255,0.24);
}

.social-card--tiktok .social-card-window {
  --social-primary: #28e7f0;
  --social-secondary: #ff5a8a;
  --social-glow: rgba(40,231,240,0.22);
}

.social-card-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.social-card-chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--social-primary), var(--social-secondary));
  box-shadow: 0 0 0 6px rgba(255,255,255,0.05);
}

.social-card-mockup {
  position: relative;
  flex: 1;
  margin: 18px 0;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(225,247,248,0.94));
  filter: blur(1.5px) brightness(0.88);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.social-card-trigger:hover .social-card-mockup,
.social-card-trigger:focus-visible .social-card-mockup,
.social-card-link:hover .social-card-mockup,
.social-card-link:focus-visible .social-card-mockup {
  filter: blur(0) brightness(1);
  transform: scale(1.015);
}

.social-card-headerline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.social-card-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--social-primary), var(--social-secondary));
  flex-shrink: 0;
}

.social-card-lines {
  flex: 1;
}

.social-card-line {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(26,46,47,0.18);
}

.social-card-line + .social-card-line {
  margin-top: 8px;
}

.social-card-line--lg { width: 54%; }
.social-card-line--md { width: 34%; }
.social-card-line--sm { width: 42%; }

.social-card-frame {
  height: 160px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31,152,155,0.22), rgba(56,192,204,0.1));
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.social-card-frame::before,
.social-card-frame::after {
  content: '';
  position: absolute;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
}

.social-card-frame::before {
  inset: 18px 24px 60px;
}

.social-card-frame::after {
  left: 24px;
  right: 90px;
  bottom: 22px;
  height: 14px;
}

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

.social-card-grid span {
  height: 64px;
  border-radius: 14px;
  background: rgba(26,46,47,0.1);
}

.social-card-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(10,26,27,0.18);
}

.social-card-cta::after {
  content: '→';
  font-size: 14px;
}

.social-card-caption {
  font-size: 13px;
  color: var(--text-light);
}

.social-card-embed {
  display: none;
}

.social-card-embed[hidden] {
  display: none !important;
}

.social-card-embed:not([hidden]) {
  display: block;
}

.social-card-embed iframe {
  width: 100%;
  min-height: 640px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

.social-card-fallback {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text);
}

.social-card-fallback a {
  color: var(--primary);
}

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

@media (max-width: 960px) {
  .social-facade-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wa-fab {
    width: 60px;
    height: 60px;
  }

  .social-card-window {
    min-height: 320px;
  }

  .social-card-embed iframe {
    min-height: 520px;
  }
}


/* Premium responsive hero art direction */
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  object-position: center center;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }

  .hero-slide img {
    object-position: var(--hero-mobile-position, center center);
  }

  .hero-gradient {
    background:
      linear-gradient(180deg, rgba(10,26,27,0.62) 0%, rgba(10,26,27,0.2) 42%, rgba(10,26,27,0.72) 100%),
      linear-gradient(90deg, rgba(10,26,27,0.36) 0%, transparent 70%);
  }

  .hero-content {
    margin-left: 0;
    padding: 0 38px;
    max-width: 100%;
    transform: translateY(4vh);
  }

  .hero-sub {
    max-width: 34ch;
  }
}

@media (max-width: 420px) {
  .hero-content {
    padding: 0 38px;
    transform: translateY(5vh);
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 60px);
  }

  .hero-sub {
    font-size: 17px;
  }
}
