/* =========================================================
   Maipo Bodegas — hoja de estilos principal
   ========================================================= */

:root {
  /* Marca (tomada del logo) */
  --brand: #16a9e3;
  --brand-600: #0f8fc4;
  --brand-700: #0b6f99;
  --brand-50: #e8f6fc;
  --brand-100: #cfeaf8;

  /* Neutros */
  --ink: #0b1f33;
  --ink-2: #1f3247;
  --text: #33404d;
  --muted: #64707d;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-deep: #0b1f33;

  /* Zonas del plano */
  --zone-orange: #f28c28;
  --zone-green: #3db54a;
  --zone-blue: #4c5fd5;
  --zone-yellow: #ffcd35;

  /* Otros */
  --whatsapp: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, .06), 0 2px 8px rgba(11, 31, 51, .06);
  --shadow: 0 10px 30px rgba(11, 31, 51, .10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 51, .16);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
a, button { touch-action: manipulation; }
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 1000;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter) - env(safe-area-inset-left) - env(safe-area-inset-right), var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--deep { background: var(--bg-deep); color: #cfd9e3; }
.section--deep h2, .section--deep h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section--deep .eyebrow { color: #7fd3f5; }
h2.title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); }
.section--deep .lead { color: #aebccb; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(22, 169, 227, .35); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--whatsapp:hover { background: #1fb958; color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; padding-top: env(safe-area-inset-top);
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 15px;
  transition: background .18s, color .18s;
}
.nav a:hover, .nav a.is-active { background: var(--brand-50); color: var(--brand-700); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__actions .btn { padding: 11px 20px; font-size: 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 560px; min-height: clamp(560px, calc(100svh - var(--header-h)), 860px); min-height: clamp(560px, calc(100dvh - var(--header-h)), 860px);
  display: grid; align-items: center; color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg picture, .hero__bg img { width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 60%; transform: scale(1.02); }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  opacity: 0; transition: opacity 1.2s ease; pointer-events: none;
}
.hero__video.is-ready { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,31,51,.55) 0%, rgba(11,31,51,.35) 40%, rgba(11,31,51,.78) 100%),
    linear-gradient(90deg, rgba(11,31,51,.72) 0%, rgba(11,31,51,.25) 60%, rgba(11,31,51,0) 100%);
}
.hero__content { padding: clamp(72px, 10vw, 120px) 0 clamp(64px, 8vw, 96px); max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
  font-size: 13px; font-weight: 500; margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #5ee38a; box-shadow: 0 0 0 4px rgba(94,227,138,.25); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 62px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #7fd3f5; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.88); max-width: 600px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); font-size: 13.5px; font-weight: 500;
}
.chip svg { width: 16px; height: 16px; color: #7fd3f5; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 28px; display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.hero__scroll span { width: 1px; height: 44px; background: linear-gradient(180deg, #fff, transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Franja de cifras ---------- */
.stats { position: relative; z-index: 2; margin-top: -48px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line);
}
.stat { padding: 28px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-size: clamp(28px, 3vw, 38px); font-weight: 700; color: var(--ink); line-height: 1; }
.stat__num small { font-size: .55em; color: var(--brand-600); font-weight: 600; margin-left: 4px; }
.stat__label { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__media { position: relative; display: flex; justify-content: center; }
.video-frame {
  position: relative; width: min(100%, 380px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: visible;
  background: var(--ink); box-shadow: var(--shadow-lg), 0 0 0 8px rgba(22,169,227,.10);
}
.video-frame::before {
  content: ""; position: absolute; inset: -40px -60px; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 30% 30%, rgba(22,169,227,.18), transparent 70%), radial-gradient(50% 50% at 80% 80%, rgba(22,169,227,.12), transparent 70%);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; display: block; background: var(--ink); }
.video-frame__play {
  position: absolute; inset: 0; border: 0; border-radius: 28px; background: linear-gradient(180deg, rgba(11,31,51,.05), rgba(11,31,51,.55));
  color: #fff; display: grid; place-content: end center; place-items: center; gap: 14px; padding-bottom: 28%; transition: background .2s;
}
.video-frame__play:hover { background: linear-gradient(180deg, rgba(11,31,51,.10), rgba(11,31,51,.65)); }
.video-frame__btn {
  width: 78px; height: 78px; border-radius: 50%; background: var(--brand); display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(22,169,227,.5); transition: transform .2s;
}
.video-frame__btn svg { width: 34px; height: 34px; margin-left: 3px; }
.video-frame__play:hover .video-frame__btn { transform: scale(1.06); }
.video-frame__label { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .02em; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.video-frame.is-playing .video-frame__play, .video-frame.is-playing .about__card { display: none; }
.about__card {
  position: absolute; left: -48px; bottom: -28px; z-index: 2; background: #fff; border-radius: 14px; padding: 16px 18px;
  box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 300px; border: 1px solid var(--line);
}
.about__card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.about__card .ico svg { width: 22px; height: 22px; }
.about__card strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 15px; }
.about__card span { font-size: 13px; color: var(--muted); }
.about__text p + p { margin-top: 14px; }
.about__text p { color: var(--text); font-size: 16.5px; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.checks svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 1px; }
.about__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid var(--brand-100); color: var(--brand-600); margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-weight: 500; border: 1px solid var(--line); }

/* ---------- Instalaciones ---------- */
.facilities { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.plan { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #10202f; }
.plan img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.plan__note {
  position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; gap: 10px; align-items: center;
  background: rgba(11,31,51,.72); backdrop-filter: blur(6px); color: #fff; padding: 12px 14px; border-radius: 12px; font-size: 13.5px;
}
.plan__note svg { width: 18px; height: 18px; flex: none; color: #7fd3f5; }
.legend { display: grid; gap: 12px; }
.legend__item {
  display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: start; padding: 16px 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; transition: background .2s, border-color .2s;
}
.legend__item:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.legend__swatch { width: 14px; height: 14px; border-radius: 4px; margin-top: 5px; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.legend__item strong { display: block; color: #fff; font-family: var(--font-head); font-size: 16px; margin-bottom: 4px; }
.legend__item span { color: #aebccb; font-size: 14.5px; }
.legend__item .stat-inline { margin-top: 8px; display: inline-flex; gap: 6px; align-items: baseline; color: #7fd3f5; font-weight: 600; font-size: 13px; }

.tour {
  margin-top: clamp(40px, 6vw, 64px); border-radius: var(--radius); overflow: hidden; position: relative;
  background: #0f2a3d; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
}
.tour__frame { position: relative; aspect-ratio: 16 / 8; background: #0f2a3d; }
.tour__frame img, .tour__frame .tour__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); transition: filter .3s; }
.tour:hover .tour__frame img, .tour:hover .tour__frame .tour__preview { filter: brightness(.85); }
.tour__badge {
  position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: rgba(11,31,51,.7); border: 1px solid rgba(255,255,255,.25); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .04em; backdrop-filter: blur(6px);
}
.tour__spin { width: 18px; height: 18px; color: #7fd3f5; animation: spin360 2.4s linear infinite; }
@keyframes spin360 { to { transform: rotate(360deg); } }
.tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour__cta {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; gap: 14px; place-content: center; text-align: center;
  background: transparent; border: 0; color: #fff; padding: 24px;
}
.tour__play {
  width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.55);
  display: grid; place-items: center; backdrop-filter: blur(6px); transition: transform .2s, background .2s;
}
.tour__play svg { width: 34px; height: 34px; }
.tour__cta:hover .tour__play { transform: scale(1.06); background: var(--brand); border-color: var(--brand); }
.tour__cta strong { font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 28px); }
.tour__cta span { font-size: 14.5px; color: rgba(255,255,255,.8); }
.tour__bar { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 14px; color: #aebccb; }
.tour__bar a { color: #7fd3f5; font-weight: 500; }

/* ---------- Ubicación ---------- */
.location { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.routes { display: grid; gap: 14px; margin-top: 26px; }
.route {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.route__badge {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
  color: #fff; font-size: 15px; letter-spacing: .02em; text-align: center; line-height: 1;
}
.route__badge--5 { background: #1f6feb; }
.route__badge--78 { background: #e0621a; }
.route__badge--sol { background: #d4a017; font-size: 12px; }
.route strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 15.5px; }
.route span { color: var(--muted); font-size: 14px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #e9eef3; position: relative; min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map__card {
  position: absolute; left: 16px; top: 16px; background: #fff; padding: 14px 16px; border-radius: 12px; box-shadow: var(--shadow); max-width: 280px;
  display: flex; gap: 12px; align-items: flex-start;
}
.map__card svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.map__card strong { display: block; color: var(--ink); font-size: 14.5px; font-family: var(--font-head); }
.map__card span { font-size: 13.5px; color: var(--muted); }
.map__card a { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.location__media { display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.howto {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; text-align: left; width: 100%;
  padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--text);
  transition: transform .18s, box-shadow .18s, border-color .18s; font: inherit;
}
.howto:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.howto__thumb { position: relative; width: 120px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ink); display: block; }
.howto__thumb img { width: 100%; height: 100%; object-fit: cover; }
.howto__play {
  position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(22,169,227,.45); transition: transform .2s;
}
.howto__play svg { width: 20px; height: 20px; margin-left: 2px; }
.howto:hover .howto__play { transform: scale(1.08); }
.howto__text { display: grid; gap: 6px; }
.howto__text strong { font-family: var(--font-head); color: var(--ink); font-size: 16.5px; }
.howto__text > span { font-size: 14px; color: var(--muted); }
.howto__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-700); font-weight: 600; font-size: 14px; }
.howto__cta svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; }
.lightbox::backdrop { background: rgba(5, 15, 26, .88); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__frame {
  width: min(92vw, calc((100dvh - 96px) * 9 / 16)); aspect-ratio: 9 / 16; max-height: calc(100dvh - 96px);
  border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg);
}
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close {
  position: fixed; top: calc(16px + env(safe-area-inset-top)); right: calc(16px + env(safe-area-inset-right)); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px);
}
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.info-list { display: grid; gap: 14px; margin-top: 26px; }
.info { display: flex; gap: 14px; align-items: flex-start; }
.info svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.info strong { display: block; color: var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-head); }
.info span, .info a { font-size: 16px; color: var(--text); }

/* ---------- Testimonio ---------- */
.testimonial {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.testimonial__mark { width: 72px; height: 72px; border-radius: 20px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.testimonial__mark svg { width: 34px; height: 34px; }
.testimonial blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(19px, 2vw, 24px); color: var(--ink); font-weight: 500; line-height: 1.4; }
.testimonial figcaption { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); font-size: 14.5px; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink);
}
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--brand-600); transition: transform .25s; }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }

/* ---------- Banner CTA ---------- */
.cta-banner {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; padding: clamp(40px, 6vw, 72px); color: #fff; isolation: isolate;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
}
.cta-banner__bg { position: absolute; inset: 0; z-index: -2; }
.cta-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,31,51,.92) 0%, rgba(11,31,51,.75) 55%, rgba(11,31,51,.45) 100%); }
.cta-banner h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 520px; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 26px; }
.contact-card {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand-100); color: var(--text); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card--wa .ico { background: #e7f9ee; color: #1a9e4b; }
.contact-card strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 15px; }
.contact-card span { font-size: 14.5px; color: var(--muted); }
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(22,169,227,.15); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field__help { font-size: 12.5px; color: var(--muted); min-height: 1.2em; }
.field select { appearance: auto; -webkit-appearance: menulist; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d93636; }
.form__foot { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form__hint { font-size: 13px; color: var(--muted); max-width: 360px; }
.form__status { margin-top: 14px; font-size: 14.5px; padding: 12px 14px; border-radius: 10px; display: none; }
.form__status.is-ok { display: block; background: #e7f9ee; color: #146c36; border: 1px solid #b7ebc9; }
.form__status.is-err { display: block; background: #fdecec; color: #8f1d1d; border: 1px solid #f5c2c2; }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Footer ---------- */
.footer { background: #071627; color: #aebccb; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__brand img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 16px; }
.footer__brand p { font-size: 14.5px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer a { color: #aebccb; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13.5px; color: #7f8fa0;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .wa-tip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 10px;
  font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-float:hover .wa-tip { opacity: 1; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tour__spin { animation: none; }
  .hero__video { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Sin efectos hover en pantallas táctiles */
@media (hover: none) {
  .btn:hover, .card:hover, .contact-card:hover, .wa-float:hover { transform: none; }
  .wa-float .wa-tip { display: none; }
}

@media (max-width: 900px) {
  .hero__video { display: none; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn--outline { display: none; }
  .about, .facilities, .location, .contact, .cta-banner { grid-template-columns: 1fr; }
  .location__media { grid-template-rows: auto auto; }
  .about__card { left: -12px; bottom: -24px; }
  .cta-banner__actions { justify-content: flex-start; }
  .faq { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .logo img { height: 40px; }
  .header__actions .btn--primary { padding: 10px 16px; font-size: 13.5px; }
  .services { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 22px 24px; }
  .stat:last-child { border-bottom: 0; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .testimonial { grid-template-columns: 1fr; }
  .howto { grid-template-columns: 96px 1fr; gap: 14px; }
  .howto__thumb { width: 96px; }
  .hero__cta .btn { width: 100%; }
  .about__card { left: 0; right: 0; bottom: auto; top: calc(100% + 14px); max-width: none; }
  .video-frame { width: min(100%, 320px); border-radius: 22px; margin-bottom: 104px; }
  .video-frame::before { inset: -20px -10px; }
  .video-frame video, .video-frame__play { border-radius: 22px; }
  .about__media { flex-direction: column; align-items: center; }
  .wa-float { right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .hero__bg img { object-position: 50% 70%; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero__badge { font-size: 12px; }
  .tour__cta span:not(.tour__play) { display: none; }
  .tour__play { width: 68px; height: 68px; }
}
