/* =========================================================
   Dr. Mateo Dental — estilos
   Tokens tomados del diseño original (HSL sin envolver para usar alfa).
   ========================================================= */
:root {
  --background: 0 0% 100%;
  --foreground: 222 18% 15%;
  --muted: 210 12% 90%;
  --muted-foreground: 210 10% 42%;
  --gray-50: 210 12% 98%;
  --gray-100: 210 12% 94%;
  --card: 210 8% 99%;
  --card-foreground: 210 15% 15%;
  --border: 210 12% 82%;
  --input: 210 12% 82%;
  --primary: 42 60% 45%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 45 70% 55%;
  --secondary: 210 12% 85%;
  --accent: 42 65% 48%;
  --gold: 42 68% 45%;
  --gold-dark: 38 58% 38%;
  --destructive: 0 84.2% 60.2%;
  --ring: 42 60% 45%;
  --radius: .75rem;

  /* Sombras de Tailwind usadas en el original (las sombras doradas personalizadas
     del original no llegan a renderizarse, por eso no se usan aquí) */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);

  --ease-out: cubic-bezier(.25, .4, .25, 1);
  --ease-std: cubic-bezier(.4, 0, .2, 1);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --header-h: 80px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid hsl(var(--border)); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  line-height: 1.5;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-serif); letter-spacing: -.02em; font-weight: 700; }
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
::selection { background: hsl(var(--primary) / .25); }

.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; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: .5rem 1rem; border-radius: .5rem; background: hsl(var(--primary)); color: #fff; font-weight: 600; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-16 { width: 16px; height: 16px; }
.icon-18 { width: 18px; height: 18px; }
.icon-20 { width: 20px; height: 20px; }
.icon-24 { width: 24px; height: 24px; }
.icon-32 { width: 32px; height: 32px; }

.container { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: 1rem; }
.rel { position: relative; z-index: 10; }
.center { text-align: center; }
.block { display: block; }
.text-primary { color: hsl(var(--primary)); }
.text-gradient {
  background-image: linear-gradient(to right, hsl(var(--primary)), hsl(var(--primary-glow)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: hsl(var(--muted-foreground)); }
.muted-soft { margin-top: .75rem; font-size: .875rem; color: hsl(var(--muted-foreground) / .7); }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.5rem; padding: .5rem 1rem; border-radius: calc(var(--radius) - 2px);
  font-size: .875rem; font-weight: 500; white-space: nowrap; line-height: 1.25;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .3s var(--ease-std), transform .3s var(--ease-std);
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { background: hsl(var(--primary) / .9); }
.btn-pill { border-radius: 9999px; padding-inline: 1.5rem; }
.btn-block { width: 100%; }
.btn-gold {
  background-image: linear-gradient(to right, hsl(var(--primary)), hsl(var(--primary-glow)));
  color: hsl(var(--primary-foreground)); font-weight: 600;
}
.btn-lg { height: 2.75rem; padding-inline: 2rem; font-size: 1.125rem; }
.btn-rounded-xl { border-radius: .75rem; }
.btn-xl { height: auto; padding: 1rem 2rem; font-size: 1.125rem; font-weight: 700; white-space: normal; }
.btn-press:hover { transform: scale(1.03); }
.btn-press:active { transform: scale(.98); }

/* Botón del hero: el degradado invertido entra desde la derecha al pasar el cursor */
.btn-sweep { position: relative; overflow: hidden; }
.btn-sweep::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, hsl(var(--primary-glow)), hsl(var(--primary)));
  transform: translateX(100%); transition: transform .3s var(--ease-std);
}
.btn-sweep:hover { transform: scale(1.02); }
.btn-sweep:hover::before { transform: translateX(0); }
.btn-sweep-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; }

.btn-soft {
  height: 2.75rem; padding: .75rem 1.5rem; border-radius: .75rem; font-size: 1rem;
  border: 2px solid hsl(var(--primary) / .3); background: hsl(var(--primary) / .05); color: hsl(var(--primary));
}
.btn-soft:hover { background: hsl(var(--primary) / .1); }

.btn-white { background: #fff; color: hsl(var(--primary)); font-weight: 700; box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25); }
.btn-white:hover { background: rgb(255 255 255 / .9); }
.btn-ghost-white { background: transparent; border: 2px solid #fff; color: #fff; font-weight: 700; }
.btn-ghost-white:hover { background: #fff; color: hsl(var(--primary)); }
.btn-xxl { height: auto; min-height: 2.75rem; padding: .75rem 3rem; font-size: 1.25rem; white-space: normal; }

.btn-lang {
  display: inline-flex; align-items: center; gap: .5rem; height: 2.25rem; padding: .5rem .75rem;
  border-radius: calc(var(--radius) - 2px); border: 1px solid hsl(var(--gold-dark)); background: hsl(var(--background));
  transition: background-color .2s, border-color .2s;
}
.btn-lang:hover { background: hsl(var(--gold-dark) / .1); border-color: hsl(var(--gold)); }
.lang-flag { font-size: 1.5rem; line-height: 1; }
.lang-code { font-weight: 600; font-size: .875rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(var(--background) / .95);
  border-bottom: 1px solid hsl(var(--border));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo-link { display: flex; align-items: center; }
.logo { height: 3.5rem; width: auto; object-fit: contain; transition: opacity .2s; }
.logo-link:hover .logo { opacity: .8; }
.main-nav, .header-actions { display: none; }
.main-nav a { font-weight: 500; color: hsl(var(--foreground) / .8); transition: color .2s; }
.main-nav a:hover { color: hsl(var(--primary)); }
.header-actions { align-items: center; gap: .75rem; }
.menu-toggle { padding: .5rem; color: hsl(var(--foreground)); }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.mobile-menu {
  background: hsl(var(--background) / .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid hsl(var(--border)); padding-block: 1.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  animation: fade-in .3s ease-out;
}
.mobile-menu-inner { display: flex; flex-direction: column; gap: .5rem; }
.mobile-menu-inner > a {
  font-weight: 500; font-size: 1.125rem; color: hsl(var(--foreground) / .9);
  background: hsl(var(--muted) / .5); border-radius: .5rem; padding: .75rem 1rem; transition: background-color .2s, color .2s;
}
.mobile-menu-inner > a:hover { color: hsl(var(--primary)); background: hsl(var(--muted)); }
.mobile-menu-actions { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.mobile-menu-actions .btn { flex: 1; height: auto; padding-block: 1rem; font-size: 1.125rem; }

@media (min-width: 768px) {
  .logo { height: 4rem; }
  .main-nav { display: flex; align-items: center; gap: 2rem; }
  .header-actions { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 50;
  width: 4rem; height: 4rem; border-radius: 9999px; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
  transition: transform .3s var(--ease-std), background-color .3s;
}
.wa-float:hover { background: #20BA5A; transform: scale(1.02); }
.wa-float .icon { width: 2rem; height: 2rem; position: relative; z-index: 1; transition: transform .3s; }
.wa-float:hover .icon { transform: scale(1.1); }
.wa-ping { position: absolute; inset: 0; border-radius: 9999px; background: #25D366; opacity: .2; animation: ping 1s cubic-bezier(0, 0, .2, 1) infinite; }

/* ---------- Shared decorative blobs ---------- */
.blob { position: absolute; border-radius: 9999px; filter: blur(64px); }
.section-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob-tr { top: 25%; right: 0; width: 24rem; height: 24rem; background: hsl(var(--primary) / .05); }
.blob-bl { bottom: 25%; left: 0; width: 16rem; height: 16rem; background: hsl(var(--accent) / .05); }

/* ---------- Sections ---------- */
.section { position: relative; overflow: hidden; padding-block: 5rem; }
@media (min-width: 768px) { .section { padding-block: 7rem; } }
@media (min-width: 1024px) { .section-lg { padding-block: 8rem; } }
.bg-gray { background: hsl(var(--gray-100)); }
.border-top { border-top: 1px solid hsl(var(--border)); }

.section-head { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }
.section-head-wide { max-width: 56rem; }
.section-head-xl { margin-bottom: 5rem; }
.section-head h2 { font-size: 2.25rem; line-height: 1.25; color: hsl(var(--foreground)); margin-bottom: 2rem; }
.section-head h2.h2-sm { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; }
.lead { font-size: 1.25rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }
.lead-sm { font-size: 1.125rem; line-height: 1.75rem; color: hsl(var(--muted-foreground)); max-width: 42rem; margin-inline: auto; }
@media (min-width: 768px) {
  .section-head h2 { font-size: 3rem; line-height: 1; }
  .section-head h2.h2-sm { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
  .section-head h2 { font-size: 3.75rem; }
  .section-head h2.h2-sm { font-size: 3rem; line-height: 1; }
}
.badge {
  display: inline-block; padding: .5rem 1rem; margin-bottom: 1.5rem; border-radius: 9999px;
  background: hsl(var(--primary) / .1); color: hsl(var(--primary)); font-weight: 500;
  border: 1px solid hsl(var(--primary) / .2);
}
.badge-mb4 { margin-bottom: 1rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background-image: linear-gradient(to bottom right, hsl(var(--gray-50)), hsl(var(--background)), hsl(var(--gray-100)));
}
.hero-banner {
  position: relative; z-index: 20; padding: .75rem 0; text-align: center; color: hsl(var(--primary-foreground));
  background-image: linear-gradient(to right, hsl(var(--primary)), hsl(var(--primary-glow)), hsl(var(--primary)));
  animation: banner-in .6s var(--ease-out) both;
}
.hero-banner p { font-size: .875rem; line-height: 1.25rem; font-weight: 700; letter-spacing: .025em; }
@media (min-width: 768px) { .hero-banner p { font-size: 1.125rem; line-height: 1.75rem; } }

.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-blob-1 { top: 5rem; left: 5rem; width: 24rem; height: 24rem; background: hsl(var(--primary) / .1); animation: breathe-a 8s ease-in-out infinite; }
.hero-blob-2 { bottom: 5rem; right: 5rem; width: 18rem; height: 18rem; background: hsl(var(--accent) / .1); animation: breathe-b 10s ease-in-out 1s infinite; }
.hero-spin {
  position: absolute; top: 50%; left: 50%; width: 800px; height: 800px; margin: -400px 0 0 -400px; border-radius: 9999px;
  background-image: linear-gradient(to right, hsl(var(--primary) / .05), transparent); filter: blur(64px);
  animation: spin 8s linear infinite;
}
.hero-dots {
  position: absolute; inset: 0; opacity: .2;
  background-image: radial-gradient(hsl(var(--primary) / .1) 1px, transparent 1px); background-size: 50px 50px;
}
.hero-inner { position: relative; z-index: 10; min-height: calc(100vh - 52px); display: flex; align-items: center; padding-top: 5rem; padding-bottom: 4rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; width: 100%; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero-copy > * + * { margin-top: 2rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 9999px;
  background-image: linear-gradient(to right, hsl(var(--accent) / .2), hsl(var(--primary) / .1));
  border: 1px solid hsl(var(--accent) / .3); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-size: .875rem; font-weight: 500;
}
.hero-badge .icon { color: hsl(var(--accent)); }
.hero h1 { font-size: 2.25rem; line-height: 1.1; letter-spacing: -.025em; color: hsl(var(--foreground)); }
.hero-highlight { display: block; margin-top: .5rem; }
.hero-sub { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.625; font-weight: 300; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; line-height: 1; }
  .hero-sub { font-size: 1.25rem; line-height: 1.75rem; }
}
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }

.hero-ctas { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.hero-cta-main { display: flex; flex-direction: column; align-items: center; }
.hero-cta-main .btn { height: auto; min-height: 2.75rem; padding: .625rem 2rem; white-space: normal; text-align: center; }
.cta-note { margin-top: .5rem; font-size: .75rem; line-height: 1rem; font-weight: 300; color: hsl(var(--muted-foreground)); }
@media (min-width: 640px) { .hero-cta-main { align-items: flex-start; } }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 2.5rem; border-top: 1px solid hsl(var(--border) / .5); }
.stat { text-align: center; cursor: default; transition: transform .2s; }
.stat:hover { transform: scale(1.05); }
.stat-value { font-variant-numeric: tabular-nums; font-family: var(--font-serif); font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; color: hsl(var(--primary)); margin-bottom: .5rem; }
.stat dd { font-size: .875rem; font-weight: 500; color: hsl(var(--muted-foreground)); }

.hero-media { position: relative; }
.hero-media-glow {
  position: absolute; inset: -2rem; border-radius: 1.5rem; filter: blur(40px);
  background-image: linear-gradient(to right, hsl(var(--primary) / .2), hsl(var(--accent) / .1));
  animation: glow-breathe 4s ease-in-out infinite;
}
.hero-photo {
  position: relative; border-radius: 1.5rem; overflow: hidden; border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}
.hero-photo img { width: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.hero-photo:hover img { transform: scale(1.05); }
.hero-chips { position: absolute; bottom: -1rem; left: 1rem; right: 1rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.hero-chips li {
  display: flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border-radius: 9999px;
  background: hsl(var(--card) / .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border)); box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  font-size: .75rem; font-weight: 500; transition: transform .2s;
}
.hero-chips li:hover { transform: translateY(-2px) scale(1.05); }
.hero-chips .icon { color: hsl(var(--primary)); }

.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); }
.scroll-mouse {
  width: 1.5rem; height: 2.5rem; border: 2px solid hsl(var(--primary) / .3); border-radius: 9999px;
  display: flex; justify-content: center; animation: bob 1.5s ease-in-out infinite;
}
.scroll-mouse span { width: .25rem; height: .75rem; margin-top: .5rem; border-radius: 9999px; background: hsl(var(--primary) / .6); animation: wheel 1.5s ease-in-out infinite; }

/* Entradas al cargar (hero) */
.anim { animation: rise .6s var(--ease-out) var(--d, 0s) both; --rise: 20px; }
.anim-up30 { --rise: 30px; animation-duration: .7s; }
.anim-left { animation-name: from-left; animation-duration: .7s; }
.anim-pop { animation-name: pop; animation-duration: .5s; }
.anim-fade { animation-name: fade; }
.anim-media { animation-name: media-in; animation-duration: .8s; }
.hero-chips li.anim { animation-duration: .4s; }

/* =========================================================
   AUTHORITY
   ========================================================= */
.authority { background-image: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--secondary) / .3)); }
.authority .section-head { margin-bottom: 3rem; }
.authority .section-head h2 { margin-bottom: .75rem; }
.authority-blob {
  top: 50%; left: 50%; width: 600px; height: 600px; margin: -300px 0 0 -300px;
  background: hsl(var(--primary) / .1); animation: breathe-c 8s ease-in-out infinite;
}
.benefits { display: grid; gap: 1rem; max-width: 48rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .benefits { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.benefit {
  display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: .75rem;
  background: hsl(var(--card) / .8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--border) / .5); box-shadow: 0 1px 2px rgb(0 0 0 / .05);
  font-weight: 500; transition: all .2s;
}
.benefit:hover { transform: translateX(5px) scale(1.02); border-color: hsl(var(--primary) / .3); box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1); }
.check-circle {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  background-image: linear-gradient(to bottom right, hsl(var(--primary) / .2), hsl(var(--accent) / .1)); color: hsl(var(--primary));
}
.check-circle .icon { stroke-width: 3; }
.authority .btn-lg { height: auto; min-height: 2.75rem; padding: .875rem 2rem; white-space: normal; }
.cta-note-md { margin-top: .75rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.flags { margin-top: .5rem; font-size: 1.125rem; letter-spacing: .05em; }

/* =========================================================
   GALLERY — antes / después
   ========================================================= */
.cases > * + * { margin-top: 4rem; }
.case { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) {
  .case { grid-template-columns: 1fr 1fr; }
  .case-reverse .case-info { grid-column: 2; }
  .case-reverse .case-media { grid-column: 1; grid-row: 1; }
}
.case-kicker { font-size: .875rem; color: hsl(var(--muted-foreground)); margin-bottom: .25rem; }
.case-info h3 { font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 1.5rem; }
.case-notes > * + * { margin-top: 1rem; }
.note { padding: 1rem; border-radius: .5rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); transition: transform .2s, border-color .2s; }
.note:hover { transform: translateX(5px); border-color: hsl(var(--muted-foreground) / .3); }
.note-label { font-size: .875rem; color: hsl(var(--muted-foreground)); margin-bottom: .25rem; }
.note-text { font-size: 1.125rem; font-weight: 500; }
.note-after { background: hsl(var(--primary) / .1); border-color: hsl(var(--primary) / .2); }
.note-after:hover { border-color: hsl(var(--primary) / .4); }
.note-after .note-label, .note-after .note-text { color: hsl(var(--primary)); }
.case-cta-wrap { margin-top: 1.5rem; }
.case-cta { gap: .5rem; }

.compare {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; -webkit-user-select: none;
  border-radius: .5rem; border: 2px solid hsl(var(--border)); background: hsl(var(--card)); color: hsl(var(--card-foreground));
  transition: transform .3s, border-color .3s;
}
.compare:hover { transform: scale(1.01); border-color: hsl(var(--primary) / .3); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--obj, center); max-width: none; }
.compare-before { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; background: hsl(var(--primary)); cursor: ew-resize; }
.compare-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 3rem; height: 3rem; border-radius: 9999px;
  background-image: linear-gradient(to bottom right, hsl(var(--primary)), hsl(var(--primary-glow)));
  display: flex; align-items: center; justify-content: center; gap: .25rem;
}
.compare-knob i { width: 2px; height: 1rem; background: hsl(var(--primary-foreground)); }
.compare-tag { position: absolute; top: 1rem; padding: .25rem .75rem; border-radius: 9999px; font-size: .875rem; font-weight: 500; pointer-events: none; }
.tag-before { left: 1rem; background: hsl(var(--background) / .9); border: 1px solid hsl(var(--border)); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tag-after { right: 1rem; background: hsl(var(--primary) / .9); color: hsl(var(--primary-foreground)); }
.compare-range {
  position: absolute; inset: 0; z-index: 10; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.compare:has(.compare-range:focus-visible) { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; }
.compare-hint { margin-top: 1rem; text-align: center; font-size: .875rem; color: hsl(var(--muted-foreground)); }

/* =========================================================
   PROCESS
   ========================================================= */
.process-glow {
  position: absolute; top: 50%; left: 50%; width: 800px; height: 800px; margin: -400px 0 0 -400px;
  border-radius: 9999px; filter: blur(64px);
  /* En el original esta capa usa bg-primary/3, clase que Tailwind no genera: queda sin color */
}
.steps { display: grid; gap: 2rem; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps > li, .why-grid > div, .testimonials > figure { height: 100%; }
.step {
  position: relative; height: 100%; padding: 2rem; border-radius: 1.5rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-8px); border-color: hsl(var(--primary) / .3); }
.step-connector { display: none; position: absolute; top: 3rem; right: -1rem; width: 2rem; height: 2px; background-image: linear-gradient(to right, hsl(var(--primary) / .5), hsl(var(--primary) / .2)); }
@media (min-width: 1024px) { .step-connector { display: block; } }
.step-top { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.step-num {
  width: 3rem; height: 3rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  background-image: linear-gradient(to bottom right, hsl(var(--primary)), hsl(var(--primary-glow)));
  color: hsl(var(--primary-foreground)); font-size: 1.125rem; font-weight: 700;
  transition: transform .3s;
}
.step-num:hover { transform: scale(1.1) rotate(5deg); }
.step-icon { flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); transition: background-color .2s; }
.step:hover .step-icon { background: hsl(var(--primary) / .2); }
.step h3 { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: .75rem; }
.step p { color: hsl(var(--muted-foreground)); line-height: 1.625; }
.process-cta { margin-top: 4rem; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.t-blob-1 { top: 5rem; right: 5rem; width: 16rem; height: 16rem; background: hsl(var(--primary) / .05); }
.t-blob-2 { bottom: 5rem; left: 5rem; width: 12rem; height: 12rem; background: hsl(var(--accent) / .05); }
.testimonials { display: grid; gap: 2rem; }
@media (min-width: 768px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  position: relative; height: 100%; padding: 2.5rem 2rem 2rem; border-radius: .5rem;
  background: hsl(var(--card)); color: hsl(var(--card-foreground)); border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-sm);
  transition: transform .3s, border-color .3s;
}
.testimonial:hover { transform: translateY(-8px) scale(1.02); border-color: hsl(var(--primary) / .3); }
.quote-badge {
  position: absolute; top: -1rem; left: 1.5rem; width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center; color: hsl(var(--primary-foreground));
  background-image: linear-gradient(to bottom right, hsl(var(--primary)), hsl(var(--primary-glow)));
  box-shadow: var(--shadow-lg);
}
.stars { display: flex; margin-bottom: 1rem; }
.stars svg { width: 20px; height: 20px; fill: hsl(var(--primary)); stroke: hsl(var(--primary)); stroke-width: 2; stroke-linejoin: round; }
.in-view .stars svg { animation: pop .4s var(--ease-out) both; }
.in-view .stars svg:nth-child(2) { animation-delay: .1s; }
.in-view .stars svg:nth-child(3) { animation-delay: .2s; }
.in-view .stars svg:nth-child(4) { animation-delay: .3s; }
.in-view .stars svg:nth-child(5) { animation-delay: .4s; }
.testimonial blockquote { margin-bottom: 1.5rem; font-style: italic; line-height: 1.625; color: hsl(var(--foreground) / .8); }
.testimonial figcaption { border-top: 1px solid hsl(var(--border) / .5); padding-top: 1rem; }
.testimonial .t-name { display: block; font-style: normal; font-family: var(--font-serif); font-weight: 600; }
address { font-style: normal; }
.testimonial figcaption p { font-size: .875rem; color: hsl(var(--muted-foreground)); }

/* =========================================================
   WHY MEDELLÍN
   ========================================================= */
.why-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  height: 100%; padding: 2rem; border-radius: 1.5rem; background: hsl(var(--card)); color: hsl(var(--card-foreground)); border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm); transition: all .5s var(--ease-std);
}
.why-card:hover { transform: translateY(-.5rem); border-color: hsl(var(--primary) / .3); }
.why-icon {
  width: 4rem; height: 4rem; border-radius: 1rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;
  background-image: linear-gradient(to bottom right, hsl(var(--primary) / .2), hsl(var(--accent) / .1)); color: hsl(var(--primary));
  transition: transform .5s;
}
.why-card:hover .why-icon { transform: scale(1.1); }
.why-card h3 { font-size: 1.5rem; line-height: 2rem; margin-bottom: 1rem; }
.why-card p { color: hsl(var(--muted-foreground)); line-height: 1.625; }

/* =========================================================
   FAQ (acordeón)
   ========================================================= */
.f-blob-1 { top: 5rem; left: 5rem; width: 12rem; height: 12rem; background: hsl(var(--primary) / .05); }
.f-blob-2 { bottom: 5rem; right: 5rem; width: 16rem; height: 16rem; background: hsl(var(--accent) / .05); }
.faq-list { max-width: 56rem; margin-inline: auto; }
.faq-list > * + * { margin-top: 1rem; }
.faq-item {
  padding-inline: 1.5rem; border-radius: 1rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  transition: transform .2s, border-color .2s;
}
.faq-item:hover { transform: translateX(5px); border-color: hsl(var(--primary) / .3); }
.faq-item h3 { font-family: var(--font-serif); }
.faq-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem;
  text-align: left; font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.75rem; font-weight: 600;
  color: hsl(var(--foreground)); transition: color .2s;
}
.faq-trigger:hover { color: hsl(var(--primary)); }
.faq-trigger .icon { transition: transform .2s; }
.faq-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease-out; }
.faq-panel > div { overflow: hidden; }
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel p { padding-bottom: 1.5rem; font-size: .875rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { background-image: linear-gradient(to bottom right, hsl(var(--primary)), hsl(var(--primary-glow)), hsl(var(--primary))); color: #fff; }
.cta-bg { position: absolute; inset: 0; overflow: hidden; }
.cta-blob-1 { top: 2.5rem; left: 2.5rem; width: 16rem; height: 16rem; background: #fff; animation: breathe-a 8s ease-in-out infinite; }
.cta-blob-2 { bottom: 2.5rem; right: 2.5rem; width: 24rem; height: 24rem; background: #fff; animation: breathe-b 10s ease-in-out 2s infinite; }
.cta-inner { max-width: 64rem; margin-inline: auto; text-align: center; }
.cta-inner h2 { font-size: 2.25rem; line-height: 1.25; margin-bottom: 2rem; color: #fff; }
.cta-sub { color: rgb(255 255 255 / .9); }
.cta-desc { max-width: 48rem; margin: 0 auto 3rem; font-size: 1.25rem; line-height: 1.625; color: rgb(255 255 255 / .9); }
@media (min-width: 768px) {
  .cta-inner h2 { font-size: 3rem; line-height: 1; }
  .cta-desc { font-size: 1.5rem; line-height: 2rem; }
}
@media (min-width: 1024px) { .cta-inner h2 { font-size: 3.75rem; } }
.cta-benefits { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .cta-benefits { grid-template-columns: repeat(3, 1fr); } }
.cta-benefits > div { height: 100%; }
.glass-card {
  height: 100%; padding: 1.5rem; border-radius: 1rem; background: rgb(255 255 255 / .1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgb(255 255 255 / .2);
  transition: transform .3s;
}
.glass-card:hover { transform: translateY(-5px) scale(1.03); }
.glass-card .icon { margin: 0 auto .75rem; }
.glass-card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1rem; margin-bottom: .5rem; }
.glass-card p { font-size: .875rem; color: rgb(255 255 255 / .8); }
.cta-buttons { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }
.cta-buttons .arrow { width: 1.5rem; height: 1.5rem; margin-left: .25rem; }
.cta-trust { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgb(255 255 255 / .2); }
.cta-trust > p { margin-bottom: 1.5rem; font-size: .875rem; color: rgb(255 255 255 / .8); }
.cta-trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; font-size: .875rem; color: rgb(255 255 255 / .6); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; gap: 4rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } .contact-side { padding-top: 5rem; } }
.contact-title { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1rem; }
@media (min-width: 768px) { .contact-title { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3rem; line-height: 1; } }
.contact-desc { margin-bottom: 2rem; font-size: 1.125rem; line-height: 1.75rem; color: hsl(var(--muted-foreground)); }
.form-card {
  padding: 2rem; border-radius: 1rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  transition: transform .3s, border-color .3s;
}
.form-card:hover { transform: scale(1.01); border-color: hsl(var(--primary) / .2); }
@media (max-width: 479px) { .form-card { padding: 1.5rem 1.25rem; } }
#vip-form > * + * { margin-top: 1.75rem; }
.field > * + * { margin-top: .5rem; }
.field label { display: block; font-size: .875rem; font-weight: 500; line-height: 1.25rem; }
.field.has-error label { color: hsl(var(--destructive)); }
.field input, .field select, .field textarea, .newsletter input {
  display: flex; width: 100%; height: 2.5rem; padding: .5rem .75rem; border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input)); background: hsl(var(--background)); font-size: 1rem;
  transition: box-shadow .15s, border-color .15s;
}
@media (min-width: 768px) { .field input, .field select, .field textarea, .newsletter input { font-size: .875rem; } }
.field textarea { height: auto; min-height: 100px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .newsletter input::placeholder { color: hsl(var(--muted-foreground)); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .newsletter input:focus-visible {
  outline: none; box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring));
}
.select-wrap { position: relative; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.25rem; cursor: pointer; }
.field select:invalid, .field select.is-empty { color: hsl(var(--muted-foreground)); }
.field select option { color: hsl(var(--foreground)); }
.select-chevron { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.field-error { font-size: .875rem; font-weight: 500; color: hsl(var(--destructive)); }
.field-error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: hsl(var(--destructive) / .6); }
.form-footer > * + * { margin-top: .75rem; }
.btn-submit { height: auto; padding-block: 1rem; font-size: .875rem; border-radius: .5rem; }
.btn-submit:hover { transform: scale(1.02); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.form-availability { text-align: center; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.form-privacy { text-align: center; font-size: .75rem; color: hsl(var(--muted-foreground) / .7); }

.info-card { padding: 2rem; border-radius: 1.5rem; background: hsl(var(--muted) / .3); border: 1px solid hsl(var(--border) / .5); }
.info-card > h3 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; margin-bottom: 1.5rem; }
.info-list > * + * { margin-top: 1.5rem; }
.info-item { display: flex; align-items: flex-start; transition: transform .2s; }
.info-item:hover { transform: translateX(5px); }
.info-icon { width: 2.5rem; height: 2.5rem; margin-right: 1rem; flex-shrink: 0; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); transition: background-color .2s; }
.info-item:hover .info-icon { background: hsl(var(--primary) / .2); }
.info-item h4 { font-family: var(--font-serif); font-weight: 500; font-size: .875rem; margin-bottom: .25rem; }
.info-item p, .info-item a { font-size: .875rem; color: hsl(var(--muted-foreground)); transition: color .2s; overflow-wrap: anywhere; }
.info-item a:hover { color: hsl(var(--primary)); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); }
.footer-inner { padding-block: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid h3 { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1.5rem; letter-spacing: -.025em; }
.footer-about { color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.socials { display: flex; gap: 1rem; }
.socials a, .footer-list a { color: hsl(var(--muted-foreground)); transition: color .2s; }
.socials a:hover, .footer-list a:hover { color: hsl(var(--primary)); }
.footer-list > * + * { margin-top: .75rem; }
.newsletter { display: flex; flex-direction: column; gap: 1rem; }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid hsl(var(--border)); text-align: center; color: hsl(var(--muted-foreground)); }

/* =========================================================
   TOAST
   ========================================================= */
.toast-region { position: fixed; z-index: 100; bottom: 0; right: 0; display: flex; flex-direction: column; gap: .5rem; padding: 1rem; width: 100%; max-width: 420px; pointer-events: none; }
.toast {
  pointer-events: auto; padding: 1.5rem 2rem 1.5rem 1.5rem; border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--border)); background: hsl(var(--background)); color: hsl(var(--foreground));
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  animation: toast-in .35s var(--ease-out) both;
}
.toast.leaving { animation: toast-out .25s ease-in forwards; }
.toast-title { font-size: .875rem; font-weight: 600; }
.toast-desc { font-size: .875rem; opacity: .9; margin-top: .25rem; }
.toast.destructive { background: hsl(var(--destructive)); border-color: hsl(var(--destructive)); color: #fff; }

/* =========================================================
   REVEAL ON SCROLL (sólo si hay JS)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .6s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out) var(--d, 0s); }
.js .reveal[data-dir="right"] { transform: translateX(-40px); }
.js .reveal[data-dir="left"] { transform: translateX(40px); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .stagger .si { opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease-out) var(--sd, 0s), transform .5s var(--ease-out) var(--sd, 0s); }
.js .stagger.in-view .si { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes pulse { 50% { opacity: .5; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: .01; transform: translateY(var(--rise, 20px)); } to { opacity: 1; transform: none; } }
@keyframes from-left { from { opacity: .01; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: .01; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes media-in { from { opacity: .01; transform: translateX(50px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes banner-in { from { transform: translateY(-100px); } to { transform: none; } }
@keyframes breathe-a { 0%, 100% { transform: scale(1); opacity: .1; } 50% { transform: scale(1.2); opacity: .15; } }
@keyframes breathe-b { 0%, 100% { transform: scale(1); opacity: .1; } 50% { transform: scale(1.3); opacity: .2; } }
@keyframes breathe-c { 0%, 100% { transform: scale(1); opacity: .05; } 50% { transform: scale(1.1); opacity: .1; } }
@keyframes glow-breathe { 0%, 100% { transform: scale(1); opacity: .2; } 50% { transform: scale(1.02); opacity: .3; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes wheel { 0%, 100% { opacity: .6; transform: translateY(0); } 50% { opacity: 1; transform: translateY(4px); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(100%); } }

/* Las manchas de la banda CTA son blancas: su opacidad la controla la animación, así que fijamos una base */
.cta-blob-1, .cta-blob-2 { opacity: .1; }
.hero-blob-1, .hero-blob-2 { opacity: .1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .stagger .si { opacity: 1; transform: none; }
}

/* =========================================================
   HERO — VIDEO (portada con play + reproductor estilo reel)
   ========================================================= */
.hero-photo { isolation: isolate; }
.hero-media.is-playing .hero-photo img { transform: none; }

/* Portada: toda la foto es clicable. El play va abajo a la izquierda para no tapar el rostro;
   el velo se concentra en esa zona y deja la cara limpia */
.reel-trigger {
  position: absolute; inset: 0; z-index: 2; width: 100%;
  display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: .75rem;
  padding: 0 1.5rem 3.75rem;
  background: linear-gradient(to top, rgb(0 0 0 / .42), rgb(0 0 0 / .12) 28%, rgb(0 0 0 / 0) 50%);
  color: #fff; transition: background-color .3s;
}
.reel-trigger:hover { background-color: rgb(0 0 0 / .08); }
.reel-trigger:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 1.5rem; }
.reel-play {
  position: relative; flex-shrink: 0; width: 4.25rem; height: 4.25rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: rgb(255 255 255 / .22); border: 1.5px solid rgb(255 255 255 / .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / .35);
  transition: transform .3s var(--ease-std), background-color .3s;
}
.reel-play::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid rgb(255 255 255 / .55);
  animation: reel-ring 2.4s ease-out infinite;
}
.reel-play .icon { width: 1.6rem; height: 1.6rem; margin-left: 3px; fill: #fff; stroke: #fff; stroke-width: 1.5; }
.reel-trigger:hover .reel-play { transform: scale(1.08); background: rgb(255 255 255 / .3); }
.reel-hint {
  margin-bottom: 1.05rem; /* centra la etiqueta con el círculo */
  padding: .45rem .95rem; text-shadow: 0 1px 2px rgb(0 0 0 / .3); border-radius: 9999px; font-size: .875rem; font-weight: 600; letter-spacing: 0;
  background: rgb(0 0 0 / .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* Las insignias se ocultan mientras el video está abierto para no tapar los controles */
.hero-chips { transition: opacity .3s, transform .3s, visibility .3s; }
.hero-media.is-playing .hero-chips { opacity: 0; visibility: hidden; transform: translateY(8px); }

/* Reproductor */
.reel {
  position: absolute; inset: 0; z-index: 3; overflow: hidden; border-radius: inherit;
  background: #000; color: #fff; font-family: var(--font-sans); letter-spacing: 0;
  animation: reel-in .35s var(--ease-out) both;
}
.reel[hidden] { display: none; }
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.reel-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(0 0 0 / .5) 0, rgb(0 0 0 / 0) 20%, rgb(0 0 0 / 0) 62%, rgb(0 0 0 / .72) 100%);
}
.reel-tap { position: absolute; inset: 0; z-index: 1; width: 100%; cursor: pointer; }
.reel-tap:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.reel-state {
  position: absolute; top: 50%; left: 50%; z-index: 2; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem;
  border-radius: 9999px; display: flex; align-items: center; justify-content: center; pointer-events: none;
  background: rgb(0 0 0 / .4); opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s;
}
.reel-state .icon { width: 1.75rem; height: 1.75rem; fill: #fff; stroke: #fff; stroke-width: 1.5; }
.reel-state .i-state-play { margin-left: 3px; display: none; }
.reel.is-paused .reel-state .i-state-play { display: block; }
.reel.is-paused .reel-state { opacity: 1; transform: none; }

.reel-top { position: absolute; top: .875rem; left: .875rem; right: .875rem; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.reel-account { display: flex; align-items: center; gap: .6rem; min-width: 0; text-shadow: 0 1px 2px rgb(0 0 0 / .4); }
.reel-avatar {
  flex-shrink: 0; width: 2.375rem; height: 2.375rem; padding: 2px; border-radius: 9999px;
  background: linear-gradient(135deg, hsl(var(--primary-glow)), hsl(var(--primary)), hsl(var(--gold-dark)));
}
.reel-avatar img { width: 100%; height: 100%; border-radius: 9999px; background: #fff; border: 2px solid #000; object-fit: contain; }
.reel-user { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.reel-user strong { font-size: .875rem; font-weight: 600; }
.reel-user span { font-size: .75rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-top-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.reel-icon-btn {
  width: 2.25rem; height: 2.25rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  background: rgb(0 0 0 / .38); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s;
}
.reel-icon-btn:hover { background: rgb(0 0 0 / .6); }
.reel-icon-btn .icon { width: 1.125rem; height: 1.125rem; }
.reel-mute .i-muted, .reel.is-muted .reel-mute .i-vol { display: none; }
.reel.is-muted .reel-mute .i-muted { display: block; }

.reel-side { position: absolute; right: .625rem; bottom: 6.75rem; z-index: 2; display: flex; flex-direction: column; gap: 1rem; }
.reel-action {
  width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; border-radius: 9999px; color: #fff;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / .5)); transition: transform .15s;
}
.reel-action:hover { transform: scale(1.1); }
.reel-action:active { transform: scale(.9); }
.reel-action .icon { width: 1.75rem; height: 1.75rem; }
.reel-like[aria-pressed="true"] .icon { fill: #ff3b5c; stroke: #ff3b5c; animation: pop .35s var(--ease-out); }

.reel-bottom { position: absolute; left: .875rem; right: 4.25rem; bottom: 1.25rem; z-index: 2; text-shadow: 0 1px 2px rgb(0 0 0 / .45); }
.reel-caption {
  font-size: .875rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.reel-caption strong { font-weight: 600; margin-right: .25rem; }
.reel-audio { display: flex; align-items: center; gap: .4rem; margin-top: .4rem; font-size: .75rem; opacity: .9; }
.reel-audio .icon { width: .875rem; height: .875rem; }
.reel-cta {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; padding: .55rem .95rem; border-radius: 9999px;
  font-size: .8125rem; font-weight: 600; text-shadow: none; color: #fff;
  background-image: linear-gradient(to right, hsl(var(--primary)), hsl(var(--primary-glow)));
  transition: transform .2s;
}
.reel-cta:hover { transform: scale(1.03); }
.reel-cta .icon { transition: transform .2s; }
.reel-cta:hover .icon { transform: translateX(3px); }

.reel-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: rgb(255 255 255 / .25); }
.reel-progress span { display: block; height: 100%; width: 0; background: #fff; }

.reel-icon-btn:focus-visible, .reel-action:focus-visible, .reel-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Corazón grande al dar doble toque */
.reel-burst {
  position: absolute; top: 50%; left: 50%; z-index: 2; width: 6rem; height: 6rem; margin: -3rem 0 0 -3rem; pointer-events: none;
  fill: #fff; stroke: none; filter: drop-shadow(0 4px 12px rgb(0 0 0 / .35)); animation: reel-burst .8s var(--ease-out) forwards;
}

@media (max-width: 479px) {
  .reel-trigger { padding: 0 1rem 4.25rem; gap: .6rem; }
  .reel-play { width: 3.5rem; height: 3.5rem; }
  .reel-play .icon { width: 1.35rem; height: 1.35rem; }
  .reel-hint { margin-bottom: .7rem; font-size: .8125rem; }
  .reel-side { bottom: 6.25rem; gap: .6rem; }
  .reel-action .icon { width: 1.5rem; height: 1.5rem; }
  .reel-cta { padding: .45rem .8rem; font-size: .75rem; }
  .reel-caption { -webkit-line-clamp: 1; }
  .reel-top { top: .75rem; left: .75rem; right: .75rem; }
}

@keyframes reel-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes reel-ring { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
@keyframes reel-burst { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1.1); } 45% { transform: scale(.95); } 80% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05) translateY(-10px); } }

/* =========================================================
   Usabilidad móvil (Search Console, 2026-11-11)
   ========================================================= */
/* Nada puede ensanchar la página: los adornos (destellos, halos, ondas) se recortan
   sin crear barra de desplazamiento. «clip» no rompe el encabezado fijo. */
html, body { overflow-x: clip; }

@media (max-width: 767px) {
  /* Las animaciones de entrada laterales empujaban contenido fuera de la pantalla
     mientras no se habían mostrado: en celular entran desde abajo */
  .js .reveal[data-dir="left"], .js .reveal[data-dir="right"] { transform: translateY(40px); }

  /* Zonas táctiles de al menos 48 px (recomendación de Google) */
  .btn, .hero-cta-main .btn, .authority .btn-lg { min-height: 3rem; }
  .menu-toggle { min-width: 3rem; min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; }
  .field input, .field select, .newsletter input { min-height: 3rem; }
  .newsletter .btn { min-height: 3rem; }
  .socials { gap: .5rem; margin-left: -.875rem; }
  .socials a { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; }
  .footer-list > * + * { margin-top: 0; }
  .footer-list a { display: block; padding-block: .875rem; }
  .hero-media-glow { inset: -1rem; }
  .info-item a { display: inline-block; padding-block: .875rem; margin-block: -.625rem; }
}
