/* ==========================================================================
   Dr. Cell — Servicio Técnico Celulares
   Concepto: "clínica del celular" — pulso EKG como firma visual
   ========================================================================== */

:root {
  --bg: #06090f;
  --bg-soft: #0b111a;
  --bg-card: #0d1420;
  --line: rgba(122, 168, 255, 0.14);
  --line-strong: rgba(122, 168, 255, 0.28);

  --ink: #eef3fb;
  --ink-dim: #9db0cc;
  --ink-faint: #5f7392;

  --blue: #2e6bff;
  --blue-hi: #5d8dff;
  --cyan: #6fd8ff;
  --glow: rgba(46, 107, 255, 0.45);
  --gold: #e8b96a;

  --wa: #25d366;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;

  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

::selection { background: var(--blue); color: #fff; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.6s ease, visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__logo {
  width: 88px; height: 88px;
  animation: logoPulse 1.6s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(46,107,255,0)); }
  12% { transform: scale(1.08); filter: drop-shadow(0 0 26px rgba(46,107,255,0.55)); }
  30% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(46,107,255,0)); }
}
.ekg { overflow: visible; }
.ekg__trace {
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(111, 216, 255, 0.8));
}
.ekg--preloader .ekg__trace {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: ekgDraw 1.4s ease-in-out infinite;
}
@keyframes ekgDraw {
  0% { stroke-dashoffset: 400; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; opacity: 0.15; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(6, 9, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__brand img {
  width: 42px; height: 42px;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s;
}
.header__brand:hover img {
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(46, 107, 255, 0.6));
}
.header__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.header__name em {
  font-style: normal;
  color: var(--blue-hi);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--wa);
  border: 1px solid rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.08);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.nav__cta svg { width: 18px; height: 18px; }
.nav__cta:hover {
  background: rgba(37, 211, 102, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% center;
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(6, 9, 15, 0.94) 0%,
      rgba(6, 9, 15, 0.82) 30%,
      rgba(6, 9, 15, 0.45) 55%,
      rgba(6, 9, 15, 0.05) 78%),
    linear-gradient(0deg,
      rgba(6, 9, 15, 0.9) 0%,
      rgba(6, 9, 15, 0) 30%);
}
.hero__grid {
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 70% at 25% 55%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 25% 55%, black 0%, transparent 70%);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 26px;
  width: min(1400px, calc(100% - 48px));
  min-width: 0;
  min-height: 100svh;
  margin-inline: auto;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 120px;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0;
}
.icon-pulse { width: 20px; height: 20px; animation: iconBlink 1.8s ease-in-out infinite; }
@keyframes iconBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 9.5vw, 8.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__line .reveal-hero { display: block; }
.hero__title strong {
  font-weight: 700;
  background: linear-gradient(92deg, var(--blue-hi), var(--cyan) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 4px;
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--ink-dim);
  max-width: 44ch;
  margin-bottom: 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex: none;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-dim);
  font-size: 0.95rem;
}
.hero__meta-item svg { width: 20px; height: 20px; color: var(--blue-hi); flex: none; }
.hero__meta-item strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.02rem;
}
.hero__meta-item small { color: var(--ink-faint, var(--ink-faint)); font-size: 0.8rem; }

/* Reveal escalonado del hero */
.reveal-hero {
  opacity: 0;
  transform: translateY(26px);
  animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero__title .reveal-hero {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.reveal-hero:nth-of-type(1), .hero__line:nth-child(1) .reveal-hero { animation-delay: 0.55s; }
.hero__line:nth-child(2) .reveal-hero { animation-delay: 0.68s; }
.hero__line:nth-child(3) .reveal-hero { animation-delay: 0.8s; }
.hero__row { animation-delay: 0.92s; }
.hero__meta { animation-delay: 1.06s; }
.hero__kicker { animation-delay: 0.45s; }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }
@keyframes lineUp { to { opacity: 1; transform: translateY(0); } }

/* EKG del hero */
.hero__ekg {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 80px;
  opacity: 0.85;
  pointer-events: none;
}
.hero__ekg .ekg__trace--loop { stroke-width: 2.5; }

/* Animación de trazo EKG en bucle */
.ekg__trace--loop {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: ekgLoop 5.2s linear infinite;
}
@keyframes ekgLoop {
  0% { stroke-dashoffset: 420; opacity: 1; }
  42% { stroke-dashoffset: 0; opacity: 1; }
  75% { stroke-dashoffset: 0; opacity: 1; }
  92% { stroke-dashoffset: -120; opacity: 0.25; }
  100% { stroke-dashoffset: -420; opacity: 0; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
  transition: border-color 0.3s;
}
.hero__scroll span {
  width: 4px; height: 8px;
  border-radius: 4px;
  background: var(--cyan);
  animation: scrollDot 1.8s ease-in-out infinite;
}
.hero__scroll:hover { border-color: var(--cyan); }
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 16px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  animation: marquee 36s linear infinite;
}
.marquee__track span { white-space: nowrap; }
.marquee .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--glow);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Secciones genéricas
   ========================================================================== */
.section { padding: 110px 0; position: relative; }

.section__head { max-width: 640px; margin-bottom: 56px; }
.section__kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-hi);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section__kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.section__lead { color: var(--ink-dim); font-size: 1.05rem; }

/* Reveal al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Síntomas (servicios)
   ========================================================================== */
.symptoms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sym-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(46, 107, 255, 0.06), transparent 45%),
    var(--bg-card);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}
.sym-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(46, 107, 255, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.sym-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 60px -24px rgba(46, 107, 255, 0.35);
}
.sym-card:hover::before { opacity: 1; }
.sym-card__icon {
  position: relative;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(46, 107, 255, 0.12);
  border: 1px solid rgba(46, 107, 255, 0.3);
  color: var(--blue-hi);
  margin-bottom: 4px;
}
.sym-card__icon > svg:first-child {
  width: 26px; height: 26px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sym-card:hover .sym-card__icon > svg:first-child { transform: scale(1.12); }
.sym-card__ekg {
  position: absolute;
  left: 8px; right: 8px; bottom: 6px;
  height: 22px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.sym-card__ekg path {
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
}
.sym-card:hover .sym-card__ekg { opacity: 1; }
.sym-card:hover .sym-card__ekg path { animation: ekgSmall 1.2s ease-in-out forwards; }
@keyframes ekgSmall { to { stroke-dashoffset: 0; } }

.sym-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sym-card p { color: var(--ink-dim); font-size: 0.95rem; flex: 1; }
.sym-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.3s ease;
}
.sym-card__link svg { width: 16px; height: 16px; }
.sym-card:hover .sym-card__link { gap: 12px; }

/* ==========================================================================
   Proceso
   ========================================================================== */
.process { background: var(--bg-soft); border-block: 1px solid var(--line); }
.process__flow { position: relative; margin-bottom: 48px; }
.process__ekg {
  position: absolute;
  top: -34px; left: -10px; right: -10px;
  height: 120px;
  opacity: 0.55;
  pointer-events: none;
}
.process__ekg svg { width: 100%; height: 100%; }
.process__ekg .ekg__trace--loop { stroke-width: 2.5; }

.process__steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step__n {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--blue-hi);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step p { color: var(--ink-dim); font-size: 0.92rem; }

.process__cta { display: flex; justify-content: center; }

/* ==========================================================================
   Taller
   ========================================================================== */
.taller__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.taller__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -40px rgba(46, 107, 255, 0.35);
}
.taller__media img {
  width: 100%; height: auto;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.taller__media:hover img { transform: scale(1.04); }
.taller__badge {
  position: absolute;
  left: 20px; bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(6, 9, 15, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
}
.taller__badge svg { width: 18px; height: 18px; color: var(--gold); }

.taller__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 22px;
}
.taller__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.taller__list li:hover { border-color: var(--line-strong); transform: translateX(6px); }
.taller__list svg {
  width: 22px; height: 22px;
  flex: none;
  margin-top: 3px;
  color: var(--cyan);
}
.taller__list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.taller__list span { color: var(--ink-dim); font-size: 0.94rem; }

/* ==========================================================================
   Tienda / accesorios
   ========================================================================== */
.shop__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.shop__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -40px rgba(111, 216, 255, 0.28);
}
.shop__media img {
  width: 100%; height: auto;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.shop__media:hover img { transform: scale(1.04); }

.shop__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.chip {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
  cursor: default;
}
.chip:hover {
  color: var(--cyan);
  border-color: var(--blue-hi);
  background: rgba(46, 107, 255, 0.12);
  transform: translateY(-2px);
}

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact { background: var(--bg-soft); border-top: 1px solid var(--line); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}
.contact__card {
  display: grid;
  gap: 26px;
  align-content: start;
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.contact__block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--cyan);
}
.contact__block h3 svg { width: 20px; height: 20px; }
.contact__block p { color: var(--ink-dim); font-size: 0.96rem; }
.contact__block a:hover { color: var(--cyan); }

.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 5px 0; color: var(--ink-dim); }
.hours td:last-child { text-align: right; font-weight: 500; color: var(--ink); }
.hours .closed { color: var(--ink-faint, var(--ink-faint)); }
.hours td.closed:last-child { color: #ff7b7b; }

.contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-display);
  transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { transform: translateY(-2px); filter: brightness(1.15); }
.social-btn--fb { color: #8ab4ff; background: rgba(37, 99, 235, 0.14); border: 1px solid rgba(37, 99, 235, 0.35); }
.social-btn--fb:hover { box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35); }
.social-btn--yt { color: #ff8a8a; background: rgba(255, 34, 34, 0.12); border: 1px solid rgba(255, 34, 34, 0.3); }
.social-btn--yt:hover { box-shadow: 0 8px 28px rgba(255, 34, 34, 0.3); }

.contact__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  min-height: 440px;
}
.contact__map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.9) invert(0.92) hue-rotate(180deg) contrast(0.9);
}
.contact__directions {
  position: absolute;
  right: 20px; bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 12px 40px rgba(46, 107, 255, 0.5);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.contact__directions svg { width: 18px; height: 18px; }
.contact__directions:hover {
  transform: translateY(-2px);
  background: var(--blue-hi);
  box-shadow: 0 16px 48px rgba(46, 107, 255, 0.6);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 36px;
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 54px; height: 54px; border-radius: 50%; }
.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.footer__name em { font-style: normal; color: var(--blue-hi); }
.footer__tag { color: var(--ink-faint, var(--ink-faint)); font-size: 0.85rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__nav a {
  color: var(--ink-dim);
  font-size: 0.92rem;
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--cyan); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  transition: color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.footer__social svg { width: 18px; height: 18px; }
.footer__social a:hover {
  color: var(--cyan);
  border-color: var(--blue-hi);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(46, 107, 255, 0.35);
}
.footer__legal {
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
}
.footer__legal p { color: var(--ink-faint, var(--ink-faint)); font-size: 0.82rem; text-align: center; }

/* ==========================================================================
   WhatsApp flotante
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 95;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 18px 52px rgba(37, 211, 102, 0.6);
}
.wa-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: waRing 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes waRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.75); opacity: 0; }
}
.wa-float__tip {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.wa-float:hover .wa-float__tip,
.wa-float:focus-visible .wa-float__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, background 0.3s, border-color 0.3s;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary {
  background: linear-gradient(120deg, var(--blue), #1f54d6);
  color: #fff;
  box-shadow: 0 10px 34px rgba(46, 107, 255, 0.4);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { left: -80%; }
  85%, 100% { left: 140%; }
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(46, 107, 255, 0.55);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 34px rgba(111, 216, 255, 0.18);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .symptoms__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .taller__grid, .shop__grid { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 76px 0; }
  .container { width: calc(100% - 40px); }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 9, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s, visibility 0.3s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 18px; justify-content: center; }
  .nav-toggle { display: flex; }

  .hero__video { object-position: 70% center; }
  .hero__scrim {
    background:
      linear-gradient(0deg,
        rgba(6, 9, 15, 0.96) 0%,
        rgba(6, 9, 15, 0.8) 45%,
        rgba(6, 9, 15, 0.35) 75%),
      linear-gradient(90deg,
        rgba(6, 9, 15, 0.6) 0%,
        rgba(6, 9, 15, 0.15) 60%);
  }
  .hero__content { padding-top: calc(var(--header-h) + 20px); padding-bottom: 150px; gap: 20px; }
  .hero__title { font-size: clamp(2.3rem, 11.5vw, 4.4rem); }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__meta-item { width: 100%; justify-content: flex-start; }

  .symptoms__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .process__ekg { display: none; }
  .taller__grid, .shop__grid, .contact__grid { grid-template-columns: 1fr; }
  .taller__grid { gap: 36px; }
  .shop__media { order: -1; }
  .contact__map { min-height: 320px; }

  .wa-float { width: 56px; height: 56px; right: 18px; bottom: 18px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float__tip { display: none; }
}

/* ==========================================================================
   Accesibilidad / reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-hero { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hero__video { animation: none; }
}
