/* ==========================================================
   Complejo Las Nenas · La Falda, Córdoba
   Landing page — JLE-Tecnologías Web
   ========================================================== */

:root {
  --ink: #1d1826;          /* noche serrana */
  --ink-2: #2b2436;
  --plum: #6a3d78;         /* color de la marca */
  --plum-soft: #efe6f2;
  --sun: #e6a157;          /* atardecer en Punilla */
  --sun-deep: #c9772e;
  --sage: #56694d;
  --cream: #faf7f2;
  --stone: #efe8de;
  --line: #e2d9cc;
  --text: #2a2530;
  --muted: #6c6472;
  --white: #fff;
  --wa: #1fa855;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 18px;
  --r-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(29, 24, 38, .35);
  --shadow-sm: 0 6px 20px -10px rgba(29, 24, 38, .3);
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(15.5px, 1vw + 11px, 17px);
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
}
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h2 em, h1 em { font-style: italic; color: var(--sun-deep); font-weight: 400; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.center { text-align: center; }
.lead { font-size: clamp(17px, 1.3vw + 10px, 20px); color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--plum); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sun); }

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

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15.5px; text-decoration: none; line-height: 1.2;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(230, 161, 87, .9); }
.btn--sun:hover { background: #f0b06a; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17924a; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.header.is-solid { background: rgba(29, 24, 38, .94); backdrop-filter: blur(10px); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .7); background: #fff; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-family: var(--f-display); font-weight: 500; font-size: 21px; white-space: nowrap; }
.brand small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 10px 12px; border-radius: 8px; opacity: .92; }
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.nav .btn { margin-left: 10px; min-height: 44px; padding: 10px 20px; font-size: 14.5px; }
.nav .btn:hover { background: #f0b06a; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .15); color: #fff; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s ease, background .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__slide.is-on img { animation: kb 9s ease-out forwards; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(29, 24, 38, .55) 0%, rgba(29, 24, 38, 0) 26%),
    linear-gradient(0deg, rgba(29, 24, 38, .92) 0%, rgba(29, 24, 38, .45) 42%, rgba(29, 24, 38, .05) 75%);
}
.hero__content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(36px, 7vw, 80px); width: 100%; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 72px); max-width: 17ch; margin-bottom: 18px; font-weight: 400; }
.hero h1 em { color: var(--sun); }
.hero__sub { font-size: clamp(17px, 1.4vw + 10px, 21px); max-width: 52ch; opacity: .93; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 14.5px; font-weight: 600; }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; height: 18px; color: var(--sun); flex: none; }
.hero__caption { position: absolute; right: calc(var(--gut) + 84px); bottom: 18px; z-index: 2; font-size: 12px; opacity: .75; max-width: 40ch; text-align: right; }
.hero__dots { display: flex; gap: 8px; margin-top: 22px; }
.hero__dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.hero__dots button[aria-current="true"] { background: var(--sun); }

/* ---------- Franja de servicios ---------- */
.perks { background: var(--ink); color: #fff; }
.perks ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.perks svg { width: 30px; height: 30px; color: var(--sun); flex: none; }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro__pics { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intro__pics img { border-radius: var(--r); object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.intro__pics .p1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.intro__pics .p2, .intro__pics .p3 { aspect-ratio: 1 / 1; }
.intro__badge {
  position: absolute; left: -14px; top: 38%; background: var(--sun); color: var(--ink); border-radius: 50%;
  width: 120px; height: 120px; display: grid; place-content: center; text-align: center; font-weight: 800; line-height: 1.1;
  box-shadow: var(--shadow); font-size: 13px; transform: rotate(-8deg);
}
.intro__badge b { font-family: var(--f-display); font-size: 34px; font-weight: 500; display: block; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 30px 0; padding: 0; list-style: none; }
.stats li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 12px; text-align: center; }
.stats b { display: block; font-family: var(--f-display); font-size: 30px; font-weight: 500; color: var(--plum); line-height: 1.1; }
.stats span { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.3; display: block; margin-top: 4px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--sage); flex: none; margin-top: 2px; }

/* ---------- Paisajes de La Falda ---------- */
.paisajes { background: var(--ink); color: #e9e3ee; }
.paisajes h2, .paisajes h3 { color: #fff; }
.paisajes .lead { color: #cfc6d6; }
.banner { position: relative; min-height: clamp(460px, 78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.banner > picture, .banner > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29, 24, 38, 1) 0%, rgba(29, 24, 38, .6) 38%, rgba(29, 24, 38, .05) 80%); }
.banner__txt { position: relative; z-index: 1; padding-bottom: clamp(30px, 5vw, 60px); }
.banner__txt h2 { max-width: 18ch; }
.banner__txt p { max-width: 60ch; font-size: clamp(16px, 1.2vw + 10px, 19px); color: #ddd5e3; }

.postales { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 14px; }
.postal { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--ink-2); grid-column: span 4; }
.postal--w { grid-column: span 8; }
.postal--t { grid-row: span 2; }
.postal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.postal:hover img { transform: scale(1.05); }
.postal figcaption {
  position: absolute; inset: auto 0 0 0; padding: 50px 18px 16px; color: #fff;
  background: linear-gradient(0deg, rgba(16, 12, 22, .92), rgba(16, 12, 22, 0));
}
.postal figcaption b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 21px; line-height: 1.2; }
.postal figcaption span { font-size: 13.5px; opacity: .88; display: block; line-height: 1.45; margin-top: 4px; }
.postal .tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.postal button { position: absolute; inset: 0; z-index: 2; background: none; border: 0; padding: 0; }

.miradas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 8vw, 100px); }
.miradas__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.miradas__pics img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.miradas__pics img:first-child { margin-top: 40px; }
.quote { font-family: var(--f-display); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.35; color: #fff; font-style: italic; font-weight: 400; margin: 0 0 18px; }

/* ---------- Alojamientos ---------- */
.units { display: grid; gap: clamp(28px, 4vw, 44px); margin-top: 48px; }
.unit { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--white); border-radius: calc(var(--r) + 6px); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.unit:nth-child(even) { grid-template-columns: 1fr 1.25fr; }
.unit:nth-child(even) .unit__media { order: 2; }
.unit__media { position: relative; min-width: 0; background: var(--stone); }
.unit__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; min-width: 0; }
.unit__loc { font-size: 13px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.unit__loc svg { width: 16px; height: 16px; color: var(--plum); }
.unit__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; padding: 0; list-style: none; }
.unit__badges li { background: var(--plum-soft); color: var(--plum); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.unit__badges li.hl { background: var(--sun); color: var(--ink); }
.unit__feat { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14.5px; }
.unit__feat li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.unit__feat svg { width: 18px; height: 18px; color: var(--sage); flex: none; margin-top: 1px; }
.unit__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.unit__ctas .btn { flex: 1 1 200px; }

/* Carrusel con scroll-snap */
.carousel { position: relative; height: 100%; min-height: 360px; }
.carousel__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 100%; scroll-snap-align: start; position: relative; margin: 0; }
.carousel__item img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.carousel__item button { position: absolute; inset: 0; border: 0; background: none; padding: 0; cursor: zoom-in; }
.carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); z-index: 2; }
.carousel__nav svg { width: 20px; height: 20px; }
.carousel__nav--prev { left: 14px; }
.carousel__nav--next { right: 14px; }
.carousel__count { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: rgba(29, 24, 38, .78); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.carousel__video { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .94); color: var(--ink); border: 0; font-size: 13.5px; font-weight: 800; padding: 8px 14px 8px 8px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.carousel__video i { width: 28px; height: 28px; border-radius: 50%; background: #e62117; display: grid; place-items: center; }
.carousel__video i::before { content: ""; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }

/* ---------- Espacios comunes ---------- */
.comunes { background: var(--stone); }
.comunes__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.comunes__head > div { max-width: 640px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 12px; }
.strip figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; }
.strip figure:first-child { grid-column: span 2; grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.strip figure:hover img { transform: scale(1.05); }
.strip figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.strip button { position: absolute; inset: 0; border: 0; background: none; padding: 0; cursor: zoom-in; }

/* ---------- Un día en Las Nenas ---------- */
.dia__list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: d; }
.dia__list li { background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.dia__list img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.dia__list div { padding: 20px 20px 24px; }
.dia__list time { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-deep); }
.dia__list h3 { font-size: 22px; margin: 6px 0 8px; }
.dia__list p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Comparativa ---------- */
.compare { background: var(--white); }
.table-wrap { overflow-x: auto; margin-top: 36px; border-radius: var(--r); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.table th, .table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--ink); color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 19px; }
.table tbody th { font-weight: 700; color: var(--muted); font-size: 14px; width: 24%; background: var(--cream); }
.table tr:last-child td, .table tr:last-child th { border-bottom: 0; }
.yes { color: var(--sage); font-weight: 800; }

/* ---------- Ubicación ---------- */
.ubi__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.addr { display: grid; gap: 14px; margin: 26px 0; }
.addr div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px; }
.addr b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 20px; color: var(--ink); }
.addr span { color: var(--muted); font-size: 15px; }
.addr a { font-weight: 700; color: var(--plum); font-size: 14.5px; }
.dist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.dist li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.dist li b { color: var(--plum); white-space: nowrap; }
.map { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--stone); position: relative; aspect-ratio: 4 / 3.4; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; text-align: center; padding: 20px; background: linear-gradient(135deg, var(--plum-soft), var(--stone)); }
.map__ph p { margin: 0; font-weight: 700; }
.map__tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.map__tabs button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; }
.map__tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 860px; margin: 40px auto 0; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 16.5px; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--plum); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Reservar ---------- */
.reservar { background: var(--ink); color: #e9e3ee; position: relative; overflow: hidden; }
.reservar::before { content: ""; position: absolute; inset: 0; background: var(--bg) center / cover no-repeat; opacity: .16; }
.reservar .wrap { position: relative; }
.reservar h2 { color: #fff; }
.res__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; font-weight: 600; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); word-break: break-word; }
.contact-list a:hover { background: rgba(255, 255, 255, .12); }
.contact-list svg { width: 22px; height: 22px; color: var(--sun); flex: none; }
.form { background: var(--white); color: var(--text); border-radius: calc(var(--r) + 4px); padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }
.form h3 { margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 14.5px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--cream); font: inherit; font-size: 16px; color: var(--text); appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); background: #fff; box-shadow: 0 0 0 4px var(--plum-soft); }
.hp { position: absolute !important; left: -9999px !important; }
.form__actions { display: grid; gap: 10px; margin-top: 6px; }
.form__alt { background: none; border: 0; color: var(--plum); font-weight: 700; text-decoration: underline; padding: 8px; font-size: 14.5px; }
.form__msg { margin: 12px 0 0; font-weight: 700; font-size: 14.5px; min-height: 1.2em; }
.form__msg.ok { color: var(--sage); }
.form__msg.err { color: #b3261e; }
.form small { color: var(--muted); display: block; margin-top: 10px; font-size: 12.5px; }

/* ---------- Footer ---------- */
.footer { background: #141019; color: #b9b0c2; font-size: 14.5px; padding: 56px 0 120px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer a { color: #e2dbe8; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social svg { width: 20px; height: 20px; }
.credits { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 24px; font-size: 12.5px; color: #8d8496; }
.credits a { color: #b9b0c2; text-decoration: underline; }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31, 168, 85, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.mbar { display: none; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(12, 9, 16, .96); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lb.is-open { display: flex; }
.lb__stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb iframe { width: min(1100px, 100%); aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; }
.lb iframe.is-vertical { width: auto; height: min(100%, 860px); max-width: 100%; aspect-ratio: 9 / 16; }
.lb__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lb__btn:hover { background: rgba(255, 255, 255, .24); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__close { top: 14px; right: 14px; }
.lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #ddd; font-size: 14px; padding: 0 70px; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide.is-on img { animation: none; transform: none; }
  .wa-float::before { animation: none; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .perks ul { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .dia__list { grid-template-columns: repeat(2, 1fr); }
  .postales { grid-auto-rows: 190px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 12px var(--gut) 24px; gap: 2px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s ease; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; border-radius: 999px; border-bottom: 0; min-height: 52px; }
  .header.menu-open { background: var(--ink); }

  .intro__grid, .ubi__grid, .res__grid, .miradas { grid-template-columns: 1fr; }
  .intro__pics { order: -1; }
  .intro__badge { left: auto; right: 10px; top: auto; bottom: -26px; width: 104px; height: 104px; }
  .unit, .unit:nth-child(even) { grid-template-columns: 1fr; }
  .unit:nth-child(even) .unit__media { order: 0; }
  .carousel, .carousel__item img { min-height: 0; }
  .carousel__item { aspect-ratio: 4 / 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .postales { grid-template-columns: repeat(6, 1fr); }
  .postal, .postal--w { grid-column: span 3; }
  .postal--t { grid-row: span 1; }
  .postal--hero { grid-column: 1 / -1; grid-row: span 2; }
  .strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

@media (max-width: 680px) {
  body { padding-bottom: 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 19px; }
  .hero { align-items: flex-end; }
  .hero h1 { max-width: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__proof { gap: 10px 18px; font-size: 13.5px; }
  .hero__proof li { flex: 1 1 calc(50% - 18px); }
  .hero__caption { display: none; }
  .perks ul { grid-template-columns: repeat(2, 1fr); padding: 22px 0; }
  .perks li { font-size: 14px; }
  .perks svg { width: 26px; height: 26px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .postales { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 12px; }
  .postal, .postal--w, .postal--hero { grid-column: auto; grid-row: auto; }
  .postal--hero { grid-row: span 1; }
  .miradas__pics img:first-child { margin-top: 24px; }
  .unit__feat { grid-template-columns: 1fr; }
  .unit__ctas .btn { flex: 1 1 100%; }
  .strip { grid-auto-rows: 150px; }
  .strip figure:first-child { grid-row: span 1; }
  .dia__list { grid-template-columns: 1fr; }
  .dia__list li { flex-direction: row; }
  .dia__list img { width: 38%; aspect-ratio: auto; height: auto; min-height: 100%; }
  .dia__list div { padding: 16px; }
  .dia__list h3 { font-size: 19px; }
  .dia__list p { font-size: 14px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 110px; }
  .wa-float { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
    box-shadow: 0 -8px 30px -12px rgba(0, 0, 0, .3);
  }
  .mbar a { min-height: 50px; padding: 10px; font-size: 15px; }
  .lb { padding: 64px 10px; }
  .lb__prev, .lb__next { top: auto; bottom: 14px; transform: none; }
  .lb__cap { bottom: 28px; padding: 0 76px; font-size: 13px; }
  .carousel__nav { width: 40px; height: 40px; }
}

@media (max-width: 380px) {
  .brand small { display: none; }
  .hero__proof li { flex: 1 1 100%; }
  .stats b { font-size: 26px; }
}
