/* Kerencia Living · estilos de la web pública */
:root {
  --green: #0B3B2E;
  --green-2: #164A3B;
  --green-line: #1F5244;
  --gold: #C7A96B;
  --gold-text: #8A6D33;
  --stone: #E9E4DA;
  --cream: #F7F5EF;
  --paper: #FFFFFF;
  --slate: #4B4F52;
  --ink: #2E3234;
  --line: #E2DCCF;
  --line-soft: #EFEAE0;
  --input-line: #D6CFBF;
  --danger: #A1301F;
  --ok-bg: #DCEBE3;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 12px 40px rgba(11, 59, 46, .12);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--gold-text); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--green); line-height: 1.15; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 12px/1.4 var(--font-head); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.section { padding: 88px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); }
.link-arrow { font: 600 14px var(--font-head); text-decoration: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 4px; font: 600 15px var(--font-head); letter-spacing: .03em; text-decoration: none; cursor: pointer; }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-2); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: #D4B97F; color: var(--green); }
.btn-outline { background: var(--paper); color: var(--green); border: 1px solid var(--input-line); }
.btn-block { width: 100%; }

/* ---------- Cabecera ---------- */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-words b { font: 500 20px var(--font-head); letter-spacing: .32em; color: var(--green); }
.brand-words small { font: 400 10px var(--font-head); letter-spacing: .6em; color: var(--gold-text); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 28px; font: 500 14px var(--font-head); }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav .btn { min-height: 44px; padding: 0 22px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--input-line); border-radius: 4px; width: 46px; height: 46px; cursor: pointer; color: var(--green); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin-top: 12px; }
}

/* ---------- Portada ---------- */
.hero { background: var(--green); color: var(--cream); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 104px; }
.hero-text { flex: 1 1 440px; min-width: 0; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--cream); font-size: clamp(40px, 6vw, 60px); line-height: 1.08; }
.hero-tagline { font: italic 500 24px var(--font-display); color: var(--stone); margin-top: 22px; }
.hero-intro { margin-top: 18px; color: #D9D4C8; max-width: 480px; }
.hero-media { flex: 1 1 420px; min-width: 0; height: 440px; border-radius: var(--radius); overflow: hidden; background: var(--green-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.search { position: relative; z-index: 2; max-width: 1080px; margin: -52px auto 0; background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.search .field { flex: 1 1 150px; }
.search .field-wide { flex: 2 1 220px; }
.search .btn { flex: 1 1 140px; }

/* Franja de destinos bajo la portada */
.dest-strip { position: relative; z-index: 2; max-width: 1080px; margin: -48px auto 0; background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; flex-wrap: wrap; overflow: hidden; }
.dest-strip a { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; text-decoration: none; border-right: 1px solid var(--line-soft); }
.dest-strip a:hover { background: var(--cream); }
.ds-name { font: 500 26px var(--font-display); color: var(--green); }
.ds-meta { font: 600 11px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.dest-strip .ds-all { flex: 1 1 160px; min-height: 64px; justify-content: center; align-items: center; background: var(--green); color: var(--cream); font: 600 14px var(--font-head); border-right: 0; }
.dest-strip .ds-all:hover { background: var(--green-2); color: var(--cream); }

@media (max-width: 700px) {
  .hero-media, .about-hero-media { height: 260px; flex-basis: 100%; }
  .hero .wrap, .about-hero .wrap { padding-top: 48px; gap: 32px; }
  .dest-strip a { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 16px 22px; }
}

/* Listado agrupado por destino */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chips a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 20px; border: 1px solid var(--input-line);
  background: var(--paper); text-decoration: none; font: 600 13px var(--font-head); color: var(--green); }
.chips a:hover { border-color: var(--green); }
.chips a[aria-current="page"] { background: var(--green); color: var(--cream); border-color: var(--green); }
.dest-group { scroll-margin-top: 100px; margin-bottom: 56px; }
.dest-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dest-head h2 { font-size: 34px; }
.dest-head span { font: 600 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .label { font: 600 12px var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--input-line); border-radius: 4px; padding: 0 14px; background: #FDFCF9;
  font: 16px var(--font-body); color: var(--ink); }
.field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; margin-top: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius); padding: 14px 18px; font-size: 15px; }
.alert-error { background: #F8E5E1; color: #7A2416; border: 1px solid #E9BDB3; }
.alert-ok { background: var(--ok-bg); color: var(--green); border: 1px solid #A9CBB9; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .form-grid .span-2 { grid-column: auto; } }

/* ---------- Tarjetas de alojamiento ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--stone); }
.card-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.card-tag { position: absolute; left: 14px; top: 14px; background: var(--green); color: var(--cream); font: 600 11px var(--font-head);
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 24px; }
.card-summary { font-size: 15px; color: var(--slate); }
.card-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--slate); }
.card-facts li { display: flex; align-items: center; gap: 6px; }
.card-facts svg { color: var(--gold-text); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: auto; font-size: 15px; }
.card-foot strong { font-family: var(--font-head); color: var(--green); }
.card-foot .more { font: 600 13px var(--font-head); color: var(--gold-text); white-space: nowrap; }

.placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--stone); }
.placeholder img { width: 30%; max-width: 140px; opacity: .14; }
.placeholder.dark { background: var(--green-2); }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; border-top: 1px solid var(--line); padding-top: 64px; }
.value { display: flex; flex-direction: column; gap: 14px; }
.value h3 { font-size: 24px; }
.value p { color: var(--slate); }
.value svg { color: var(--gold-text); }

/* ---------- Barrios ---------- */
.barrios { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.barrio { min-height: 180px; border-radius: var(--radius); background: var(--green-2); color: var(--cream); padding: 22px; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; position: relative; overflow: hidden; }
.barrio:hover { background: var(--green); color: var(--cream); }
.barrio b { font: 500 26px var(--font-display); }
.barrio-country { font: 600 11px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #C9D3CE; }
.barrio small { font: 600 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.barrio img { position: absolute; right: -20px; top: -10px; width: 140px; opacity: .08; }

/* ---------- Banda empresas ---------- */
.band { background: var(--stone); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; padding-top: 80px; padding-bottom: 80px; }
.band-text { flex: 1 1 520px; min-width: 0; }
.band h2 { font-size: clamp(30px, 4vw, 40px); }
.band p { margin-top: 16px; color: var(--slate); max-width: 560px; }

/* ---------- Listado ---------- */
.page-head { padding: 56px 0 28px; }
.page-head h1 { font-size: clamp(36px, 5vw, 48px); }
.page-head p { margin-top: 10px; color: var(--slate); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 32px; }
.filters .field { flex: 1 1 200px; }
.empty { background: var(--paper); border: 1px dashed var(--input-line); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--slate); }

/* ---------- Ficha ---------- */
.crumbs { font-size: 14px; color: var(--slate); padding-top: 28px; }
.crumbs a { text-decoration: none; }
.prop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 16px 0 24px; }
.prop-head h1 { font-size: clamp(36px, 5vw, 48px); }
.prop-head p { margin-top: 8px; color: var(--slate); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 220px 220px; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.gallery > * { background: var(--stone); position: relative; overflow: hidden; }
.gallery > :first-child { grid-column: span 2; grid-row: span 2; }
.gallery button { border: 0; padding: 0; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.gallery img.photo { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img.photo { transform: scale(1.03); }
.gallery .all { position: absolute; right: 14px; bottom: 14px; background: var(--paper); color: var(--green); font: 600 13px var(--font-head); padding: 10px 14px; border-radius: 4px; pointer-events: none; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 240px 120px; }
  .gallery > :nth-child(n+4) { display: none; }
}
.prop-layout { display: flex; flex-wrap: wrap; gap: 56px; margin-top: 48px; align-items: flex-start; padding-bottom: 96px; }
.prop-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.prop-main section + section { border-top: 1px solid var(--line); padding-top: 36px; }
.prop-main h2 { font-size: 30px; margin-bottom: 16px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose h2 { font-size: 26px; margin: 28px 0 12px; }
.prose ul { padding-left: 20px; margin: 0; }
.prose li + li { margin-top: 6px; }
.facts { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font: 500 15px var(--font-head); color: var(--green); }
.facts svg { color: var(--gold-text); }
.amenity-groups { columns: 2 260px; column-gap: 40px; }
.amenity-group { break-inside: avoid; margin-bottom: 24px; }
.amenity-group h3 { font: 600 12px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.amenities { display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; list-style: none; }
.amenities li { display: flex; align-items: center; gap: 14px; }
.amenities svg { color: var(--green); flex-shrink: 0; }
[data-amenities]:not(.open) .extra { display: none; }
.map { height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--stone); margin-top: 16px; z-index: 0; position: relative; }
.map-note { margin-top: 12px; font-size: 15px; color: var(--slate); }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.rule { background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); padding: 18px; }
.rule small { display: block; font: 600 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }

.booking { flex: 1 1 360px; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
  padding: 28px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; scroll-margin-top: 100px; }
.booking .price { font-size: 16px; }
.booking .price strong { font: 600 30px var(--font-display); color: var(--green); }
.booking .note { font-size: 14px; color: var(--slate); text-align: center; }
.estimate { font-size: 15px; background: var(--cream); border-radius: 4px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.estimate .row { display: flex; justify-content: space-between; gap: 12px; }
.estimate .total { font-weight: 700; color: var(--green); border-top: 1px solid var(--line); padding-top: 8px; }
.estimate .muted { font-size: 13px; color: var(--slate); }
.estimate.warn { background: #F8E5E1; color: #7A2416; }
@media (max-width: 960px) { .booking { position: static; } }

.preview-bar { background: var(--gold); color: var(--green); text-align: center; font: 600 14px var(--font-head); padding: 10px 16px; }

/* Visor de fotos */
.lightbox { position: fixed; inset: 0; background: rgba(8, 30, 24, .94); z-index: 100; display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 4px; }
.lightbox button { position: absolute; background: rgba(247, 245, 239, .12); color: var(--cream); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox button:hover { background: rgba(247, 245, 239, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--stone); font: 500 14px var(--font-head); }

/* ---------- Páginas de texto y contacto ---------- */
.text-page { max-width: 780px; padding-bottom: 96px; }
.contact-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-bottom: 96px; }
.contact-layout .prose { flex: 1 1 380px; min-width: 0; }
.contact-form { flex: 1 1 420px; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 100px; }
.thanks { max-width: 640px; margin: 0 auto; text-align: center; padding: 96px 24px; }
.thanks img { width: 90px; margin: 0 auto 28px; }
.thanks h1 { font-size: 42px; }
.thanks p { margin-top: 16px; color: var(--slate); }
.thanks .btn { margin-top: 32px; }

/* ---------- Selector de idioma ---------- */
.lang-switch { display: inline-flex; gap: 2px; border: 1px solid var(--input-line); border-radius: 4px; padding: 2px; }
.lang-switch a { min-width: 40px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; border-radius: 3px;
  font: 600 12px var(--font-head); letter-spacing: .08em; text-decoration: none; color: var(--slate); box-shadow: none !important; }
.lang-switch a[aria-current="true"] { background: var(--green); color: var(--cream); }
.footer-lang { border-color: var(--green-line); }
.footer-lang a { color: #D9D4C8 !important; font-weight: 500; letter-spacing: 0; }
.footer-lang a[aria-current="true"] { background: var(--green-2); color: var(--cream) !important; }
@media (max-width: 900px) { .nav .lang-switch { align-self: flex-start; margin-top: 12px; } .nav .lang-switch a { border-bottom: 0; padding: 0 12px; } }

/* ---------- Quiénes somos ---------- */
.values-more { margin-top: 32px; }
.section-title { font-size: clamp(30px, 4vw, 40px); margin-bottom: 40px; }
.about-hero { background: var(--green); color: var(--cream); }
.about-hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.about-hero-text { flex: 1 1 440px; min-width: 0; }
.about-hero .eyebrow { color: var(--gold); }
.about-hero h1 { color: var(--cream); font-size: clamp(38px, 5.5vw, 56px); line-height: 1.1; }
.about-hero-media { flex: 1 1 380px; min-width: 0; height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--green-2); }
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.story { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.story-text { flex: 1 1 480px; min-width: 0; }
.story-media { flex: 1 1 360px; min-width: 0; aspect-ratio: 4 / 5; max-height: 560px; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.prose-lg { font-size: 18px; line-height: 1.75; }
.stats-band { background: var(--stone); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.stat-item b { display: block; font: 500 48px/1 var(--font-display); color: var(--green); }
.stat-item span { display: block; margin-top: 10px; font: 600 12px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 40px; padding-bottom: 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 87px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--cream); }
.tl-year { font: 600 16px var(--font-head); color: var(--gold-text); text-align: right; padding-top: 1px; }
.tl-body h3 { font-size: 24px; }
.tl-body p { margin-top: 8px; color: var(--slate); }
@media (max-width: 560px) {
  .timeline::before { left: 5px; } .timeline li::before { left: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; } .tl-year { text-align: left; }
}
.team-section { background: var(--paper); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.member { display: flex; flex-direction: column; gap: 6px; }
.member-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--stone); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo span { font: 500 72px var(--font-display); color: var(--gold-text); }
.member h3 { font-size: 22px; }
.member-role { font: 600 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.member-bio { color: var(--slate); font-size: 15px; margin-top: 4px; }
.biz { margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 32px; }
.biz dt { font: 600 11px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.biz dd { margin: 4px 0 0; }
.actions-col { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Formalización ---------- */
.contract-wrap { max-width: 900px; }
.contract-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; background: var(--green); color: var(--cream);
  border-radius: 8px; padding: 22px 24px; }
.contract-summary small { display: block; font: 600 11px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contract-summary strong { display: block; font: 500 19px var(--font-display); }
.contract-summary span { display: block; font-size: 14px; color: #C9D3CE; }
.contract-intro { margin: 28px 0; color: var(--slate); }
.contract-form { display: flex; flex-direction: column; gap: 20px; padding-bottom: 96px; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.form-card h2 { font-size: 24px; margin-bottom: 16px; }
.muted-text { color: var(--slate); font-size: 15px; margin-bottom: 16px; }
.guest { position: relative; border: 1px solid var(--line); border-radius: 6px; padding: 18px 18px 20px; margin: 0 0 14px; background: #FDFCF9; }
.guest legend { font: 600 12px var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); padding: 0 6px; }
.guest-remove { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 24px; color: var(--slate); cursor: pointer; border-radius: 50%; }
.guest-remove:hover { background: var(--stone); color: var(--danger); }
.upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px dashed var(--input-line); border-radius: 8px;
  padding: 28px 16px; text-align: center; cursor: pointer; background: #FDFCF9; }
.upload:hover, .upload:focus-within { border-color: var(--green); }
.upload.has-error { border-color: var(--danger); }
.upload input { max-width: 100%; }
.upload-text { font: 600 14px var(--font-head); color: var(--green); }

/* ---------- Preguntas y WhatsApp ---------- */
.ask { border-top: 1px solid var(--line-soft); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 100px; }
.ask-title { font: 600 14px var(--font-head); color: var(--green); }
.ask-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ask-actions .btn { padding: 0 14px; }
.ask-form { display: flex; flex-direction: column; gap: 12px; }
.ask-form textarea { min-height: 100px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--cream);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(11,59,46,.3); border: 2px solid var(--gold); }
.wa-float:hover { background: var(--green-2); color: var(--cream); transform: scale(1.05); }
.wa-float svg { width: 28px; height: 28px; }
@media print { .wa-float { display: none; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--green); color: #D9D4C8; font-size: 15px; }
.site-footer a { color: #D9D4C8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 64px; padding-bottom: 32px; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { width: 200px; }
.footer-brand p { font: italic 18px var(--font-display); color: var(--cream); }
.footer-col { flex: 1 1 170px; display: flex; flex-direction: column; gap: 10px; }
.footer-col b { font: 600 12px var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid var(--green-line); padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: #A9B5AF; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- Error ---------- */
.error-page { text-align: center; padding: 120px 24px; }
.error-page b { font: 500 72px var(--font-display); color: var(--gold-text); display: block; }
.error-page h1 { font-size: 36px; margin-top: 8px; }
.error-page p { margin: 16px auto 32px; color: var(--slate); max-width: 520px; }

[hidden] { display: none !important; }

.booking:has(.ask-form:not([hidden])) { position: static; }
