/* Tipografías alojadas en la propia web (sin Google Fonts) */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400; font-display: swap; src: url("fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2"); }

:root {
  --cream: #fbf7f0;
  --sand: #f3e8d6;
  /* Dorado del logo (#af8c58), oscurecido para que el texto blanco se lea bien */
  --gold: #8c7046;
  --gold-dark: #7a623e;
  --sea: #3b7a87;
  --ink: #2f2923;
  --muted: #6f655b;
  --line: #e4d7c3;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(80,55,30,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}
h1, h2, h3, .logo { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 1rem; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: .5rem 1rem; }

/* Botones */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .9rem 1.6rem;
  font: 600 1rem "Inter", sans-serif;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-ghost { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn-ghost:hover { background: var(--sand); }
.btn-light { background: #fff; color: var(--gold); }
.btn-light:hover { background: var(--sand); }
.btn-full { width: 100%; }

/* Navegación */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(16px, 4vw, 48px);
  background: rgba(251,247,240,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo { font-size: 1.4rem; text-decoration: none; display: flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang {
  border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none;
  padding: .4rem .8rem; font: 600 .85rem "Inter"; color: var(--ink);
}
.burger { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* Portada */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  padding: 4rem clamp(16px, 6vw, 80px) 6rem;
  background: #2f6b78 url("img/vistas/7.webp") center 40% / cover;
  color: #fff;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,30,20,.72), rgba(40,30,20,.25)); }
.hero-content { position: relative; max-width: 760px; width: 100%; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: .3rem 0 1rem; }
.hero-sub { font-size: 1.15rem; opacity: .95; margin: 0 0 2rem; max-width: 600px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--gold); margin: 0 0 .5rem; }
.hero .eyebrow { color: #fff; opacity: .9; }
.center { text-align: center; }

.badge { display: inline-block; background: rgba(255,255,255,.92); color: var(--gold-dark); font-weight: 600; font-size: .9rem; border-radius: 999px; padding: .4rem 1rem; margin: 0 0 1rem; }

/* Buscador de fechas */
.search {
  display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: .5rem; align-items: end;
  background: #fff; color: var(--ink); border-radius: 20px; padding: .8rem; box-shadow: 0 20px 40px rgba(0,0,0,.18);
}
.search label { display: flex; flex-direction: column; gap: .15rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .3rem .6rem; }
.search input, .search select {
  border: 0; border-bottom: 1.5px solid var(--line); padding: .35rem 0; font: 500 1rem "Inter"; color: var(--ink); background: transparent; width: 100%;
}
.search input:focus, .search select:focus { outline: none; border-color: var(--gold); }
.search .btn { padding: .95rem 1.4rem; }

/* Código de descuento */
.code-box { grid-column: 1 / -1; font-size: .9rem; padding: 0 .6rem; }
.code-box summary { cursor: pointer; color: var(--gold); font-weight: 600; padding: .2rem 0; list-style: none; }
.code-box summary::-webkit-details-marker { display: none; }
.code-box label { display: flex; flex-direction: column; gap: .2rem; margin-top: .4rem; padding: 0; text-transform: none; letter-spacing: 0; font-size: .8rem; color: var(--muted); }
.code-input { border: 1.5px solid var(--line); border-radius: 10px; padding: .55rem .7rem; font: 600 1rem "Inter"; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: #fff; width: 100%; max-width: 280px; }
.search .code-input { border: 1.5px solid var(--line); padding: .55rem .7rem; }
.code-input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.book-card .code-box { padding: 0; }
.ab-code { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; padding: .7rem 1.2rem; background: #fdf3dc; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ab-code[hidden] { display: none; }
.ab-code b { font-size: 1rem; letter-spacing: .06em; }
.ab-code span { color: var(--muted); font-size: .85rem; }

/* Ventajas */
.perks {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  max-width: 1100px; margin: -3rem auto 0; position: relative; z-index: 2;
  padding: 0 16px;
}
.perk { background: #fff; border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); display: flex; gap: .8rem; align-items: center; }
.perk span { font-size: 1.4rem; }
.perk p { margin: 0; font-weight: 500; font-size: .95rem; }

/* Secciones */
.section { padding: 5rem clamp(16px, 5vw, 64px); }
.section.sand { background: var(--sand); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.photo { border-radius: var(--radius); min-height: 360px; display: flex; align-items: flex-end; padding: 1rem; margin: 0; }
.photo-area { background: #3b7a87 url("img/zona/paseo-maritimo.webp") center / cover; }
.photo-about { background: #af8c58 url("img/playa/22.webp") center / cover; }
.credit { font-size: .72rem; background: rgba(30,22,15,.55); color: #fff; padding: .2rem .55rem; border-radius: 6px; }
.credit a { color: #fff; }

/* Tarjetas de apartamentos */
.apts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; max-width: 1150px; margin: 2.5rem auto 0; }
.apt { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.apt-photo {
  position: relative; height: 240px; border: 0; width: 100%; padding: .8rem; cursor: pointer;
  display: flex; align-items: flex-end; background-size: cover; background-position: center; transition: filter .2s;
}
.apt-photo:hover { filter: brightness(1.05); }
.photo-count { background: rgba(30,22,15,.65); color: #fff; border-radius: 999px; padding: .35rem .8rem; font: 500 .82rem "Inter"; }
.rating { position: absolute; top: .8rem; left: .8rem; background: #fff; color: var(--ink); border-radius: 999px; padding: .25rem .7rem; font: 600 .82rem "Inter"; }
.rating b { color: var(--gold); }
.apt-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.apt-body h3 { margin: 0; font-size: 1.4rem; }
.apt-body h3 a { text-decoration: none; }
.apt-body h3 a:hover { color: var(--gold); }
.apt-body > p { margin: 0; color: var(--muted); }
.keyfacts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: 0; margin: 0; list-style: none; font-size: .92rem; }
.keyfacts li { display: flex; align-items: center; gap: .35rem; }
.apt-foot { display: flex; gap: .6rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.apt-foot .btn { flex: 1; }
.license { font-size: .78rem; color: var(--muted); margin: 0; }

/* Zona */
.area-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.area-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.area-list span { color: var(--muted); text-align: right; }
.map { max-width: 1100px; margin: 3rem auto 0; border-radius: var(--radius); overflow: hidden; background: #e6ddcf; aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map p { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }

/* Opiniones */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 2.5rem auto 0; }
.review { background: #fff; margin: 0; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); }
.score { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: 1.5rem auto 0; text-align: left; color: var(--muted); font-size: .92rem; }
.score b { color: var(--ink); font-size: 1.05rem; }
.score-num { background: var(--gold); color: #fff; font: 600 1.5rem "Fraunces", serif; padding: .5rem .8rem; border-radius: 12px 12px 12px 2px; }
.score-apts { list-style: none; padding: 0; margin: 1rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.score-apts li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .88rem; color: var(--muted); }
.score-apts b { color: var(--gold); margin-right: .2rem; }
.stars { color: #e0a43a; letter-spacing: .1em; }
.review blockquote { margin: .8rem 0; font-family: "Fraunces", serif; font-size: 1.1rem; }
.review figcaption { color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { max-width: 760px; margin: 2rem auto 0; }
.faq details { background: #fff; border-radius: 14px; padding: 1rem 1.3rem; margin-bottom: .8rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: .7rem 0 0; }

/* Banda final */
.cta-band { background: var(--gold); color: #fff; text-align: center; padding: 4rem 16px; }
.cta-band h2 { margin-bottom: 1.5rem; }

/* Pie */
.footer {
  background: var(--ink); color: #d9cfc2;
  display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 2rem;
  padding: 3rem clamp(16px, 5vw, 64px) 1.5rem;
}
.footer p { margin: .3rem 0; font-size: .92rem; }
.footer .logo img { height: 64px; margin-bottom: .4rem; }
.footer a { color: #e9dcc7; }
.footer a:hover { color: #fff; }
.handle { opacity: .7; }
.copy { grid-column: 1 / -1; border-top: 1px solid #4a4139; padding-top: 1rem; text-align: center; opacity: .7; }

/* Página de cada apartamento */
.apt-page { max-width: 1150px; margin: 0 auto; padding: 2rem 16px 4rem; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--gold); text-decoration: none; }
.apt-page h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 .6rem; }
.apt-page .keyfacts { font-size: 1rem; margin-bottom: 1.5rem; color: var(--muted); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: .5rem; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery button { border: 0; padding: 0; cursor: pointer; background: var(--sand); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.gallery button:hover img { filter: brightness(1.06); }
.gallery .all { position: absolute; right: 1rem; bottom: 1rem; background: #fff; color: var(--ink); border-radius: 999px; padding: .5rem 1rem; font: 600 .9rem "Inter"; box-shadow: var(--shadow); }
.apt-layout { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; margin-top: 2.5rem; align-items: start; }
.apt-layout h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.apt-layout h2:first-child { margin-top: 0; }
.apt-layout p { color: #463e36; }
.amenities { columns: 2; padding: 0; list-style: none; margin: 0; }
.amenities li { padding: .35rem 0; break-inside: avoid; }
.amenities li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: .5rem; }
.book-card { position: sticky; top: 96px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.book-card h2 { margin: 0; font-size: 1.3rem; }
.book-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.book-card .rating { position: static; align-self: flex-start; background: var(--sand); }
.others { margin-top: 4rem; }

/* Calendario de disponibilidad */
.avail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem .8rem; position: relative; }
.avail-head { position: absolute; top: 1rem; left: 1rem; right: 1rem; display: flex; justify-content: space-between; pointer-events: none; }
.avail-nav { pointer-events: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.avail-nav:disabled { opacity: .3; cursor: default; }
.avail-months { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; min-height: 280px; }
.month h3 { text-align: center; font-size: 1.05rem; margin: .35rem 0 .8rem; }
.month .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dow { text-align: center; font-size: .75rem; color: var(--muted); text-transform: uppercase; padding-bottom: .3rem; }
.day { text-align: center; padding: .45rem 0; border-radius: 6px; font-size: .9rem; font-weight: 500; }
.day.free { background: #2fae74; color: #fff; }
.day.busy { background: #f1ece4; color: #b4a998; text-decoration: line-through; }
.day.past { color: #d3cabd; }
button.day { border: 0; font: 500 .9rem "Inter"; cursor: pointer; transition: transform .1s, box-shadow .1s; }
button.day.free:hover { box-shadow: inset 0 0 0 2px #1d7a50; }
button.day.busy { cursor: pointer; }
.day.sel-start, .day.sel-end { background: var(--gold) !important; color: #fff !important; text-decoration: none; box-shadow: none; }
.day.in-range { background: #a9dcc3; color: #134d33; }
.avail-pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-top: 1rem; padding: .7rem .9rem; background: var(--cream); border-radius: 12px; font-size: .9rem; min-height: 52px; }
.avail-actions { display: flex; align-items: center; gap: .8rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: .85rem "Inter"; }
.avail-legend { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-left: .6rem; }
.sw:first-child { margin-left: 0; }
.sw.free { background: #2fae74; }
.sw.busy { background: #f1ece4; border: 1px solid #e0d6c6; }

/* Propietarios */
.owners-teaser { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: none; }
.owners-teaser > div { max-width: 700px; }
.owners-teaser h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.owners-teaser p:last-child { color: var(--muted); margin: 0; }
.owners-teaser .btn { flex-shrink: 0; }
.owners-hero { background: linear-gradient(180deg, var(--sand), var(--cream)); padding: 4.5rem clamp(16px, 5vw, 64px) 3rem; }
.owners-hero-in { max-width: 780px; margin: 0 auto; text-align: center; }
.owners-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: .3rem 0 1rem; }
.owners-hero .hero-sub { color: var(--muted); margin: 0 auto 2rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 900px; margin: 3rem auto 0; }
.stats div { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; text-align: center; }
.stats b { display: block; font: 600 2rem "Fraunces", serif; color: var(--gold); }
.stats span { font-size: .88rem; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; max-width: 1150px; margin: 2.5rem auto 0; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.service > span { font-size: 2rem; }
.service h3 { margin: .6rem 0 .8rem; font-size: 1.3rem; }
.service ul { padding-left: 1.1rem; margin: 0; color: var(--muted); }
.service li { margin-bottom: .4rem; }
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1150px; margin: 2.5rem auto 0; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 1.5rem; }
.steps li::before { content: counter(s); display: inline-flex; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--gold); color: #fff; align-items: center; justify-content: center; font: 600 1.1rem "Fraunces", serif; margin-bottom: .8rem; }
.steps b { display: block; font-size: 1.05rem; }
.steps p { color: var(--muted); margin: .4rem 0 0; font-size: .95rem; }
.owner-form-wrap { max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.owner-form-wrap > p { color: var(--muted); }
.owner-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 1rem; }
.owner-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; font-weight: 500; }
.owner-form input, .owner-form select, .owner-form textarea { padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; font: 1rem "Inter"; color: var(--ink); background: #fff; width: 100%; min-width: 0; }
.owner-form input:focus, .owner-form select:focus, .owner-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.owner-form .full { grid-column: 1 / -1; }
.small { font-size: .85rem; color: var(--muted); margin: .4rem 0 0; }

/* WhatsApp y barra de reserva en móvil */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s, bottom .2s;
}
.wa-float:hover { transform: scale(1.07); }
.mobile-bar { display: none; }

/* Motor de reservas */
.avaibook { position: fixed; inset: 0; z-index: 55; background: rgba(30,22,15,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.avaibook[hidden] { display: none; }
.ab-card { background: #fff; border-radius: var(--radius); width: 100%; max-width: 1100px; height: 100%; max-height: 860px; display: flex; flex-direction: column; overflow: hidden; }
.ab-head { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.2rem; background: var(--cream); border-bottom: 1px solid var(--line); }
.ab-head b { font-family: "Fraunces", serif; font-size: 1.1rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
#abFrame { flex: 1; width: 100%; border: 0; }

/* Galería a pantalla completa */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(20,15,10,.94); display: flex; align-items: center; justify-content: center; padding: 56px 16px 72px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb-close { position: absolute; top: .6rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-bar { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 1.2rem; color: #fff; font-size: .95rem; }

/* Páginas legales */
.legal { max-width: 780px; margin: 0 auto; padding: 3rem 16px 4rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 .4rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: #463e36; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.legal table { width: 100%; border-collapse: collapse; margin: .6rem 0; font-size: .95rem; }
.legal td { border-bottom: 1px solid var(--line); padding: .55rem .4rem; vertical-align: top; }
.legal td:first-child { color: var(--muted); width: 38%; }
.back { font-size: .9rem; color: var(--gold); text-decoration: none; font-weight: 500; }

/* Tablet */
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 16px; border-top: 1px solid var(--line); }
  .burger { display: block; }
  .perks { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .photo { order: 2; }
  .photo { min-height: 260px; }
  .footer { grid-template-columns: 1fr; }
  .search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .search label, .search input, .search select { min-width: 0; }
  .search .btn { grid-column: 1 / -1; }
  .apt-layout { grid-template-columns: 1fr; gap: 1rem; }
  .book-card { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
  .map { aspect-ratio: 4 / 3; }
  .owners-teaser { flex-direction: column; align-items: flex-start; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
}

/* Móvil */
@media (max-width: 600px) {
  .perks { grid-template-columns: 1fr; }
  .nav-actions .btn-small { display: none; }
  .avaibook { padding: 0; }
  .ab-card { border-radius: 0; max-height: none; }
  .amenities { columns: 1; }
  .steps, .owner-form { grid-template-columns: 1fr; }
  .avail-months { grid-template-columns: 1fr; }
  .avail-months .month + .month { display: none; }
  .owner-form-wrap { padding: 1.4rem; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); gap: .6rem;
    background: rgba(251,247,240,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06);
  }
  .mobile-bar .btn { flex: 1; }
  body { padding-bottom: 76px; }
  .wa-float { bottom: 92px; width: 52px; height: 52px; }
}
