/* ==========================================================================
   Mad Suite · Madrid Airport Suite — hoja de estilos
   Dirección: editorial, cálida, boutique. Papel + verde profundo + terracota.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/CormorantGaramond.woff2) format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/CormorantGaramond-Italic.woff2) format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/Jost.woff2) format("woff2");
}

:root {
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --sand: #e3d9c6;
  --ink: #1d221f;
  --ink-2: #4b514d;
  --ink-3: #646a66;
  --green: #2f5c4c;
  --green-2: #407c69;
  --green-3: #d6e4dc;
  --terra: #b56953;
  --terra-text: #9a4f3a;
  --terra-2: #f0dcd2;
  --white: #fffdf9;

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Helvetica, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Grano sutil sobre todo el papel */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  font-family: var(--body); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 10px 30px -12px rgba(47, 92, 76, 0.6); }
.btn-primary:hover { background: var(--green-2); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(0,0,0,0.05); }
.btn-light { background: var(--white); color: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; }

/* Etiquetas y títulos de sección */
.kicker {
  display: inline-flex; align-items: center; gap: 0.75em;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--terra-text);
  margin-bottom: 1.2rem;
}
.kicker::before { content: ""; width: 2.2em; height: 1px; background: currentColor; }
.title { font-size: clamp(2.3rem, 5vw, 4rem); color: var(--ink); }
.title em { font-style: italic; color: var(--green); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid { background: rgba(246, 242, 234, 0.97); box-shadow: 0 1px 0 rgba(29,34,31,0.1); padding: 10px 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; position: relative; z-index: 2; }
.brand img { height: 44px; width: auto; transition: height 0.4s; }
.header.is-solid .brand img { height: 36px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px); }
.nav a { text-decoration: none; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--terra); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 0.7em 1.3em; font-size: 0.85rem; }
.nav .lang { font-size: 0.78rem; letter-spacing: 0.14em; color: var(--ink-2); border: 1px solid rgba(29,34,31,0.25); border-radius: 999px; padding: 0.45em 0.8em; line-height: 1; }
.nav .lang::after { display: none; }
.nav .lang:hover { border-color: var(--ink); color: var(--ink); }
.nav a.btn-primary { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink); position: relative; z-index: 2; }
.nav-toggle svg { width: 26px; height: 26px; display: block; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-extra { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--paper);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 0;
    padding: 96px var(--gutter) 40px;
    opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path 0.55s var(--ease), opacity 0.3s, visibility 0s 0.55s;
  }
  .nav.is-open { opacity: 1; visibility: visible; clip-path: inset(0); transition: clip-path 0.55s var(--ease), opacity 0.2s; }
  .nav a:not(.btn) {
    font-family: var(--display); font-size: clamp(2.2rem, 9vw, 3rem); text-transform: none; letter-spacing: -0.01em; font-weight: 500;
    padding: 0.18em 0; width: 100%; border-bottom: 1px solid rgba(29,34,31,0.1);
    opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav.is-open a:not(.btn) { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(1) { transition-delay: 0.15s; }
  .nav.is-open a:nth-child(2) { transition-delay: 0.21s; }
  .nav.is-open a:nth-child(3) { transition-delay: 0.27s; }
  .nav.is-open a:nth-child(4) { transition-delay: 0.33s; }
  .nav .btn { margin-top: 28px; padding: 0.95em 1.6em; font-size: 0.95rem; opacity: 0; transition: opacity 0.5s var(--ease) 0.4s, transform 0.35s var(--ease); }
  .nav.is-open .btn { opacity: 1; }
  .nav a.lang { font-family: var(--body); font-size: 0.8rem; letter-spacing: 0.14em; width: auto; border: 1px solid rgba(29,34,31,0.25); border-bottom: 1px solid rgba(29,34,31,0.25); padding: 0.55em 0.9em; margin-top: 18px; opacity: 0; transition: opacity 0.5s var(--ease) 0.45s; }
  .nav.is-open a.lang { opacity: 1; transform: none; }
  .nav-extra { display: grid; gap: 6px; margin-top: auto; padding-top: 28px; font-size: 0.95rem; color: var(--ink-2); }
  .nav-extra a { text-decoration: none; border-bottom: 1px solid var(--sand); align-self: start; }
  .nav-extra span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
  .hero-media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; z-index: 1; background: linear-gradient(180deg, rgba(246,242,234,0.85), rgba(246,242,234,0)); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(96px + 4vw) var(--gutter) 64px calc(var(--gutter));
  position: relative; z-index: 2;
}
.hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.4s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.55s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero h1 { font-size: clamp(2.9rem, 6.2vw, 5.4rem); line-height: 0.98; }
.hero h1 em { font-style: italic; color: var(--green); font-weight: 500; }
.hero .lead { margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 2.8rem 0 0; padding: 0; list-style: none; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.hero-facts li { display: inline-flex; align-items: center; gap: 0.6em; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }

.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: none; } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(246,242,234,0) 18%);
}
.hero-card {
  position: absolute; left: calc(41.6667% - clamp(12px, 3vw, 40px)); bottom: clamp(28px, 6vw, 72px); z-index: 3;
  background: var(--white); padding: 20px 24px; border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(29,34,31,0.35);
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center;
  opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) 0.9s forwards;
  max-width: 320px;
}
.hero-card strong { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--green); grid-row: span 2; font-weight: 600; }
.hero-card span { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.hero-card small { font-size: 0.9rem; color: var(--ink-2); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; height: 62svh; min-height: 380px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(246,242,234,0) 60%, var(--paper) 100%); }
  .hero-copy { padding-top: 12px; }
  .hero-card { display: none; }
}

/* ---------- Franja de ventajas ---------- */
.ribbon {
  border-block: 1px solid rgba(29,34,31,0.12);
  background: var(--paper-2);
  overflow: hidden;
}
.ribbon ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; width: max-content; animation: ticker 48s linear infinite; }
.ribbon li { display: inline-flex; align-items: center; gap: 14px; padding: 16px 32px; white-space: nowrap; font-family: var(--display); font-size: 1.35rem; font-style: italic; color: var(--ink-2); }
.ribbon li::after { content: "✦"; font-style: normal; font-size: 0.7rem; color: var(--terra); margin-left: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ribbon:hover ul { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ribbon ul { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .ribbon li:nth-child(n + 8) { display: none; }
  .hero-copy > *, .hero-card, .hero-media img { animation: none; opacity: 1; transform: none; }
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Por qué — bloques editoriales alternos */
.why { display: grid; gap: clamp(56px, 8vw, 120px); }
.feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.feature-media { grid-column: 1 / span 7; position: relative; }
.feature-copy { grid-column: 8 / span 5; }
.feature:nth-child(even) .feature-media { grid-column: 6 / span 7; grid-row: 1; }
.feature:nth-child(even) .feature-copy { grid-column: 1 / span 5; grid-row: 1; }
.feature-media .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.feature-media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .frame img { transform: scale(1.03); }
.feature-media .inset {
  position: absolute; width: 38%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  bottom: -8%; right: -6%; box-shadow: 0 30px 60px -24px rgba(29,34,31,0.45); border: 6px solid var(--paper);
}
.feature:nth-child(even) .feature-media .inset { right: auto; left: -6%; }
.feature-media .inset img { width: 100%; height: 100%; object-fit: cover; }
.feature-num { font-family: var(--display); font-size: 5rem; line-height: 1; color: var(--sand); font-weight: 600; margin-bottom: -1.6rem; position: relative; z-index: 0; }
.feature-num::before { content: attr(data-num); }
.feature h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); position: relative; z-index: 1; margin-bottom: 0.8rem; }
.feature p { color: var(--ink-2); }
.feature ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 10px; }
.feature li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.feature li svg { flex: none; width: 20px; height: 20px; color: var(--green-2); margin-top: 3px; }
.feature li strong { color: var(--ink); font-weight: 500; }

@media (max-width: 900px) {
  .feature, .feature:nth-child(even) { display: block; }
  .feature-media { margin-bottom: 28px; }
  .feature-media .inset { width: 34%; bottom: -14px; right: 8px; }
  .feature:nth-child(even) .feature-media .inset { left: auto; right: 8px; }
}

/* Comodidades — rejilla de detalles */
.amenities { margin-top: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: rgba(29,34,31,0.12); border: 1px solid rgba(29,34,31,0.12); }
.amenity { background: var(--paper); padding: 28px 24px; display: grid; gap: 10px; transition: background 0.3s; }
.amenity:hover { background: var(--white); }
.amenity svg { width: 28px; height: 28px; color: var(--green-2); }
.amenity h4 { font-size: 1.25rem; }
.amenity p { font-size: 0.95rem; color: var(--ink-2); margin: 0; }

/* ---------- Estancias — galería ---------- */
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .title { color: var(--paper); }
.section-dark .title em { color: #a9c9ba; }
.section-dark .lead { color: rgba(246,242,234,0.72); }
.section-dark .kicker { color: #e2b3a2; }
.gallery {
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 12px;
  grid-auto-flow: dense;
}
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: #2a302c; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 36px 16px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.9);
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s;
}
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; transform: none; }
.gallery button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery button:focus-visible { outline: 2px solid var(--terra); outline-offset: -4px; }
.g-wide { grid-column: span 3; }
.g-tall { grid-row: span 2; grid-column: span 2; }
.g-big { grid-column: span 4; grid-row: span 2; }
.g-sq { grid-column: span 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-wide, .g-tall, .g-big, .g-sq { grid-column: span 1; grid-row: span 1; }
  .g-big, .g-tall { grid-column: span 2; }
}

dialog.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; color: #fff; }
dialog.lightbox::backdrop { background: rgba(10, 12, 11, 0.92); backdrop-filter: blur(6px); }
dialog.lightbox figure { margin: 0; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px clamp(16px, 8vw, 110px) 24px; gap: 14px; }
dialog.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8); animation: lbin 0.35s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(0.97); } }
dialog.lightbox figcaption { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
dialog.lightbox .lb-count { color: rgba(255,255,255,0.45); margin-left: 0.6em; }
dialog.lightbox button { position: fixed; background: rgba(255,255,255,0.1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; cursor: pointer; display: grid; place-items: center; transition: background 0.25s; }
dialog.lightbox button:hover { background: rgba(255,255,255,0.25); }
dialog.lightbox button svg { width: 26px; height: 26px; }
dialog.lightbox .lb-close { top: 16px; right: 16px; font-size: 1.6rem; line-height: 1; }
dialog.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
dialog.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  dialog.lightbox figure { padding: 56px 12px 72px; }
  dialog.lightbox .lb-prev, dialog.lightbox .lb-next { top: auto; bottom: 14px; transform: none; }
  dialog.lightbox .lb-prev { left: calc(50% - 60px); }
  dialog.lightbox .lb-next { right: calc(50% - 60px); }
}

/* ---------- Banda CTA skyline ---------- */
.band { position: relative; color: var(--white); min-height: 520px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,34,31,0.25), rgba(29,34,31,0.72)); z-index: -1; }
.band .wrap { text-align: center; padding-block: 96px; max-width: 760px; }
.band h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 1rem; }
.band h2 em { font-style: italic; color: #e9c9b8; }
.band p { color: rgba(255,255,255,0.82); font-size: 1.1rem; }

/* ---------- Reservas ---------- */
.booking-frame {
  background: var(--white); border-radius: 8px; padding: clamp(8px, 1.5vw, 16px);
  box-shadow: 0 40px 80px -40px rgba(29,34,31,0.35), 0 0 0 1px rgba(29,34,31,0.06);
}
.booking-frame iframe { width: 100%; height: 820px; border: 0; border-radius: 4px; background: var(--paper-2); display: block; }
.booking-note { margin-top: 18px; font-size: 0.95rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.booking-note a { color: var(--green); }

/* ---------- Opiniones ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.review { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); position: relative; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 1px 0 rgba(29,34,31,0.06), 0 30px 50px -40px rgba(29,34,31,0.35); }
.review::before { content: "“"; position: absolute; top: 8px; right: 24px; font-family: var(--display); font-size: 6rem; line-height: 1; color: var(--terra-2); }
.review-head { display: flex; align-items: center; gap: 14px; }
.review-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-head strong { display: block; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.8rem; color: var(--ink-3); }
.review-head span { font-family: var(--display); font-size: 1.5rem; color: var(--green); font-weight: 600; line-height: 1; }
.review blockquote { margin: 0; font-family: var(--display); font-size: 1.3rem; line-height: 1.4; color: var(--ink); flex: 1; }
.review cite { font-style: normal; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.review cite::before { content: "— "; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info dl { margin: 2rem 0 0; display: grid; gap: 22px; }
.contact-info dt { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.contact-info dd { margin: 0; font-size: 1.15rem; }
.contact-info dd a { text-decoration: none; border-bottom: 1px solid var(--sand); transition: border-color 0.25s; }
.contact-info dd a:hover { border-color: var(--terra); }
.contact-map { margin-top: 2.4rem; border-radius: var(--radius); overflow: hidden; position: relative; display: block; }
.contact-map img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.contact-map:hover img { transform: scale(1.03); }
.contact-map span { position: absolute; left: 14px; bottom: 14px; background: var(--white); padding: 8px 14px; border-radius: 999px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }

.form { background: var(--white); padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(29,34,31,0.06), 0 40px 70px -50px rgba(29,34,31,0.4); }
.form h3 { font-size: 1.9rem; margin-bottom: 0.4rem; }
.form > p { color: var(--ink-2); margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid rgba(29,34,31,0.14); border-radius: var(--radius); padding: 12px 14px;
  transition: border-color 0.25s, background 0.25s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--green-2); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-2); }
.consent input { margin-top: 5px; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.turnstile:not(:empty) { margin-top: 14px; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-msg { font-size: 0.95rem; min-height: 1.5em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--terra); }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: rgba(246,242,234,0.7); padding: 64px 0 28px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer h4 { color: var(--paper); font-family: var(--body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.footer img { height: 40px; width: auto; margin-bottom: 18px; }
.footer p { margin: 0 0 8px; }
.footer a { text-decoration: none; color: rgba(246,242,234,0.85); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(246,242,234,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: rgba(246,242,234,0.5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
  transition: transform 0.35s var(--ease);
}
.wa:hover { transform: translateY(-3px) scale(1.04); }
.wa svg { width: 28px; height: 28px; }

/* Aviso de idioma */
.langbar {
  position: fixed; left: 18px; bottom: 18px; z-index: 95;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: min(92vw - 72px, 520px);
  background: var(--white); color: var(--ink); padding: 14px 16px 14px 20px; border-radius: 8px;
  box-shadow: 0 24px 48px -20px rgba(29,34,31,0.45), 0 0 0 1px rgba(29,34,31,0.06);
  opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.langbar.is-in { opacity: 1; transform: none; }
.langbar p { margin: 0; font-size: 0.95rem; flex: 1 1 200px; }
.langbar .btn { padding: 0.65em 1.2em; font-size: 0.85rem; }
.langbar button { background: none; border: 0; color: var(--ink-3); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 4px 6px; }
.langbar button:hover { color: var(--ink); }
@media (max-width: 600px) { .langbar { left: 12px; right: 84px; bottom: 12px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .langbar { transition: none; } }

/* Revelado al hacer scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
