/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #FDFCFA;   /* blanco puro cálido */
  --bg-2:      #F6F2EB;   /* beige claro */
  --sand:      #EDE6DA;   /* arena */
  --paper:     #FFFFFF;
  --ink:       #26241F;   /* casi negro cálido */
  --ink-soft:  #4A463F;
  --mute:      #8A857C;   /* gris muy suave */
  --sage:      #A9B7A0;   /* verde salvia pastel */
  --sage-deep: #6E7F63;   /* salvia profundo — CTA */
  --sage-dark: #55644C;
  --blue:      #A9B8C4;   /* azul grisáceo pastel */
  --gold:      #B79A63;   /* dorado sutil */
  --line:      rgba(38, 36, 31, 0.10);

  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Manrope", var(--sans);

  --shadow-sm: 0 1px 2px rgba(38,36,31,.04), 0 4px 12px rgba(38,36,31,.05);
  --shadow-md: 0 2px 6px rgba(38,36,31,.05), 0 14px 34px rgba(38,36,31,.08);
  --shadow-lg: 0 6px 16px rgba(38,36,31,.07), 0 28px 60px rgba(38,36,31,.12);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 300;
}
strong { font-weight: 500; color: var(--ink); }
::selection { background: var(--sage); color: #fff; }
:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: min(1200px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.container-narrow { width: min(760px, 100% - var(--gutter) * 2); }

.kicker {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.kicker::after {
  content: "";
  display: inline-block;
  width: 2.6rem; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-left: .9rem;
  opacity: .55;
}
.kicker-light { color: rgba(255,255,255,.85); }
.kicker-light::after { background: rgba(255,255,255,.5); }

.section { padding-block: clamp(5rem, 10vw, 8.5rem); }
.section-head { max-width: 640px; margin-bottom: clamp(2.6rem, 6vw, 4.2rem); }
.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  margin-bottom: 1rem;
}
.section-head h2 em, .perfil-card h2 em, .cta h2 em, .contacto-card h2 em, .hero-title em {
  font-style: normal;
  font-weight: 500;
}
.section-sub { color: var(--mute); font-size: 1.02rem; max-width: 54ch; }

/* Reveals — defensivo: contenido visible por defecto, JS lo prepara */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s var(--ease-soft), color .3s var(--ease-soft);
  will-change: transform;
}
.btn .ico-wa { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary {
  background: var(--sage-deep);
  color: #FDFDFB;
  box-shadow: 0 10px 26px rgba(110,127,99,.28);
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(110,127,99,.34);
}
.btn-primary:active { transform: translateY(0); }
.btn-light {
  background: #FDFDFB;
  color: var(--sage-dark);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-nav {
  background: var(--ink);
  color: var(--bg);
  padding: .6rem 1.25rem;
  font-size: .85rem;
}
.btn-nav:hover { background: var(--sage-dark); transform: translateY(-1px); }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background-color .4s var(--ease-soft), box-shadow .4s var(--ease-soft), backdrop-filter .4s var(--ease-soft);
}
.nav.is-solid {
  background: rgba(253,252,250,.86);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(38,36,31,.05);
}
@supports (backdrop-filter: blur(14px)) {
  .nav.is-solid { background: rgba(253,252,250,.72); backdrop-filter: blur(14px) saturate(160%); }
}
.nav-inner {
  width: min(1280px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1rem;
}
.nav-brand {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  transition: color .4s var(--ease-soft);
  white-space: nowrap;
}
.nav-brand em { font-style: normal; font-weight: 600; }
.nav-brand-mark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.nav.is-solid .nav-brand { color: var(--ink); }
.nav-links {
  display: none;
  gap: 1.9rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--display);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: rgba(255,255,255,.92);
  position: relative;
  padding-block: .3rem;
  transition: color .4s var(--ease-soft);
}
.nav.is-solid .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn-nav { display: none; margin-left: .5rem; }

.nav-toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  display: grid;
  place-content: center;
  gap: 7px;
  border-radius: 50%;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.6px;
  background: #fff;
  transition: transform .4s var(--ease-out), background-color .4s;
}
.nav.is-solid .nav-toggle span, .nav.is-open .nav-toggle span { background: var(--ink); }
.nav.is-open .nav-toggle span:first-child { transform: translateY(4.3px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-4.3px) rotate(-45deg); }

/* Menú móvil */
.nav.is-open { background: var(--bg); }
.nav.is-open .nav-brand { color: var(--ink); }
.nav.is-open .nav-links {
  display: flex;
  position: fixed;
  inset: 68px 0 auto 0;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  padding: .8rem var(--gutter) 2rem;
  box-shadow: 0 30px 40px rgba(38,36,31,.08);
}
.nav.is-open .nav-links a {
  color: var(--ink);
  font-size: 1.05rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav .btn-nav { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
}
.hero-media {
  position: absolute;
  inset: -6% 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(200deg, rgba(38,36,31,.18) 0%, rgba(38,36,31,0) 36%),
    linear-gradient(180deg, rgba(38,36,31,.34) 0%, rgba(38,36,31,.10) 34%, rgba(38,36,31,.16) 58%, rgba(31,29,25,.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-block: clamp(6.5rem, 14vh, 9rem) clamp(4.5rem, 12vh, 7.5rem);
  max-width: 1200px;
}
.hero-kicker {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  font-weight: 250;
  color: #fff;
  max-width: 17ch;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,.88);
  max-width: 52ch;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--display);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.85);
}
.hero-note .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(169,183,160,.6);
  animation: pulse 2.6s var(--ease-soft) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(169,183,160,.55); }
  70% { box-shadow: 0 0 0 9px rgba(169,183,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(169,183,160,0); }
}
.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  right: clamp(1.25rem, 4vw, 3rem);
  width: 1px; height: 64px;
  background: rgba(255,255,255,.25);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.9);
  transform: translateY(-100%);
  animation: scrollHint 2.4s var(--ease-soft) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* =============================================================
   7. Ventajas
   ============================================================= */
.ventajas { background: var(--bg); }
.ventajas-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.ventaja {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s;
}
.ventaja:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(183,154,99,.35);
}
.ventaja-icon {
  display: inline-grid;
  place-content: center;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--bg-2);
  margin-bottom: 1.35rem;
  transition: background-color .45s var(--ease-soft);
}
.ventaja:hover .ventaja-icon { background: #EDF0E8; }
.ventaja-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--sage-deep);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ventaja h3 {
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: .5rem;
}
.ventaja p { color: var(--mute); font-size: .95rem; }

@media (min-width: 720px) { .ventajas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .ventajas-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }

/* =============================================================
   8. Galería
   ============================================================= */
.galeria { background: var(--bg-2); }
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2.2rem;
}
.filtro {
  font-family: var(--display);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  transition: background-color .35s var(--ease-soft), color .35s, border-color .35s, transform .35s var(--ease-out);
}
.filtro:hover { transform: translateY(-1px); border-color: rgba(110,127,99,.4); }
.filtro.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.foto {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.foto.is-hidden { display: none; }
.foto:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.foto button {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
}
.foto:hover img { transform: scale(1.06); filter: brightness(1.04); }
.foto figcaption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 2;
  font-family: var(--display);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(38,36,31,.42);
  padding: .4rem .85rem;
  border-radius: 999px;
  pointer-events: none;
}
@supports (backdrop-filter: blur(8px)) {
  .foto figcaption { background: rgba(38,36,31,.3); backdrop-filter: blur(8px); }
}

@media (min-width: 540px) { .galeria-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .galeria-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
@media (min-width: 1280px) { .galeria-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   9. Planos
   ============================================================= */
.planos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.plano {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.1rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.plano:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plano button {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 1.3rem;
}
.plano button img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  object-position: top left;
  transition: transform .9s var(--ease-out);
}
.plano:hover button img { transform: scale(1.04); }
.plano-zoom {
  position: absolute;
  right: .9rem; bottom: .9rem;
  display: grid;
  place-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(38,36,31,.78);
  transition: background-color .35s, transform .45s var(--ease-out);
}
.plano:hover .plano-zoom { background: var(--sage-dark); transform: scale(1.08); }
.plano-zoom svg {
  width: 19px; height: 19px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.plano h3 {
  font-size: 1.1rem;
  font-weight: 500;
  padding-inline: .6rem;
  margin-bottom: .3rem;
}
.plano p { color: var(--mute); font-size: .92rem; padding-inline: .6rem; }

@media (min-width: 960px) { .planos-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   10. Condiciones
   ============================================================= */
.condiciones { background: var(--bg-2); }
.condiciones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.condicion {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s;
}
.condicion:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(183,154,99,.35);
}
.condicion-icon {
  display: inline-grid;
  place-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: #F4F0E7;
  margin-bottom: 1.25rem;
}
.condicion-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.condicion h3 { font-size: 1.08rem; font-weight: 500; margin-bottom: .5rem; }
.condicion p { color: var(--mute); font-size: .95rem; }
.condicion-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .55rem;
  color: var(--mute);
  font-size: .95rem;
}
.condicion-list li {
  position: relative;
  padding-left: 1.4rem;
}
.condicion-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: .55rem; height: 1px;
  background: var(--gold);
}

@media (min-width: 720px) {
  .condiciones-grid { grid-template-columns: repeat(2, 1fr); }
  .condicion-wide { grid-column: span 2; }
}
@media (min-width: 1280px) {
  .condiciones-grid { grid-template-columns: repeat(6, 1fr); gap: 1.4rem; }
  .condicion { grid-column: span 2; }
  .condicion-wide { grid-column: span 2; }
}

/* =============================================================
   11. Perfil del inquilino
   ============================================================= */
.perfil { padding-top: 0; }
.perfil-card {
  position: relative;
  background: linear-gradient(150deg, #F2F4EE 0%, #EBEFE5 55%, #E8EDE2 100%);
  border: 1px solid rgba(110,127,99,.18);
  border-radius: var(--r-lg);
  padding: clamp(2.4rem, 6vw, 4.2rem);
  box-shadow: var(--shadow-sm);
  overflow: clip;
}
.perfil-card::before {
  content: "";
  position: absolute;
  top: -30%; right: -12%;
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,154,99,.14), transparent 70%);
  pointer-events: none;
}
.perfil-card h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  max-width: 22ch;
  margin-bottom: 2rem;
}
.perfil-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem 2.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.perfil-list li { display: flex; align-items: center; gap: .8rem; }
.check {
  display: inline-grid;
  place-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sage-deep);
  flex: none;
}
.check svg {
  width: 13px; height: 13px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 720px) { .perfil-list { grid-template-columns: repeat(2, auto); justify-content: start; } }

/* =============================================================
   12. CTA
   ============================================================= */
.cta {
  position: relative;
  padding-block: clamp(5.5rem, 11vw, 9rem);
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(169,183,160,.28), transparent 55%),
    radial-gradient(80% 100% at 90% 100%, rgba(169,184,196,.22), transparent 55%),
    linear-gradient(160deg, #3E4A38 0%, #55644C 60%, #5C6B52 100%);
  overflow: clip;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 70% 20%, rgba(183,154,99,.12), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.cta h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.7rem);
  color: #FDFDFB;
  font-weight: 300;
  margin-bottom: 2.4rem;
}
.cta h2 em { color: #E9E4D2; }

/* =============================================================
   13. Formulario
   ============================================================= */
.solicitud { background: var(--bg); }
.solicitud .section-head { margin-inline: auto; text-align: center; max-width: 560px; }
.solicitud .section-sub { margin-inline: auto; }
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4.5vw, 3rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.35rem;
}
.form-row { display: grid; gap: 1.35rem; }
@media (min-width: 720px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--ink);
}
.field input, .field textarea {
  font: inherit;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .85rem 1.05rem;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #B4AFA5; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(110,127,99,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-hint {
  text-align: center;
  font-size: .84rem;
  color: var(--mute);
}

/* =============================================================
   14. Contacto
   ============================================================= */
.contacto { background: var(--bg-2); }
.contacto-card {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2.6rem, 6vw, 4rem);
  box-shadow: var(--shadow-md);
}
.contacto-icon {
  display: inline-grid;
  place-content: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(150deg, #EDF0E8, #E2E8DA);
  color: var(--sage-deep);
  margin-bottom: 1.6rem;
}
.contacto-icon svg { width: 40px; height: 40px; }
.contacto-card h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: .8rem; }
.contacto-sub {
  color: var(--mute);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* =============================================================
   15. Footer
   ============================================================= */
.footer {
  padding: 2.4rem var(--gutter);
  font-size: .86rem;
  color: var(--mute);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  width: min(1200px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.6rem;
}
.footer-links a, .footer-credit a {
  position: relative;
  transition: color .3s var(--ease-soft);
}
.footer-links a::after, .footer-credit a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  opacity: .35;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.footer-links a:hover::after, .footer-credit a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-links a:hover { color: var(--ink); }
.footer-credit a { color: var(--gold); font-weight: 400; }
.footer-credit a:hover { color: var(--ink); }
@media (min-width: 960px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* =============================================================
   15b. Pantalla de carga (splash)
   ============================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  background: var(--bg);
  transition: opacity .7s var(--ease-soft), visibility .7s;
  /* Red de seguridad: se oculta sola a los 4.5s aunque falle el JS */
  animation: splashSafety .01s 4.5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.splash.is-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-inner {
  display: grid;
  justify-items: center;
  gap: 1.4rem;
}
.splash-mark {
  width: 68px; height: 68px;
  border-radius: 15px;
  box-shadow: 0 18px 44px rgba(38,36,31,.18);
  animation: splashMark 1.6s var(--ease-out) both;
}
@keyframes splashMark {
  from { opacity: 0; transform: translateY(14px) scale(.92); }
  30%  { opacity: 1; }
  to   { transform: none; }
}
.splash-line {
  width: 120px; height: 1.5px;
  background: var(--sand);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.splash-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: splashLine 1.8s var(--ease-soft) .2s infinite;
}
@keyframes splashLine {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* =============================================================
   15c. Páginas legales
   ============================================================= */
.legal-main {
  padding: clamp(7rem, 14vw, 9.5rem) 0 clamp(4rem, 8vw, 6rem);
}
.legal-main h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  margin-bottom: .8rem;
}
.legal-updated {
  font-size: .85rem;
  color: var(--mute);
  margin-bottom: 2.8rem;
}
.legal-main h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 2.4rem 0 .8rem;
}
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: .98rem; }
.legal-main p + p { margin-top: .8rem; }
.legal-main ul {
  margin: .8rem 0;
  padding-left: 1.3rem;
  display: grid;
  gap: .5rem;
}
.legal-note {
  background: var(--bg-2);
  border: 1px solid rgba(183,154,99,.3);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.3rem;
  font-size: .92rem;
  color: var(--ink-soft);
  margin: 1.2rem 0;
}
.legal-main a:not(.btn) {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* =============================================================
   16. Lightbox
   ============================================================= */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(24,23,20,.9); }
@supports (backdrop-filter: blur(10px)) {
  .lightbox::backdrop { background: rgba(24,23,20,.82); backdrop-filter: blur(10px); }
}
.lightbox figure {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  display: grid;
  gap: .9rem;
  justify-items: center;
}
.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--r-sm);
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
  animation: lbIn .45s var(--ease-out);
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(.965) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.lightbox figcaption {
  font-family: var(--display);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255,255,255,.85);
}
.lightbox-close {
  position: fixed;
  top: 1.2rem; right: 1.2rem;
  width: 48px; height: 48px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: background-color .3s, transform .4s var(--ease-out);
  z-index: 2;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.lightbox-close svg, .lightbox-nav svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: background-color .3s, transform .35s var(--ease-out);
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }
@media (max-width: 719px) {
  .lightbox-nav { top: auto; bottom: 1.4rem; transform: none; }
  .lightbox-prev { left: calc(50% - 66px); }
  .lightbox-next { right: calc(50% - 66px); }
  .lightbox-prev:hover, .lightbox-next:hover { transform: none; }
}

/* =============================================================
   17. WhatsApp flotante
   ============================================================= */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--sage-deep);
  color: #fff;
  box-shadow: 0 12px 30px rgba(85,100,76,.4);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s;
  opacity: 0;
  pointer-events: none;
}
.wa-float.is-shown { opacity: 1; pointer-events: auto; animation: waIn .6s var(--ease-out); }
@keyframes waIn { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.wa-float:hover {
  background: var(--sage-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 40px rgba(85,100,76,.48);
}
.wa-float svg { width: 28px; height: 28px; }

/* =============================================================
   18. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll span { animation: none; }
  .hero-note .dot { animation: none; }
}
