/* Fuentes: Pluto Sans es versión de prueba (sin acentos/¿¡/$/%); el navegador usa la fuente del sistema para esos caracteres. */
@font-face { font-family: "Krylon"; src: url("../assets/fonts/Krylon-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pluto Sans"; src: url("../assets/fonts/PlutoSans-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Pluto Sans"; src: url("../assets/fonts/PlutoSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pluto Sans"; src: url("../assets/fonts/PlutoSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Pluto Sans"; src: url("../assets/fonts/PlutoSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --olive: #4e553d;
  --olive-dark: #3d4330;
  --sand: #c7bcab;
  --charcoal: #2f2e2c;
  --brown: #816149;
  --paper: #eae8e4;
  --font-display: "Krylon", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Pluto Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 300 17px/1.6 var(--font-body); color: var(--charcoal); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: .01em; }
.eyebrow { font-weight: 500; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.eyebrow--olive { color: var(--olive); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; font: 500 13px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: 3px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--olive { background: var(--olive); color: var(--paper); }
.btn--olive:hover { background: var(--olive-dark); }
.btn:disabled { opacity: .6; cursor: wait; }

/* Hero */
.hero { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 48px var(--gutter); color: var(--paper); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero__shade { position: absolute; inset: 0; background: rgba(47,46,44,.5); }
.hero__block { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3.4vw, 40px); width: 100%; text-align: center; }
.hero__logo { width: clamp(260px, 52vw, 720px); }
.hero__tagline { font: 400 clamp(17px, 2.6vw, 36px)/1.2 var(--font-display); letter-spacing: .28em; text-transform: uppercase; padding-left: .28em; text-wrap: balance; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Mensaje + precio */
.mensaje { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(32px, 5vw, 56px); min-height: 100svh; padding: clamp(48px, 8vw, 96px) var(--gutter); overflow: hidden; background: #e1d2d5; }
.mensaje__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mensaje__cta { position: relative; padding: 0 40px; }
.mensaje__inner { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(32px, 7vw, 120px); width: 100%; max-width: 1360px; }
.mensaje__frase { flex: 0 1 auto; width: clamp(280px, 40vw, 600px); }
.mensaje__precio { flex: 0 1 auto; width: clamp(180px, 25vw, 380px); mix-blend-mode: multiply; } /* el JPG trae fondo blanco: multiply lo funde con el fondo */

@media (max-width: 900px) {
  .mensaje__inner { flex-direction: column; gap: clamp(36px, 7vh, 64px); }
  .mensaje__frase { width: min(86vw, 520px, 44svh); }
  .mensaje__precio { width: min(52vw, 280px, 22svh); }
}

/* Ubicación */
.ubicacion { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--olive); color: var(--paper); }
.ubicacion__map > img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.ubicacion__info { align-self: center; padding: clamp(48px, 7vw, 100px) var(--gutter); }
.ubicacion__info .glyph { width: 70px; margin-bottom: 24px; }
.ubicacion h2 { margin-bottom: 32px; font-size: clamp(36px, 4.4vw, 58px); text-transform: uppercase; }
.lugares li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(199,188,171,.35); }
.lugares b { flex: none; font-weight: 500; color: var(--sand); }

/* Contacto */
.contacto { position: relative; display: grid; place-items: center; min-height: 800px; padding: 80px var(--gutter); overflow: hidden; }
.contacto__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contacto::after { content: ""; position: absolute; inset: 0; background: rgba(47,46,44,.3); }
.form { position: relative; z-index: 1; width: min(880px, 100%); padding: clamp(28px, 5vw, 52px) clamp(20px, 6vw, 56px); background: rgba(234,232,228,.92); border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.form h2 { text-align: center; font-size: clamp(32px, 4vw, 46px); color: var(--charcoal); }
.form__sub { margin: 8px 0 30px; text-align: center; color: var(--olive); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.field input, .field select { width: 100%; height: 48px; padding: 0 14px; font: 300 16px var(--font-body); color: var(--charcoal); background: #fff; border: 1px solid var(--sand); border-radius: 3px; text-overflow: ellipsis; }
.field select:invalid { color: #8a8a82; }
.field input:focus, .field select:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(199,188,171,.7); }
.field .is-invalid { border-color: #b3402f; }
.form__msg { min-height: 20px; margin-top: 18px; text-align: center; font-size: 14px; }
.form__msg.is-error { color: #b3402f; }
.form__msg.is-ok { color: var(--olive); }

/* Footer */
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px var(--gutter); background: #2f2e2c; color: var(--paper); }
.site-footer__credit { display: flex; flex-direction: column; align-items: center; gap: 6px; justify-self: start; }
.site-footer__credit:last-child { justify-self: end; }
.site-footer__credit p { font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(234,232,228,.7); white-space: nowrap; }
.site-footer__credit a { display: block; transition: opacity .2s; }
.site-footer__credit a:hover { opacity: .75; }
.site-footer__credit img { width: auto; }
.site-footer__credit:first-child img { height: 40px; }
.site-footer__credit:last-child img { height: 30px; }
.site-footer__social { display: flex; gap: 12px; }
.site-footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(234,232,228,.35); border-radius: 50%; transition: background .2s; }
.site-footer__social a:hover { background: rgba(234,232,228,.15); }
.site-footer__social img { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .ubicacion { grid-template-columns: 1fr; }
  .ubicacion__map > img { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .hero__tagline { font-size: 16px; letter-spacing: .2em; padding-left: .2em; }
  body { font-size: 16px; }
  .form__grid { grid-template-columns: 1fr; }
  .field input, .field select { font-size: 14px; padding: 0 10px; }
  .contacto { min-height: 0; padding-inline: 16px; }
  .site-footer { gap: 8px; padding-inline: 16px; }
  .site-footer__credit p { font-size: 8px; letter-spacing: .12em; }
  .site-footer__credit:first-child img { height: 36px; }
  .site-footer__credit:last-child img { height: 27px; }
  .site-footer__social { gap: 8px; }
  .site-footer__social a { width: 32px; height: 32px; }
}
/* Mapa interactivo (teléfono) */
@media (max-width: 767.98px) {
  .ubicacion__map { position: relative; height: min(70svh, 560px); min-height: 380px; padding: 14px; background: var(--paper); }
  .ubicacion__map.is-interactive > img { display: none; }
}
.kk-map { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 6px; background: #a9d1dd; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.kk-map.kk-drag { cursor: grabbing; }
.kk-map-img { position: absolute; top: 0; left: 0; max-width: none; height: auto; transform-origin: 0 0; will-change: transform; pointer-events: none; -webkit-user-drag: none; }
.kk-zoom { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; background: #fff; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.22); overflow: hidden; }
.kk-zoom button { width: 44px; height: 44px; padding: 0; border: 0; background: #fff; color: var(--olive); font: 400 26px/1 var(--font-body); cursor: pointer; touch-action: manipulation; }
.kk-zoom button + button { border-top: 1px solid #e0dcd6; }
.kk-zoom button:active { background: var(--olive); color: #fff; }
.kk-zoom button:disabled { color: #b9b5ae; }
.kk-cover { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; transition: opacity .35s ease; -webkit-tap-highlight-color: transparent; }
.kk-cover.kk-off { opacity: 0; pointer-events: none; }
.kk-cover svg { width: 64px; height: 64px; animation: kk-swipe 1.6s ease-in-out infinite; }
.kk-cover span { font: 500 18px var(--font-body); letter-spacing: .24em; text-transform: uppercase; }
@keyframes kk-swipe { 0%, 100% { transform: translateX(-12px); } 50% { transform: translateX(12px); } }
@media (prefers-reduced-motion: reduce) { .kk-cover svg { animation: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
