/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  --bg:         #0d1117;
  --bg-2:       #111820;
  --bg-card:    #141d27;
  --bg-card-2:  #1a2535;
  --blue:       #1EA8DC;
  --blue-2:     #0d8fc0;
  --blue-light: #5bc8f0;
  --blue-glow:  rgba(30,168,220,0.15);
  --blue-glow2: rgba(30,168,220,0.06);
  --white:      #ffffff;
  --white-80:   rgba(255,255,255,0.8);
  --white-60:   rgba(255,255,255,0.6);
  --white-30:   rgba(255,255,255,0.3);
  --white-10:   rgba(255,255,255,0.08);
  --line:       rgba(255,255,255,0.08);
  --sans:       'Plus Jakarta Sans', system-ui, sans-serif;
  --display:    'Syne', 'Plus Jakarta Sans', sans-serif;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --r-card:     16px;
  --r-btn:      100px;
  --shadow-blue: 0 8px 40px rgba(30,168,220,0.25);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
}

/* =============================================================
   2. RESET
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-family: var(--display); }
::selection { background: var(--blue); color: var(--bg); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--blue); color: var(--bg);
  z-index: 9999; border-radius: var(--r-btn); font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* =============================================================
   4. CURSOR
   ============================================================= */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: absolute; width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: absolute; width: 36px; height: 36px;
  border: 1.5px solid rgba(30,168,220,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s;
}
.cursor.is-hovered .cursor-ring { width: 56px; height: 56px; border-color: var(--blue); }

@media (hover: none) { .cursor { display: none; } }

/* =============================================================
   5. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--r-btn);
  font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s, opacity .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue); color: var(--bg);
  box-shadow: 0 4px 20px rgba(30,168,220,0.4);
}
.btn-primary:hover { background: var(--blue-light); box-shadow: var(--shadow-blue); }
.btn-ghost {
  background: var(--white-10); color: var(--white);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--white-10); border-color: var(--white-30); }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: rgba(30,168,220,0.1); }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px; margin-inline: auto;
}
.nav-logo img { height: 48px; width: auto; object-fit: contain; }
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  font-size: .9rem; font-weight: 500;
}
.nav-links a { color: var(--white-80); transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  padding: .5rem 1.25rem; border-radius: var(--r-btn);
  background: var(--blue); color: var(--bg) !important;
  font-weight: 700;
}
.nav-links .nav-cta:hover { background: var(--blue-light); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex; flex-direction: column; gap: 0;
  background: rgba(13,17,23,0.97); backdrop-filter: blur(20px);
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease-out);
  border-top: 1px solid transparent;
}
.nav-mobile.is-open { max-height: 320px; border-color: var(--line); }
.nav-mobile a {
  padding: 1rem 2rem; font-size: 1.1rem; font-weight: 500;
  color: var(--white-80); border-bottom: 1px solid var(--line);
  transition: color .2s, padding-left .2s;
}
.nav-mobile a:hover { color: var(--blue); padding-left: 2.5rem; }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 6rem 2rem 5rem;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.6;
}
.hero-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(30,168,220,0.10) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlowPulse 6s ease-in-out infinite;
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: .6; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 780px; width: 100%;
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: center; text-align: center;
}

/* Hero brand — logo centered */
.hero-brand {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: .25rem;
}
.hero-logo {
  height: 160px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(30,168,220,0.2));
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem 1rem; border-radius: var(--r-btn);
  background: var(--white-10); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 500; color: var(--white-80);
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800; line-height: 1.04; color: var(--white);
}
.hero-em {
  display: block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-style: italic;
}
.hero-sub {
  font-size: 1.15rem; color: var(--white-60);
  max-width: 560px; line-height: 1.7; margin-inline: auto;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem 2rem;
  background: var(--white-10); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px;
}
.hstat { display: flex; flex-direction: column; align-items: center; }
.hstat strong { font-size: 1.4rem; font-family: var(--display); color: var(--blue); }
.hstat span { font-size: .72rem; color: var(--white-60); text-transform: uppercase; letter-spacing: .05em; }
.hstat-sep { width: 1px; height: 36px; background: var(--line); }


.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .72rem; color: var(--white-60); letter-spacing: .08em; text-transform: uppercase;
  z-index: 2;
}
.scroll-bar { width: 1px; height: 40px; background: var(--line); border-radius: 1px; overflow: hidden; }
.scroll-bar-fill { width: 100%; height: 50%; background: var(--blue); animation: scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown {
  0% { transform: translateY(-100%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

/* =============================================================
   8. SECTION COMMONS
   ============================================================= */
section { padding: 6rem 0; }

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .75rem; }
.section-sub { color: var(--white-60); max-width: 560px; margin-inline: auto; line-height: 1.7; }

.kicker {
  display: inline-block; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--blue); margin-bottom: .75rem;
}
.kicker--light { color: var(--blue-light); }

/* =============================================================
   9. SERVICIOS
   ============================================================= */
.servicios { background: var(--bg-2); }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.srv-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 2rem;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .75rem;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  cursor: default;
}
.srv-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,168,220,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.srv-card:hover { transform: translateY(-6px); border-color: rgba(30,168,220,0.3); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.srv-card:hover::before { opacity: 1; }
.srv-card:hover .srv-arrow { color: var(--blue); transform: translateX(4px); }

.srv-icon { font-size: 2rem; }
.srv-card h3 { font-size: 1.15rem; font-family: var(--display); }
.srv-card p { font-size: .9rem; color: var(--white-60); line-height: 1.65; flex: 1; }
.srv-arrow { font-size: 1.2rem; color: var(--white-30); transition: color .3s, transform .3s; }

.srv-card--cta {
  background: linear-gradient(135deg, rgba(30,168,220,0.15) 0%, rgba(30,168,220,0.05) 100%);
  border-color: rgba(30,168,220,0.2);
  cursor: default;
}
.srv-cta-inner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  justify-content: center; height: 100%;
}
.srv-cta-inner p { font-size: .85rem; color: var(--white-60); margin: 0; }
.srv-cta-inner strong { font-size: 1.05rem; line-height: 1.4; }

/* Reveal animation */
.srv-card { opacity: 0; transform: translateY(30px); }
.srv-card.is-visible { opacity: 1; transform: translateY(0); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), box-shadow .3s, border-color .3s; }

/* =============================================================
   10. ÁREAS PRINCIPALES (Ortodoncia / Rehabilitación)
   ============================================================= */
.area-section { padding: 6rem 0; }
.area-section--dark { background: var(--bg); }
.area-section--alt { background: var(--bg-2); }

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

.area-content { display: flex; flex-direction: column; gap: 1.25rem; }
.area-content h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.area-tagline {
  font-size: 1.05rem; font-weight: 600;
  color: var(--blue); font-style: italic;
}
.area-desc { color: var(--white-60); line-height: 1.75; }

.area-treatments {
  list-style: none;
  display: flex; flex-direction: column; gap: .6rem;
  margin: .25rem 0;
}
.area-treatments li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .95rem; color: var(--white-80);
}
.area-treatments li svg { color: var(--blue); flex-shrink: 0; }

.area-doctors { display: flex; flex-direction: column; gap: .75rem; }
.area-doctor {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1.1rem;
  background: var(--white-10); border: 1px solid var(--line);
  border-radius: 12px;
}
.area-doctor-info { display: flex; flex-direction: column; gap: .15rem; }
.area-doctor-info strong { font-size: .95rem; }
.area-doctor-info span { font-size: .8rem; color: var(--white-60); }

/* Area visual */
.area-img-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.area-img-wrap::after {
  content: ''; position: absolute;
  top: 0; left: 0; width: 18%; height: 22%;
  background: radial-gradient(ellipse at top left, rgba(13,17,23,0.85) 0%, transparent 75%);
  pointer-events: none; z-index: 2;
}
.area-img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.area-img-placeholder {
  display: none; /* shown via onerror */
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: .75rem;
  color: var(--white-30); font-size: .85rem; text-align: center;
}
.area-img-badge {
  position: absolute; bottom: 1rem; left: 1rem;
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: var(--r-btn);
  background: rgba(13,17,23,0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: .78rem; font-weight: 600; color: var(--white-80);
}
.area-img-badge svg { color: var(--blue); }

@media (min-width: 860px) {
  .area-grid { grid-template-columns: 1fr 1fr; }
  .area-grid--reverse .area-visual { order: -1; }
}

/* =============================================================
   11. NOSOTROS (sección index)
   ============================================================= */
.nosotros { background: var(--bg-2); }
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
.nos-visual {
  position: relative; display: flex; justify-content: center; align-items: stretch;
}
.nos-img-main {
  width: 100%; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); min-height: 420px;
  position: relative; background: var(--bg-card);
}
.nos-img-main img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; position: absolute; inset: 0;
}
.nos-img-placeholder {
  position: absolute; inset: 0;
  display: none; align-items: center; justify-content: center;
}

.nos-content { display: flex; flex-direction: column; gap: 1rem; }
.nos-content h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.nos-content h2 em { font-style: italic; color: var(--blue); }
.nos-content p { color: var(--white-60); line-height: 1.75; }

.nos-valores { display: flex; flex-direction: column; gap: 1rem; margin-top: .5rem; }
.nval {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; border-radius: 12px;
  background: var(--white-10); border: 1px solid var(--line);
}
.nval-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-glow); border: 1px solid rgba(30,168,220,0.2);
  border-radius: 8px; color: var(--blue);
}
.nval strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
.nval p { font-size: .85rem; color: var(--white-60); margin: 0; }

/* =============================================================
   12. TESTIMONIOS
   ============================================================= */
.testimonios { background: var(--bg); overflow: hidden; }

.testi-track-wrap { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.testi-track {
  display: flex; gap: 1.25rem;
  animation: testiScroll 30s linear infinite;
  width: max-content;
}
.testi-track:hover { animation-play-state: paused; }
@keyframes testiScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testi-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 1.5rem 2rem;
  width: 340px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: .75rem;
}
.testi-stars { color: #fbbf24; font-size: 1rem; letter-spacing: .1em; }
.testi-card p { color: var(--white-80); font-size: .92rem; line-height: 1.7; flex: 1; }
.testi-card footer { display: flex; flex-direction: column; gap: .1rem; }
.testi-card footer strong { font-size: .9rem; }
.testi-card footer span { font-size: .78rem; color: var(--white-60); }

.testi-rating {
  display: flex; align-items: center; gap: .75rem;
  justify-content: center; margin-top: 2rem;
}
.tr-stars { color: #fbbf24; font-size: 1.2rem; }
.testi-rating strong { font-size: 2rem; font-family: var(--display); color: var(--blue); }
.testi-rating span { color: var(--white-60); font-size: .85rem; }

/* =============================================================
   13. UBICACIÓN
   ============================================================= */
.ubicacion { background: var(--bg-2); }

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.ubi-info { display: flex; flex-direction: column; gap: 1.5rem; }
.ubi-item { display: flex; align-items: flex-start; gap: 1rem; }
.ubi-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue-glow); border: 1px solid rgba(30,168,220,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.ubi-item > div { display: flex; flex-direction: column; gap: .2rem; }
.ubi-item strong { font-size: .9rem; }
.ubi-item address, .ubi-item span, .ubi-item a { font-size: .9rem; color: var(--white-60); }
.ubi-item a { color: var(--blue); }
.ubi-item a:hover { text-decoration: underline; }

.ubi-map {
  height: 380px; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line);
}
.ubi-map iframe { width: 100%; height: 100%; }

/* =============================================================
   14. CITA
   ============================================================= */
.cita { background: var(--bg); position: relative; overflow: hidden; }

.cita-bg-anim { position: absolute; inset: 0; pointer-events: none; }
.cita-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .25;
}
.cita-orb-1 { width: 500px; height: 500px; background: var(--blue); top: -100px; left: -100px; animation: orbFloat1 12s ease-in-out infinite; }
.cita-orb-2 { width: 400px; height: 400px; background: #0d8fc0; bottom: -100px; right: -100px; animation: orbFloat2 10s ease-in-out infinite; }
@keyframes orbFloat1 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-30px,-40px); } }

.cita-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr;
  gap: 3rem; align-items: start;
}

.cita-copy { display: flex; flex-direction: column; gap: .75rem; }
.cita-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.cita-copy > p { color: var(--white-60); line-height: 1.75; }

.cita-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.cita-list li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: var(--white-80); }
.cita-list li span { color: var(--blue); font-weight: 700; }

.cita-contact { display: flex; flex-direction: column; gap: .75rem; margin-top: .5rem; }
.cita-contact-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; border-radius: 12px;
  background: var(--white-10); border: 1px solid var(--line);
  transition: border-color .25s, background .25s;
}
.cita-contact-link:hover { border-color: var(--blue); background: var(--blue-glow2); }
.cc-icon { font-size: 1.4rem; }
.cita-contact-link > div { display: flex; flex-direction: column; }
.cita-contact-link strong { font-size: .9rem; }
.cita-contact-link span { font-size: .82rem; color: var(--white-60); }

/* Form */
.cita-form-wrap {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 20px; padding: 2rem;
  backdrop-filter: blur(12px);
}
.cita-form h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.fgroup { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .82rem; font-weight: 600; color: var(--white-80); }
.opt { font-weight: 400; color: var(--white-30); }
input, select, textarea {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: .75rem 1rem;
  color: var(--white); font: inherit; font-size: .92rem;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,168,220,0.15);
}
input::placeholder, textarea::placeholder { color: var(--white-30); }
select { cursor: pointer; }
select option { background: var(--bg-2); }
textarea { resize: vertical; }

.btn-default, .btn-sending, .btn-sent { display: inline; }
.btn-sending, .btn-sent { display: none; }
.is-sending .btn-default { display: none; }
.is-sending .btn-sending { display: inline; }
.is-sent .btn-default, .is-sent .btn-sending { display: none; }
.is-sent .btn-sent { display: inline; }
.is-sent { background: #22c55e; box-shadow: 0 4px 20px rgba(34,197,94,0.35); }

.form-note { font-size: .75rem; color: var(--white-30); text-align: center; margin-top: .75rem; line-height: 1.5; }

/* =============================================================
   15. FOOTER
   ============================================================= */
.footer {
  background: var(--bg-2); border-top: 1px solid var(--line);
  padding: 4rem 0 0;
}
.footer-top {
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.footer-logo { height: 72px; width: auto; object-fit: contain; object-position: left; }
.footer-brand > p { font-size: .88rem; color: var(--white-60); max-width: 320px; line-height: 1.7; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--white-10); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--white-60);
  transition: background .25s, color .25s, border-color .25s;
}
.footer-socials a:hover { background: var(--blue-glow); border-color: rgba(30,168,220,0.3); color: var(--blue); }

/* El call-picker en footer-socials debe verse igual que los <a> */
.footer-socials .call-picker { position: relative; }
.footer-socials .call-picker__trigger {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--white-10); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--white-60); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.footer-socials .call-picker__trigger:hover { background: var(--blue-glow); border-color: rgba(30,168,220,0.3); color: var(--blue); }
.footer-socials .call-picker__menu { right: 0; bottom: calc(100% + .5rem); }

.footer-col h4 { font-size: .9rem; font-family: var(--display); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col li { font-size: .88rem; color: var(--white-60); }
.footer-col a { color: var(--white-60); transition: color .2s; }
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-size: .8rem; color: var(--white-30);
}

/* =============================================================
   16. CALL FAB
   ============================================================= */
/* ── Call Picker (dropdown de 2 números) ── */
.call-picker { position: relative; display: inline-flex; }
.call-picker__trigger {
  display: inline-flex; align-items: center; gap: .6rem;
  cursor: pointer; background: none; border: none; padding: 0;
  color: inherit; font: inherit;
}
.call-picker__trigger svg { flex-shrink: 0; }
.call-picker__menu {
  display: none; position: absolute; bottom: calc(100% + .6rem); right: 0;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: .5rem; min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5); z-index: 200;
  flex-direction: column; gap: .25rem;
}
.call-picker.is-open .call-picker__menu { display: flex; }
.call-picker__menu a {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .9rem; border-radius: 8px;
  color: var(--white-80); font-size: .88rem; font-weight: 500;
  transition: background .15s;
}
.call-picker__menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.call-picker__menu a svg { color: var(--blue); flex-shrink: 0; }
.call-picker__label {
  font-size: .7rem; color: var(--white-40); padding: .3rem .9rem 0;
  text-transform: uppercase; letter-spacing: .08em;
}

/* FAB con picker */
.call-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
}
.call-fab .call-picker__trigger {
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1.25rem; border-radius: var(--r-btn);
  background: var(--blue); color: var(--bg);
  font-weight: 700; font-size: .88rem;
  box-shadow: 0 4px 20px rgba(30,168,220,0.4);
  transition: transform .25s var(--ease-bounce), box-shadow .25s;
}
.call-fab .call-picker__trigger:hover { transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-blue); }
.call-fab .call-picker__menu { bottom: calc(100% + .6rem); right: 0; }

/* Picker en btn btn-ghost */
.btn.call-picker__trigger { display: inline-flex; }

/* Hero brand */
.hero-brand {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  margin-bottom: .5rem;
}
.hero-logo {
  height: 140px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(30,168,220,0.3));
}
.hero-brand-name {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  letter-spacing: .25em; color: var(--white);
  text-transform: uppercase;
}

/* =============================================================
   17. REVEAL ANIMATIONS
   ============================================================= */
.reveal-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   18. RESPONSIVE
   ============================================================= */
@media (min-width: 540px) {
  .frow { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .ubicacion-grid { grid-template-columns: 1fr 1fr; }
  .nosotros-grid { grid-template-columns: 1.15fr 0.85fr; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
  .ad-compare { flex-direction: row; }
}

@media (min-width: 960px) {
  .cita-grid { grid-template-columns: 1fr 1fr; }
  .nos-img-main { min-height: 560px; }
}

@media (min-width: 1280px) {
  .servicios-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile nav show */
@media (max-width: 719px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero { padding-top: 5rem; }
  .hero-stats { flex-direction: column; gap: .75rem; }
  .hstat-sep { width: 80px; height: 1px; }
  .ad-compare { flex-direction: column; }
  .ad-img-placeholder { min-height: 200px; }
  .frow { grid-template-columns: 1fr; }
}

/* =============================================================
   19. REDUCED MOTION (only intrusive)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-canvas { display: none; }
  .hero-glow { animation: none; }
  .badge-dot { animation: none; }
  .scroll-bar-fill { animation: none; }
  .cita-orb { animation: none; }
  .reveal-up { opacity: 1; transform: none; }
  .srv-card { opacity: 1; transform: none; }
}
