/* === Willow Hacienda — sun-baked Mexican palette === */
:root {
  /* Palette — editable via Tweaks */
  --paper: #f5ecd9;          /* warm cream, like adobe walls in shade */
  --paper-deep: #ecddbe;     /* warmer cream */
  --ink: #1f1a14;            /* near-black, slightly warm */
  --ink-soft: #4a3f2f;
  --terracotta: #c2492a;     /* roof tile */
  --terracotta-deep: #8e2e18;
  --ochre: #d99a2b;           /* sun-baked clay */
  --ochre-deep: #a87013;
  --cobalt: #1f4a8c;          /* talavera blue */
  --cobalt-deep: #142f5c;
  --leaf: #4a6b2e;            /* mountain green */
  --bone: #ebe0c6;
  --line: #1f1a14;

  /* Amenity tile palette (Lo que hay aquí section) */
  --amen-taupe: #979e79;
  --amen-ochre: #c2492a;
  --amen-brick: #c2492a;
  --amen-olive: #979e79;

  /* Type */
  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans: 'Inter Tight', 'Helvetica Neue', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  /* Subtle paper grain */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(168, 112, 19, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(194, 73, 42, 0.04) 0%, transparent 40%);
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* === Mobile-first container === */
.app {
  max-width: 440px;
  margin: 0 auto;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(31, 26, 20, 0.08);
}

/* === Responsive: Tablet (≥720px) === */
@media (min-width: 720px) {
  .app { max-width: 100%; box-shadow: none; }

  .topbar { padding: 18px 40px; }
  .topbar__brand img { height: 64px; }

  .hero { height: 88vh; min-height: 640px; max-height: 900px; }
  .hero__content { padding: 110px 56px 56px; max-width: 900px; margin: 0 auto; left: 0; right: 0; }
  .hero__title { font-size: clamp(64px, 9vw, 110px) !important; }
  .hero__sub { font-size: 19px !important; max-width: 540px; }
  .hero__bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .hero__cta { flex-direction: row; align-items: center; }

  .section { padding: 96px 56px; max-width: 1100px; margin: 0 auto; }
  .section__title { font-size: clamp(40px, 5vw, 64px) !important; }
  .section__lede { font-size: 18px !important; max-width: 620px; }

  .booking { max-width: 720px; margin-left: auto; margin-right: auto; }
  .booking__fields { grid-template-columns: 1fr 1fr 1fr; }
  .booking__field { border-bottom: none !important; border-right: 1px solid var(--ink); }
  .booking__field:nth-child(2n) { border-right: 1px solid var(--ink); }
  .booking__field:last-child { border-right: none; grid-column: auto !important; }

  .story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
  .story__media { margin: 0 !important; height: clamp(560px, 75vh, 820px) !important; }
  .story__body { font-size: 17px; }
  .story__stats { grid-template-columns: repeat(3, 1fr); }

  .rooms { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .gallery { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .gallery__cell--wide { grid-column: span 2; }

  .visit { grid-template-columns: 1fr 1fr; gap: 24px !important; }

  .footer { padding: 72px 56px 32px; }
  .footer__brand img { height: 120px; }
  .footer__cols, .footer__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 720px; margin: 0 auto; }
  .footer__col { margin-bottom: 0; }
}

/* === Responsive: Laptop (≥1100px) === */
@media (min-width: 1100px) {
  .topbar { padding: 22px 64px; }
  .topbar__brand img { height: 72px; }

  .hero { max-height: 1000px; }
  .hero__content { padding: 140px 80px 72px; max-width: 1280px; }
  .hero__title { font-size: clamp(80px, 8vw, 140px) !important; }

  .section { padding: 120px 80px; max-width: 1280px; }
  .section__title { font-size: clamp(56px, 5.5vw, 88px) !important; }

  .rooms { grid-template-columns: repeat(3, 1fr); gap: 28px; }

  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery__cell--wide { grid-column: span 2; }
  .gallery__cell--tall { grid-row: span 2; }

  .visit { grid-template-columns: repeat(3, 1fr); }

  .story { grid-template-columns: 1.2fr 1fr; gap: 80px; }
  .story__media { height: clamp(680px, 80vh, 920px) !important; }
}

/* === Responsive: Wide (≥1440px) === */
@media (min-width: 1440px) {
  .hero__content { max-width: 1400px; }
  .section { max-width: 1400px; }
}

/* === Top nav (fixed within app) === */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(245, 236, 217, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 26, 20, 0.08);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.topbar__brand img {
  height: 52px;
  width: auto;
  display: block;
}

.topbar__menu {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: background 0.2s;
}
.topbar__menu:hover { background: var(--ink); color: var(--paper); }

/* === Hero === */
.hero {
  position: relative;
  height: 92vh;
  min-height: 580px;
  max-height: 780px;
  overflow: hidden;
  margin-top: -65px; /* tuck under sticky nav */
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    /* warm tint over the whole image */
    linear-gradient(180deg, rgba(31, 26, 20, 0.55) 0%, rgba(31, 26, 20, 0.15) 30%, rgba(31, 26, 20, 0.25) 55%, rgba(31, 26, 20, 0.85) 100%),
    /* edge vignette for legibility */
    radial-gradient(ellipse at center, transparent 40%, rgba(31, 26, 20, 0.35) 100%);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  inset: 0;
  padding: 90px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--paper);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  align-self: flex-start;
  padding: 6px 12px;
  border: 1px solid rgba(245, 236, 217, 0.5);
  border-radius: 999px;
  white-space: nowrap;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ochre);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(48px, 14vw, 76px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ochre);
}

.hero__sub {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  font-style: italic;
  font-weight: 300;
  max-width: 280px;
  opacity: 0.92;
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__meta {
  display: flex;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero__cta {
  display: flex;
  gap: 10px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 22px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--terracotta);
  color: var(--paper);
}
.btn--primary:hover { background: var(--terracotta-deep); }
.btn--ink {
  background: var(--ink);
  color: var(--paper);
}
.btn--ink:hover { background: var(--ink-soft); }
.btn--ghost {
  background: transparent;
  border-color: currentColor;
}
.btn--ghost:hover { background: rgba(245, 236, 217, 0.12); }
.btn--block { width: 100%; }

/* === Section === */
.section {
  padding: 64px 24px;
  position: relative;
}
.section--paper-deep { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--terracotta { background: var(--terracotta); color: var(--paper); }
.section--cobalt { background: var(--cobalt); color: var(--paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--terracotta);
}
.section--ink .eyebrow,
.section--terracotta .eyebrow,
.section--cobalt .eyebrow {
  color: var(--ochre);
}
.section--ink .eyebrow::before,
.section--terracotta .eyebrow::before,
.section--cobalt .eyebrow::before {
  background: var(--ochre);
}

.section__title {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section__title em { font-style: italic; color: var(--terracotta); font-weight: 300; }
.section--ink .section__title em,
.section--terracotta .section__title em,
.section--cobalt .section__title em { color: var(--ochre); }

.section__lede {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  font-style: italic;
  font-weight: 300;
  opacity: 0.88;
  max-width: 380px;
}

/* === Booking widget === */
.booking {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0;
  margin: -40px 20px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 12px 40px rgba(31, 26, 20, 0.18);
}

.booking__tabs {
  display: flex;
  border-bottom: 1px solid var(--ink);
}
.booking__tab {
  flex: 1;
  padding: 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--paper-deep);
  border-right: 1px solid var(--ink);
  transition: all 0.2s;
}
.booking__tab:last-child { border-right: none; }
.booking__tab--active {
  background: var(--ink);
  color: var(--paper);
}

.booking__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.booking__field {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  text-align: left;
  display: block;
  width: 100%;
  background: var(--paper);
  transition: background 0.15s;
}
.booking__field:nth-child(2n) { border-right: none; }
.booking__field:hover { background: var(--paper-deep); }
.booking__field--active { background: var(--paper-deep); }
.booking__label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
  font-weight: 600;
}
.booking__value {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
}
.booking__value--placeholder { color: var(--ink-soft); font-style: italic; }
.booking__value small { font-size: 12px; opacity: 0.6; font-family: var(--sans); margin-left: 4px; }

.booking__cta {
  width: 100%;
  padding: 18px;
  background: var(--terracotta);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
}
.booking__cta:hover { background: var(--terracotta-deep); }
.booking__cta:disabled { background: var(--ink-soft); cursor: not-allowed; opacity: 0.6; }

/* === Calendar === */
.calendar {
  background: var(--paper);
  border-top: 1px solid var(--ink);
  padding: 16px;
}
.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.calendar__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}
.calendar__nav {
  display: flex;
  gap: 4px;
}
.calendar__nav button {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  transition: all 0.15s;
}
.calendar__nav button:hover { background: var(--ink); color: var(--paper); }
.calendar__nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.calendar__nav button:disabled:hover { background: transparent; color: inherit; }

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.calendar__weekday {
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 6px 0;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.calendar__day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: all 0.12s;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
}
.calendar__day:hover:not(:disabled):not(.calendar__day--empty) {
  background: var(--paper-deep);
}
.calendar__day:disabled,
.calendar__day--past {
  color: rgba(31, 26, 20, 0.25);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: rgba(31, 26, 20, 0.2);
}
.calendar__day--empty { pointer-events: none; }
.calendar__day--in-range {
  background: var(--bone);
}
.calendar__day--start,
.calendar__day--end {
  background: var(--terracotta);
  color: var(--paper);
}
.calendar__day--start { border-radius: 0; }
.calendar__day--today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ochre);
}
.calendar__day--today.calendar__day--start::after,
.calendar__day--today.calendar__day--end::after { background: var(--paper); }

.calendar__legend {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  justify-content: center;
}
.calendar__legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar__legend i {
  width: 10px; height: 10px;
  display: inline-block;
}
.calendar__legend i.swatch--selected { background: var(--terracotta); }
.calendar__legend i.swatch--range { background: var(--bone); }

/* Guest stepper */
.guests {
  padding: 16px;
  border-top: 1px solid var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.guest-row__label {
  display: flex;
  flex-direction: column;
}
.guest-row__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}
.guest-row__meta {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}
.guest-row__stepper {
  display: flex;
  align-items: center;
  gap: 4px;
}
.guest-row__stepper button {
  width: 32px; height: 32px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: grid; place-items: center;
  transition: all 0.15s;
}
.guest-row__stepper button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.guest-row__stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.guest-row__count {
  width: 28px;
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

/* === Story / about === */
.story__media {
  margin: 0 -24px 32px;
  height: clamp(420px, 70vh, 720px);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.story__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31, 26, 20, 0.4) 100%);
}
.story__caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  z-index: 2;
}

.story__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.story__body p + p { margin-top: 16px; }
.story__body strong { color: var(--ink); font-weight: 600; }

.story__stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.stat {
  background: var(--paper);
  padding: 20px 16px;
}
.stat__num {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  color: var(--terracotta);
}
.stat__num em { font-style: normal; font-size: 18px; vertical-align: top; margin-left: 2px; color: var(--ink-soft); }
.stat__label {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

/* === Rooms === */
.rooms {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.room {
  border: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}
.room:hover { transform: translateY(-2px); }
.room__media {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid var(--ink);
}
.room__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--paper);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.room__num {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  border-radius: 999px;
}
.room__body {
  padding: 20px;
}
.room__name {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  margin-bottom: 4px;
}
.room__name em { font-style: italic; color: var(--terracotta); }
.room__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 8px 0 14px;
}
.room__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.room__feat {
  padding: 4px 10px;
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.room__foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(31, 26, 20, 0.15);
}
.room__price {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}
.room__price small { font-size: 11px; color: var(--ink-soft); display: block; margin-top: 4px; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--sans); }
.room__cta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

/* === Amenities === */
.amenities {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(245, 236, 217, 0.2);
}
.amenity {
  background: var(--terracotta);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 160px;
  position: relative;
}
.amenity:nth-child(4n+1) { background: var(--amen-taupe); }
.amenity:nth-child(4n+2) { background: var(--amen-ochre); }
.amenity:nth-child(4n+3) { background: var(--amen-brick); }
.amenity:nth-child(4n) { background: var(--amen-olive); }

.amenity__icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
}
.amenity__icon svg { width: 100%; height: 100%; }

.amenity__name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  margin-top: auto;
}
.amenity__desc {
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.85;
  line-height: 1.4;
}

/* === Gallery === */
.gallery-tabs {
  display: flex;
  gap: 4px;
  margin: 24px 0 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.gallery-tabs::-webkit-scrollbar { display: none; }
.gallery-tab {
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--ink);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.15s;
}
.gallery-tab--active {
  background: var(--ink);
  color: var(--paper);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.gallery__cell {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-color: var(--bone);
  position: relative;
  overflow: hidden;
}
.gallery__cell--tall {
  grid-row: span 2;
  aspect-ratio: 0.5;
}
.gallery__cell--wide {
  grid-column: span 2;
  aspect-ratio: 2;
}
.gallery__cell::after {
  content: attr(data-label);
  position: absolute;
  bottom: 8px;
  left: 10px;
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* === Testimonial === */
.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 300;
  margin: 24px 0;
}
.quote::before {
  content: '"';
  font-size: 60px;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 4px;
  color: var(--ochre);
  font-style: normal;
}
.quote-attr {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.quote-attr::before {
  content: ''; width: 24px; height: 1px; background: currentColor;
}

/* === Map / Visit === */
.visit {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.visit__card {
  border: 1px solid currentColor;
  padding: 20px;
}
.visit__h {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 400;
}
.visit__lines { font-size: 14px; line-height: 1.6; opacity: 0.9; }

/* === Footer === */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 24px 24px;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}
.footer__brand img {
  height: 96px;
  width: auto;
  filter: invert(1);
  display: block;
}
.footer__col {
  margin-bottom: 28px;
}
.footer__h {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--ochre);
  font-weight: 600;
}
.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 18px;
}
.footer__fine {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 236, 217, 0.18);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* === Floating book button === */
.fab {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(31, 26, 20, 0.3);
  transition: all 0.2s;
  opacity: 0;
  pointer-events: none;
}
.fab--visible { opacity: 1; pointer-events: auto; }
.fab:hover { background: var(--terracotta); }
.fab .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ochre);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === Talavera tile divider === */
.divider-tiles {
  height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'><g fill='none' stroke='%231f4a8c' stroke-width='1.2'><path d='M11 1 L21 11 L11 21 L1 11 Z'/><path d='M33 1 L43 11 L33 21 L23 11 Z'/><circle cx='11' cy='11' r='3' fill='%23d99a2b' stroke='none'/><circle cx='33' cy='11' r='3' fill='%23c2492a' stroke='none'/></g></svg>");
  background-repeat: repeat-x;
  background-size: 44px 22px;
  margin: 0;
}

/* Sheet (modal) */
.sheet-bg {
  position: fixed;
  inset: 0;
  background: rgba(31, 26, 20, 0.6);
  z-index: 80;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.sheet-bg--open { opacity: 1; pointer-events: auto; }
.sheet {
  background: var(--paper);
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet-bg--open .sheet { transform: translateY(0); }
.sheet__head {
  position: sticky;
  top: 0;
  background: var(--paper);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  z-index: 2;
}
.sheet__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}
.sheet__close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.sheet__body { padding: 20px; }

/* Confirmation card */
.confirm {
  text-align: center;
  padding: 40px 24px;
}
.confirm__icon {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--paper);
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.confirm__h {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 8px;
}
.confirm__sub { color: var(--ink-soft); margin-bottom: 24px; }
.confirm__detail {
  text-align: left;
  border: 1px solid var(--ink);
  background: var(--paper-deep);
}
.confirm__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(31, 26, 20, 0.15);
  font-size: 14px;
}
.confirm__row:last-child { border-bottom: none; }
.confirm__row span:first-child {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  align-self: center;
  font-weight: 600;
}
.confirm__row span:last-child {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}
.confirm__total {
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 22px;
}
.confirm__total small {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
  opacity: 0.7;
}

/* Tweaks: hide "TWEAKS" eyebrow until enabled */
[hidden] { display: none !important; }
