/* ============ TOKENS ============ */
:root {
  --bg: #06060b;
  --bg-2: #0b0b14;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.11);
  --txt: #f3f4f8;
  --muted: #a7abba;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --grad: linear-gradient(115deg, var(--violet), var(--cyan));
  --grad-2: linear-gradient(115deg, var(--cyan), var(--pink));
  --r-lg: 22px;
  --r-md: 16px;
  --maxw: 1180px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: var(--txt); }
::selection { background: rgba(139, 92, 246, 0.45); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--violet); color: #fff; padding: 0.6rem 1rem; z-index: 200; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ============ FONDO AMBIENTAL ============ */
.bg-fx { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-fx::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(38% 32% at 18% 12%, rgba(139, 92, 246, 0.20), transparent 70%),
    radial-gradient(34% 30% at 85% 20%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(40% 36% at 60% 95%, rgba(244, 114, 182, 0.10), transparent 70%);
}
.bg-grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
}

/* ============ UTILIDADES ============ */
.wrap { width: min(var(--maxw), 92%); margin-inline: auto; }
.glass {
  background: var(--panel);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.glass::after {
  content: "";
  position: absolute;
  top: var(--mouse-y, -100%);
  left: var(--mouse-x, -100%);
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.glass:hover::after {
  opacity: 1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan);
  padding: 0.4rem 0.9rem; border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 999px;
  background: rgba(34, 211, 238, 0.07);
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.12; margin: 0.9rem 0 0.8rem; letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); }
.center { margin-inline: auto; text-align: center; }

/* ============ BOTONES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-weight: 600; font-size: 0.98rem;
  padding: 0.95rem 1.7rem; border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(34, 211, 238, 0.35); }
.btn-ghost {
  background: var(--panel); border: 1px solid var(--stroke);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--panel-2); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 6, 11, 0.72);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--stroke);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.02em; display: flex; align-items: center; gap: 0.6rem; }
.site-logo {
  height: 44px; /* Ajusta este valor según prefieras el tamaño */
  width: auto;
  object-fit: contain;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; color: #fff;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.5);
}
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { font-size: 0.93rem; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--txt); }
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-cta .btn { padding: 0.65rem 1.3rem; font-size: 0.9rem; }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 0.3rem;
  background: transparent; border: none; color: var(--txt); font-size: 0.9rem;
  font-family: inherit; cursor: pointer; padding: 0.5rem; transition: color 0.2s;
}
.lang-btn:hover { color: var(--cyan); }
.lang-btn .arrow { transition: transform 0.3s; }
.lang-switcher.open .arrow { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: 100%; right: 0; margin-top: 0.5rem;
  background: var(--panel); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--stroke); border-radius: 12px;
  list-style: none; padding: 0.4rem; min-width: 120px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 100;
}
.lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  width: 100%; text-align: left; background: transparent; border: none;
  color: var(--muted); padding: 0.5rem 0.8rem; border-radius: 8px;
  cursor: pointer; font-size: 0.9rem; transition: all 0.2s;
}
.lang-menu button:hover { background: rgba(255,255,255,0.05); color: var(--txt); }
.lang-menu button.active { color: var(--cyan); font-weight: 600; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--stroke); background: var(--panel); place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu {
  display: none; flex-direction: column; gap: 0.4rem;
  padding: 1rem 4%; border-bottom: 1px solid var(--stroke);
  background: rgba(6, 6, 11, 0.95); backdrop-filter: blur(20px);
}
.mobile-menu a { padding: 0.85rem 1rem; border-radius: 12px; color: var(--muted); }
.mobile-menu a:hover { background: var(--panel); color: var(--txt); }
.mobile-menu.open { display: flex; }

/* ============ HERO ============ */
.hero { position: relative; padding: 160px 0 100px; min-height: 100vh; display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(6, 6, 11, 0.4) 0%, rgba(6, 6, 11, 0.95) 100%); z-index: -2; }
#webgl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.6; }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.05; letter-spacing: -0.03em; margin: 1.3rem 0 1.2rem;
}
.hero-sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 34rem; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.trust-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.82rem; color: var(--muted);
  padding: 0.5rem 0.95rem; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
}
.chip svg { width: 14px; height: 14px; color: var(--cyan); }

.hero-card { padding: 2rem; position: relative; overflow: hidden; }
.hero-card::before {
  content: ""; position: absolute; inset: -40% -40% auto auto; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
}
.hero-card .hc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.hc-badge { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); border: 1px solid rgba(244, 114, 182, 0.35); background: rgba(244, 114, 182, 0.08); padding: 0.35rem 0.8rem; border-radius: 999px; }
.hc-shoe { padding: 1rem 0 1.4rem; filter: drop-shadow(0 24px 30px rgba(34, 211, 238, 0.22)); }
.hc-shoe svg { width: 100%; height: auto; }
.hc-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.hc-brand { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.hc-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.hc-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.hc-price small { font-size: 0.75rem; color: var(--muted); font-weight: 500; display: block; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--stroke); border: 1px solid var(--stroke); border-radius: var(--r-md); overflow: hidden; margin-top: 3rem; max-width: 640px; }
.stat { background: rgba(10, 10, 18, 0.7); backdrop-filter: blur(10px); padding: 1.1rem 1.3rem; }
.stat b { font-family: var(--font-display); font-size: 1.35rem; display: block; }
.stat span { font-size: 0.8rem; color: var(--muted); }

/* ============ MARQUEE MARCAS ============ */
.brands { padding: 2.2rem 0; border-block: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.02); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 4rem; width: max-content; animation: scroll-x 26s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.35); white-space: nowrap; letter-spacing: 0.04em;
  transition: color 0.25s;
}
.marquee-track span:hover { color: var(--txt); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============ BENEFICIOS ============ */
.beneficios-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.benefit { padding: 1.7rem 1.5rem; transition: transform 0.3s ease, border-color 0.3s ease; }
.benefit:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.45); }
.benefit .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.14));
  border: 1px solid rgba(139, 92, 246, 0.35); color: var(--cyan);
}
.benefit .ic svg { width: 22px; height: 22px; }
.benefit h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.4rem; }
.benefit p { font-size: 0.88rem; color: var(--muted); }

/* ============ HIGIENE ============ */
.hygiene { background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05) 30%, transparent); }
.hygiene-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.hygiene-seal { padding: 2.2rem; position: sticky; top: 110px; }
.seal-badge {
  width: 92px; height: 92px; border-radius: 26px; background: var(--grad);
  display: grid; place-items: center; margin-bottom: 1.4rem;
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.45);
}
.seal-badge svg { width: 44px; height: 44px; color: #fff; }
.hygiene-seal h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.7rem; }
.hygiene-seal p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.seal-note {
  display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted);
  border-top: 1px solid var(--stroke); padding-top: 1.2rem;
}
.seal-note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--cyan); margin-top: 0.15rem; }
.steps { display: flex; flex-direction: column; gap: 1rem; counter-reset: step; }
.step { display: flex; gap: 1.3rem; padding: 1.5rem 1.6rem; align-items: flex-start; transition: transform 0.3s ease, border-color 0.3s ease; }
.step:hover { transform: translateX(6px); border-color: rgba(34, 211, 238, 0.4); }
.step-num {
  counter-increment: step; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.4); color: var(--cyan);
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ============ PRODUCTOS ============ */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.product { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.product:hover { transform: translateY(-8px); border-color: rgba(139, 92, 246, 0.5); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.product-visual { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; }
.product-visual::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--pv, rgba(139, 92, 246, 0.25)); filter: blur(10px); }
.product-visual svg { position: relative; width: 64%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5)); transition: transform 0.4s ease; }
.product:hover .product-visual svg { transform: translateY(-6px) rotate(-6deg); }
.product-tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(6, 6, 11, 0.6);
  border: 1px solid var(--stroke); backdrop-filter: blur(8px); color: var(--cyan);
}
.product-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.product-brand { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.product-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.9rem; }
.product-price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.add-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 600; padding: 0.55rem 1rem; border-radius: 11px;
  background: var(--panel-2); border: 1px solid var(--stroke); transition: all 0.25s;
}
.add-btn svg { width: 15px; height: 15px; }
.add-btn:hover { background: var(--grad); border-color: transparent; box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4); }
.add-btn.added { background: rgba(34, 211, 238, 0.15); border-color: rgba(34, 211, 238, 0.5); color: var(--cyan); }
.products-note { margin-top: 1.6rem; font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.products-note svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }

/* ============ APPOINTMENT ============ */
.appt { background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.05) 40%, transparent); }
.appt-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: start; }
.appt-points { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.8rem; }
.appt-point { display: flex; gap: 1rem; align-items: flex-start; }
.appt-point .ic {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  background: rgba(244, 114, 182, 0.1); border: 1px solid rgba(244, 114, 182, 0.35); color: var(--pink);
}
.appt-point .ic svg { width: 20px; height: 20px; }
.appt-point h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.2rem; }
.appt-point p { font-size: 0.88rem; color: var(--muted); }
.appt-form { padding: 2.2rem; }
.appt-form h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.4rem; }
.appt-form > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.95rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke);
  border-radius: 12px; padding: 0.8rem 1rem; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s; width: 100%;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a7abba' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field select option { background: var(--bg-2); color: var(--txt); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); outline: none; }
.field textarea { resize: vertical; min-height: 84px; }
.form-error { font-size: 0.78rem; color: var(--pink); display: none; }
.field.invalid input, .field.invalid select { border-color: var(--pink); }
.field.invalid .form-error { display: block; }
.appt-submit { width: 100%; margin-top: 0.4rem; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success.show { display: block; }
.form-success .ok {
  width: 70px; height: 70px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; margin: 0 auto 1.2rem;
  box-shadow: 0 10px 34px rgba(34, 211, 238, 0.4);
}
.form-success .ok svg { width: 32px; height: 32px; color: #fff; }
.form-success h4 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); font-size: 0.92rem; }

/* ============ SERVICIOS ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service { padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; transition: transform 0.3s, border-color 0.3s; }
.service:hover { transform: translateY(-6px); border-color: rgba(244, 114, 182, 0.45); }
.service .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(244, 114, 182, 0.14));
  border: 1px solid rgba(34, 211, 238, 0.3); color: var(--cyan);
}
.service .ic svg { width: 22px; height: 22px; }
.service h3 { font-family: var(--font-display); font-size: 1.08rem; }
.service p { font-size: 0.88rem; color: var(--muted); flex: 1; }
.service a.link {
  font-size: 0.88rem; font-weight: 600; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.3rem;
}
.service a.link svg { width: 15px; height: 15px; transition: transform 0.25s; }
.service a.link:hover svg { transform: translateX(4px); }

/* ============ UBICACIÓN ============ */
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.1rem; }
.visit-map { position: relative; min-height: 380px; overflow: hidden; display: flex; align-items: flex-end; }
.map-fake {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 55% 40%, rgba(139, 92, 246, 0.16), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px),
    var(--bg-2);
}
.map-pin {
  position: absolute; top: 38%; left: 52%; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.map-pin .pulse {
  width: 56px; height: 56px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.5); animation: pulse 2.4s infinite;
}
.map-pin .pulse svg { width: 26px; height: 26px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.45); }
  70% { box-shadow: 0 0 0 26px rgba(139, 92, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}
.map-pin span { font-size: 0.78rem; font-weight: 600; background: rgba(6, 6, 11, 0.8); border: 1px solid var(--stroke); padding: 0.35rem 0.8rem; border-radius: 999px; backdrop-filter: blur(8px); }
.map-overlay {
  position: relative; z-index: 2; margin: 1.2rem; padding: 1.2rem 1.4rem; width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.map-overlay b { font-family: var(--font-display); }
.map-overlay small { display: block; color: var(--muted); font-size: 0.82rem; }
.visit-info { padding: 2.2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.visit-info h3 { font-family: var(--font-display); font-size: 1.35rem; }
.info-line { display: flex; gap: 0.9rem; align-items: flex-start; font-size: 0.93rem; color: var(--muted); }
.info-line svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--cyan); margin-top: 0.2rem; }
.info-line b { color: var(--txt); font-weight: 600; }
.hours { width: 100%; border-top: 1px solid var(--stroke); padding-top: 1rem; font-size: 0.88rem; }
.hours li { display: flex; justify-content: space-between; padding: 0.3rem 0; color: var(--muted); }
.hours li b { color: var(--txt); font-weight: 500; }
.visit-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.4rem; }

/* ============ RETENCIÓN / NEWSLETTER ============ */
.loyalty { padding: clamp(2.4rem, 5vw, 3.6rem); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; position: relative; overflow: hidden; }
.loyalty::before { content: ""; position: absolute; top: -120px; right: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 114, 182, 0.22), transparent 70%); }
.loyalty h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.loyalty p { color: var(--muted); max-width: 30rem; }
.news-form { display: flex; gap: 0.7rem; position: relative; z-index: 2; }
.news-form input {
  flex: 1; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke);
  border-radius: 14px; padding: 0.95rem 1.2rem; font-size: 0.95rem; min-width: 0;
}
.news-form input:focus { border-color: var(--cyan); outline: none; }
.news-ok { display: none; margin-top: 0.7rem; font-size: 0.85rem; color: var(--cyan); }
.news-ok.show { display: block; }

/* ============ FOOTER ============ */
footer { border-top: 1px solid var(--stroke); padding: 3rem 0 7rem; margin-top: 4rem; background: rgba(255, 255, 255, 0.015); }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-grid p { font-size: 0.85rem; color: var(--muted); max-width: 22rem; margin-top: 0.8rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer-col a { display: block; font-size: 0.87rem; color: var(--muted); padding: 0.28rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--txt); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--stroke); font-size: 0.8rem; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ============ STICKY CTA MÓVIL ============ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 0.7rem; padding: 0.8rem 4% calc(0.8rem + env(safe-area-inset-bottom));
  background: rgba(6, 6, 11, 0.85); backdrop-filter: blur(20px);
  border-top: 1px solid var(--stroke);
}
.sticky-cta .btn { flex: 1; padding: 0.85rem 1rem; font-size: 0.92rem; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .benefits-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 440px; }
  .hygiene-grid, .appt-grid, .visit-grid, .loyalty { grid-template-columns: 1fr; }
  .hygiene-seal { position: static; }
  .visit-map { min-height: 320px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: grid; }
  .sticky-cta { display: flex; }
  footer { padding-bottom: 8.5rem; }
}
@media (max-width: 600px) {
  .benefits-grid, .products-grid, .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 1px; }
  .stat { padding: 0.9rem 0.8rem; }
  .stat b { font-size: 1.1rem; }
  .news-form { flex-direction: column; }
  .hero { padding-top: 7rem; }
}

/* ============ 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 { opacity: 1; transform: none; }
  #webgl { display: none; }
}
