/* ============================================================
   Las Olas del Mar — Guía del huésped
   Sistema visual: Les Roches Rouges (Beaumier)
   Headlines: Futura Bold Condensed → Oswald (stand-in libre)
   Body: system-ui · Fondo arena #FAF6EE
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --sand: #FAF6EE;
  --sand-deep: #F1EADB;
  --ink: #212529;
  --ink-soft: #5b5f63;
  --line: #d9d2c4;
  --white: #ffffff;
  --cond: "Oswald", "Futura", "Helvetica Neue", sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 860px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--sand);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 40px);
  transition: background .3s ease, box-shadow .3s ease;
}
.topbar.solid {
  background: var(--sand);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  font-family: var(--cond); font-weight: 600; font-size: 18px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--white);
  text-decoration: none; transition: color .3s ease;
}
.topbar.solid .brand { color: var(--ink); }
.langbar { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.lang {
  font-family: var(--cond); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); opacity: .75;
  background: none; border: none; cursor: pointer;
  padding: 4px 7px; transition: opacity .15s ease, color .3s ease;
}
.topbar.solid .lang { color: var(--ink); }
.lang:hover { opacity: 1; }
.lang.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang.pending { opacity: .3; cursor: default; }
.lang.sep { opacity: .3; padding: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-media, .hero video, .hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
/* placeholder mediterráneo mientras no hay vídeo */
.hero-media.placeholder {
  background:
    radial-gradient(120% 80% at 50% -10%, #cfe0e6 0%, #a9c4cf 30%, #5b8aa0 62%, #1f4a5e 100%);
}
.hero-media.placeholder::after {
  content: "TU VÍDEO AQUÍ";
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--cond); font-size: 13px; letter-spacing: .3em;
  color: rgba(255,255,255,.55); text-transform: uppercase;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(15,28,36,.62) 0%, rgba(15,28,36,.12) 40%, rgba(15,28,36,.15) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 0 clamp(20px, 6vw, 64px) clamp(48px, 9vh, 92px);
  max-width: 1100px;
}
.hero .kicker {
  font-family: var(--cond); font-weight: 500; font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: .3em; text-transform: uppercase; color: var(--white);
  margin-bottom: 14px; opacity: .92;
}
.hero-title {
  font-family: var(--cond); font-weight: 600;
  font-size: clamp(48px, 11vw, 104px); line-height: .94;
  letter-spacing: .01em; text-transform: uppercase; color: var(--white);
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero-sub {
  margin-top: 18px; max-width: 50ch; color: var(--white);
  font-size: clamp(15px, 2vw, 18px); line-height: 1.55; opacity: .94;
}
.scrollcue {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--white); font-family: var(--cond);
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; opacity: .7;
}

/* ---------- contents / index ---------- */
.contents {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) clamp(20px, 5vw, 40px) clamp(20px, 4vw, 40px);
}
.contents h2 {
  font-family: var(--cond); font-weight: 600; font-size: 13px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 18px;
}
.toc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.toc a {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--cond); font-weight: 400; font-size: 17px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  transition: color .15s ease, padding-left .15s ease;
}
.toc a:hover { padding-left: 6px; color: #000; }
.toc .ti { font-size: 17px; width: 22px; text-align: center; }

/* ---------- sections ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
section.block { padding: clamp(40px, 7vw, 64px) 0; border-bottom: 1px solid var(--line); }
section.block:last-of-type { border-bottom: none; }
.sec-kicker {
  font-family: var(--cond); font-weight: 500; font-size: 13px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 10px;
}
.sec-title {
  font-family: var(--cond); font-weight: 600;
  font-size: clamp(34px, 7vw, 60px); line-height: 1.0;
  letter-spacing: .01em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 22px;
}
.sec-title .si { margin-right: 12px; -webkit-text-fill-color: initial; }
section.block p { margin-bottom: 14px; }
section.block strong { font-weight: 600; color: #000; }

/* callout (parking) */
.callout {
  background: var(--sand-deep); border: 1px solid var(--line);
  border-left: 3px solid var(--ink); padding: 18px 20px; margin: 18px 0;
}
.callout .clabel {
  font-family: var(--cond); font-weight: 600; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 6px;
}

/* action button (maps) — squared, uppercase */
.actionbtn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--cond); font-weight: 500; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: transparent;
  border: 1px solid var(--ink); border-radius: 0;
  text-decoration: none; padding: 13px 30px; margin-top: 10px;
  transition: background .2s ease, color .2s ease;
}
.actionbtn:hover { background: var(--ink); color: var(--sand); }
.actionbtn::after { content: "↗"; }

/* wifi */
.wifi { display: grid; gap: 1px; margin: 6px 0 16px; border: 1px solid var(--ink); }
.wifi-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ink); color: var(--sand); padding: 16px 18px; cursor: pointer;
  transition: background .18s ease;
}
.wifi-row:hover { background: #000; }
.wifi-row .wl {
  font-family: var(--cond); font-weight: 500; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-bottom: 4px;
}
.wifi-row .wv { font-family: var(--cond); font-weight: 500; font-size: 22px; letter-spacing: .03em; }
.wifi-row .copyhint {
  font-family: var(--cond); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; opacity: .65;
  border: 1px solid rgba(250,246,238,.35); padding: 5px 10px; white-space: nowrap;
}

/* features (home) */
.feature { padding: 16px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: none; }
.feature h3 {
  font-family: var(--cond); font-weight: 600; font-size: 17px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 5px;
}

/* lists */
ul.clean { list-style: none; display: grid; gap: 11px; margin: 8px 0 14px; }
ul.clean li { position: relative; padding-left: 22px; }
ul.clean li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 1px; background: var(--ink); }

/* link chips (places) */
.linkgroup { margin: 16px 0; }
.linkgroup .lgt {
  font-family: var(--cond); font-weight: 600; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px;
}
.linkchips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--cond); font-weight: 400; font-size: 14px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  background: transparent; border: 1px solid var(--line); border-radius: 0;
  padding: 9px 15px; transition: border-color .15s ease, background .15s ease;
}
.chip:hover { border-color: var(--ink); background: var(--sand-deep); }
.chip::after { content: "↗"; font-size: 12px; }

/* emergency */
.emergency {
  display: flex; align-items: center; gap: 18px;
  background: var(--sand-deep); border: 1px solid var(--line);
  padding: 18px 20px; margin-bottom: 14px;
}
.emergency .enum { font-family: var(--cond); font-weight: 700; font-size: 46px; line-height: 1; color: var(--ink); }
.emergency .elabel {
  font-family: var(--cond); font-weight: 500; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
}

/* footer */
.foot { max-width: var(--maxw); margin: 0 auto; text-align: center; padding: clamp(48px,8vw,80px) clamp(20px,5vw,40px) 56px; }
.foot p {
  font-family: var(--cond); font-weight: 500; font-size: clamp(22px, 4vw, 32px);
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.foot small {
  display: block; margin-top: 26px; font-family: var(--cond);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft);
}

/* toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--sand);
  font-family: var(--cond); font-size: 13px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; padding: 12px 22px; border-radius: 0; z-index: 50;
  opacity: 0; pointer-events: none; transition: all .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 480px) {
  .toc { grid-template-columns: 1fr; }
}

/* ============================================================
   Logo lockup + bandas de foto (estructura Beaumier)
   ============================================================ */
body { overflow-x: hidden; }

/* hero: centrar el lockup */
.hero { justify-content: center; align-items: center; text-align: center; }
.hero-inner { padding: 0 clamp(20px,6vw,64px); max-width: none; }
.eyebrow {
  font-family: var(--cond); font-weight: 500; font-size: clamp(12px,1.5vw,16px);
  letter-spacing: .34em; text-transform: uppercase; color: #fff; opacity: .9;
  margin-bottom: 22px;
}

/* logo lockup (todo blanco) */
.logo { color: #fff; line-height: 1; }
.logo-l1 {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  font-size: clamp(46px, 11vw, 104px); letter-spacing: .02em;
  text-shadow: 0 2px 36px rgba(0,0,0,.28);
}
.logo-l2 {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  font-size: clamp(20px, 4.4vw, 42px); letter-spacing: .26em;
  margin-top: 4px; text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.logo-waves {
  width: clamp(150px, 26vw, 240px); height: auto;
  margin: clamp(14px,2.4vw,22px) auto clamp(12px,2vw,18px);
  display: block; filter: drop-shadow(0 2px 20px rgba(0,0,0,.25));
}
.logo-sub {
  font-family: var(--cond); font-weight: 500; text-transform: uppercase;
  font-size: clamp(11px, 1.7vw, 16px); letter-spacing: .32em; opacity: .92;
}

/* ---------- banda intro (foto IMG_4998 + texto) ---------- */
.introband { display: block; }
.introband-photo { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.introband-photo img { width: 100%; height: clamp(360px, 72vh, 720px); object-fit: cover; display: block; }
.introband-text {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(36px,6vw,60px) clamp(20px,5vw,40px) clamp(12px,3vw,24px);
  text-align: center;
}
.introband-h {
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  font-size: clamp(28px,5.5vw,48px); line-height: 1.02; letter-spacing: .01em;
  color: var(--ink); margin: 8px 0 16px;
}
.introband-text p { font-size: clamp(16px,2.1vw,19px); color: var(--ink-soft); max-width: 56ch; margin: 0 auto; }

/* ---------- banda de foto por sección ---------- */
.sec-body { /* contenedor del cuerpo tras banda/título */ }
.secband {
  position: relative; width: 100vw; margin-left: 50%; transform: translateX(-50%);
  margin-bottom: clamp(24px,4vw,40px);
}
.secband img { width: 100%; height: clamp(300px,56vh,560px); object-fit: cover; display: block; }
.secband::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,28,36,.55), rgba(15,28,36,.05) 55%, rgba(15,28,36,.15));
}
.secband-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(20px,5vw,44px) clamp(20px,6vw,56px);
  max-width: 1100px; margin: 0 auto;
}
.sec-kicker.light { color: rgba(255,255,255,.85); }
.sec-title.light { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.3); margin-bottom: 0; }

/* ---------- galería (La casa) ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 6px; }
.gallery img { width: 100%; height: clamp(160px,28vw,260px); object-fit: cover; display: block; }

/* ---------- marca pie ---------- */
.foot-mark svg { width: 96px; height: auto; margin: 0 auto 20px; display: block; }

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ============================================================
   Bloques 50/50 alternantes (réplica Beaumier) — v2
   ============================================================ */
main { max-width: 1180px; }

/* intro como fila 50/50 */
.introband {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px,4vw,60px); align-items: center;
  padding: clamp(48px,7vw,88px) clamp(20px,5vw,40px) clamp(8px,2vw,16px);
}
.introband-photo { width: auto; margin: 0; transform: none; }
.introband-photo img { width: 100%; height: 100%; aspect-ratio: 4/5; max-height: 600px; object-fit: cover; }
.introband-text { padding: 0; text-align: left; max-width: none; }
.introband-text p { margin: 0; max-width: 46ch; }
.introband-h { margin: 8px 0 14px; }

/* filas de sección */
.row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px,4vw,60px); align-items: center;
  padding: clamp(40px,5.5vw,72px) 0; border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: none; }
.row-photo img {
  width: 100%; height: 100%; aspect-ratio: 4/5; max-height: 600px;
  object-fit: cover; display: block;
}
.row.rev .row-photo { order: 2; }
.row-text { min-width: 0; }
.row-text .sec-kicker { color: var(--ink-soft); }
.row-text .sec-title {
  font-size: clamp(26px, 3.6vw, 42px); line-height: 1.04; margin-bottom: 16px;
}
.row-text .sec-title .si { display: none; } /* sin emoji en títulos */
.row-text p { font-size: 16.5px; }

/* fila sin foto (info práctica): texto a ancho de columna, centrado */
.row-solo { grid-template-columns: 1fr; justify-items: start; }
.row-solo .row-text { max-width: 680px; }

@media (max-width: 760px) {
  .introband, .row { grid-template-columns: 1fr; }
  .row.rev .row-photo { order: 0; }
  .introband-photo img, .row-photo img { aspect-ratio: 4/3; max-height: 460px; }
}

/* ============================================================
   Bloque "places" — lista descriptiva inline (sin clicks)
   ============================================================ */
.places { margin: 18px 0 6px; }
.places .lgt {
  font-family: var(--cond); font-weight: 600; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
  margin: 20px 0 12px;
}
.places .lgt:first-child { margin-top: 0; }
.place { padding: 14px 0; border-top: 1px solid var(--line); }
.place:first-of-type { border-top: none; }
.place-name {
  font-family: var(--cond); font-weight: 600; font-size: 16px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px;
}
.place-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 7px; }
.place-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--cond); font-weight: 500; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: border-color .15s ease;
}
.place-link:hover { border-color: var(--ink); }
.place-link::after { content: "↗"; }

.foot .credit { margin-top: 8px; opacity: .7; text-transform: none; letter-spacing: .04em; }

/* ============================================================
   Cómo llegar: foto horizontal a lo ancho + texto debajo
   ============================================================ */
.row-wide { display: block; }
.row-wide .row-photo.wide { margin: 0; }
.row-wide .row-photo.wide img {
  width: 100%; height: auto; max-height: none; aspect-ratio: auto; display: block;
}
.row-wide .row-text {
  max-width: 760px; margin: clamp(22px,3vw,34px) auto 0; text-align: left;
}

/* Check-in: el número 7 está arriba de la puerta → anclar arriba para no perderlo */
#sections .row#checkin .row-photo img { object-position: center top; }
@media (max-width: 760px) {
  #sections .row#checkin .row-photo img { aspect-ratio: 3/4; object-position: center top; max-height: 560px; }
}

/* ============================================================
   "Lo que debes saber" — destacados con iconos (estilo Airbnb)
   ============================================================ */
.goodtoknow {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(28px,4vw,44px) clamp(20px,5vw,40px);
  border-top: 1px solid var(--line);
}
.gtk-heading {
  font-family: var(--cond); font-weight: 600; font-size: 13px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: clamp(18px,2.5vw,26px);
}
.gtk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px,3vw,30px) clamp(24px,4vw,48px); }
.gtk-card { display: flex; gap: 16px; align-items: flex-start; }
.gtk-icon { flex: 0 0 auto; width: 30px; height: 30px; color: var(--ink); margin-top: 2px; }
.gtk-icon svg { width: 100%; height: 100%; display: block; }
.gtk-title {
  font-family: var(--cond); font-weight: 600; font-size: 16px;
  letter-spacing: .03em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px;
}
.gtk-text { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }

@media (max-width: 600px) { .gtk-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- equipamiento: lo que tiene / no tiene ---------- */
.amen { margin-top: clamp(26px,3.5vw,38px); }
.amen-label {
  font-family: var(--cond); font-weight: 600; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
  margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--line);
}
.amen-label.no { color: #9a3b2e; }
.amen-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 28px; }
.amen-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.amen-ic { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }
.amen-ic svg { width: 100%; height: 100%; display: block; }
.amen-list.yes .amen-ic { color: var(--ink); }
.amen-list.no .amen-ic { color: #9a3b2e; }
.amen-list.no .amen-txt { text-decoration: line-through; color: var(--ink-soft); }

@media (max-width: 600px) { .amen-list { grid-template-columns: 1fr; } }
