/**
 * @file dra-analia-volpi.css
 * @description Estilos principales del portal inmersivo - Dra. Analía Volpi
 * @author Innectia Engineering Division (https://innectia.com)
 * @version 1.0.0
 */

/* ============================================
   0. CUSTOM PROPERTIES (PALETA DE MARCA)
   ============================================ */
:root {
  --bg: #0A1210;
  --panel: #111F18;
  --panel-2: #182A20;
  --line: rgba(220, 230, 222, 0.10);
  --line-strong: rgba(220, 230, 222, 0.20);
  --text: #EAF0EB;
  --muted: #8FA694;
  --primary: #2D5A3D;
  --accent: #6B8F71;
  --accent-deep: #3D6B4A;
  --gold: #B8976A;
  --gold-dim: rgba(184, 151, 106, 0.15);
  --alert: #E4432B;
  --conversion: #25D366;
  --header-h: 72px;
  --footer-h: 48px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-slide: cubic-bezier(.16, .84, .24, 1);
  --radius: 12px;
  --radius-sm: 8px;
}

/* ============================================
   1. RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }

/* ============================================
   2. CUSTOM CURSOR
   ============================================ */
html {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='%236B8F71' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%236B8F71'/%3E%3C/svg%3E") 12 12, auto;
}
a, button, [role="button"], .clickable {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='6' fill='none' stroke='%23B8976A' stroke-width='1.5'/%3E%3Ccircle cx='14' cy='14' r='2.5' fill='%23B8976A'/%3E%3C/svg%3E") 14 14, pointer;
}

/* ============================================
   3. HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 18, 16, 0.85);
  border-bottom: 1px solid var(--line);
  transition: background .4s;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
}

.header-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.header-logo-glow {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.5;
  animation: logoBreath 3s ease-in-out infinite;
}

@keyframes logoBreath {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.06); }
}

.header-title {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
}

.header-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 32px);
}

.header-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color .3s;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .3s var(--ease-slide);
}

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

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

/* Language Selector */
.lang-selector {
  display: flex;
  gap: 6px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.lang-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--muted);
  transition: all .25s;
}

.lang-btn.active {
  background: var(--accent-deep);
  color: var(--text);
}

.lang-btn:hover:not(.active) {
  color: var(--text);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all .3s;
}

/* ============================================
   4. PAGER SYSTEM (ZERO SCROLL)
   ============================================ */
.pager-viewport {
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--header-h));
  margin-top: var(--header-h);
}

.pager-track {
  transition: transform .85s var(--ease-slide);
  will-change: transform;
}

.screen {
  height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Video backgrounds */
.screen-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.screen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 18, 16, 0.82) 0%,
    rgba(10, 18, 16, 0.70) 40%,
    rgba(10, 18, 16, 0.85) 100%
  );
  z-index: 1;
}

.screen-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ============================================
   5. NAVIGATION ARROWS & INDICATORS
   ============================================ */
.pager-arrows {
  position: fixed;
  right: clamp(12px, 2vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pager-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  background: rgba(10, 18, 16, 0.6);
  transition: all .3s;
  color: var(--muted);
}

.pager-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(10, 18, 16, 0.9);
}

.pager-arrow:disabled {
  opacity: 0.25;
  pointer-events: none;
}

.pager-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pager-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* Dot indicators */
.pager-dots {
  position: fixed;
  left: clamp(12px, 2vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pager-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: all .4s var(--ease-slide);
  padding: 0;
}

.pager-dot.active {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(184, 151, 106, 0.4);
  transform: scale(1.3);
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
}

.eyebrow {
  font-size: clamp(10px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--conversion);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  background: var(--conversion);
  opacity: 0;
  filter: blur(12px);
  animation: btnGlow 2.5s ease-in-out infinite;
  z-index: -1;
}

@keyframes btnGlow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.08); }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.03);
  transition: all .3s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.04em;
}

/* ============================================
   7. ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.about-text p {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.7;
  color: var(--muted);
}

.specialty-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.specialty-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--accent-deep);
  border-radius: 20px;
  background: rgba(107, 143, 113, 0.08);
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo-frame {
  position: relative;
  width: clamp(220px, 22vw, 320px);
  height: clamp(220px, 22vw, 320px);
  border-radius: 50%;
}

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

.about-photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.3;
  animation: ringPulse 4s ease-in-out infinite;
}

.about-photo-ring-2 {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.15;
  animation: ringPulse 4s ease-in-out infinite 1s;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.02); }
}

/* ============================================
   8. TREATMENTS SECTION
   ============================================ */
.treatments-content {
  width: 100%;
}

.treatments-header {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
}

.treat-card {
  background: rgba(17, 31, 24, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 32px);
  backdrop-filter: blur(12px);
  transition: all .4s var(--ease-slide);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.treat-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.treat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.treat-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.treat-card h3 {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  color: var(--text);
}

.treat-card p {
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.6;
  color: var(--muted);
}

/* ============================================
   9. CONTACT SECTION
   ============================================ */
.contact-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 700px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
}

.contact-channels {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

/* ============================================
   10. CONCIERGE WIDGET
   ============================================ */
.concierge-fab {
  position: fixed;
  bottom: calc(var(--footer-h) + 20px);
  right: clamp(16px, 3vw, 32px);
  z-index: 2000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(61, 107, 74, 0.4);
  transition: all .3s;
  animation: fabPulse 3s ease-in-out infinite;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(61, 107, 74, 0.3); }
  50% { box-shadow: 0 6px 32px rgba(61, 107, 74, 0.6), 0 0 0 8px rgba(61, 107, 74, 0.1); }
}

.concierge-fab:hover {
  transform: scale(1.08);
}

.concierge-fab svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.concierge-fab.hidden {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

/* Proactive bubble */
.concierge-proactive {
  position: fixed;
  bottom: calc(var(--footer-h) + 90px);
  right: clamp(16px, 3vw, 32px);
  z-index: 1999;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius) var(--radius) 4px var(--radius);
  padding: 14px 18px;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: all .4s var(--ease-slide);
  pointer-events: none;
}

.concierge-proactive.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.concierge-proactive-close {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1;
  padding: 2px 4px;
}

/* Panel */
.concierge-panel {
  position: fixed;
  bottom: calc(var(--footer-h) + 12px);
  right: clamp(16px, 3vw, 32px);
  z-index: 2001;
  width: clamp(320px, 28vw, 400px);
  max-height: calc(100vh - var(--header-h) - var(--footer-h) - 32px);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all .35s var(--ease-slide);
}

.concierge-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.concierge-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}

.concierge-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.concierge-avatar svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.concierge-status {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--conversion);
  border: 2px solid var(--panel-2);
}

.concierge-header-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.concierge-header-info span {
  font-size: 11px;
  color: var(--muted);
}

.concierge-close {
  margin-left: auto;
  font-size: 20px;
  color: var(--muted);
  padding: 4px;
  transition: color .2s;
}

.concierge-close:hover {
  color: var(--text);
}

.concierge-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.concierge-body::-webkit-scrollbar { width: 4px; }
.concierge-body::-webkit-scrollbar-track { background: transparent; }
.concierge-body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 2px; }

/* Messages */
.msg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: msgIn .4s var(--ease-slide) both;
}

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

.msg-bot .msg-bubble {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) var(--radius) 4px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
}

.msg-user .msg-bubble {
  background: var(--accent-deep);
  border: 1px solid var(--accent);
  border-radius: var(--radius) var(--radius) 4px var(--radius);
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
  align-self: flex-end;
}

/* Options chips */
.msg-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.chip {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  transition: all .25s;
  line-height: 1.4;
}

.chip:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold);
  transform: translateX(4px);
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) var(--radius) 4px;
  font-size: 12px;
  color: var(--muted);
}

.typing-dots {
  display: flex;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: typeDot 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typeDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* WhatsApp button */
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--conversion);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .3s;
  margin-top: 4px;
  width: 100%;
}

.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  color: #fff;
}

.wa-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================
   11. FOOTER (INNECTIA STANDARD)
   ============================================ */
.site-footer {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  height: var(--footer-h);
  z-index: 9999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(8, 8, 10, 0.90);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-left a {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  transition: color .25s;
}

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

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  transition: color .25s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   12. ANIMATIONS (REVEAL ON SLIDE)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-slide), transform .6s var(--ease-slide);
}

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

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* Scanline texture for hero */
.scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(107, 143, 113, 0.015) 2px,
    rgba(107, 143, 113, 0.015) 4px
  );
  animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
  from { background-position: 0 0; }
  to { background-position: 0 100px; }
}

/* ============================================
   13. CURSOR TRAIL
   ============================================ */
.cursor-trail {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: trailFade .8s ease-out forwards;
  white-space: nowrap;
}

@keyframes trailFade {
  to { opacity: 0; transform: translateY(-16px); }
}

.click-burst {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: burstExpand .5s ease-out forwards;
}

@keyframes burstExpand {
  to { width: 60px; height: 60px; opacity: 0; margin-left: -18px; margin-top: -18px; }
}

/* ============================================
   14. RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; }

  .header-nav.mobile-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(10, 18, 16, 0.96);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }

  .header-nav.mobile-open .lang-selector {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo-wrap {
    order: -1;
  }

  .about-photo-frame {
    width: 180px;
    height: 180px;
  }

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

  .pager-dots,
  .pager-arrows {
    display: none;
  }

  .concierge-panel {
    right: 8px;
    left: 8px;
    width: auto;
    bottom: calc(var(--footer-h) + 8px);
    max-height: calc(100vh - var(--header-h) - var(--footer-h) - 20px);
  }
}

@media (max-width: 600px) {
  :root { --header-h: 60px; }

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

  .hero-title {
    font-size: clamp(24px, 7vw, 36px);
  }

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

  .btn-primary, .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .contact-channels {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   15. ATENCION ONLINE (FULLSCREEN CHAT MODE)
   ============================================ */
.fullscreen-chat .concierge-panel {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 600px;
  max-height: 100vh;
  margin: 0 auto;
  border-radius: 0;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.fullscreen-chat .concierge-fab,
.fullscreen-chat .concierge-proactive,
.fullscreen-chat .site-footer {
  display: none;
}

/* ============================================
   16. SEO HIDDEN CONTENT
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   17. REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
