/* Terrazas de Garay — estilos del sitio */

:root {
  --teal: #348CA0;           /* turquesa del logo */
  --teal-dark: #1F6A7A;
  --teal-deep: #174F5B;
  --teal-soft: #82C9D4;      /* celeste de la carta */
  --teal-mist: #E5F2F4;
  --cream: #F7F2EA;
  --paper: #FFFDF9;
  --sand: #EDE3D3;
  --brick: #A9573A;
  --pine: #1D302B;
  --pine-2: #26413A;
  --ink: #1C2A2C;
  --muted: #5B6A6B;
  --line: rgba(28, 42, 44, 0.12);
  --busy: #C9BFB2;
  --radius: 18px;
  --shadow: 0 22px 60px -30px rgba(23, 79, 91, 0.45);
  --shadow-sm: 0 8px 24px -14px rgba(23, 79, 91, 0.35);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Kaushan Script', cursive;
  --gutter: 24px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal-deep); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal-soft); outline-offset: 2px; }

.container { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.narrow { width: min(780px, 100% - var(--gutter) * 2); }
.section { padding-block: clamp(72px, 9vw, 128px); }

/* ---------- Tipografía ---------- */
h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--teal-deep);
}
h1 em, h2 em { font-style: italic; color: var(--teal); }
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--teal-deep);
  margin-bottom: 0.45em;
}
h3 { font-size: 1.05rem; font-weight: 600; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}
.eyebrow.light { color: var(--teal-soft); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-sub { color: var(--muted); margin: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 500; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-dark); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-outline { border-color: var(--teal-dark); color: var(--teal-dark); background: transparent; }
.btn-outline:hover { background: var(--teal-mist); }
.btn-light { background: var(--cream); color: var(--teal-deep); }
.btn-light:hover { background: #fff; }
.btn-sm { padding: 0.6em 1.15em; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  cursor: pointer; transition: background-color .2s;
}
.icon-btn:hover { background: var(--teal-mist); }

/* ---------- Barra demo y header ---------- */
.demo-bar { background: var(--teal-deep); color: #EAF5F7; font-size: 0.8rem; text-align: center; padding: 6px 16px; letter-spacing: 0.02em; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* El desenfoque va en un pseudo-elemento: en el header mismo encerraría al menú móvil (position: fixed) */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 242, 234, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { width: 172px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a, .nav-carta {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem;
  background: none; border: 0; padding: 6px 0; cursor: pointer; position: relative;
}
.main-nav > a::after, .nav-carta::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav > a:hover::after, .nav-carta:hover::after, .main-nav > a.is-active::after { transform: scaleX(1); }
.nav-mobile-ctas { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; place-items: center; }
.menu-toggle .icon { width: 22px; height: 22px; }

/* ---------- Arcos (motivo de marca) ---------- */
.arch { margin: 0; overflow: hidden; border-radius: 1000px 1000px 14px 14px; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(72px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(130, 201, 212, 0.35), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 0.38em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 38px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.hero-facts li { display: flex; flex-direction: column; padding: 2px 22px; border-left: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); line-height: 1.4; }
.hero-facts li:first-child { border-left: 0; padding-left: 0; }
.fact-big { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; color: var(--teal-deep); display: inline-flex; align-items: center; gap: 4px; }
.icon.star { color: #E0A93B; width: 0.8em; height: 0.8em; }
.hero-media { position: relative; padding-bottom: 40px; }
.arch-main { width: 76%; aspect-ratio: 3 / 4; margin-left: auto; box-shadow: var(--shadow); }
.arch-side { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; border: 8px solid var(--cream); box-shadow: var(--shadow); }
.arch-side img { object-position: center 78%; }
.hero-script {
  position: absolute; left: 2%; top: 10%;
  font-family: var(--font-script); font-size: clamp(1.4rem, 2.4vw, 2.1rem); color: var(--teal);
  transform: rotate(-9deg); margin: 0;
}

/* ---------- Intro ---------- */
.intro { padding: clamp(56px, 7vw, 96px) 0; background: var(--paper); border-block: 1px solid var(--line); text-align: center; }
.ornament { width: 150px; margin: 0 auto 26px; }
.intro-text { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.32; color: var(--teal-deep); font-weight: 500; margin: 0; }
.intro-text span { display: block; margin-top: 0.6em; font-style: italic; color: var(--muted); font-size: 0.82em; }

/* ---------- Restaurante ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-media { position: relative; padding-bottom: 48px; }
.split-media .tall { width: 80%; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.photo-card { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; margin: 0; border-radius: 16px; overflow: hidden; border: 8px solid var(--cream); box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.tags { list-style: none; padding: 0; margin: 4px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 14px; font-size: 0.88rem; color: var(--muted); }
.hours-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px 14px; margin-bottom: 26px; }
.hours-card h3 { display: flex; align-items: center; gap: 8px; color: var(--teal-deep); margin-bottom: 10px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin: 0 0 10px; font-size: 0.96rem; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; color: var(--muted); }
.hours .today { color: var(--teal-dark); font-weight: 600; }
.hours-note { font-size: 0.86rem; color: var(--muted); margin: 0; }
.open-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--teal-dark); }
.open-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-badge.closed { color: var(--brick); }

.favorites { margin-top: clamp(72px, 9vw, 120px); }
.fav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fav {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.fav:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.fav-tag { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brick); font-weight: 500; margin-bottom: 10px; }
.fav h3 { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; color: var(--teal-deep); line-height: 1.1; margin-bottom: 8px; }
.fav p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.fav .price { border-top: 1px dashed var(--line); padding-top: 12px; font-weight: 600; color: var(--teal-dark); font-size: 1.05rem; }

/* ---------- Reservas (formularios) ---------- */
.booking-section { background: linear-gradient(180deg, var(--teal-mist), #EEF6F3); }
.booking-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.booking-grid > *, .suite-form > *, .hero-grid > *, .split > * { min-width: 0; }
.booking-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checklist .icon { color: var(--teal); margin-top: 3px; stroke-width: 2.2; }
.booking-card, .summary-card, .calendar-card {
  background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.6);
}
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 14px; padding: 0; color: var(--teal-deep); }
.step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-size: 0.8rem; }
.chip-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day-chip {
  flex: none; scroll-snap-align: start; width: 74px; padding: 10px 6px; border-radius: 16px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: center; line-height: 1.15;
  transition: background-color .2s, border-color .2s, color .2s;
}
.day-chip small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.day-chip strong { display: block; font-family: var(--font-serif); font-size: 1.8rem; font-weight: 600; color: var(--teal-deep); margin: 2px 0; }
.day-chip .night-dot { display: block; font-size: 0.66rem; color: var(--teal); min-height: 1em; }
.day-chip:hover { border-color: var(--teal); }
.day-chip[aria-checked="true"] { background: var(--teal-dark); border-color: var(--teal-dark); }
.day-chip[aria-checked="true"] small, .day-chip[aria-checked="true"] strong, .day-chip[aria-checked="true"] .night-dot { color: #fff; }
.segmented { display: inline-flex; background: var(--teal-mist); border-radius: 999px; padding: 4px; margin-bottom: 12px; }
.segmented button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--teal-deep); }
.segmented button[aria-checked="true"] { background: #fff; box-shadow: 0 2px 10px -4px rgba(0,0,0,.25); }
.segmented button:disabled { opacity: 0.4; cursor: not-allowed; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.time-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: 0.93rem; }
.time-chip:hover { border-color: var(--teal); }
.time-chip[aria-checked="true"] { background: var(--teal-dark); color: #fff; border-color: var(--teal-dark); }
.stepper { display: inline-flex; align-items: center; gap: 14px; }
.stepper button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--teal-deep); }
.stepper button:hover:not(:disabled) { border-color: var(--teal); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; min-width: 1.4ch; text-align: center; color: var(--teal-deep); }
.stepper-label { color: var(--muted); }
.stepper.small button { width: 34px; height: 34px; }
.stepper.small output { font-size: 1.4rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field-grid.one { grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.field em { font-style: normal; opacity: 0.75; }
input[type="text"], input:not([type]), input[type="tel"], input[type="search"], input[type="email"], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 64px; }
input:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(52, 140, 160, 0.2); }
input.is-invalid { border-color: var(--brick); }
.check-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 14px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.96rem; }
.check input { width: 18px; height: 18px; accent-color: var(--teal-dark); }
.check em { font-style: normal; color: var(--muted); }
.booking-summary { display: none; background: var(--teal-mist); border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; color: var(--teal-deep); font-size: 0.96rem; }
.booking-summary.is-visible { display: block; }
.form-error { color: #A8321F; font-size: 0.92rem; min-height: 0; margin: 0 0 10px; }
.form-error:empty { display: none; }
.fine { font-size: 0.82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ---------- Vinos ---------- */
.wine-band {
  background: radial-gradient(120% 140% at 85% 0%, var(--pine-2), var(--pine) 60%);
  color: #E9EFEC; padding-block: clamp(72px, 8vw, 110px);
}
.wine-band h2 { color: #F6F1E8; }
.wine-band p { color: rgba(233, 239, 236, 0.82); max-width: 34em; }
.wine-band strong { color: #fff; }
.wine-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.wine-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wine-stats li { border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 20px 20px 18px; font-size: 0.92rem; color: rgba(233,239,236,.8); line-height: 1.35; }
.wine-stats span { display: block; font-family: var(--font-serif); font-size: 3rem; font-weight: 600; color: var(--teal-soft); line-height: 1; margin-bottom: 6px; }

/* ---------- Suite ---------- */
.suite-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 60px); }
.suite-logo { width: 250px; margin: 0 auto 22px; }
.suite-head p { color: var(--muted); }
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  grid-template-areas:
    "a b b c"
    "a b b c"
    "a e e c"
    "f e e d"
    "f g h h"
    "f g h h";
}
.g-item { border: 0; padding: 0; margin: 0; overflow: hidden; border-radius: 14px; cursor: zoom-in; background: var(--sand); position: relative; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.04); }
.g-a { grid-area: a; border-radius: 1000px 1000px 14px 14px; }
.g-b { grid-area: b; } .g-b img { object-position: center 72%; }
.g-c { grid-area: c; }
.g-d { grid-area: d; } .g-d img { object-position: center 60%; }
.g-e { grid-area: e; }
.g-f { grid-area: f; }
.g-g { grid-area: g; } .g-g img { object-position: center 60%; }
.g-h { grid-area: h; } .g-h img { object-position: center 30%; }
.amenities { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(36px, 5vw, 56px); }
.amenity { background: var(--paper); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 24px 12px; font-size: 0.93rem; line-height: 1.35; }
.amenity .icon { width: 30px; height: 30px; color: var(--teal); stroke-width: 1.4; }

/* ---------- Reserva suite ---------- */
.suite-booking { background: linear-gradient(180deg, #EEF6F3, var(--teal-mist)); }
.suite-form { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 28px; align-items: start; }
.suite-left { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.suite-right { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-hint { margin: 0; font-weight: 500; color: var(--teal-deep); text-align: center; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cal-month h4 { margin: 0 0 10px; text-align: center; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--teal-deep); text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px 0; }
.cal-dow { text-align: center; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.cal-day {
  position: relative; height: 42px; border: 0; padding: 0; min-width: 0; background: transparent; cursor: pointer;
  font-size: 0.95rem; color: var(--ink); display: grid; place-items: center;
}
.cal-day span { width: min(38px, 100%); height: 38px; display: grid; place-items: center; border-radius: 50%; position: relative; z-index: 1; transition: background-color .15s; }
.cal-day:hover:not(:disabled) span { background: var(--teal-mist); }
.cal-day.is-wk span::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--teal-soft); }
.cal-day:disabled { cursor: not-allowed; color: #B5B0A8; }
.cal-day.is-busy span { text-decoration: line-through; color: #A49A8D; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(169, 87, 58, 0.08) 4px 7px); }
.cal-day.in-range::before { content: ''; position: absolute; inset: 2px 0; background: var(--teal-mist); }
.cal-day.is-start::before { left: 50%; }
.cal-day.is-end::before { right: 50%; }
.cal-day.is-start span, .cal-day.is-end span { background: var(--teal-dark) !important; color: #fff; }
.cal-day.is-start.is-end::before { display: none; }
.cal-day.is-empty { visibility: hidden; }
.cal-legend { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.84rem; color: var(--muted); }
.cal-legend li { display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.sel { background: var(--teal-dark); }
.dot.busy { background: repeating-linear-gradient(135deg, #fff 0 2px, var(--busy) 2px 4px); border: 1px solid var(--busy); }
.dot.wk { width: 6px; height: 6px; background: var(--teal-soft); margin: 0 3px; }
.packages legend { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; }
.package-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.package { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid transparent; border-radius: var(--radius); padding: 22px 20px 18px; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.package:hover { transform: translateY(-2px); }
.package input { position: absolute; opacity: 0; pointer-events: none; }
.package:has(input:checked) { border-color: var(--teal-dark); }
.package:has(input:focus-visible) { outline: 3px solid var(--teal-soft); outline-offset: 2px; }
.package.is-disabled { opacity: 0.55; cursor: not-allowed; }
.package.is-disabled:hover { transform: none; }
.package h4 { margin: 0 0 6px; font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; color: var(--teal-deep); line-height: 1.1; padding-right: 26px; }
.package p { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.package ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; font-size: 0.88rem; flex: 1; }
.package li { display: flex; gap: 8px; align-items: center; }
.package li .icon { color: var(--teal); stroke-width: 2.2; width: 1em; height: 1em; }
.pkg-price { border-top: 1px dashed var(--line); padding-top: 10px; font-size: 0.85rem; color: var(--muted); }
.pkg-price strong { display: block; font-size: 1.15rem; color: var(--teal-dark); }
.pkg-note { font-size: 0.8rem; color: var(--brick); margin-top: 6px; min-height: 1em; }
.pkg-badge { position: absolute; top: -11px; left: 18px; background: var(--brick); color: #fff; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pkg-radio { position: absolute; top: 20px; right: 18px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; }
.package:has(input:checked) .pkg-radio { border-color: var(--teal-dark); background: var(--teal-dark); box-shadow: inset 0 0 0 4px var(--paper); }
.summary-card h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--teal-deep); margin-bottom: 16px; }
.sum-dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; background: var(--teal-mist); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.sum-dates div { display: grid; line-height: 1.25; }
.sum-dates span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.sum-dates strong { font-size: 1.02rem; color: var(--teal-deep); text-transform: capitalize; }
.sum-dates small { font-size: 0.75rem; color: var(--muted); }
.sum-dates .icon { color: var(--teal); }
.sum-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.toggle-row { margin-bottom: 16px; }
.price-lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 16px; font-size: 0.94rem; }
.price-lines p { margin: 0; }
.pl { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pl span:first-child { color: var(--muted); }
.pl.total { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 600; font-size: 1.05rem; }
.pl.total span:last-child { font-family: var(--font-serif); font-size: 1.75rem; color: var(--teal-deep); line-height: 1; }
.pl.sena { font-size: 0.86rem; }
.pl.gift span:last-child { color: var(--teal-dark); }
.stay-info { list-style: none; padding: 0 6px; margin: 0; display: grid; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.stay-info li { display: flex; gap: 10px; align-items: flex-start; }
.stay-info .icon { color: var(--teal); margin-top: 2px; }

/* ---------- Sustentabilidad ---------- */
.eco { background: var(--paper); }
.eco-hero { position: relative; border-radius: 26px; overflow: hidden; margin-bottom: clamp(40px, 5vw, 64px); }
.eco-hero img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.eco-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 36, 32, 0.78), rgba(18, 36, 32, 0.15) 70%); }
.eco-hero-text { position: absolute; inset: auto auto clamp(24px, 4vw, 48px) clamp(24px, 4vw, 52px); z-index: 1; max-width: 560px; }
.eco-hero-text h2 { color: #fff; margin: 0; }
.eco-body { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eco-photo { position: relative; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.eco-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 22px; background: linear-gradient(180deg, transparent, rgba(18,36,32,.8)); color: #fff; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.2; }
.eco-photo em { color: var(--teal-soft); }
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
.eco-item .icon { width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: var(--teal-mist); color: var(--teal-dark); margin-bottom: 14px; stroke-width: 1.5; }
.eco-item h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--teal-deep); margin-bottom: 6px; }
.eco-item p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Opiniones ---------- */
.reviews { background: var(--cream); }
.ratings { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.rating { display: grid; justify-items: center; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 34px; min-width: 220px; }
.rating strong { font-family: var(--font-serif); font-size: 3rem; line-height: 1; color: var(--teal-deep); }
.rating small { color: var(--muted); font-size: 0.85rem; }
.stars { display: flex; color: #E0A93B; }
.stars .icon { width: 18px; height: 18px; }
.stars .half { opacity: 0.35; }
.score-label { font-weight: 600; color: var(--teal-dark); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quotes blockquote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.quotes p { font-family: var(--font-serif); font-size: 1.28rem; font-style: italic; line-height: 1.4; color: var(--ink); flex: 1; }
.quotes footer { font-size: 0.86rem; color: var(--teal-dark); font-weight: 500; letter-spacing: 0.04em; }

/* ---------- Ubicación ---------- */
.location { background: var(--paper); }
.location-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.address { display: flex; gap: 10px; align-items: flex-start; font-size: 1.05rem; }
.address .icon { color: var(--teal); margin-top: 4px; }
.distances { list-style: none; padding: 0; margin: 0 0 28px; }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.distances span { color: var(--muted); }
.distances strong { font-weight: 500; color: var(--teal-deep); }
.map-wrap { border-radius: 26px; overflow: hidden; min-height: 440px; box-shadow: var(--shadow); background: var(--sand); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: saturate(0.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine); color: rgba(233, 239, 236, 0.78); padding: 72px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display: grid; gap: 22px; justify-items: start; }
.footer-brand img:first-child { width: 220px; }
.footer-brand img:last-child { width: 160px; opacity: 0.9; }
.site-footer h3 { color: #fff; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; }
.site-footer a { color: var(--teal-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.socials { display: grid; gap: 8px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 48px; padding-top: 22px; font-size: 0.82rem; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; stroke-width: 1.4; }

/* ---------- Diálogos ---------- */
dialog { border: 0; padding: 0; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(16, 32, 30, 0.55); backdrop-filter: blur(3px); }
body.has-dialog { overflow: hidden; }

.sheet { margin: 0 0 0 auto; width: min(720px, 100%); height: 100%; background: var(--cream); }
.sheet[open] { animation: slide-in .35s cubic-bezier(.2,.7,.2,1); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-inner { display: flex; flex-direction: column; height: 100%; }
.sheet-head { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.sheet-logo { width: 130px; }
.tabs { display: inline-flex; background: var(--teal-mist); border-radius: 999px; padding: 4px; margin-left: auto; }
.tabs button { border: 0; background: transparent; padding: 7px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--teal-deep); }
.tabs button[aria-selected="true"] { background: var(--teal-dark); color: #fff; }
.sheet-tools { padding: 14px 20px 6px; background: var(--paper); border-bottom: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; }
.search .icon { color: var(--muted); }
.search input { border: 0; padding: 10px 0; box-shadow: none !important; background: transparent; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 8px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 14px; font-size: 0.86rem; cursor: pointer; }
.cat-chips button.is-active { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.sheet-body { flex: 1; overflow-y: auto; padding: 10px 22px 40px; scroll-behavior: smooth; overscroll-behavior: contain; }
.menu-cat { padding-top: 26px; }
.menu-cat h3 { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; color: var(--teal-deep); margin-bottom: 4px; }
.menu-note { font-size: 0.88rem; color: var(--muted); font-style: italic; margin-bottom: 8px; }
.menu-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mi-line { display: flex; align-items: baseline; gap: 10px; }
.mi-name { font-weight: 500; }
.mi-dots { flex: 1; border-bottom: 1.5px dotted rgba(28, 42, 44, 0.25); transform: translateY(-4px); min-width: 20px; }
.mi-price { font-weight: 600; color: var(--teal-dark); white-space: nowrap; }
.mi-desc { font-size: 0.92rem; color: var(--muted); margin: 2px 0 0; }
.mi-tag { display: inline-block; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brick); border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
.mi-tag.veg { color: #3C7A4E; }
.menu-empty { text-align: center; color: var(--muted); padding: 60px 0; }
mark { background: rgba(130, 201, 212, 0.45); color: inherit; border-radius: 3px; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.sheet-foot p { margin: 0; font-size: 0.82rem; color: var(--muted); }

.pdf-viewer { width: 100%; height: 100%; background: #22302D; color: #fff; }
.pdf-viewer[open] { display: flex; flex-direction: column; }
.pdf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: rgba(0, 0, 0, 0.25); }
.pdf-head p { margin: 0; font-weight: 500; }
.pdf-actions { display: flex; gap: 8px; }
.pdf-pages { flex: 1; overflow: auto; padding: 24px 16px 60px; display: grid; justify-items: center; gap: 20px; align-content: start; }
.pdf-pages canvas { width: 100%; max-width: 860px; height: auto; border-radius: 6px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); background: #fff; }
.pdf-loading { color: rgba(255,255,255,.7); }

.lightbox { width: 100%; height: 100%; background: rgba(12, 20, 19, 0.96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 60px 70px; }
.lightbox img { max-height: 80vh; max-width: min(1100px, 100%); width: auto; border-radius: 10px; }
.lightbox figcaption { color: rgba(255,255,255,.75); font-size: 0.92rem; text-align: center; }
.lightbox .icon-btn { position: absolute; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.confirm { width: min(480px, calc(100% - 32px)); border-radius: 26px; padding: 34px 30px 28px; text-align: center; background: var(--paper); margin: auto; }
.confirm[open] { animation: pop .3s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.confirm img { width: 110px; margin: 0 auto 14px; }
.confirm h2 { font-size: 2rem; }
.confirm p { color: var(--muted); }
.confirm-msg { text-align: left; white-space: pre-wrap; font-family: var(--font-sans); font-size: 0.86rem; background: var(--teal-mist); border-radius: 14px; padding: 14px 16px; max-height: 240px; overflow: auto; margin: 0 0 20px; color: var(--teal-deep); }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .amenities { grid-template-columns: repeat(5, 1fr); }
  .suite-form { grid-template-columns: 1fr; }
  .suite-right { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { width: 148px; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 16px var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav > a, .nav-carta { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; color: var(--teal-deep); padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .main-nav > a::after, .nav-carta::after { display: none; }
  .nav-mobile-ctas { display: grid; gap: 12px; margin-top: 28px; }
  .nav-mobile-ctas .btn { font-family: var(--font-sans); font-size: 1rem; border-bottom: 1.5px solid transparent; padding: 0.9em 1.5em; }
  .nav-mobile-ctas .btn-primary { color: #fff; }
  .nav-mobile-ctas .btn-outline { border-color: var(--teal-dark); }
  .hero-grid, .split, .booking-grid, .wine-grid, .location-grid, .eco-body { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .booking-intro { position: static; }
  .fav-grid, .quotes { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .gallery {
    grid-template-columns: 1fr 1fr; grid-auto-rows: 170px;
    grid-template-areas: "a b" "a c" "e e" "f d" "f g" "h h";
  }
  .package-list { grid-template-columns: 1fr; }
  .eco-photo { max-width: 460px; width: 100%; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-media { max-width: 560px; width: 100%; margin-inline: auto; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .demo-bar { font-size: 0.72rem; }
  .hero-facts li { padding: 2px 12px; font-size: 0.78rem; }
  .fact-big { font-size: 1.15rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .fav-grid, .quotes, .eco-grid { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .cal-month + .cal-month { display: none; }
  .suite-right { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 130px; gap: 8px; }
  .wine-stats span { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .sheet-logo { display: none; }
  .tabs { margin-left: 0; }
  .sheet-head { justify-content: space-between; }
  .lightbox figure { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
  .eco-hero img { aspect-ratio: 4 / 3; }
}
