/* =========================================================
   Doña Urraca Hotel & Spa — estilos
   Paleta tomada del logo: azul marino, turquesa y guinda
   ========================================================= */
:root {
  --navy: #2b3456;
  --navy-deep: #1c2340;
  --teal: #2a7891;
  --teal-soft: #e3eef1;
  --wine: #8c2b4c;
  --cream: #f7f3ec;
  --sand: #ebe3d6;
  --ink: #23263a;
  --muted: #6b6f80;
  --white: #fff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;

  --radius: 4px;
  --header-h: 84px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
address { font-style: normal; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.center { text-align: center; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 22px;
  letter-spacing: -.005em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 8px;
}
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.section__head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head .lead { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--wine); color: var(--white); }
.btn--primary:hover { background: #75213f; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sand); }
.link-arrow {
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--navy);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow::after { content: " →"; }
.link-arrow[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 32px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header__inner {
  height: 100%;
  width: min(1320px, 100% - 48px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo img { width: auto; height: 68px; transition: height .35s var(--ease); }
.logo--dark { display: none; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  color: var(--white); text-decoration: none;
  font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__lang { opacity: .75; border-left: 1px solid rgba(255,255,255,.35); padding-left: 18px !important; }
.header__actions { display: flex; align-items: center; gap: 14px; }

.header.is-solid { background: rgba(247,243,236,.97); box-shadow: 0 1px 0 rgba(43,52,86,.08); backdrop-filter: blur(8px); --header-h: 72px; }
.header.is-solid .header__logo img { height: 52px; }
.header.is-solid .logo--light { display: none; }
.header.is-solid .logo--dark { display: block; }
.header.is-solid .nav a { color: var(--navy); }
.header.is-solid .nav__lang { border-color: rgba(43,52,86,.25); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.header.is-solid .burger span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,45,.55) 0%, rgba(20,24,45,.15) 35%, rgba(20,24,45,.25) 60%, rgba(20,24,45,.75) 100%); }
.hero__content { position: relative; width: min(var(--container), 100% - 48px); margin: 0 auto 40px; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02;
  margin: 0; max-width: 900px; text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero__title em { font-style: italic; font-weight: 400; }

/* ---------- Barra de reserva ---------- */
.booking {
  position: relative; z-index: 2;
  width: min(var(--container), 100% - 48px); margin: 0 auto 48px;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(20,24,45,.25);
  display: grid; grid-template-columns: 1fr 1fr .6fr .6fr auto; align-items: stretch;
  padding: 10px;
}
.booking__field { display: flex; flex-direction: column; justify-content: center; padding: 10px 20px; border-right: 1px solid var(--sand); }
.booking__field label { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.booking__field input, .booking__field select {
  font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--navy);
  border: 0; background: transparent; padding: 0; outline: none; width: 100%;
  -webkit-appearance: none; appearance: none; cursor: pointer; min-height: 30px;
}
.booking__field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232b3456' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right center; padding-right: 18px; }
.booking__field:focus-within { background: var(--teal-soft); border-radius: var(--radius); }
.booking__submit { margin-left: 10px; padding-inline: 34px; }
.booking__note { grid-column: 1 / -1; margin: 8px 20px 4px; font-size: 13px; color: var(--muted); }
.booking__note::before { content: "✓ "; color: var(--teal); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro__name { color: var(--muted); font-size: 16px; border-left: 2px solid var(--wine); padding-left: 18px; }
.intro__media { position: relative; padding-bottom: 60px; }
.intro__img-tall { width: 72%; aspect-ratio: 3/4; object-fit: cover; margin-left: auto; border-radius: var(--radius); }
.intro__img-small { position: absolute; left: 0; bottom: 0; width: 50%; aspect-ratio: 4/3; object-fit: cover; border: 8px solid var(--cream); border-radius: var(--radius); }
.stats { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 40px; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--navy); line-height: 1; }
.stats span { font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }

/* ---------- Accesos rápidos ---------- */
.quick { padding: 0 0 clamp(72px, 9vw, 110px); }
.quick__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 22px; }
.quick__item { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); text-decoration: none; }
.quick__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.quick__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,24,45,.75)); }
.quick__item span {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 1; text-align: center;
  color: var(--white); font-family: var(--serif); font-size: 26px; font-weight: 500;
}
.quick__item:hover img { transform: scale(1.06); }

/* ---------- Suites ---------- */
.suites { background: var(--white); }
.suites__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.suite { background: var(--cream); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.suite__img { aspect-ratio: 3/2; overflow: hidden; }
.suite__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.suite:hover .suite__img img { transform: scale(1.04); }
.suite__body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.suite__body p { margin: 0 0 16px; color: var(--muted); }
.suite__body .btn { align-self: flex-start; margin-top: auto; }
.tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 4px 12px; border: 1px solid rgba(43,52,86,.18); border-radius: 100px; color: var(--navy); }

/* ---------- Bloques destacados (Spa / Restaurante) ---------- */
.feature__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__img-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.feature__img-main--portrait { aspect-ratio: 4/5; max-height: 640px; }
.feature__img-accent { position: absolute; right: -28px; bottom: -48px; width: 36%; aspect-ratio: 2/3; object-fit: cover; border: 8px solid var(--cream); border-radius: var(--radius); }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.facts li { padding-left: 22px; position: relative; font-size: 16px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--wine); }
.facts strong { line-height: 1; font-family: var(--serif); font-size: 22px; color: var(--navy); font-weight: 600; }
#spa { background: var(--teal-soft); }
#spa .feature__img-accent { border-color: var(--teal-soft); }

/* ---------- Cava ---------- */
.cava { position: relative; color: var(--white); overflow: hidden; background: var(--navy-deep); }
.cava__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(2px); transform: scale(1.05); }
.cava__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,40,.92) 0%, rgba(20,22,40,.7) 55%, rgba(20,22,40,.4) 100%); }
.cava__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.cava .h2 { color: var(--white); }
.cava__text p { color: rgba(255,255,255,.82); }
.facts--light li::before { background: #d9a77a; }
.cava .btn { margin-top: 34px; }
.cava__photo { margin: 0; }
.cava__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.45); }

/* ---------- Eventos ---------- */
.events { background: var(--white); }
.events__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.space { background: var(--cream); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.space img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.space__body { padding: 22px 22px 26px; }
.space__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.space__top .h3 { font-size: 24px; }
.cap { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); white-space: nowrap; }
.space p { margin: 6px 0 0; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact address { font-size: 19px; margin-bottom: 14px; }
.directory { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--sand); }
.directory li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sand); flex-wrap: wrap; }
.directory span { width: 110px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.directory a { text-decoration: none; color: var(--navy); font-weight: 400; }
.directory a:hover { color: var(--wine); }
.directory .wa::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #25d366; margin-right: 8px; vertical-align: middle; }
.contact__map { min-height: 420px; border-radius: var(--radius); overflow: hidden; }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.3); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__logo { height: 90px; width: auto; }
.footer__nav, .footer__social { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { text-decoration: none; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.footer a:hover { color: var(--white); }
.footer__legal { text-align: center; font-size: 13px; margin: 48px 0 0; opacity: .6; }

/* ---------- Barra móvil ---------- */
.mobilebar { display: none; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--navy-deep);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav a { color: var(--white) !important; font-family: var(--serif); font-size: 30px; letter-spacing: 0; text-transform: none; }
  .nav__lang { border: 0 !important; padding-left: 0 !important; font-family: var(--sans) !important; font-size: 14px !important; letter-spacing: .2em !important; }
  .burger { display: block; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .burger span { background: var(--white) !important; }
  body.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
  body.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
  body.menu-open .logo--dark { display: none !important; }
  body.menu-open .logo--light { display: block !important; }
  body.menu-open .header { background: transparent; box-shadow: none; }

  .booking { grid-template-columns: 1fr 1fr; gap: 0; }
  .booking__field { border-right: 0; border-bottom: 1px solid var(--sand); }
  .booking__submit { grid-column: 1 / -1; margin: 10px 0 0; padding: 18px; }

  .quick__grid { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .quick__grid::-webkit-scrollbar { display: none; }
  .quick__item { scroll-snap-align: start; aspect-ratio: 4/5; }
  .events__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .header__logo img { height: 46px; }
  .header__actions .btn { display: none; }

  .hero { min-height: auto; padding-top: 140px; }
  .hero__content { margin-bottom: 28px; }
  .booking { margin-bottom: 28px; }

  .intro__grid, .feature__grid, .cava__grid, .contact__grid { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .feature__img-accent { right: 12px; bottom: -36px; width: 34%; }
  .feature__text { margin-top: 20px; }
  .suites__grid { grid-template-columns: 1fr; gap: 24px; }
  .facts { grid-template-columns: 1fr; }
  .cava__photo { order: -1; }
  .cava__photo img { aspect-ratio: 4/3; }
  .contact__map, .contact__map iframe { min-height: 320px; }
  .footer__grid { flex-direction: column; text-align: center; }

  .mobilebar {
    display: grid; grid-template-columns: 1fr 1.6fr;
    position: fixed; inset: auto 0 0 0; z-index: 60; height: 64px;
    box-shadow: 0 -6px 24px rgba(20,24,45,.15);
  }
  .mobilebar a {
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  }
  .mobilebar__wa { background: var(--white); color: var(--navy); }
  .mobilebar__wa::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25d366; margin-right: 8px; }
  .mobilebar__book { background: var(--wine); color: var(--white); }
}

@media (max-width: 520px) {
  .container, .hero__content, .booking { width: calc(100% - 32px); }
  .booking__field { padding: 10px 14px; }
  .booking__field input, .booking__field select { font-size: 19px; }
  .events__grid { grid-template-columns: 1fr; }
  .stats { gap: 28px; }
  .intro__img-tall { width: 80%; }
}

/* =========================================================
   Páginas internas (Spa, Menú)
   ========================================================= */
.cava__phone { margin: 16px 0 0; font-size: 15px; color: rgba(255,255,255,.75); }
.cava__phone a { color: var(--white); }

.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; padding-top: var(--header-h);
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,45,.35), rgba(20,24,45,.75)); }
.page-hero .container { position: relative; z-index: 1; padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; margin: 0 0 12px; }
.page-hero p { max-width: 620px; margin: 0; font-size: 18px; color: rgba(255,255,255,.88); }
.crumbs { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }

/* Aviso de contenido demo */
.demo-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff6e5; border: 1px dashed #d9a54a; color: #6b4a12;
  padding: 16px 20px; border-radius: var(--radius); font-size: 15px; line-height: 1.55;
  margin-bottom: 48px;
}
.demo-note strong { white-space: nowrap; }
.tbd {
  display: inline-block; font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: #8a5b0f;
  background: #fdecc8; border-radius: 100px; padding: 2px 9px; vertical-align: middle; margin-left: 8px;
}

/* Instalaciones */
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: clamp(56px, 8vw, 96px); }
.amenity { background: var(--white); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.amenity strong { display: block; font-family: var(--serif); font-size: 44px; font-weight: 500; color: var(--teal); line-height: 1; margin-bottom: 8px; }
.amenity span { font-size: 14px; letter-spacing: .06em; color: var(--muted); }

/* Pestañas */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.tab {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 100px; border: 1px solid rgba(43,52,86,.2);
  background: transparent; color: var(--navy); cursor: pointer; transition: all .25s var(--ease);
}
.tab:hover { border-color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.panel[hidden] { display: none; }

/* Lista tipo menú */
.menu-list { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; }
.menu-item { padding: 22px 0; border-bottom: 1px solid var(--sand); }
.menu-item__top { display: flex; align-items: baseline; gap: 14px; }
.menu-item__name { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--navy); }
.menu-item__dots { flex: 1; border-bottom: 1px dotted rgba(43,52,86,.3); transform: translateY(-5px); min-width: 20px; }
.menu-item__price { font-family: var(--serif); font-size: 22px; color: var(--wine); white-space: nowrap; }
.menu-item__meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-left: 4px; white-space: nowrap; }
.menu-item p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; max-width: 680px; }
.menu-group-title { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--navy); text-align: center; margin: 56px 0 6px; }
.menu-group-title:first-child { margin-top: 0; }

/* Tarjetas de paquetes */
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.package { background: var(--white); border-radius: var(--radius); padding: 30px 24px; display: flex; flex-direction: column; border-top: 3px solid var(--teal); }
.package h3 { margin-bottom: 6px; }
.package p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.package .menu-item__price { margin-top: auto; }

/* Galería */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { grid-row: span 2; aspect-ratio: auto; }

.cta-band { background: var(--navy-deep); color: var(--white); text-align: center; padding: clamp(64px, 8vw, 96px) 0; }
.cta-band .h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 32px; }
.cta-band .actions { justify-content: center; }
.cta-band .link-arrow { color: var(--white); }

@media (max-width: 1080px) {
  .amenities, .packages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .page-hero { min-height: 52vh; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
  .menu-item__top { flex-wrap: wrap; }
  .menu-item__dots { display: none; }
  .menu-item__price { margin-left: auto; }
}
@media (max-width: 520px) {
  .packages { grid-template-columns: 1fr; }
  .demo-note { flex-direction: column; gap: 4px; }
}
.amenity .tbd { margin: 8px 0 0; display: inline-block; }
@media (max-width: 520px) { .amenity .tbd { font-size: 9.5px; padding: 2px 7px; letter-spacing: .06em; } .amenity { padding: 22px 12px; } }
.page-hero__meta { margin-top: 18px !important; font-size: 13px !important; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8) !important; }
.menu-item__extra { font-size: 14px !important; color: var(--teal) !important; font-style: italic; }
.notes { list-style: none; max-width: 860px; margin: 40px auto 0; padding: 22px 26px; background: var(--white); border-radius: var(--radius); font-size: 14.5px; color: var(--muted); }
.notes li { padding: 4px 0 4px 20px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: 1em; width: 8px; height: 1px; background: var(--wine); }
.notes strong { color: var(--navy); font-weight: 500; }
@media (max-width: 820px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 8px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; }
}

/* Selector Desayunos / Comidas */
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; margin: 0 auto 36px; }
.switch__btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 20px; border-radius: var(--radius);
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  background: var(--white); color: var(--navy); border: 1px solid rgba(43,52,86,.15);
  cursor: pointer; transition: all .25s var(--ease);
}
.switch__btn:hover { border-color: var(--navy); }
.switch__btn[aria-selected="true"] { background: var(--wine); color: var(--white); border-color: var(--wine); }
.switch__icon { font-size: 20px; opacity: .85; }
.carta[hidden] { display: none; }
@media (max-width: 520px) { .switch__btn { font-size: 21px; padding: 14px 10px; gap: 8px; } }

/* =========================================================
   Tarjetas de suite (portada)
   ========================================================= */
.suite__img { position: relative; display: block; }
.suite__more {
  position: absolute; right: 14px; bottom: 14px;
  background: rgba(255,255,255,.92); color: var(--navy);
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 100px; opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.suite:hover .suite__more, .suite__img:focus-visible .suite__more { opacity: 1; transform: none; }
.suite .h3 a { text-decoration: none; }
.suite .h3 a:hover { color: var(--wine); }
.suite__actions { display: flex; align-items: center; gap: 24px; margin-top: auto; flex-wrap: wrap; }
@media (hover: none) { .suite__more { opacity: 1; transform: none; } }

/* =========================================================
   Página de suite
   ========================================================= */
.suite-page { padding: calc(var(--header-h) + 36px) 0 clamp(56px, 8vw, 96px); }
.crumbs--dark a { color: var(--muted); }
.crumbs--dark { color: var(--navy); margin-bottom: 10px; }
.suite-page__head { margin-bottom: 24px; }
.suite-page__head .h2 { margin-bottom: 6px; }
.suite-page__tag { margin: 0; font-size: 18px; color: var(--muted); }

/* Galería tipo mosaico */
.sg { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 52vw, 560px); border-radius: 8px; overflow: hidden; }
.sg__item { display: block; overflow: hidden; background: var(--sand); }
.sg__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .3s; }
.sg__item:hover img { transform: scale(1.04); filter: brightness(.92); }
.sg__item--main { grid-row: span 2; }
.sg__item--extra { display: none; }
.sg__all {
  position: absolute; right: 16px; bottom: 16px;
  background: var(--white); color: var(--navy); border: 0; border-radius: 100px;
  padding: 11px 20px; cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.18);
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.sg__all::before { content: "▦ "; }
.sg__all:hover { background: var(--sand); }

/* Contenido + tarjeta de reserva */
.suite-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 6vw, 80px); margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.suite-hl { list-style: none; padding: 0 0 28px; margin: 0 0 28px; display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; border-bottom: 1px solid var(--sand); }
.suite-hl li { display: flex; flex-direction: column; }
.suite-hl strong { font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--navy); line-height: 1; }
.suite-hl span { font-size: 13px; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.suite-page__intro { font-size: 19px; line-height: 1.75; margin: 0 0 12px; }
.suite-sub { margin: 44px 0 18px; font-size: 28px; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.incl li { background: var(--white); border-radius: var(--radius); padding: 14px 16px 14px 42px; position: relative; font-size: 15.5px; }
.incl li::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 8px; margin-top: -6px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}
.stay { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--sand); }
.stay li { padding: 16px 0; border-bottom: 1px solid var(--sand); }
.stay strong { display: block; font-weight: 500; color: var(--navy); }
.stay span { color: var(--muted); font-size: 15.5px; }
.stay a { font-size: 14px; color: var(--wine); margin-left: 6px; }

.suite-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.book-card { background: var(--white); border-radius: 8px; padding: 28px; box-shadow: 0 18px 50px rgba(20,24,45,.12); }
.book-card__title { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--navy); margin: 0 0 4px; line-height: 1.15; }
.book-card__sub { font-size: 13.5px; color: var(--muted); margin: 0 0 20px; }
.book-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.book-card label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--sand); border-radius: var(--radius); padding: 10px 12px; }
.book-card label:focus-within { border-color: var(--teal); }
.book-card input, .book-card select { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--navy); border: 0; background: transparent; padding: 0; outline: none; width: 100%; text-transform: none; letter-spacing: 0; }
.book-card__btn { width: 100%; padding: 16px; margin-top: 8px; }
.book-card__wa { display: block; text-align: center; margin-top: 14px; font-size: 14px; color: var(--navy); }

/* Otras suites */
.others { background: var(--white); }
.others .h2 { margin-bottom: 36px; }
.others__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mini { display: block; text-decoration: none; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.mini img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .7s var(--ease); }
.mini:hover img { transform: scale(1.04); }
.mini__body { display: block; padding: 18px 20px 22px; }
.mini__body strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--navy); }
.mini__body span { font-size: 14.5px; color: var(--muted); }

/* Visor de fotos */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(14,16,30,.96); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: min(1400px, 92vw); text-align: center; }
.lb__fig img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; border-radius: 4px; user-select: none; }
.lb__fig figcaption { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 14px; }
.lb__close, .lb__nav { position: absolute; background: rgba(255,255,255,.1); color: var(--white); border: 0; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb__close:hover, .lb__nav:hover { background: rgba(255,255,255,.22); }
.lb__close { top: 20px; right: 20px; width: 48px; height: 48px; font-size: 30px; line-height: 1; }
.lb__nav { top: 50%; width: 56px; height: 56px; margin-top: -28px; font-size: 36px; line-height: 1; padding-bottom: 4px; }
.lb__prev { left: 20px; }
.lb__next { right: 20px; }
body.lb-open { overflow: hidden; }

@media (max-width: 1080px) {
  .suite-layout { grid-template-columns: 1fr; }
  .suite-layout__aside { position: static; order: -1; }
  .incl { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .sg { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .sg__item--main { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
  .sg__item:not(.sg__item--main) { aspect-ratio: 4/3; }
  .sg__item:nth-child(n+4) { display: none; }
  .others__grid { grid-template-columns: 1fr; }
  .lb__nav { top: auto; bottom: 24px; margin-top: 0; }
  .lb__prev { left: calc(50% - 72px); }
  .lb__next { right: calc(50% - 72px); }
}
@media (max-width: 520px) {
  .incl { grid-template-columns: 1fr; }
  .book-card { padding: 22px; }
}
.suite-layout { grid-template-columns: minmax(0, 1fr) 380px; }
.book-card__row > label { min-width: 0; }
.book-card input, .book-card select { min-width: 0; }
.book-card input[type="date"] { font-size: 17px; }
@media (max-width: 1080px) { .suite-layout { grid-template-columns: minmax(0, 1fr); } }

/* Subtítulo del hero, al estilo del logo: — HOTEL & SPA — */
.hero__sub {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--sans); font-size: clamp(13px, 1.4vw, 18px); font-weight: 400;
  letter-spacing: .42em; text-transform: uppercase; line-height: 1;
  margin-top: 22px; color: rgba(255,255,255,.92);
}
.hero__sub::before, .hero__sub::after { content: ""; width: clamp(28px, 4vw, 56px); height: 1px; background: rgba(255,255,255,.7); }
.hero__sub::after { margin-left: -.42em; }
.space img { object-position: center 55%; }
@media (max-width: 520px) { .switch__btn { font-size: 19px; } }

/* ===== Ajustes oct-29: redes, reserva directa, letra más grande ===== */
.social { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.social svg { width: 22px; height: 22px; flex: 0 0 auto; }
.social--big { margin-top: 10px; }
.social--big a {
  padding: 12px 18px; border-radius: 100px; border: 1px solid rgba(43,52,86,.2);
  color: var(--navy); font-size: 15px; font-weight: 500; letter-spacing: .04em;
  transition: background .25s, color .25s, border-color .25s;
}
.social--big a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.footer__social a { color: rgba(255,255,255,.85); }
.footer__social svg { width: 24px; height: 24px; }
.nav__social { display: none; }
.contact__valet { margin: 22px 0 0; font-weight: 500; color: var(--navy); }
.contact__follow { margin: 26px 0 0; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.suite__direct { margin: 14px 0 0 !important; font-size: 15px !important; color: var(--wine) !important; font-weight: 500; }
@media (max-width: 1080px) {
  .nav__social { display: flex; justify-content: center; margin-top: 10px; }
  .nav__social a { font-family: var(--sans) !important; font-size: 0 !important; padding: 10px !important; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
  .nav__social a::after { display: none; }
  .nav__social svg { width: 24px; height: 24px; }
}

/* Letra de información +2-3 px */
body { font-size: 19px; }
.lead { font-size: 21px; }
.intro__name { font-size: 18px; }
.stats span, .suite-hl span { font-size: 15px; }
.tags li { font-size: 15px; }
.suite__body p { font-size: 18px; }
.facts li { font-size: 18.5px; }
.space p { font-size: 17px; }
.booking__note { font-size: 15px; }
.directory a { font-size: 18px; }
.directory span { font-size: 13.5px; }
.menu-item p { font-size: 17.5px; }
.menu-item__name { font-size: 26px; }
.menu-item__price { font-size: 24px; }
.menu-item__meta { font-size: 13.5px; }
.menu-item__extra { font-size: 16px !important; }
.notes { font-size: 16.5px; }
.incl li { font-size: 17.5px; }
.stay span { font-size: 17.5px; }
.stay a { font-size: 16px; }
.book-card__sub { font-size: 15.5px; }
.book-card__wa { font-size: 16px; }
.page-hero p { font-size: 20px; }
.mini__body span { font-size: 16.5px; }
.amenity span { font-size: 16px; }
.package p { font-size: 17px; }
.suite-page__intro { font-size: 21px; }
@media (max-width: 820px) { body { font-size: 18px; } }
.facts li.facts__wide { grid-column: 1 / -1; }
.facts strong { font-size: inherit; font-family: inherit; font-weight: 600; }
.book-direct { width: 100%; padding: 20px; font-size: 15px; }

/* =========================================================
   Selector de fechas y huéspedes
   ========================================================= */
.pk-native { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.pk-trigger {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: 0; padding: 2px 0; cursor: pointer; text-align: left;
  color: var(--navy); font-family: var(--serif); text-transform: none; letter-spacing: 0;
  transition: transform .25s var(--ease);
}
.pk-trigger:hover { transform: translateY(-1px); }
.pk-day { font-size: 30px; font-weight: 500; line-height: 1; min-width: 1ch; }
.pk-mon { display: flex; flex-direction: column; font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.15; color: var(--navy); }
.pk-mon small { font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pk-trigger::after {
  content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); opacity: .6;
}
.pk-trigger.is-open::after { transform: rotate(-135deg) translateY(-2px); }
.booking__field:has(.pk-trigger.is-open), .book-card label:has(.pk-trigger.is-open) { background: var(--teal-soft); border-radius: var(--radius); }
.book-card label:has(.pk-trigger.is-open) { border-color: var(--teal); }

.pk-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(20,24,45,.45); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.pk-pop {
  position: fixed; z-index: 95; background: var(--white); color: var(--ink);
  border-radius: 14px; box-shadow: 0 30px 80px rgba(20,24,45,.28), 0 2px 8px rgba(20,24,45,.08);
  padding: 22px 24px 18px; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97); transform-origin: top left;
  transition: opacity .28s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.pk-pop--up { transform-origin: bottom left; transform: translateY(-12px) scale(.97); }
.pk-pop.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .28s var(--ease), transform .4s cubic-bezier(.2,1.2,.3,1); }
.pk-pop--cal { width: 640px; }
.pk-pop--guests { width: 360px; }

.pk-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--sand); margin-bottom: 14px; }
.pk-title { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--navy); }
.pk-sum { margin: 0; font-size: 14px; color: var(--wine); font-weight: 500; }
.pk-x { margin-left: auto; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; transition: color .2s, transform .3s var(--ease); }
.pk-x:hover { color: var(--navy); transform: rotate(90deg); }

.pk-cal { position: relative; overflow: hidden; }
.pk-months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.pk-months.slide-l { animation: pkSlideL .38s var(--ease); }
.pk-months.slide-r { animation: pkSlideR .38s var(--ease); }
@keyframes pkSlideL { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes pkSlideR { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.pk-nav {
  position: absolute; top: -4px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(43,52,86,.15); background: var(--white); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding-bottom: 3px; transition: background .2s, color .2s, border-color .2s;
}
.pk-nav:hover:not(:disabled) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pk-nav:disabled { opacity: .3; cursor: default; }
.pk-prev { left: 0; } .pk-next { right: 0; }
.pk-mname { text-align: center; margin: 2px 0 12px; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--navy); text-transform: capitalize; }
.pk-mname span { font-weight: 400; color: var(--muted); }
.pk-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 3px; }
.pk-w { text-align: center; font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--muted); padding: 4px 0 8px; }
.pk-d {
  position: relative; aspect-ratio: 1; border: 0; background: none; cursor: pointer; font-family: var(--sans); font-size: 15px; color: var(--ink);
  border-radius: 50%; transition: background .2s, color .2s, transform .2s var(--ease);
}
.pk-d:hover:not(.is-off) { background: var(--teal-soft); color: var(--navy); }
.pk-d.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--teal); }
.pk-d.is-off { color: rgba(35,38,58,.25); cursor: default; }
.pk-d.is-range, .pk-d.is-hover { background: var(--teal-soft); border-radius: 0; color: var(--navy); }
.pk-d.is-start, .pk-d.is-end { background: var(--wine) !important; color: var(--white) !important; border-radius: 50% !important; font-weight: 500; box-shadow: 0 6px 16px rgba(140,43,76,.35); }
.pk-d.is-pop { animation: pkPop .35s cubic-bezier(.2,1.6,.4,1); }
@keyframes pkPop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }

.pk-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--sand); }
.pk-hint { font-size: 14px; color: var(--muted); }
.pk-done { padding: 12px 26px; }

.pk-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--sand); }
.pk-row:last-of-type { border-bottom: 0; }
.pk-rl { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); }
.pk-rs { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.pk-step { display: flex; align-items: center; gap: 16px; }
.pk-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(43,52,86,.25); background: var(--white); color: var(--navy);
  font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.pk-btn:hover:not(:disabled) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pk-btn:active:not(:disabled) { transform: scale(.9); }
.pk-btn:disabled { opacity: .3; cursor: default; }
.pk-n { min-width: 24px; text-align: center; font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--navy); }
.pk-n.bump-up { animation: pkUp .3s var(--ease); }
.pk-n.bump-down { animation: pkDown .3s var(--ease); }
@keyframes pkUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pkDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* Tarjeta de reserva de suite */
.book-card label .pk-day { font-size: 26px; }

/* Celular: panel que sube desde abajo */
@media (max-width: 639px) {
  .pk-backdrop.is-visible { opacity: 1; pointer-events: auto; }
  .pk-pop, .pk-pop--cal, .pk-pop--guests {
    left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto; max-height: 88vh; overflow-y: auto;
    border-radius: 20px 20px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(100%); transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s;
  }
  .pk-pop.is-visible { transform: none; transition: transform .45s cubic-bezier(.2,1,.3,1), opacity .3s; }
  .pk-pop::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--sand); margin: -4px auto 14px; }
  .pk-months { grid-template-columns: 1fr; }
  .pk-head { flex-wrap: wrap; row-gap: 4px; }
  .pk-sum { order: 3; width: 100%; }
  .pk-d { font-size: 16px; }
  body.pk-open { overflow: hidden; }
  .pk-day { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .pk-pop, .pk-months, .pk-d, .pk-n { animation: none !important; transition: none !important; }
}
/* Calendario de un solo mes */
.pk-pop--cal { width: 380px; padding: 20px 22px 16px; }
.pk-months { grid-template-columns: 1fr; }
.pk-head { flex-wrap: wrap; row-gap: 4px; }
.pk-sum { order: 3; width: 100%; }
.pk-title { font-size: 24px; }
.pk-nav { top: -2px; width: 34px; height: 34px; }
.pk-d { font-size: 14.5px; }
