/* ===== Tokens ===== */
:root {
  --cream: #f4ecdd;
  --ink: #2a2233;
  --head: #3a2a4d;
  --muted: #6e6178;
  --amber: #f0b24a;
  --terra: #c8633f;
  --night: #1d1832;
  --night-deep: #15102a;
  --night-2: #2c2350;
  --slate: #2e2747;
  --panel: #241d44;
  --blue: #3f6f8c;
  --green: #5c7a4a;
  --moon-muted: #cabfd6;
  --moon-muted2: #9990ad;
  --font-display: 'Piazzolla', serif;
  --font-body: 'Alegreya Sans', sans-serif;
  --font-mono: 'Martian Mono', monospace;
  /* Escala de texto. Alegreya Sans tiene una altura-x baja: se ve mas chica
     que otras sans al mismo px, asi que el cuerpo parte en 17px. */
  --fs-fine: 13px;
  --fs-ui: 16px;
  --fs-body: 17px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font-body); font-size: var(--fs-body); color: var(--ink); background: var(--cream); overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--amber); color: var(--night); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ===== Animations ===== */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== Starfield (build-time) ===== */
.stars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.stars__dot { position: absolute; top: 0; left: 0; width: 1px; height: 1px; border-radius: 50%; background: #fff; }

/* ===== Header ===== */
/* Every #anchor jump stops below the sticky header, whose height depends on
   the width: one row (~63px), two with the phone tabs (~97px), and three once
   the brand and the buttons no longer share a line (~119px at 360px). */
html { scroll-padding-top: 84px; }
@media (max-width: 880px) { html { scroll-padding-top: 116px; } }
@media (max-width: 380px) { html { scroll-padding-top: 138px; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(29,24,50,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(240,178,74,0.18); }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: 16px; white-space: nowrap; }
.brand__star { color: var(--amber); }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav__link { text-decoration: none; color: var(--moon-muted); font-size: 13px; font-weight: 600; padding: 6px 9px; border-radius: 20px; }
.nav__link:hover { color: var(--cream); }
.nav__cta { color: var(--night); background: var(--amber); font-family: var(--font-display); font-weight: 700; padding: 8px 16px; border-radius: 30px; }
.nav__cta:hover { color: var(--night); filter: brightness(1.05); }
/* Section tabs: a second header row that replaces the section links on
   narrow screens (see header.njk). Hidden on wider ones. */
.tabs { display: none; }
@media (max-width: 880px) {
  .site-header__inner { flex-wrap: wrap; row-gap: 0; padding-bottom: 0; }
  .nav { flex-wrap: nowrap; gap: 8px; }
  .nav__link:not(.nav__cta) { display: none; }
  .tabs { display: flex; order: 3; width: calc(100% + 40px); margin: 10px -20px 0; padding: 0 12px; gap: 2px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(255,255,255,0.07); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__link { flex: none; color: var(--moon-muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 7px 9px; border-bottom: 2px solid transparent; }
  .tabs__link:hover { color: var(--cream); }
  .tabs__link--story { color: var(--amber); }
  .tabs__link[aria-current] { color: var(--cream); border-bottom-color: var(--amber); }
}

/* ===== Language switcher (no-JS <details>) ===== */
.langswitch { position: relative; }
.langswitch__btn { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: var(--cream); font-size: 13px; font-weight: 700; padding: 7px 11px; border-radius: 20px; cursor: pointer; list-style: none; }
.langswitch__btn::-webkit-details-marker { display: none; }
.langswitch__flag { font-size: 15px; line-height: 1; }
.langswitch__caret { font-size: 8px; opacity: .6; }
.langswitch__menu { position: absolute; top: calc(100% + 8px); right: 0; background: var(--panel); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 6px; min-width: 158px; box-shadow: 0 14px 34px rgba(0,0,0,0.4); z-index: 100; display: flex; flex-direction: column; gap: 2px; }
.langswitch__item { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 12px; border-radius: 10px; }
.langswitch__item:hover { background: rgba(255,255,255,0.08); }

/* ===== Eyebrow / shared bits ===== */
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow--amber { color: var(--amber); }
.eyebrow--brown { color: #b07a3e; }

/* ===== Breadcrumbs (inner-page heroes) ===== */
.crumbs { margin-bottom: 22px; }
.crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--moon-muted2); }
.crumbs__item { display: inline-flex; align-items: center; }
.crumbs__sep { margin: 0 9px; opacity: .6; }
.crumbs__link { color: var(--moon-muted); text-decoration: none; border-bottom: 1px solid rgba(202,191,214,0.35); }
.crumbs__link:hover { color: var(--cream); border-bottom-color: var(--cream); }
.crumbs [aria-current] { color: var(--cream); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; border-radius: 40px; font-family: var(--font-display); font-weight: 700; cursor: pointer; border: none; }
.btn--primary { background: var(--amber); color: var(--night); font-size: 17px; padding: 17px 30px; }
.btn--ghost { color: var(--cream); font-weight: 600; font-size: 15px; padding: 15px 18px; border: 1px solid rgba(244,236,221,0.3); }

/* ===== Hero (dark, curved bottom) ===== */
.hero { position: relative; color: var(--cream); overflow: hidden; }
/* Home hero is a photo: the Diaguitas hillside (2.4:1) on desktop, the Milky
   Way core (3:5) on phones. The breakpoint must match the preloads in base.njk.
   The overlay darkens the side the copy sits on. */
.hero--home { background: var(--night-deep) url(/assets/img/hero-valle.webp) center 40% / cover no-repeat; }
.hero--home::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(21,16,42,.88) 0%, rgba(21,16,42,.6) 42%, rgba(21,16,42,.12) 78%),
              linear-gradient(0deg, rgba(21,16,42,.45), transparent 35%); }
@media (max-width: 700px) {
  .hero--home { background-image: url(/assets/img/hero-via-lactea.webp); background-position: center bottom; }
  .hero--home::before { background: linear-gradient(180deg, rgba(21,16,42,.62) 0%, rgba(21,16,42,.42) 50%, rgba(21,16,42,.08) 100%); }
  .hero--home .hero__inner { text-shadow: 0 1px 12px rgba(10,8,22,.6); }
}
.hero--page { background: radial-gradient(120% 90% at 75% 5%, var(--night-2) 0%, var(--night) 60%, var(--night-deep) 100%); }
.hero__inner { position: relative; z-index: 3; max-width: var(--wrap); margin: 0 auto; padding: clamp(48px,9vw,110px) 24px clamp(72px,11vw,130px); }
.hero__inner--page { padding: clamp(46px,8vw,90px) 24px clamp(60px,9vw,100px); }
.hero__moon { position: absolute; top: 48px; right: -30px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle at 36% 34%, #fbf1d8, #e8c87a 55%, #c89a52 78%, #9a7438 100%); box-shadow: 0 0 60px rgba(240,178,74,0.35); animation: floaty 9s ease-in-out infinite; z-index: 1; }
.hero__curve { position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; background: var(--cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--night); background: var(--amber); padding: 7px 14px; border-radius: 30px; }
.hero__title { font-family: var(--font-display); font-weight: 700; line-height: 0.98; letter-spacing: -0.02em; margin: 22px 0; }
.hero__title--home { font-size: clamp(42px,9vw,84px); max-width: 13ch; }
.hero__title--page { font-size: clamp(38px,7vw,68px); line-height: 1.0; max-width: 16ch; }
.hero__lead { font-size: clamp(17px,2.4vw,21px); line-height: 1.6; color: #d4cbe0; max-width: 46ch; margin: 0 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { font-family: var(--font-mono); font-size: 12px; color: #8f88a6; margin-top: 26px; letter-spacing: .05em; }
/* Wrap at the " · " separators, so each claim reads as one unit on a phone;
   a claim wider than the column still wraps inside its own box. */
.hero__note span { display: inline-block; }

/* ===== Generic section ===== */
.section { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section--pad { padding-top: clamp(50px,8vw,90px); padding-bottom: clamp(50px,8vw,90px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,5vw,42px); margin: 0; color: var(--head); letter-spacing: -0.01em; }
.h2--light { color: var(--cream); }
.lead { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); }

/* ===== Intro statement ===== */
.intro { max-width: 880px; margin: 0 auto; padding: clamp(50px,8vw,90px) 24px clamp(30px,5vw,50px); text-align: center; }
.intro__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px,4vw,34px); line-height: 1.32; margin: 18px 0 0; color: var(--head); text-wrap: balance; }
.copao { color: var(--terra); }

/* ===== Card grids ===== */
.grid { display: grid; gap: 16px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }
.card { background: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 6px 24px rgba(58,42,77,0.06); position: relative; overflow: hidden; }
.card__num { position: absolute; top: 14px; right: 18px; font-family: var(--font-mono); font-size: 13px; color: #e3d8c2; }
.card__icon { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.card__icon--purple { background: var(--slate); color: var(--amber); }
.card__icon--terra { background: var(--terra); color: #fff; }
.card__icon--blue { background: var(--blue); color: #fff; }
.card__icon--green { background: var(--green); color: #fff; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0 0 8px; color: var(--head); }
.card__text { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); margin: 0; }
/* Photo across the top of a card, bleeding past its padding; the icon badge
   then sits on the photo's lower edge. */
.card__photo { display: block; width: calc(100% + 52px); max-width: none; height: 170px; margin: -26px -26px 0; object-fit: cover; }
.card--photo .card__icon { position: relative; margin-top: -26px; border: 3px solid #fff; box-sizing: content-box; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--terra); text-decoration: none; border-bottom: 1px solid rgba(200,99,63,0.35); padding-bottom: 2px; }
.more-link:hover { border-bottom-color: currentColor; }
.more-link--light { color: var(--amber); border-bottom-color: rgba(240,178,74,0.4); }

/* ===== Stats strip ===== */
.stats { background: var(--slate); color: var(--cream); border-radius: 24px; padding: clamp(26px,4vw,40px) clamp(20px,4vw,40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px,5vw,46px); color: var(--amber); line-height: 1; }
.stat__label { font-size: 14px; color: var(--moon-muted); margin-top: 6px; }

/* ===== Dark section (telescopes) ===== */
.dark { position: relative; background: var(--night); color: var(--cream); overflow: hidden; }
.dark__inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: clamp(50px,8vw,90px) 24px; }
.glass { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 20px; padding: 26px; }
.glass__kind { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; margin-bottom: 14px; }
.glass__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 0 0 10px; }
.glass__text { font-size: var(--fs-body); line-height: 1.6; color: #b0a8c4; margin: 0; }
.k-purple { color: #9b86d6; } .k-blue { color: #7fb4d6; } .k-amber { color: #e8c87a; }

/* ===== Guides ===== */
.guide { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 6px 24px rgba(58,42,77,0.07); display: flex; flex-direction: column; }
.guide__body { padding: 24px; }
.guide__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 4px; color: var(--head); }
.guide__tag { font-family: var(--font-mono); font-size: 12px; color: var(--terra); letter-spacing: .04em; margin-bottom: 4px; }
.guide__langs { font-size: 14px; font-style: italic; color: var(--muted); margin: 0 0 14px; }
.guide__text { font-size: var(--fs-body); line-height: 1.65; color: var(--muted); margin: 0; }
.guide__text + .guide__text { margin-top: 14px; }
/* Both guide bios expand together: one shared checkbox, a label inside each card. */
.guides-toggle { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.guide__more-btn { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--terra); letter-spacing: .03em; cursor: pointer; }
.guide__more-caret { font-size: 9px; opacity: .7; }
.guide__more { display: none; margin-top: 14px; }
.guide__more-close { display: none; }
.guides-toggle:checked ~ .grid .guide__more { display: block; }
.guides-toggle:checked ~ .grid .guide__more-open { display: none; }
.guides-toggle:checked ~ .grid .guide__more-close { display: inline; }
.guides-toggle:checked ~ .grid .guide__more-caret { transform: rotate(180deg); }
.guides-toggle:focus-visible ~ .grid .guide__more-btn { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
/* Card under the bios that leads to /historia/ (partials/story-teaser.njk). */
.teaser { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); align-items: center; gap: clamp(20px,4vw,44px); margin-top: 20px; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 6px 24px rgba(58,42,77,0.07); text-decoration: none; color: inherit; }
.teaser__img { width: 100%; height: 100%; min-height: 260px; max-height: 340px; object-fit: cover; object-position: center 88%; }
.teaser__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px clamp(22px,4vw,40px) 28px 0; }
.teaser__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,3.6vw,32px); line-height: 1.1; color: var(--head); }
.teaser__text { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.teaser .more-link { margin-top: 4px; }
.teaser:hover .more-link { border-bottom-color: currentColor; }
.teaser:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
@media (max-width: 640px) {
  .teaser { grid-template-columns: 1fr; gap: 0; }
  .teaser__img { min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
  .teaser__body { padding: 22px 22px 26px; }
}

/* ===== Image placeholder (replaces <image-slot>) ===== */
.imgslot { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg,#efe6d6,#e6dcc8); color: #b3a892; }
.imgslot__icon { font-size: 26px; color: #cbb98f; }
.imgslot__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }
.imgslot--photo { display: block; object-fit: cover; object-position: center top; }

/* ===== CTA band ===== */
.cta { position: relative; color: var(--cream); overflow: hidden; background: radial-gradient(120% 100% at 30% 0%, var(--night-2) 0%, var(--night) 60%, var(--night-deep) 100%); }
.cta__inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; padding: clamp(56px,9vw,110px) 24px; text-align: center; }
.cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px,7vw,60px); line-height: 1.02; margin: 0 0 22px; letter-spacing: -0.02em; text-wrap: balance; }
.cta__text { font-size: clamp(16px,2.4vw,19px); color: #d4cbe0; line-height: 1.6; margin: 0 auto 32px; max-width: 42ch; }
.cta .btn--primary { font-size: 18px; padding: 18px 38px; }

/* ===== Timeline (experiencia) ===== */
.timeline { display: flex; flex-direction: column; }
.tl-row { display: flex; gap: 20px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.tl-dot { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 14px; z-index: 2; color: #fff; }
.tl-dot--purple { background: var(--slate); color: var(--amber); }
.tl-dot--terra { background: var(--terra); }
.tl-dot--blue { background: var(--blue); }
.tl-dot--green { background: var(--green); }
.tl-line { width: 2px; flex: 1; background: #d8c8ad; min-height: 30px; }
.tl-body { padding-bottom: 32px; }
.tl-body--last { padding-bottom: 0; }
.tl-title { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 6px 0 8px; color: var(--head); }
.tl-text { font-size: var(--fs-body); line-height: 1.65; color: var(--muted); margin: 0; }
.acrossnight { display: flex; gap: 20px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 26px; margin-top: 34px; box-shadow: 0 6px 24px rgba(58,42,77,0.06); }
.acrossnight__icon { flex: none; margin-bottom: 0; }
@media (max-width: 560px) { .acrossnight { flex-direction: column; gap: 14px; } }

/* ===== Photo galleries (experiencia) ===== */
/* Fixed-ratio tiles cropped with object-fit, so photos of any shape line up
   and new ones just wrap onto another row. A --tall tile spans two rows;
   `dense` lets the grid backfill around it at both column counts. */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: 12px; }
@media (min-width: 720px) { .shots { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 900px) { .shots--astro { grid-template-columns: repeat(4, 1fr); } }
.shot { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--night); box-shadow: 0 6px 24px rgba(58,42,77,0.1); text-decoration: none; }
.shot--tall { grid-row: span 2; aspect-ratio: auto; }
/* Out of flow, so the photo's own height can't stretch the two rows it spans. */
.shot--tall img { position: absolute; inset: 0; }
.shots--astro .shot { aspect-ratio: 3 / 2; box-shadow: none; border: 1px solid rgba(255,255,255,0.09); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.04); }
.shot:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.shot, .arrival { font: inherit; text-align: left; border: 0; padding: 0; cursor: zoom-in; }
button.shot { width: 100%; }

/* ===== Lightbox (partials/lightbox.njk) ===== */
/* A native popover: the browser puts it in the top layer and closes it on
   Esc or a click on the backdrop, which is why the box hugs the photo. */
.lightbox { margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; max-width: 94vw; }
.lightbox::backdrop { background: rgba(13,10,26,0.9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox__fig { margin: 0; }
.lightbox__fig img { display: block; width: auto; height: auto; max-width: 94vw; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); margin: 0 auto; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); background: var(--night); }
.lightbox__fig figcaption { margin-top: 14px; text-align: center; color: var(--cream); font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.35; }
.lightbox__close { position: fixed; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--amber); color: var(--night); font-family: var(--font-display); font-weight: 700; font-size: 16px; padding: 11px 18px; border-radius: 30px; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
.lightbox__close:hover { filter: brightness(1.06); }
.lightbox__close:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
/* The page behind stays put while a photo is open. */
html:has(.lightbox:popover-open) { overflow: hidden; }
.shot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 12px; background: linear-gradient(to top, rgba(13,10,26,0.88), rgba(13,10,26,0)); color: var(--cream); font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.25; }
.shot__by { display: block; margin-top: 3px; font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: .04em; color: var(--amber); }
@media (max-width: 560px) {
  .shot__cap { font-size: 13px; padding: 26px 10px 9px; }
  .shot__by { font-size: 10px; letter-spacing: 0; }
  .shots--astro .shot { aspect-ratio: 1; }
}
.astro { margin-top: clamp(50px,8vw,80px); }
.astro--home { margin-top: clamp(40px,6vw,56px); }
/* In-page anchors (#fotos, #astrofotografia) land below the sticky header. */
.astro__profiles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.astro__profiles .btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } .shot:hover img { transform: none; } }

/* ===== Lists / tour data ===== */
.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.list li { display: flex; gap: 10px; font-size: var(--fs-ui); color: #5d5268; line-height: 1.5; }
.tick { color: var(--green); font-weight: 700; }
.dot { color: var(--terra); }
.card--dark { background: var(--slate); color: var(--cream); }
.card--dark .card__title { color: var(--cream); }
.datarows { display: flex; flex-direction: column; gap: 14px; font-family: var(--font-mono); font-size: 13px; }
.datarow { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.datarow:last-child { border-bottom: none; padding-bottom: 0; }
.datarow span:first-child { color: var(--moon-muted2); flex: none; }
.datarow span:last-child { text-align: right; }

/* ===== Spec rows ===== */
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; align-items: start; }
.spec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-family: var(--font-mono); font-size: 12px; }
.spec__cell { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 10px; }
.spec__cell-k { color: #8f88a6; font-size: 10px; }

/* ===== Coming-soon placeholder ===== */
.soon { background: #fff; border-radius: 24px; box-shadow: 0 6px 24px rgba(58,42,77,0.07); padding: clamp(40px,7vw,72px) 24px; text-align: center; }
.soon--dark { background: linear-gradient(165deg, var(--panel), #1a1535); color: var(--cream); border: 1px solid rgba(255,255,255,0.09); box-shadow: none; }
.soon__badge { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(240,178,74,0.4); border-radius: 999px; padding: 6px 16px; margin-bottom: 22px; }
.soon__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,4vw,34px); margin: 0 0 14px; }
.soon--dark .soon__title { color: var(--cream); }
.soon__text { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); max-width: 48ch; margin: 0 auto 26px; }
.soon--dark .soon__text { color: var(--moon-muted); }

/* ===== Cielo live dashboard ===== */
.cielo-updated {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: #8f88a6;
  background: rgba(255,255,255,0.05); padding: 6px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08); margin-top: 14px;
}
.cielo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin-top: 36px;
}
.cielo-card {
  background: linear-gradient(165deg, var(--panel), #1a1535);
  border: 1px solid rgba(255,255,255,0.09); border-radius: 24px; padding: 30px;
}
.cielo-card--moon { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cielo-card__eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; margin-bottom: 22px;
}
.cielo-card__eyebrow--moon { color: #9b86d6; align-self: flex-start; }
.cielo-card__eyebrow--weather { color: #7fb4d6; }
.cielo-card__phase { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin: 0 0 6px; }
.cielo-card__illum { font-size: var(--fs-ui); color: var(--moon-muted); }
.cielo-moon { display: block; margin-bottom: 22px; }
.cielo-stats { margin-top: 20px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; }
.cielo-stat { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 12px; }
.cielo-stat__k { color: #8f88a6; font-size: 10px; margin-bottom: 3px; }
.cielo-weather-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.cielo-weather-head__icon { font-size: 48px; line-height: 1; }
.cielo-weather-head__temp { font-family: var(--font-display); font-weight: 700; font-size: 30px; }
.cielo-weather-head__sky { font-size: var(--fs-ui); color: var(--moon-muted); }
.cielo-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  font-family: var(--font-mono); font-size: 12px; }
.cielo-metric { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 12px; }
.cielo-metric__k { color: #8f88a6; font-size: 10px; margin-bottom: 3px; }
.cielo-rating {
  margin-top: 18px; display: flex; align-items: center; gap: 10px;
  background: rgba(92,122,74,0.2); border: 1px solid rgba(124,168,99,0.3);
  border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #d6e3c8;
}
.cielo-forecast { margin-top: 44px; }
.cielo-forecast__head { display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cielo-forecast__title { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px,4vw,34px); margin: 0; letter-spacing: -0.01em; }
.cielo-forecast__tag { font-family: var(--font-mono); font-size: 11px; color: #8f88a6; letter-spacing: .08em; }
.cielo-forecast__sub { font-size: var(--fs-ui); color: #9990ad; margin: 0 0 22px; max-width: 60ch; }
.cielo-forecast__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px;
}
.cielo-night {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 14px;
}
.cielo-night--dark {
  background: rgba(240,178,74,0.08); border-color: rgba(240,178,74,0.3);
}
.cielo-night__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.cielo-night__dow { font-family: var(--font-mono); font-size: 11px; color: #9990ad; text-transform: uppercase; }
.cielo-night__date { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--cream); }
.cielo-night__moon { display: flex; justify-content: center; margin: 6px 0 10px; }
.cielo-night__phase { text-align: center; font-size: 12px; color: var(--moon-muted); margin-bottom: 2px; }
.cielo-night__meta { text-align: center; font-family: var(--font-mono); font-size: 11px; color: #8f88a6; margin-bottom: 10px; }
.cielo-night__badge {
  text-align: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  color: var(--night); background: var(--amber); border-radius: 20px; padding: 4px 0; font-weight: 600;
}
.cielo-night__spacer { text-align: center; font-size: 10px; padding: 4px 0; }
.cielo-cta {
  margin-top: 44px; background: linear-gradient(135deg, #2c2350, var(--night));
  border: 1px solid rgba(240,178,74,0.25); border-radius: 24px;
  padding: clamp(28px,5vw,44px); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: center;
}
.cielo-cta__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--amber); margin-bottom: 12px; }
.cielo-cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,4vw,32px); margin: 0 0 10px; line-height: 1.1; }
.cielo-cta__text { font-size: var(--fs-body); color: var(--moon-muted); line-height: 1.6; margin: 0; }
.cielo-cta__action { text-align: center; }
.cielo-disclaimer {
  margin-top: 28px; font-family: var(--font-mono); font-size: 11px; color: #6d6585; line-height: 1.6;
}
.cielo-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%; animation: cielo-shimmer 1.2s infinite; border-radius: 8px; min-height: 1.2em;
}
@keyframes cielo-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.cielo-weather-fallback { font-size: var(--fs-ui); color: var(--moon-muted); line-height: 1.5; }

/* ===== Price banner (agendar) ===== */
.price { background: var(--slate); color: var(--cream); border-radius: 22px; padding: clamp(22px,4vw,34px); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 20px; align-items: center; }
.price__label { font-family: var(--font-mono); font-size: 11px; color: var(--moon-muted2); letter-spacing: .12em; margin-bottom: 6px; }
.price__val { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px,5vw,44px); color: var(--amber); line-height: 1; }
.price__unit { font-size: 12px; color: var(--moon-muted2); margin-top: 6px; }
.price__feats { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-ui); color: var(--moon-muted); }
.price__feats div { display: flex; gap: 8px; }
.price__feats .tick { color: #7ca863; }
.price--tiers { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 24px; align-items: start; }
.price--tiers .price__head { grid-column: 1 / -1; }
.price--tiers .price__label { margin-bottom: 16px; }
.price__tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px,100%),1fr)); gap: 18px 0; }
.price__tier { padding: 0 20px; border-left: 1px solid rgba(255,255,255,0.14); }
.price__tier:first-child { padding-left: 0; border-left: 0; }
.price__who { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--cream); margin-top: 10px; }
.price__ages { font-size: var(--fs-ui); color: var(--moon-muted); margin-top: 2px; }
.price__tier--free .price__val { color: #7ca863; }
.price--tiers .price__unit { margin-top: 16px; }
@media (max-width: 560px) {
  .price--tiers { grid-template-columns: 1fr; }
  .price__tiers { grid-template-columns: max-content 1fr; gap: 14px 16px; }
  .price__tier { grid-column: 1 / -1; padding: 0; border-left: 0; display: grid; grid-template-columns: subgrid; align-items: center; }
  .price__tier .price__val { grid-row: span 2; font-size: 28px; }
  .price__who { margin-top: 0; font-size: 17px; }
}

/* ===== Agendar booking ===== */
.agendar-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; align-items: start; }
.agendar-card { background: #fff; border-radius: 24px; padding: clamp(20px,3vw,28px); box-shadow: 0 6px 24px rgba(58,42,77,0.07); container: agendar-card / inline-size; }
.agendar-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.agendar-card__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0; color: var(--text-dark); }
.agendar-cal__nav { display: flex; gap: 8px; }
.agendar-cal__btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e0d6c4; background: #f7f1e6; color: var(--text-dark); font-size: 16px; cursor: pointer; }
.agendar-cal__btn:disabled { opacity: 0.5; cursor: default; }
/* The first bookable night, above the month: a sentence that doubles as a shortcut. */
.agendar-next-night { display: block; background: none; border: none; padding: 0; margin: -6px 0 14px; text-align: left; font: inherit; font-size: var(--fs-ui); font-weight: 600; color: var(--terra); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.agendar-next-night:hover { opacity: 0.85; }
.agendar-next-night:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
/* Nothing published within the search horizon: say so instead of a mute calendar. */
.agendar-empty { margin: -6px 0 16px; background: #f7f1e6; border: 1px solid #e8dcc8; border-radius: 16px; padding: 16px 18px; }
.agendar-empty__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); margin: 0 0 6px; }
.agendar-empty__text { font-size: var(--fs-ui); line-height: 1.55; color: rgba(42,34,51,0.75); margin: 0 0 12px; }
.agendar-empty__cta { display: inline-block; background: var(--terra); color: #fff; border-radius: 30px; padding: 9px 18px; font-size: 14px; font-weight: 700; text-decoration: none; }
.agendar-empty__cta:hover { opacity: 0.9; }
.agendar-empty__cta:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.agendar-cal__month { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--terra); text-transform: uppercase; margin-bottom: 14px; }
.agendar-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.agendar-cal__dow { padding: 8px 0; text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; color: rgba(42,34,51,0.5); }
.agendar-cal__cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border: none; border-radius: 14px; font-size: 15px; font-weight: 600; cursor: pointer; background: #fff; color: var(--text-dark); border: 1px solid #e8dcc8; min-height: 44px; }
.agendar-cal__cell--muted { background: transparent; color: rgba(42,34,51,0.25); cursor: default; border-color: transparent; }
.agendar-cal__cell--past { background: transparent; color: rgba(42,34,51,0.35); cursor: default; border-color: transparent; }
.agendar-cal__cell--disabled { background: #ede4d3; color: rgba(42,34,51,0.55); cursor: default; border-color: transparent; }
.agendar-cal__cell--selected { background: var(--terra); color: #fff; border-color: var(--terra); }
.agendar-cal__cell--available:hover:not(:disabled) { opacity: 0.85; }
.agendar-cal__slots { font-size: 11px; font-weight: 500; color: inherit; opacity: 0.8; margin-top: 2px; }
.agendar-cal__moon { position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; line-height: 0; opacity: 0.95; }
.agendar-cal__moon svg { width: 100%; height: 100%; display: block; }
.agendar-cal__legend { display: flex; gap: 16px; margin-top: 18px; flex-wrap: wrap; font-size: var(--fs-fine); color: rgba(42,34,51,0.6); }
.agendar-cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.agendar-cal__swatch { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.agendar-cal__swatch--avail { background: #fff; border: 1px solid var(--terra); }
.agendar-cal__swatch--sel { background: var(--terra); }
.agendar-cal__swatch--off { background: #ede4d3; }
.agendar-cal__swatch--moon { border-radius: 50%; background: linear-gradient(90deg, #312a52 50%, #f2e2b8 50%); }
.agendar-cal__moon-note { margin: 10px 0 0; font-size: var(--fs-fine); color: rgba(42,34,51,0.6); max-width: 46ch; }
/* The picked night's sky: replaces the note above once a date is chosen. */
.agendar-moon__sprite { display: none; }
.agendar-moon { margin-top: 14px; background: #f7f1e6; border: 1px solid #e8dcc8; border-radius: 16px; padding: 16px 18px; }
.agendar-moon__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.agendar-moon__phase-icon { flex: none; width: 38px; height: 38px; line-height: 0; }
.agendar-moon__phase { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); margin: 0; }
.agendar-moon__date { font-size: var(--fs-fine); color: rgba(42,34,51,0.6); margin: 2px 0 0; }
.agendar-moon__text { font-size: var(--fs-ui); line-height: 1.55; color: rgba(42,34,51,0.75); margin: 0 0 12px; }
.agendar-moon__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--terra); margin: 0 0 8px; }
.agendar-moon--dark .agendar-moon__label { color: var(--blue); }
.agendar-moon__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.agendar-moon__chip { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #e0d6c4; border-radius: 30px; padding: 6px 13px 6px 10px; font-size: 14px; font-weight: 600; color: rgba(42,34,51,0.8); }
.agendar-moon__chip svg { width: 17px; height: 17px; color: var(--terra); flex: none; }
.agendar-moon--dark .agendar-moon__chip svg { color: var(--blue); }
.agendar-moon__always { font-size: var(--fs-fine); line-height: 1.5; color: rgba(42,34,51,0.6); margin: 12px 0 0; }
/* The seven columns are sized by the card, not by the window — and the card is
   narrow both on a phone and in the two-column tablet layout. Seven 44px squares
   plus their gaps need ~384px of card; under that the square wins over the 1fr
   track and pushes Sunday past the card edge, so trade the square for a 44px
   floor on height and keep the tap target comfortable. */
@container agendar-card (max-width: 400px) {
  .agendar-cal__grid { gap: 4px; }
  .agendar-cal__cell { aspect-ratio: auto; padding: 6px 2px; }
  .agendar-cal__moon { width: 11px; height: 11px; top: 2px; right: 2px; }
  /* Stacked on a phone the panel sits between the calendar and the form, so the
     four pills go two-up rather than costing four rows of scroll. */
  .agendar-moon { padding: 14px; }
  .agendar-moon__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .agendar-moon__chip { padding: 7px 9px; font-size: 13px; gap: 6px; line-height: 1.3; }
}
/* Around a 320px screen the columns are ~30px and "cupos" no longer fits on
   one; shrink it rather than let it spill over the cell. */
@container agendar-card (max-width: 250px) {
  .agendar-cal__cell { font-size: 14px; }
  .agendar-cal__slots { font-size: 9px; }
}
.agendar-cal__loading { font-size: 14px; color: rgba(42,34,51,0.55); margin-bottom: 10px; min-height: 1.25em; }
.agendar-cal__grid--loading { opacity: 0.45; pointer-events: none; }
.agendar-field__hint { font-size: var(--fs-fine); color: rgba(42,34,51,0.5); margin: -8px 0 0; }
.agendar-back { background: none; border: none; color: var(--terra); font-size: 14px; font-weight: 700; cursor: pointer; padding: 0; margin-bottom: 14px; text-decoration: underline; }
.agendar-back:hover { opacity: 0.85; }
.agendar-cal__cell:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.agendar-form__hint { font-size: var(--fs-ui); color: rgba(42,34,51,0.55); margin-bottom: 20px; }
.agendar-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agendar-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.agendar-field label { font-size: 14px; font-weight: 600; color: rgba(42,34,51,0.65); }
.agendar-field input, .agendar-field textarea { width: 100%; border: 1px solid #e0d6c4; border-radius: 12px; padding: 12px 14px; font-size: var(--fs-ui); color: var(--text-dark); background: #fff; }
.agendar-field textarea { resize: vertical; min-height: 88px; }
.agendar-stepper { display: flex; align-items: center; border: 1px solid #e0d6c4; border-radius: 12px; overflow: hidden; }
.agendar-stepper button { width: 40px; height: 44px; border: none; background: #f7f1e6; color: var(--text-dark); font-size: 18px; cursor: pointer; }
.agendar-stepper button:disabled { opacity: 0.4; cursor: default; }
.agendar-stepper__val { flex: 1; text-align: center; font-weight: 700; font-size: var(--fs-body); }
.agendar-summary { background: #f7f1e6; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.agendar-summary__row { display: flex; justify-content: space-between; font-size: var(--fs-ui); color: rgba(42,34,51,0.7); margin-bottom: 6px; }
.agendar-summary__row:last-child { margin-bottom: 0; font-weight: 800; font-size: 19px; color: var(--text-dark); }
.agendar-submit { width: 100%; background: var(--amber); color: var(--night); border: none; font-family: var(--font-display); font-weight: 700; font-size: 17px; padding: 16px; border-radius: 40px; cursor: pointer; }
.agendar-submit:disabled { opacity: 0.6; cursor: default; }
.agendar-note { font-family: var(--font-mono); font-size: 11px; color: rgba(42,34,51,0.45); text-align: center; line-height: 1.5; margin-top: 12px; }
.policy { display: flex; gap: 16px; align-items: flex-start; margin-top: 16px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid #ecdfc9; border-left: 5px solid var(--terra); box-shadow: 0 6px 24px rgba(58,42,77,0.07); }
.policy__badge { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--terra); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; }
.policy__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--terra); margin-bottom: 6px; }
.policy__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px,2.5vw,19px); color: var(--head); margin: 0 0 6px; line-height: 1.25; }
.policy__text { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); margin: 0; max-width: 70ch; }
.policy--meeting { border-left-color: var(--blue); }
.policy--meeting .policy__badge { background: var(--blue); }
.policy--meeting .policy__label { color: var(--blue); }
.agendar-banner { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: var(--fs-ui); }
.agendar-banner--error { background: #fde8e8; color: #8b2e2e; }
.agendar-error { font-size: 14px; line-height: 1.45; color: #a03535; margin: 0; }
.agendar-field input[aria-invalid="true"], .agendar-field textarea[aria-invalid="true"] { border-color: #c0574f; background: #fffafa; }
.agendar-confirm { text-align: center; padding: 12px 4px; }
.agendar-confirm__icon { width: 64px; height: 64px; border-radius: 50%; background: #5c7a4a; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 18px; }
.agendar-confirm__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin: 0 0 10px; color: var(--text-dark); }
.agendar-confirm__body { font-size: var(--fs-body); line-height: 1.6; color: rgba(42,34,51,0.65); margin: 0 0 20px; }
.agendar-confirm__box { background: #f7f1e6; border-radius: 14px; padding: 16px; text-align: left; font-size: 15px; color: rgba(42,34,51,0.75); display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.agendar-confirm__again { background: none; border: 1px solid var(--terra); color: var(--terra); font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 30px; cursor: pointer; }
.agendar-pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.agendar-pay-option { border: 1px solid #e0d6c4; background: #f7f1e6; border-radius: 12px; padding: 12px 10px; font-size: 14px; font-weight: 700; color: var(--text-dark); cursor: pointer; }
.agendar-pay-option--selected { border-color: var(--amber); background: #fff8e8; box-shadow: 0 0 0 1px var(--amber); }
@media (max-width: 560px) {
  .agendar-form__row { grid-template-columns: 1fr; }
  .agendar-pay-options { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.footer { background: var(--night-deep); color: var(--moon-muted2); }
.footer--full { padding: 48px 24px 36px; }
.footer__cols { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 30px; align-items: start; }
.brand--footer { color: var(--cream); margin-bottom: 12px; font-size: 18px; }
.footer__tagline { font-size: 14px; line-height: 1.6; margin: 0; max-width: 34ch; }
.footer__heading { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6d6585; margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__links a { color: #c5bcd6; text-decoration: none; }
.footer__links a:hover { color: var(--cream); }
.footer__links--row { flex-direction: row; flex-wrap: wrap; gap: 18px; }
.footer__legal { max-width: var(--wrap); margin: 32px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: #6d6585; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.footer--simple { padding: 40px 24px 34px; }
.footer__simplebar { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer__simplebar .brand { color: var(--cream); }
.footer__legalsimple { max-width: var(--wrap); margin: 26px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: #6d6585; }

/* ===== Historia ===== */
/* Chapters hang off a rail: the year sticks beside the text while its chapter
   scrolls past. Under 640px the rail folds into a line above the title. */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; list-style: none; padding: 0; }
.toc a { display: inline-flex; gap: 8px; align-items: baseline; text-decoration: none; color: var(--moon-muted); font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.16); }
.toc a:hover { color: var(--night); background: var(--amber); border-color: var(--amber); }
.toc__n { font-family: var(--font-mono); font-size: 11px; color: var(--amber); }
.toc a:hover .toc__n { color: var(--night); }
.story { list-style: none; margin: 0; padding: 0; }
.story__ch { display: grid; grid-template-columns: 118px minmax(0,1fr); column-gap: 34px; }
.story__rail { position: relative; border-right: 2px solid #d8c8ad; padding-right: 26px; text-align: right; }
.story__ch:last-child .story__rail { border-right-color: transparent; }
.story__dot { position: absolute; right: -9px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px var(--cream), 0 0 16px rgba(240,178,74,0.7); }
.story__year { position: sticky; top: 96px; display: block; padding-top: 2px; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; color: var(--terra); }
.story__year--word { font-size: 21px; line-height: 1.15; }
.story__body { padding-bottom: clamp(56px,8vw,96px); }
.story__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #b07a3e; }
.story__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(27px,4.2vw,38px); line-height: 1.08; letter-spacing: -0.01em; color: var(--head); margin: 10px 0 20px; }
.story__text p { font-size: 18px; line-height: 1.7; color: #4f445a; margin: 0 0 16px; max-width: 64ch; }
.story__text a { color: var(--terra); font-weight: 700; }
.story__quote { margin: 8px 0 20px; padding: 20px 24px; max-width: 58ch; background: #fff; border-left: 4px solid var(--amber); border-radius: 0 18px 18px 0; box-shadow: 0 6px 24px rgba(58,42,77,0.06); font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--head); }
.story__quote cite { display: block; margin-top: 10px; font-family: var(--font-mono); font-style: normal; font-size: 12px; letter-spacing: .1em; color: var(--terra); }
.story__shots { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: 12px; margin: 24px 0 30px; }
@media (min-width: 720px) { .story__shots { grid-template-columns: repeat(3, 1fr); } }
.story__shots:last-child { margin-bottom: 0; }
.shot--wide { grid-column: span 2; aspect-ratio: 2; }
.shot--pano { grid-column: 1 / -1; aspect-ratio: 3.2; }
.shot--banner { grid-column: 1 / -1; aspect-ratio: 1.6; }
@media (max-width: 640px) {
  .story__ch { grid-template-columns: minmax(0,1fr); }
  .story__rail { border-right: 0; text-align: left; padding: 0 0 12px; display: flex; align-items: center; gap: 12px; }
  .story__rail::after { content: ""; flex: 1; height: 2px; background: #d8c8ad; }
  .story__dot { position: static; flex: none; width: 12px; height: 12px; box-shadow: 0 0 12px rgba(240,178,74,0.7); }
  .story__year { position: static; font-size: 24px; }
  .story__year--word { font-size: 18px; }
  .story__text p { font-size: 17px; }
}

/* Chapter 1: the two skies they grew up under, side by side. The starfield
   density is the point — a handful between Osorno's clouds, a crowd over the
   north. */
.skies { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 16px; }
.sky { position: relative; overflow: hidden; border-radius: 22px; padding: 26px; color: var(--cream); background: radial-gradient(120% 100% at 80% 0%, var(--night-2), var(--night) 60%, var(--night-deep)); }
.sky--south { background: radial-gradient(120% 100% at 80% 0%, #4a4466, #2c2748 55%, #1d1832); }
.sky > *:not(.stars) { position: relative; z-index: 2; }
.sky__place { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.sky__who { font-family: var(--font-display); font-weight: 700; font-size: 23px; margin: 8px 0 12px; }
.sky p { font-size: 17px; line-height: 1.65; color: #d4cbe0; margin: 0 0 12px; }
.sky p:last-child { margin-bottom: 0; }
.sky__art { float: right; width: 92px; height: 92px; margin: -6px -4px 8px 14px; color: var(--amber); }

/* A telescope joining the family, set where the story mentions it. */
.arrivals { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,360px)); gap: 14px; margin: 22px 0 30px; }
.arrival { display: flex; align-items: stretch; width: 100%; margin: 0; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 24px rgba(58,42,77,0.08); text-decoration: none; color: inherit; }
.arrival__img { flex: none; width: 128px; min-height: 150px; object-fit: cover; }
.arrival__body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; }
.arrival__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.arrival__name { font-family: var(--font-display); font-weight: 700; font-size: 23px; color: var(--head); margin: 6px 0 2px; }
.arrival__model { font-size: 15px; color: var(--muted); }

/* The family so far: one row that scrolls sideways on a phone. */
.family { list-style: none; margin: 0; padding: 4px 2px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px,1fr); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(240,178,74,0.4) transparent; }
.member { position: relative; text-align: center; scroll-snap-align: start; }
.member::after { content: ""; position: absolute; top: 64px; left: 50%; width: calc(100% + 22px); height: 2px; background: rgba(240,178,74,0.4); }
.member:last-child::after { display: none; }
.member__photo { position: relative; z-index: 1; display: block; width: 128px; height: 128px; margin: 0 auto; border-radius: 50%; object-fit: cover; border: 4px solid var(--night); box-shadow: 0 0 0 2px rgba(240,178,74,0.6); }
.member__year { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--night); background: var(--amber); padding: 4px 10px; border-radius: 20px; }
.member__name { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--cream); margin: 10px 0 3px; }
.member__model { font-family: var(--font-mono); font-size: 11px; line-height: 1.5; color: var(--moon-muted2); }
.member__text { font-size: 15px; line-height: 1.5; color: #b0a8c4; margin: 10px 0 0; }
.member__tour { display: inline-block; margin-top: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--amber); border: 1px solid rgba(240,178,74,0.5); border-radius: 20px; padding: 3px 9px; }

/* Eclipse videos: 3:2 beside 1:1 at 3fr/2fr gives both the same height. */
.films { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; margin: 24px 0 0; }
.film { margin: 0; background: var(--night); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(21,16,42,0.25); }
.film video { display: block; width: 100%; height: auto; background: #000; }
.film figcaption { padding: 12px 16px 14px; color: var(--cream); font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.film figcaption span { display: block; margin-top: 3px; font-family: var(--font-mono); font-weight: 400; font-size: 11px; color: var(--amber); letter-spacing: .04em; }
@media (max-width: 640px) { .films { grid-template-columns: 1fr; } }
.story__sub { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 30px 0 0; }
.story__sub + .story__shots, .story__sub + .films { margin-top: 12px; }

/* ===== Preguntas frecuentes ===== */
/* One <details> per question; the + turns into a − when it opens. The topic
   chips in the hero are the Historia .toc. */
.faq__topic + .faq__topic { margin-top: clamp(40px,6vw,64px); }
.faq__title { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,3.6vw,32px); line-height: 1.1; color: var(--head); margin: 0 0 18px; }
.faq__title .toc__n { color: var(--terra); }
.faq__item { background: #fff; border-radius: 16px; box-shadow: 0 4px 18px rgba(58,42,77,0.06); }
.faq__item + .faq__item { margin-top: 10px; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--head); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--terra); font-family: var(--font-body); font-size: 20px; font-weight: 500; }
.faq__item[open] > .faq__q::after { content: "−"; background: var(--terra); color: #fff; }
.faq__q:hover { color: var(--terra); }
.faq__q:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 16px; }
.faq__a { padding: 0 22px 20px; }
.faq__a p, .faq__a li { font-size: var(--fs-body); line-height: 1.65; color: #4f445a; max-width: 68ch; }
.faq__a p { margin: 0 0 12px; }
.faq__a ul { margin: 0 0 12px; padding-left: 20px; }
.faq__a > :last-child { margin-bottom: 0; }
.faq__a a { color: var(--terra); font-weight: 700; }
@media (max-width: 560px) {
  .faq__q { padding: 16px 18px; font-size: 17px; }
  .faq__a { padding: 0 18px 18px; }
}

/* ===== Responsive ===== */
@media (max-width: 560px) {
  .nav { gap: 4px; }
  .nav__link { padding: 6px 7px; font-size: 12px; }
  .footer__legal { flex-direction: column; }
}
