/* =========================================================================
   Plaza Aeropuerto — «Grafito y cobre». Mobile-first:
   base = 320–599 px · @600 tablet · @900 laptop · @1200 escritorio.
   Orden: 1 fuentes · 2 tokens · 3 base · 4 layout · 5 componentes · 6 secciones · 7 movimiento
   ========================================================================= */

/* 1. Fuentes ------------------------------------------------------------- */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* 2. Tokens -------------------------------------------------------------- */
:root {
  --ink-900: #121212;
  --ink-800: #1a1a1a;
  --ink-700: #262626;
  --ivory: #f4efe6;
  --ivory-ink: #2a2622;
  --stone: #d8d2c8;
  --muted: #9a948a;
  --copper: #c19a6b;
  --copper-600: #a9824f;
  --copper-700: #7d5a2e;
  --brand-red: #e2322b;
  --line: rgba(193, 154, 107, .28);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --header-h: 64px;
  --section-y: clamp(64px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 900px) { :root { --gutter: 40px; --header-h: 80px; } }

/* 3. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink-900);
  color: var(--stone);
  font: 400 clamp(1rem, .95rem + .2vw, 1.0625rem)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ivory);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  padding: 12px 16px; background: var(--copper); color: var(--ink-900);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 4. Layout -------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--raised { background: var(--ink-800); }
.section--light { background: var(--ivory); color: var(--ivory-ink); }
.section--light h2, .section--light h3 { color: #171411; }
.section--light .kicker { color: var(--copper-700); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }
.kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font: 500 .75rem/1.4 var(--font-body);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); }
.split { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } }

/* 5. Componentes --------------------------------------------------------- */

/* 5.1 Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 1px solid var(--copper);
  font: 600 .8125rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--copper); color: var(--ink-900); }
.btn--primary:hover { background: #d2ad7f; border-color: #d2ad7f; }
.btn--ghost { background: transparent; color: var(--ivory); }
.btn--ghost:hover { background: rgba(193, 154, 107, .12); }
.section--light .btn--ghost { color: var(--ivory-ink); border-color: var(--copper-700); }

/* 5.2 Cabecera */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled, body.menu-open .site-header, body[data-page="404"] .site-header {
  background: rgba(18, 18, 18, .96);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 8px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto; text-decoration: none; }
.brand__logo { width: 40px; height: 40px; }
.brand__name { display: none; font-family: var(--font-display); font-size: 1.3rem; line-height: 1; color: var(--ivory); white-space: nowrap; }
.brand__name small { display: block; margin-top: 4px; font: 500 .625rem/1.2 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
@media (min-width: 400px) { .brand__name { display: block; } }

.lang { display: flex; align-items: center; }
.lang__item {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 8px;
  font: 600 .75rem/1 var(--font-body); letter-spacing: .1em;
  color: var(--muted); text-decoration: none;
}
.lang__item[aria-current] { color: var(--ivory); }
a.lang__item:hover { color: var(--copper); }
.lang__flag { width: 21px; height: 14px; border-radius: 1px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
a.lang__item .lang__flag { opacity: .8; }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; color: var(--ivory); cursor: pointer;
}
.menu-toggle .icon { grid-area: 1 / 1; width: 26px; height: 26px; }
.menu-toggle__close, .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0;
  padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--ink-900);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.site-nav__list { margin: 0; padding: 0; list-style: none; }
.site-nav__link {
  display: flex; align-items: center; min-height: 56px;
  border-bottom: 1px solid var(--ink-700);
  font-family: var(--font-display); font-size: 1.75rem; color: var(--ivory); text-decoration: none;
}
.site-nav__link[aria-current="page"] { color: var(--copper); }
body.menu-open { overflow: hidden; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .brand { margin-right: 0; }
  .site-nav {
    position: static; margin-left: auto; padding: 0; background: none; overflow: visible;
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .site-nav__list { display: flex; gap: clamp(14px, 2vw, 32px); }
  .site-nav__link {
    position: relative; min-height: 44px; border: 0;
    font: 500 .75rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--stone);
    white-space: nowrap;
  }
  .site-nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
    background: var(--copper); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__link[aria-current="page"] { color: var(--ivory); }
  .lang { margin-left: 12px; }
}
@media (min-width: 900px) and (max-width: 1199px) { .brand__name { display: none; } }
@media (min-width: 1200px) { .site-nav__link { font-size: .8125rem; } }

/* 5.3 Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(56vh, 480px); min-height: min(56svh, 480px);
  padding: calc(var(--header-h) + 48px) 0 clamp(40px, 7vw, 80px);
}
.hero--home { min-height: min(88vh, 760px); min-height: min(88svh, 760px); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  /* franja superior oscura para la cabecera + degradado inferior para el texto (fotos claras incluidas) */
  background:
    linear-gradient(to bottom, rgba(12, 12, 12, .7) 0, rgba(12, 12, 12, 0) calc(var(--header-h) + 60px)),
    linear-gradient(to top, rgba(12, 12, 12, .94) 0%, rgba(12, 12, 12, .7) 45%, rgba(12, 12, 12, .35) 100%);
}
.hero__content > * { max-width: 820px; }
.hero__title { margin-bottom: .35em; }
.hero__lead { max-width: 620px; margin-bottom: 28px; font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); }

/* 5.4 Banda de contacto */
.cta { padding-block: clamp(56px, 8vw, 96px); background: var(--ink-800); border-top: 1px solid var(--line); }
.cta__inner { display: grid; gap: 28px; }
.cta__title { margin-bottom: .3em; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta__actions .btn { flex: 1 1 220px; }
.cta__phone { flex-basis: 100%; margin: 4px 0 0; font-size: .9375rem; color: var(--muted); }
.cta__phone a { display: inline-block; padding-block: 12px; color: var(--ivory); }
@media (min-width: 900px) {
  .cta__inner { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .cta__actions .btn { flex: 0 0 auto; }
}

/* 5.5 Pie */
.site-footer { padding-top: 56px; background: #0c0c0c; color: var(--muted); font-size: .9375rem; }
.site-footer__grid { display: grid; gap: 32px; padding-bottom: 40px; }
.site-footer__brand { display: flex; align-items: flex-start; gap: 14px; max-width: 340px; }
.site-footer__brand img { flex: none; }
.site-footer__nav { display: grid; margin: 0; padding: 0; list-style: none; }
.site-footer__nav a, .site-footer__contact a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--stone); text-decoration: none; overflow-wrap: anywhere;
}
.site-footer__nav a:hover, .site-footer__contact a:hover { color: var(--copper); }
.site-footer__contact { display: grid; font-style: normal; }
.site-footer__contact span { display: flex; align-items: flex-start; gap: 10px; padding-block: 10px; }
.site-footer__contact .icon { width: 18px; height: 18px; color: var(--copper); }
.site-footer__bottom { padding-block: 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ink-700); font-size: .8125rem; }
.site-footer__bottom p { padding-right: 72px; }
@media (min-width: 600px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }

/* 5.6 WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 90;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }
body.menu-open .wa-float, body.lightbox-open .wa-float { display: none; }

/* 5.7 Visor de imágenes */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(8, 8, 8, .97); color: var(--ivory);
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox__figure {
  grid-column: 1 / -1; grid-row: 1;
  display: grid; place-items: center; height: 100%; margin: 0;
  padding: 64px 8px 48px; overflow: auto;
}
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; cursor: zoom-in; }
.lightbox.is-zoomed .lightbox__figure { place-items: start; }
.lightbox.is-zoomed .lightbox__figure img { max-width: none; max-height: none; width: min(2400px, 250vw); cursor: zoom-out; }
.lightbox__figure figcaption { margin-top: 12px; font-size: .875rem; color: var(--muted); text-align: center; }
.lightbox__btn {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--line); background: rgba(18, 18, 18, .75); color: var(--ivory); cursor: pointer;
}
.lightbox__close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; }
.lightbox__prev { grid-column: 1; grid-row: 1; margin-left: 8px; }
.lightbox__next { grid-column: 3; grid-row: 1; margin-right: 8px; }
.lightbox[data-single] .lightbox__prev, .lightbox[data-single] .lightbox__next { display: none; }
body.lightbox-open { overflow: hidden; }

/* 5.8 Página 404 */
.notfound { min-height: 70vh; padding: calc(var(--header-h) + 80px) 0 96px; }

/* 6. Secciones: las agregan las Tasks 6–9 debajo de esta línea ------------ */

/* 6.1 El Proyecto y componentes compartidos (galería, video, cifras) */
.split--reverse > :last-child { order: -1; }
@media (max-width: 899px) { .split--reverse > :last-child { order: 0; } }

.media-stack { position: relative; padding-bottom: 16%; }
.media-stack picture:first-child { display: block; }
.media-stack__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-stack picture:nth-child(2) { position: absolute; right: 0; bottom: 0; width: 46%; border: 6px solid var(--ink-900); }
.media-stack__inset { width: 100%; aspect-ratio: 1; object-fit: cover; }

.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--copper-700); z-index: 0; }
.framed picture { position: relative; z-index: 1; }
.framed img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 599px) { .framed::before { inset: 10px -6px -10px 10px; } }

.stats-band { background: var(--ink-800); border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.stats__item { padding: 28px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.stats__item:nth-child(odd) { border-right: 1px solid var(--line); }
.stats__item:nth-last-child(-n + 2) { border-bottom: 0; }
.stats__value { display: block; font: 500 clamp(2rem, 5vw, 3.25rem)/1 var(--font-display); color: var(--copper); overflow-wrap: break-word; }
.stats__value small { font-size: .5em; color: var(--stone); }
.stats__value--text { font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.15; }
.stats__label { display: block; margin-top: 10px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats__item { padding-block: 44px; border-bottom: 0; border-right: 1px solid var(--line); }
  .stats__item:last-child { border-right: 0; }
}

.video { position: relative; max-width: 960px; margin-inline: auto; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video picture, .video img { width: 100%; height: 100%; object-fit: cover; }
.video::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); pointer-events: none; }
.video.is-playing::after { display: none; }
.video__play {
  position: absolute; inset: 0; z-index: 1; margin: auto;
  display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%;
  border: 1px solid var(--copper); background: rgba(18, 18, 18, .6); color: var(--ivory);
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.video__play .icon { width: 30px; height: 30px; margin-left: 4px; }
.video__play:hover { transform: scale(1.06); background: var(--copper); color: var(--ink-900); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__fallback { text-align: center; margin-top: 16px; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gallery a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-800); }
.gallery picture, .gallery img { width: 100%; height: 100%; }
.gallery img { object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery__caption { margin: 10px 0 0; font-size: .875rem; color: var(--muted); }
.section--light .gallery__caption { color: #5f574d; }

/* 6.2 Espacios Disponibles */
.highlights { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.highlights li { display: flex; align-items: baseline; gap: 12px; color: var(--ivory); }
.highlights li::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--copper); transform: translateY(-4px); }

.spaces { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .spaces { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .spaces { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.space-card {
  display: flex; flex-direction: column; height: 100%;
  padding: 28px 24px;
  background: var(--ink-900); border: 1px solid var(--ink-700); border-top: 2px solid var(--copper);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.space-card:hover { border-color: var(--copper); transform: translateY(-4px); }
.space-card__sub { margin: 0 0 6px; font: 500 .75rem/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.space-card h3 { margin-bottom: 20px; }
.space-card__facts { flex: 1; margin: 0 0 24px; }
.space-card__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ink-700); }
.space-card__facts dt { font-size: .875rem; color: var(--muted); }
.space-card__facts dd { margin: 0; font-weight: 500; text-align: right; color: var(--ivory); }
.space-card__cta { width: 100%; }

.gallery--plans a { aspect-ratio: 3 / 2; background: #fff; }
.gallery--plans img { object-fit: contain; }
.plans-hint { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: .875rem; color: #5f574d; }
.plans-hint .icon { width: 18px; height: 18px; color: var(--copper-700); }
@media (prefers-reduced-motion: reduce) { .space-card, .space-card:hover { transition: none; transform: none; } }

/* 6.3 Amenidades */
.amenities {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  margin: 0; padding: 0; list-style: none;
  background: var(--ink-700); border: 1px solid var(--ink-700);
}
@media (min-width: 600px) { .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.amenity { padding: 32px 24px; background: var(--ink-900); }
.amenity__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border: 1px solid var(--line); color: var(--copper); }
.amenity__icon .icon { width: 26px; height: 26px; }
.amenity h3 { margin-bottom: 14px; }
.amenity__list { margin: 0; padding: 0; list-style: none; }
.amenity__list li { position: relative; padding: 9px 0 9px 20px; border-top: 1px solid var(--ink-800); }
.amenity__list li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 9px; height: 1px; background: var(--copper); }

/* 6.4 Ubicación y mapa */
.map { position: relative; aspect-ratio: 4 / 3; background: var(--ink-800); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
@media (min-width: 900px) {
  .split--map { align-items: stretch; }
  .split--map .map { aspect-ratio: auto; min-height: 460px; }
}
.map-address { display: flex; align-items: flex-start; gap: 10px; color: var(--ivory); }
.map-address .icon { width: 20px; height: 20px; color: var(--copper); margin-top: 3px; }
.map-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.map-links .btn { flex: 1 1 220px; }

/* 6.5 Contacto y formulario */
.contact { display: grid; gap: clamp(48px, 6vw, 72px); }
@media (min-width: 900px) { .contact { grid-template-columns: 1.25fr 1fr; align-items: start; } }

.form { position: relative; }
.form__grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 8px; font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--ink-700); border-radius: 0;
  background: var(--ink-800); color: var(--ivory);
  font: 16px/1.4 var(--font-body);
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c19a6b' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 1px var(--copper); }
.field [aria-invalid="true"] { border-color: #e0715f; }
.field__error { margin: 6px 0 0; font-size: .875rem; color: #f08a78; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-bottom: 20px; padding: 14px 16px; border-left: 2px solid transparent; }
.form__status:empty { display: none; }
.form__status--ok { border-color: var(--copper); background: rgba(193, 154, 107, .1); color: var(--ivory); }
.form__status--error { border-color: #e0715f; background: rgba(224, 113, 95, .1); color: #f6c9c0; }
.form__note { margin: 14px 0; font-size: .8125rem; color: var(--muted); }
.form__submit { width: 100%; }
@media (min-width: 600px) { .form__submit { width: auto; } }
.form__submit[disabled] { opacity: .6; cursor: progress; }

.contact-list { margin: 0 0 28px; }
.contact-list > div { padding: 14px 0; border-bottom: 1px solid var(--ink-700); }
.contact-list dt { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.contact-list dt .icon { width: 18px; height: 18px; }
.contact-list dd { margin: 0; color: var(--ivory); }
.contact-list dd a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 16px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list dd a:hover { color: var(--copper); }
.map--small { aspect-ratio: 4 / 3; }

/* 7. Movimiento ---------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .site-nav, .site-header, .btn, .wa-float { transition: none; }
}
