/* ============================================================
   CLÍNICA VISIÓN LÁSER — Rebranding 2026
   Paleta: azul médico + verde "visión" (espiral del logo)
   ============================================================ */

:root {
  /* Brand */
  --blue-950: #052a40;
  --blue-900: #073b58;
  --blue-800: #0a4d72;
  --blue-700: #0e6391;
  --blue-600: #1380b0;
  --blue-500: #1f9bce;
  --cyan-400: #41bbe3;
  --cyan-200: #a9e1f3;
  --green-600: #4f9c33;
  --green-500: #6cba3f;
  --green-400: #8ed35e;

  /* Neutrals */
  --ink: #0b2230;
  --ink-soft: #2c4654;
  --slate: #5d7686;
  --slate-200: #b6c6d0;
  --mist: #eef5f9;
  --mist-2: #e2eef4;
  --paper: #ffffff;
  --line: rgba(13, 60, 88, 0.10);

  /* Effects */
  --grad-brand: linear-gradient(135deg, #073b58 0%, #0e6391 48%, #1f9bce 100%);
  --grad-soft: linear-gradient(160deg, #f4fafd 0%, #e7f3f8 100%);
  --grad-green: linear-gradient(135deg, #6cba3f, #41bbe3);
  --shadow-sm: 0 4px 14px rgba(8, 48, 72, 0.07);
  --shadow-md: 0 16px 40px rgba(8, 48, 72, 0.12);
  --shadow-lg: 0 30px 70px rgba(7, 40, 60, 0.22);
  --radius: 20px;
  --radius-lg: 30px;
  --maxw: 1200px;

  --ff-head: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.12; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }
.bg-mist { background: var(--grad-soft); }
.bg-ink { background: var(--blue-950); color: #dff0f7; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600);
  padding: 7px 15px; border-radius: 100px;
  background: rgba(31, 155, 206, .10);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(108,186,63,.2); }
.bg-ink .eyebrow { color: var(--cyan-200); background: rgba(255,255,255,.08); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 16px; }
.section-head p { color: var(--slate); font-size: 1.08rem; }
.bg-ink .section-head p { color: #a9c6d4; }
.text-grad { background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: 100px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 12px 26px rgba(14,99,145,.32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(14,99,145,.42); }
.btn-wa { background: linear-gradient(135deg, #25d366, #128c4f); color: #fff; box-shadow: 0 12px 26px rgba(18,140,79,.32); }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(18,140,79,.45); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--blue-700); border-color: var(--slate-200); }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-800); transform: translateY(-3px); }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--blue-950); color: #cfe6f1;
  font-size: .85rem; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: #cfe6f1; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-item svg { width: 14px; height: 14px; opacity: .8; }
.topbar .tb-social { display: flex; gap: 14px; }
.topbar .tb-social a { display: inline-flex; }
.topbar .tb-social svg { width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 38, 58, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.site-header.scrolled { background: rgba(5, 34, 52, 0.96); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; transition: padding .3s; }
.scrolled .nav { padding: 11px 0; }
.brand img { height: 40px; width: auto; transition: height .3s; }
.scrolled .brand img { height: 34px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--ff-head); font-weight: 600; font-size: .96rem; color: #e4f1f7;
  padding: 9px 15px; border-radius: 100px; position: relative; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.10); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; }
.burger span { display: block; width: 24px; height: 2px; margin: 5px auto; background: #fff; border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 86vh; display: flex; align-items: center;
  padding: 120px 0 110px; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,34,52,.78) 0%, rgba(7,59,88,.72) 45%, rgba(10,77,114,.82) 100%),
    radial-gradient(circle at 70% 20%, rgba(108,186,63,.28), transparent 55%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 8px 16px; border-radius: 100px; margin-bottom: 26px; backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(142,211,94,.3); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); color: #fff; margin-bottom: 24px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #8ed35e, #a9e1f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.18rem; color: #e0f0f8; max-width: 620px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.hero-stats .stat strong { font-family: var(--ff-head); font-size: 2.1rem; display: block; color: #fff; }
.hero-stats .stat span { font-size: .86rem; color: #c2dde9; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); animation: bobble 2s ease-in-out infinite; }
.hero-scroll svg { width: 26px; height: 26px; }
@keyframes bobble { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* Marquee of trust */
.trust-strip { background: var(--blue-950); color: #9fc2d3; padding: 20px 0; overflow: hidden; }
.trust-track { display: flex; gap: 56px; align-items: center; white-space: nowrap; animation: marquee 28s linear infinite; }
.trust-track span { font-family: var(--ff-head); font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: 12px; opacity: .85; }
.trust-track span::before { content: "✦"; color: var(--green-500); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ============================================================
   INFOVISIÓN — banda destacada (cirugía de presbicia)
   ============================================================ */
.infovision { position: relative; overflow: hidden; background: var(--grad-brand); color: #fff; }
.infovision::before { content:""; position:absolute; top:-40%; right:-10%; width:50%; height:160%; background: radial-gradient(circle, rgba(108,186,63,.3), transparent 62%); }
.infovision::after { content:""; position:absolute; bottom:-50%; left:-10%; width:45%; height:160%; background: radial-gradient(circle, rgba(65,187,227,.28), transparent 62%); }
.info-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.info-logo {
  font-family: var(--ff-head); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1; margin-bottom: 18px; color: #fff;
}
.info-logo b { background: linear-gradient(120deg, #8ed35e, #a9e1f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.infovision p { color: #d9eef7; margin-bottom: 14px; font-size: 1.05rem; }
.info-points { display: grid; gap: 12px; margin: 22px 0 30px; }
.info-points li { display: flex; gap: 12px; align-items: flex-start; }
.info-points .ic { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.info-points .ic svg { width: 16px; height: 16px; }
.info-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg);
  padding: 34px 32px; backdrop-filter: blur(8px); text-align: center;
}
.info-card .big { font-family: var(--ff-head); font-weight: 800; font-size: 3.4rem; line-height: 1; background: linear-gradient(120deg, #8ed35e, #a9e1f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.info-card .lbl { font-size: .95rem; color: #cfe7f1; margin-bottom: 22px; }
.info-card .divider { height: 1px; background: rgba(255,255,255,.16); margin: 18px 0; }

/* ============================================================
   FEATURE / WHY CARDS
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(31,155,206,.3); }
.feature .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: var(--grad-soft); color: var(--blue-600); }
.feature .ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { color: var(--slate); font-size: .96rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.about-media .badge-exp {
  position: absolute; bottom: -24px; left: -24px; background: var(--grad-brand); color: #fff;
  padding: 22px 26px; border-radius: 20px; box-shadow: var(--shadow-md); text-align: center;
}
.about-media .badge-exp strong { font-family: var(--ff-head); font-size: 2.4rem; display: block; line-height: 1; }
.about-media .badge-exp span { font-size: .8rem; color: #cdeaf6; }
.about-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 16px 0 18px; }
.about-body p { color: var(--ink-soft); margin-bottom: 16px; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 24px 0 30px; }
.about-list li { display: flex; gap: 11px; font-weight: 500; font-size: .98rem; }
.about-list .chk { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(108,186,63,.15); color: var(--green-600); display: grid; place-items: center; }
.about-list .chk svg { width: 14px; height: 14px; }
.doctor-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--grad-soft); border: 1px solid var(--line); border-radius: 18px;
}
.doctor-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.doctor-card strong { font-family: var(--ff-head); font-size: 1.05rem; display: block; }
.doctor-card span { font-size: .88rem; color: var(--slate); }

/* ============================================================
   TREATMENTS / TECH PREVIEW (home)
   ============================================================ */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bigcard {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 44px 40px; color: #fff;
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-md);
}
.bigcard.c-treat { background: var(--grad-brand); }
.bigcard.c-tech { background: linear-gradient(135deg, #0a4d72, #4f9c33); }
.bigcard::before { content:""; position:absolute; top:-30%; right:-15%; width:55%; height:120%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.bigcard .num { font-family: var(--ff-head); font-weight: 800; font-size: 3rem; opacity: .25; position: absolute; top: 28px; right: 36px; }
.bigcard h3 { color: #fff; font-size: 1.7rem; margin-bottom: 12px; }
.bigcard p { color: rgba(255,255,255,.88); margin-bottom: 22px; max-width: 90%; }
.bigcard .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.bigcard .chips span { font-size: .82rem; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 6px 13px; border-radius: 100px; }
.bigcard .more { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-head); font-weight: 700; }
.bigcard .more svg { width: 18px; height: 18px; transition: transform .25s; }
.bigcard:hover .more svg { transform: translateX(5px); }

/* ============================================================
   TREATMENTS PAGE
   ============================================================ */
.subhero {
  background: var(--grad-brand); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; text-align: center;
}
.subhero::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 0%, rgba(108,186,63,.3), transparent 50%); }
.subhero--img { background: var(--blue-900); }
.subhero--img .subhero-bg { position: absolute; inset: 0; z-index: 0; }
.subhero--img .subhero-bg img { width: 100%; height: 100%; object-fit: cover; }
.subhero--img .subhero-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,40,60,.82), rgba(10,77,114,.88)), radial-gradient(circle at 80% 0%, rgba(108,186,63,.25), transparent 55%); }
.subhero .container { position: relative; z-index: 2; }
.subhero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 18px 0 14px; }
.subhero p { color: #d7ecf5; max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { display: inline-flex; gap: 8px; font-size: .85rem; color: #b7d6e4; }
.breadcrumb a:hover { color: #fff; }

.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.treat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.treat::after { content:""; position:absolute; left:0; top:0; height:4px; width:0; background: var(--grad-green); transition: width .35s; }
.treat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.treat:hover::after { width: 100%; }
.treat .ic { width: 58px; height: 58px; border-radius: 16px; background: var(--grad-soft); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 18px; }
.treat .ic svg { width: 30px; height: 30px; }
.treat h3 { font-size: 1.22rem; margin-bottom: 9px; }
.treat p { color: var(--slate); font-size: .95rem; margin-bottom: 14px; }
.treat .tag { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--green-600); background: rgba(108,186,63,.1); padding: 6px 12px; border-radius: 100px; }

/* Tech list — tarjetas con imagen del equipo */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .28s, box-shadow .28s, border-color .28s;
  scroll-margin-top: 100px;
}
.tech:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(31,155,206,.35); }
.tech-media {
  aspect-ratio: 4 / 3; background: var(--grad-soft);
  display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line);
}
.tech-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .45s ease; }
.tech:hover .tech-media img { transform: scale(1.05); }
.tech-body { padding: 18px 20px 22px; }
.tech .brandtag { font-size: .72rem; font-weight: 700; letter-spacing: .05em; color: var(--blue-500); text-transform: uppercase; }
.tech h4 { font-size: 1.06rem; margin: 4px 0 7px; font-family: var(--ff-head); line-height: 1.25; }
.tech p { font-size: .88rem; color: var(--slate); line-height: 1.55; }
/* Resaltado al llegar desde un tratamiento (#ancla) */
.tech:target { border-color: var(--green-500); animation: techPulse 1.8s ease 1; }
@keyframes techPulse {
  0%   { box-shadow: 0 0 0 6px rgba(108,186,63,.40), var(--shadow-md); }
  100% { box-shadow: 0 0 0 3px rgba(108,186,63,0), var(--shadow-sm); }
}

/* Card de tecnología usada como enlace (preview del index) */
a.tech { color: inherit; }
a.tech .tech-body::after {
  content: "Ver detalle →"; display: inline-block; margin-top: 12px;
  font-size: .8rem; font-weight: 700; color: var(--blue-600);
  transition: transform .2s, color .2s;
}
a.tech:hover .tech-body::after { transform: translateX(3px); color: var(--green-600); }

/* Enlace Tratamiento -> Tecnología (chips) */
.treat-tech { margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--line); }
.treat-tech-label {
  display: flex; align-items: center; gap: 6px; margin-bottom: 9px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-600);
}
.treat-tech-label svg { width: 15px; height: 15px; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.tech-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600;
  color: var(--blue-700); background: var(--mist); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 100px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.tech-chip::after { content: "→"; font-weight: 700; opacity: .5; transition: transform .2s, opacity .2s; }
.tech-chip:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-1px); }
.tech-chip:hover::after { transform: translateX(3px); opacity: 1; }

/* ============================================================
   COMMUNITY / SOCIAL (was blog)
   ============================================================ */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.social-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.social-tabs button {
  font-family: var(--ff-head); font-weight: 600; font-size: .92rem; cursor: pointer;
  padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft);
  transition: all .25s;
}
.social-tabs button.active, .social-tabs button:hover { background: var(--grad-brand); color: #fff; border-color: transparent; }

.video-card {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  aspect-ratio: 16/10; cursor: pointer; transition: transform .3s, box-shadow .3s;
  background: linear-gradient(135deg, #0a4d72, #1f9bce);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.video-card .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-card .play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .25s; }
.video-card:hover .play span { transform: scale(1.1); }
.video-card .play svg { width: 26px; height: 26px; color: var(--blue-700); margin-left: 3px; }
.video-card .vmeta { position: absolute; left: 18px; bottom: 16px; right: 18px; color: #fff; z-index: 2; }
.video-card .vmeta strong { font-family: var(--ff-head); font-size: 1.02rem; display: block; }
.video-card .vmeta span { font-size: .82rem; opacity: .85; }
.video-card::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(5,34,52,.8), transparent 55%); }

/* Reviews */
.review {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.review .stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 2px; }
.review p { color: var(--ink-soft); font-size: .98rem; font-style: italic; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-green); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; }
.review .who strong { font-family: var(--ff-head); font-size: .96rem; display: block; }
.review .who span { font-size: .82rem; color: var(--slate); }

/* Instagram cards */
.ig-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-sm); cursor: pointer; }
.ig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ig-card:hover img { transform: scale(1.08); }
.ig-card .ig-ov { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(131,58,180,.55), rgba(29,131,206,.55)); opacity: 0; display: grid; place-items: center; transition: opacity .3s; }
.ig-card:hover .ig-ov { opacity: 1; }
.ig-card .ig-ov svg { width: 36px; height: 36px; color: #fff; }

.social-cta { text-align: center; margin-top: 48px; }

.is-hidden { display: none !important; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ic { width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.contact-item .ic svg { width: 24px; height: 24px; }
.contact-item h4 { font-family: var(--ff-head); font-size: 1.05rem; margin-bottom: 3px; }
.contact-item p, .contact-item a { color: var(--slate); font-size: .96rem; }
.contact-item a:hover { color: var(--blue-700); }
.sede-tabs { display: flex; gap: 10px; margin-bottom: 8px; }
.sede-tabs button { font-family: var(--ff-head); font-weight: 600; font-size: .88rem; cursor: pointer; padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--paper); transition: all .2s; }
.sede-tabs button.active { background: var(--grad-brand); color: #fff; border-color: transparent; }

.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 36px; box-shadow: var(--shadow-md);
}
.contact-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-card .sub { color: var(--slate); margin-bottom: 26px; font-size: .96rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; font-family: var(--ff-head); margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 13px;
  font-family: var(--ff-body); font-size: .96rem; color: var(--ink); background: #fbfdfe; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31,155,206,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .82rem; color: var(--slate); margin-top: 14px; text-align: center; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-top: 8px; height: 260px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--blue-950); color: #aecbd9; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer .brand img { height: 42px; margin-bottom: 18px; }
.footer p { font-size: .94rem; color: #9bbccc; margin-bottom: 20px; }
.footer h5 { font-family: var(--ff-head); color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: .94rem; color: #9bbccc; transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-soc { display: flex; gap: 12px; }
.footer-soc a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer-soc a:hover { background: var(--grad-green); transform: translateY(-3px); }
.footer-soc svg { width: 19px; height: 19px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: #82a6b8; }
.footer-bottom a { color: #9bbccc; }
.footer-bottom a:hover { color: #fff; }

/* Slim footer */
.footer--slim { padding: 44px 0 0; }
.footer-slim { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-slim .brand img { height: 38px; margin: 0; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--ff-head); font-weight: 600; font-size: .95rem; color: #c2dde9; transition: color .2s; }
.footer-nav a:hover { color: #fff; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 120;
  display: inline-flex; align-items: center; gap: 0; overflow: hidden;
  background: linear-gradient(135deg, #25d366, #128c4f); color: #fff;
  border-radius: 100px; box-shadow: 0 14px 34px rgba(18,140,79,.45);
  padding: 0; height: 60px; transition: transform .3s, box-shadow .3s;
}
.wa-float:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 44px rgba(18,140,79,.55); }
.wa-float .wa-ico { width: 60px; height: 60px; display: grid; place-items: center; flex-shrink: 0; }
.wa-float .wa-ico svg { width: 30px; height: 30px; }
.wa-float .wa-label { font-family: var(--ff-head); font-weight: 700; font-size: .95rem; max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .35s, opacity .3s, padding .3s; }
.wa-float:hover .wa-label { max-width: 220px; opacity: 1; padding-right: 24px; }
.wa-float .pulse { position: absolute; inset: 0; border-radius: 100px; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wapulse 2.4s infinite; }
@keyframes wapulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .info-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .treat-grid, .tech-grid, .social-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .topbar { display: none; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--blue-950); padding: 16px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; }
  .nav .nav-cta .btn-outline { display: none; }
  .burger { display: block; }
  .split-cards, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .feature-grid, .treat-grid, .tech-grid, .social-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .about-media .badge-exp { left: 50%; transform: translateX(-50%); bottom: -28px; }
  .hero { min-height: 80vh; padding: 90px 0 80px; }
  .hero-stats { gap: 28px; }
  .wa-float .wa-label { display: none; }
}

/* ============================================================
   ACCESIBILIDAD — movimiento reducido
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tech:hover .tech-media img { transform: none !important; }
  .tech:target { box-shadow: 0 0 0 3px rgba(108,186,63,.5), var(--shadow-md); }
}
