/* 3V Suites — paleta de marca: #BF021D · #666662 · #FFFFFF · #F0F0F0 · #000000 */
:root {
  --red: #BF021D;
  --grey: #666662;
  --light: #F0F0F0;
  --ink: #141413;
  --white: #fff;
  --wa: #1FA855;
  --wrap: 1180px;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #8d0115; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--grey); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }
.eyebrow { font: 500 .8rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 .8rem; }
.eyebrow.light { color: #fff; opacity: .9; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--grey); max-width: 60ch; }
.lead.light { color: #fff; }
.center .lead { margin-inline: auto; }
.note { background: var(--light); border-left: 3px solid var(--grey); padding: .8rem 1rem; border-radius: 0 6px 6px 0; color: #333; font-size: .95rem; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 500 1rem/1 var(--sans); letter-spacing: .03em; padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid var(--red); background: var(--red); color: #fff; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: #8d0115; border-color: #8d0115; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm { padding: .6rem 1.2rem; font-size: .95rem; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--light); border-color: var(--light); color: var(--ink); }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #17894a; border-color: #17894a; }
.btn-block { display: flex; width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid #e4e4e2; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; letter-spacing: .02em; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--red); border-bottom-color: var(--red); }
.nav a.btn { color: #fff; border: 2px solid var(--red); padding: .6rem 1.2rem; }
.nav a.btn:hover, .nav a.btn.active { color: #fff; background: #8d0115; border-color: #8d0115; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }

/* home */
.intro { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.intro h1 { margin-bottom: .4em; }
.panels { display: grid; grid-template-columns: 1fr 1fr; }
.panels.one { grid-template-columns: 1fr; }
.panels.one .panel { min-height: clamp(380px, 56vh, 560px); }
.panel { position: relative; min-height: clamp(380px, 62vh, 620px); background: var(--bg) center/cover; display: flex; align-items: flex-end; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .1) 62%); z-index: -1; transition: background .3s; }
.panel:hover::before { background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(191, 2, 29, .12) 70%); }
.panel-in { padding: clamp(1.5rem, 4vw, 3rem); max-width: 34rem; }
.panel h2 { color: #fff; margin-bottom: .3em; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.panel p { margin-bottom: 1.2rem; }
.panel:hover { color: #fff; }
.block { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.block-sm { margin-bottom: 2.2rem; }
.band-grey { background: var(--grey); color: #fff; padding: 3.2rem 0; }
.band-light { background: var(--light); }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feats svg { width: 34px; height: 34px; margin-bottom: .6rem; }
.feats h3 { color: #fff; font-size: 1.35rem; margin-bottom: .3em; }
.feats p { margin: 0; opacity: .92; font-size: .98rem; }
.steps { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { text-align: center; padding: 0 .5rem; }
.steps .n { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%; border: 2px solid var(--red); color: var(--red); font: 600 1.5rem var(--serif); }
.steps p { color: var(--grey); }
.cta { background: var(--red); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta h2 { color: #fff; }
.cta p { opacity: .95; }
.cta-btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* cabecera de propiedad */
.phero { position: relative; background: var(--bg) center/cover; color: #fff; padding: clamp(3rem, 12vw, 8rem) 0 clamp(2.5rem, 6vw, 4rem); isolation: isolate; min-height: 46vh; display: flex; align-items: flex-end; }
.phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .25)); z-index: -1; }
.phero .wrap { width: min(var(--wrap), 100% - 32px); }
.phero h1 { color: #fff; margin-bottom: .2em; }
.crumbs { font-size: .9rem; margin-bottom: 1.2rem; color: inherit; opacity: .95; }
.crumbs a { color: inherit; }
.unit-head .crumbs { color: var(--grey); }
.unit-head .crumbs a { color: var(--grey); }
.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.comunes { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.comunes li { display: grid; gap: .1rem; padding-left: 1rem; border-left: 3px solid var(--red); }
.comunes span { color: var(--grey); font-size: .98rem; }

/* tarjetas */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin: 1.6rem 0; }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 14px rgba(0, 0, 0, .09); color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--light); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body .eyebrow { margin-bottom: .4rem; }
.card h3 { margin-bottom: .3em; }
.card-specs { font-size: .92rem; color: var(--ink); font-weight: 500; margin-bottom: .6rem; }
.card .muted { font-size: .97rem; margin-bottom: .6rem; }
.link-arrow { margin-top: auto; color: var(--red); font-weight: 500; }

/* mapa */
.map-box { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 14px rgba(0, 0, 0, .08); padding: .5rem; }
.map { width: 100%; height: auto; display: block; font-family: var(--sans); }
.mp-land { fill: var(--light); }
.mp-plot { fill: #fff; stroke: var(--grey); stroke-width: 3; }
.mp-lake { fill: #dbe8ee; stroke: var(--grey); stroke-width: 3; }
.mp-lake-t { font: 600 64px var(--serif); fill: #3f5560; }
.mp-cabin rect { fill: #fff; stroke: var(--grey); stroke-width: 4; transition: fill .2s, stroke .2s; }
.mp-cabin text { font: 500 50px var(--sans); fill: var(--ink); }
.mp-cabin { cursor: pointer; }
.mp-cabin:hover rect, .mp-cabin:focus-visible rect { fill: var(--red); stroke: var(--red); }
.mp-cabin:hover text, .mp-cabin:focus-visible text { fill: var(--red); }

/* galerías */
.amb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; margin-bottom: 1.4rem; }
.amb-grid.big { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.amb { padding: 0; border: 0; background: var(--light); border-radius: 8px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.amb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.amb:hover img { transform: scale(1.06); }
.amb-title { font-family: var(--sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin: 1.2rem 0 .6rem; font-weight: 500; }

.unit-head { padding-top: 1.6rem; padding-bottom: 1.2rem; }
.unit-head h1 { margin-bottom: .3em; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: var(--light); font-size: .95rem; font-weight: 500; }
.chip svg { width: 20px; height: 20px; color: var(--red); }

.mosaic { position: relative; display: grid; gap: 8px; border-radius: 14px; overflow: hidden; height: clamp(300px, 52vw, 520px); }
.mosaic.m5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mosaic.m5 .mo-0 { grid-row: 1 / 3; }
.mosaic.m4, .mosaic.m3, .mosaic.m2 { grid-template-columns: 2fr 1fr; grid-auto-rows: 1fr; }
.mosaic.m4 .mo-0, .mosaic.m3 .mo-0, .mosaic.m2 .mo-0 { grid-row: 1 / -1; }
.mosaic.m1 { grid-template-columns: 1fr; }
.mo-cell { padding: 0; border: 0; background: var(--light); cursor: zoom-in; overflow: hidden; min-height: 0; }
.mo-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.mo-cell:hover img { transform: scale(1.04); filter: brightness(.92); }
.mo-all { position: absolute; right: 14px; bottom: 14px; padding: .65rem 1.1rem; font-size: .92rem; box-shadow: var(--shadow); }

.unit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(1.5rem, 4vw, 3.5rem); padding-top: 2.2rem; padding-bottom: 3rem; align-items: start; }
.lead-sm { font-size: 1.12rem; color: #2d2d2b; max-width: 62ch; }
.beds { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.beds li { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #e4e4e2; }
.beds strong { min-width: 8.5rem; }
.beds span { color: var(--grey); }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .55rem 1.4rem; }
.features li { position: relative; padding-left: 1.5rem; }
.features li::before { content: ""; position: absolute; left: 0; top: .62em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--red); }
.unit-side { position: sticky; top: 92px; }
.price-box { background: var(--light); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 2.2rem; }
.price-box table { width: 100%; border-collapse: collapse; }
.price-box td { padding: .35rem 0; border-bottom: 1px solid #d9d9d6; }
.price-box td:last-child { text-align: right; font-weight: 500; }

/* formulario */
.rcard { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 1.5rem; border-top: 4px solid var(--red); }
.rcard h2 { font-size: 1.7rem; }
.rform { display: grid; gap: .85rem; }
.field { display: grid; gap: .3rem; }
.field label { font-size: .88rem; font-weight: 500; color: #3a3a38; }
.field input, .field select, .field textarea { font: inherit; width: 100%; padding: .72rem .85rem; border: 1.5px solid #cfcfcb; border-radius: 8px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(191, 2, 29, .18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.nights { margin: -.3rem 0 0; font-weight: 500; color: var(--red); min-height: 1.2em; font-size: .95rem; }
.warn { margin: 0; padding: .6rem .8rem; background: #fff4e5; border: 1px solid #f0c27b; border-radius: 8px; font-size: .92rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rform .small.center { text-align: center; margin: 0; }
.result { padding: .8rem 1rem; border-radius: 8px; font-size: .96rem; }
.result.ok { background: #e7f6ec; border: 1px solid #8fd0a5; }
.result.err { background: #fdeaea; border: 1px solid #e59a9a; }
.reserva-page { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: 4rem; }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: center; }
.contact-list svg { width: 30px; height: 30px; color: var(--red); flex: none; }
.contact-list span { display: grid; }

/* footer */
.site-footer { background: var(--grey); color: #fff; padding-top: 3rem; margin-top: 0; }
.site-footer a { color: #fff; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.foot p { margin: 0 0 .4rem; }
.foot-brand { font: 600 1.8rem var(--serif); }
.foot-title { font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; opacity: .8; margin-bottom: .7rem !important; }
.foot-end { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .25); padding: 1rem 0 1.4rem; font-size: .9rem; opacity: .9; }

/* flotantes */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.mbar { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 8, 8, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: .8rem; min-width: 0; padding: 1rem 0; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 6rem); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb-fig figcaption { color: #e8e8e6; font-size: .95rem; text-align: center; padding: 0 .5rem; }
.lb-nav, .lb-close { background: rgba(255, 255, 255, .12); color: #fff; border: 0; cursor: pointer; font-size: 2.2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; justify-self: center; }
.lb-nav:hover, .lb-close:hover { background: var(--red); }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 2rem; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .unit-grid { grid-template-columns: 1fr; }
  .unit-side { position: static; }
  .two { grid-template-columns: 1fr; }
  .mbar { display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .15); }
  .mbar .btn { flex: 1; padding: .85rem; }
  .wa-float { bottom: 84px; width: 50px; height: 50px; }
  body:has(.mbar) .site-footer { padding-bottom: 4.5rem; }
  body:has(.mbar) .wa-float { display: none; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1rem; border-bottom: 1px solid #e4e4e2; display: none; box-shadow: 0 10px 20px rgba(0, 0, 0, .08); }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid #eee; }
  .nav a.btn { margin-top: .6rem; text-align: center; border-bottom: 2px solid var(--red); }
  .panels { grid-template-columns: 1fr; }
  .panel { min-height: 340px; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .mosaic.m5 { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr 1fr; }
  .mosaic.m5 .mo-0 { grid-column: 1 / 3; grid-row: 1; }
  .mosaic.m5 .mo-1, .mosaic.m5 .mo-2, .mosaic.m5 .mo-3, .mosaic.m5 .mo-4 { grid-row: auto; }
  .mosaic { height: 440px; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, .5); width: 42px; height: 42px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
@media (max-width: 480px) { .feats { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } .beds li { flex-direction: column; gap: .1rem; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* barra de empresas 3V */
.grp { background: #111; color: #fff; font-size: .82rem; }
.grp-in { display: flex; align-items: center; gap: 1.3rem; min-height: 34px; flex-wrap: wrap; }
.grp-t { opacity: .6; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
.grp a { color: #fff; text-decoration: none; opacity: .75; padding: 6px 0; border-bottom: 2px solid transparent; }
.grp a:hover { opacity: 1; color: #fff; }
.grp a[aria-current="page"] { opacity: 1; border-bottom-color: #BF021D; font-weight: 600; }
.grp-home { margin-left: auto; }
@media (max-width: 480px) { .grp-t { display: none; } .grp-in { gap: 1rem; } }
