/* A shared visual rhythm for the existing Fiestas360 landing sections. */
:root {
  --section-space: clamp(62px, 7.2vw, 98px);
  --surface: #f7f5f1;
  --line: #e7e2dc;
}

::selection { background: #ffd7c7; color: #242321; }
button, input, select, textarea { accent-color: var(--brand); }
button, a, summary { -webkit-tap-highlight-color: transparent; }
html { scrollbar-color: #c9bdb2 #f8f6f3; }
.section-space[id] { scroll-margin-top: calc(var(--header-height) - var(--section-space) + 12px); }

/* More compact transitions between stories, while keeping the map hero untouched. */
.destinations-section .section-intro { max-width: 760px; margin-bottom: 32px; }
.destinations-section .section-intro h2 { max-width: 16ch; }
.destinations-section .section-intro p { max-width: 58ch; }
.destination-explorer { align-items: stretch; gap: clamp(18px, 2.5vw, 30px); }
.destination-search-column { padding: 21px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fbf9f6; }
.catalog-search > label { margin-bottom: 11px; }
.search-field { min-height: 54px; border-color: #ded8d1; }
.search-field:focus-within { outline: 3px solid #ffe1d4; }
.catalog-count { margin: 14px 0 0; color: #5c5751; font-size: var(--type-small); font-variant-numeric: tabular-nums; }
.festival-options { max-height: 368px; gap: 0; margin-top: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.festival-options button { min-height: 68px; justify-content: flex-start; gap: 12px; padding: 8px 5px; border-bottom: 1px solid #e9e3dd; border-radius: 0; background: transparent; }
.festival-options button:last-child { border-bottom: 0; }
.festival-options button[aria-pressed="true"] { margin-inline: -5px; padding-inline: 10px; border-radius: 10px; background: #fff0e9; color: var(--ink); }
.festival-options button > img, .festival-result-image { width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; border-radius: 10px; background: #eee8e1; object-fit: cover; }
.festival-result-image { position: relative; display: block; background: #f0e5dc; }
.festival-result-image::after { position: absolute; inset: 13px 17px 9px; border: 2px solid #bd6a47; border-radius: 55% 55% 48% 48%; content: ""; }
.festival-result-copy { min-width: 0; flex: 1; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 1px 8px; }
.festival-result-copy strong { grid-column: 1; grid-row: 2; overflow: hidden; font-size: 15px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.festival-result-city { grid-column: 1; grid-row: 1; color: var(--muted); font-size: 12px !important; }
.festival-result-status { grid-column: 2; grid-row: 1 / span 2; color: var(--green) !important; font-size: 12px !important; font-weight: 650 !important; text-align: right; }
.festival-result-status.is-upcoming { color: #786651 !important; }
.festival-options button > b { color: var(--brand-strong); font-size: 17px; font-weight: 550; }
.festival-detail[data-ui] { border-color: #e6dfd7; border-radius: 16px; background: #fff; }
.festival-detail > img { height: clamp(240px, 29vw, 350px); }
.festival-detail-copy { padding: 22px 24px 24px; }
.festival-detail-copy h3 { font-size: clamp(27px, 2.7vw, 34px); }
.detail-bottom { align-items: center; flex-wrap: wrap; }
.trip-planner { margin-top: 34px; padding: clamp(22px, 3vw, 34px); border-radius: 16px; background: #edf3f1; }
.trip-planner-intro p { max-width: 70ch; }
.trip-stop { border: 1px solid rgba(36,35,33,.055); }
.trip-footer { flex-wrap: wrap; }
.festival-gallery { margin-top: 28px; }
.festival-photo { min-height: 205px; border-radius: 10px; }
.festival-photo::after { background: linear-gradient(180deg, rgba(20,19,18,0) 28%, rgba(20,19,18,.66) 100%); }
.image-credits { margin-top: 14px; }

/* The map selection reads as a destination guide paired with its map. */
.national-map-section { background: #eff4f2; }
.map-section-heading { margin-bottom: 28px; }
.map-section-heading h2 { max-width: 18ch; }
.discovery-mode-row[data-ui] { width: 100%; grid-template-columns: repeat(3, minmax(0,1fr)); margin-bottom: 18px; border-color: #e0e6e2; border-radius: 14px; background: rgba(255,255,255,.72); }
.discovery-mode-button { min-height: 68px; padding-inline: 20px; }
.map-discovery-toolbar { align-items: center; margin: 0 0 12px; }
.map-filter-row--main button { min-height: 40px; border: 1px solid transparent; }
.map-filter-row--main button[aria-pressed="true"] { background: var(--brand); color: #25170f; }
.national-map-explorer { gap: 14px; }
.national-map-shell { min-height: 500px; border: 1px solid #dbe2de; border-radius: 16px; }
.map-detail-panel { align-self: stretch; }
.map-selection, .map-empty-state { border-color: #e1dbd4; border-radius: 16px; }
.map-selection { min-height: 100%; }
.map-selection-actions .button { min-height: 46px; }
.map-attribution { background: rgba(255,255,255,.78); font-size: 10px; }
.status-label.is-upcoming { color: #786651; }

/* Pricing keeps the launch terms prominent and the free option easy to compare. */
.membership-section { background: #fbf9f6; }
.membership-heading { margin-bottom: 28px; padding-top: 5px; border-top: 1px solid #ebe5de; }
.membership-kicker { margin: 22px 0 8px; color: var(--brand-strong); font-size: 11px; font-weight: 750; letter-spacing: .14em; line-height: 1.3; }
.membership-heading h2 { max-width: 18ch; }
.membership-heading > div > p { max-width: 58ch; }
.membership-heading > div > .membership-kicker { margin-bottom: 8px; }
.membership-card { border-radius: 16px; }
.membership-card-negocio { border-color: #edc2b0; background: #fff7f3; }
.membership-card-heading { min-height: 58px; }
.membership-price { margin-top: 21px; }
.membership-price strong { font-size: clamp(42px, 4vw, 52px); }
.membership-action { min-height: 48px; }
.membership-offer-model { border-color: #e5ddd5; background: #fff; }
.membership-disclosure { margin-top: 13px; }

/* Plan 360 and agenda keep the useful controls, with less empty panel height. */
.features-section { padding-top: clamp(56px, 6.4vw, 86px); }
.plan-showcase { gap: clamp(34px, 5vw, 68px); }
.plan-workspace { padding: clamp(22px, 2.8vw, 32px); border-radius: 16px; }
.plan-workspace .plan-preview { min-height: 0; box-shadow: none; }
.agenda-showcase { gap: clamp(34px, 5vw, 68px); margin-top: 54px; }
.agenda-workspace { border-radius: 16px; }
.plan-story h2 { max-width: 11ch; }

/* Give each story a clear role without turning every element into a card. */
.use-cases-section { padding-block: clamp(70px, 8vw, 108px); }
.use-cases-intro { margin-bottom: clamp(26px, 4vw, 48px); }
.use-case-grid { gap: clamp(18px, 2.5vw, 30px); }
.use-case-card--destinations { border-radius: 14px; }
.use-case-card--propose { border-radius: 14px; background: #292724; }
.how-section { background: #faf8f5; }
.how-intro { margin-bottom: 30px; }
.faq-section { background: #f4f2ed; }
.faq-layout { gap: clamp(40px, 7vw, 96px); }
.faq-heading { position: sticky; top: calc(var(--header-height) + 30px); align-self: start; }
.faq-list details { margin-bottom: 8px; border: 1px solid #e6e0d8; background: #fff; }
.faq-list details[open] { background: #fffaf7; }
.faq-list summary { min-height: 62px; }
.faq-list summary span { background: #fff0e9; }
.final-content { width: min(1000px, calc(100% - 2 * var(--gutter))); padding: clamp(50px, 7vw, 78px) 22px; border-radius: 16px; }
.final-content h2 { max-width: 18ch; }
.proposal-section { background: #f7f5f1; }
.proposal-layout { gap: clamp(38px, 6vw, 78px); }
.proposal-intro { top: calc(var(--header-height) + 32px); }
.proposal-general-contact { margin: 18px 0 0; color: var(--muted); font-size: var(--type-small); }
.proposal-general-contact a { color: var(--brand-strong); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.proposal-card { border: 1px solid #e7e1da; border-radius: 16px; }
.proposal-form input, .proposal-form select, .proposal-form textarea { border-color: #ded8d1; }
.proposal-form-actions .button { min-height: 48px; }
.site-footer { border-top: 1px solid #ece7e1; background: #fffdfb; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 820px) {
  :root { --section-space: 58px; }
  .destination-search-column { padding: 20px; }
  .festival-options { max-height: none; }
  .festival-options button { min-height: 66px; }
  .festival-detail > img { height: auto; aspect-ratio: 16/10; }
  .trip-planner { margin-top: 24px; }
  .national-map-shell { min-height: 0; height: clamp(310px, 54svh, 440px); border-radius: 14px; }
  .map-detail-panel { position: relative; inset: auto; display: grid; gap: 10px; margin-top: 12px; pointer-events: auto; }
  .map-selection { min-height: 0; }
  .faq-heading { position: static; }
}

@media (max-width: 520px) {
  :root { --section-space: 52px; }
  .membership-heading { padding-top: 2px; }
  .membership-kicker { margin-top: 18px; }
  .destinations-section .section-intro { margin-bottom: 24px; }
  .destination-search-column { padding: 17px 15px; border-radius: 14px; }
  .festival-options button { min-height: 64px; gap: 9px; }
  .festival-options button > img, .festival-result-image { width: 44px; height: 44px; flex-basis: 44px; }
  .festival-result-copy { grid-template-columns: minmax(0,1fr); gap: 0; }
  .festival-result-copy strong { grid-row: 2; }
  .festival-result-status { grid-column: 1; grid-row: 3; text-align: left; }
  .festival-options button > b { font-size: 15px; }
  .detail-bottom { align-items: flex-start; flex-direction: column; }
  .trip-planner { padding: 20px 15px; border-radius: 14px; }
  .trip-footer { align-items: flex-start; flex-direction: column; }
  .trip-footer .quiet-link { min-height: 44px; }
  .festival-gallery { gap: 9px; }
  .festival-photo { min-height: 155px; padding: 12px; }
  .festival-photo strong { font-size: 17px; }
  .map-section-heading { align-items: flex-start; margin-bottom: 20px; }
  .discovery-mode-row[data-ui] { gap: 3px; padding: 4px; }
  .discovery-mode-button { min-height: 68px; padding: 8px; }
  .map-discovery-toolbar { align-items: flex-start; }
  .map-filter-row--main button { min-height: 42px; }
  .plan-workspace, .agenda-workspace { border-radius: 14px; }
  .agenda-showcase { margin-top: 38px; }
  .faq-layout { gap: 24px; }
  .final-content { padding: 44px 20px; }
  .proposal-layout { gap: 25px; }
  .site-footer { padding-top: 38px; }
}
