/* Final art direction: a clear editorial journey, with richer product surfaces. */
:root {
  --paper-warm: #fffdfa;
  --ink-soft: #393733;
  --accent-line: #eadfd7;
}

.section-overline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.section-overline span {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid #f1c9b9;
  border-radius: 50%;
  color: var(--brand-strong);
  font-size: 10px;
  letter-spacing: 0;
}

/* Discovery now reads as one composed destination desk, rather than loose blocks. */
.destinations-section { background: var(--paper-warm); }
.destinations-section > .content-width { width: min(1320px, calc(100% - 2 * var(--gutter))); }
.destinations-section .section-intro {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(280px,.88fr);
  align-items: end;
  gap: 12px clamp(32px,6vw,88px);
  max-width: none;
  margin-bottom: clamp(28px,4vw,48px);
}
.destinations-section .section-overline { grid-column: 1 / -1; margin-bottom: 2px; }
.destinations-section .section-intro h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(48px,5.2vw,70px);
  line-height: .99;
  letter-spacing: -.06em;
}
.destinations-section .section-intro > p:not(.section-overline) {
  max-width: 43ch;
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: clamp(17px,1.45vw,20px);
  line-height: 1.55;
}
.destination-explorer { grid-template-columns: minmax(320px,.78fr) minmax(0,1.22fr); gap: clamp(18px,2.4vw,30px); }
.destination-search-column {
  padding: clamp(22px,2.7vw,34px);
  border-color: #e8e2da;
  border-radius: 22px;
  background: linear-gradient(155deg,#f8f6f1 0%,#fff 78%);
}
.catalog-search > label { font-size: 15px; }
.search-field { min-height: 56px; border-radius: 13px; }
.festival-options { margin-top: 14px; }
.festival-options button { min-height: 72px; }
.festival-detail[data-ui] { border-color: #e9e2da; border-radius: 22px; box-shadow: 0 15px 40px rgba(44,37,29,.07); }
.festival-detail > img { height: clamp(300px,34vw,430px); }
.festival-detail-copy { padding: 25px clamp(22px,3vw,34px) 29px; }
.festival-detail-copy h3 { font-size: clamp(30px,3vw,38px); }
.trip-planner {
  margin-top: clamp(34px,5vw,58px);
  padding: clamp(24px,3.4vw,40px);
  border: 1px solid #e2e9e5;
  border-radius: 22px;
  background: linear-gradient(125deg,#edf4f2 0%,#f4f7f4 58%,#edf2f0 100%);
}
.trip-planner-intro h3 { font-size: clamp(28px,3.1vw,38px); letter-spacing: -.05em; }
.trip-planner-intro p { max-width: 65ch; font-size: 16px; }
.trip-planner-fields { gap: 14px; }
.trip-planner-fields input, .trip-planner-fields select { border-color: #d9dfdb; border-radius: 12px; }
.trip-planner-fields .button { min-height: 50px; }
.trip-stop { border: 1px solid #e7eae6; border-radius: 13px; }
.trip-empty { padding: 17px 18px; border: 1px dashed #cdd9d3; background: rgba(255,255,255,.78); }
.trip-footer { margin-top: 19px; }
.festival-gallery { gap: 13px; margin-top: clamp(24px,3vw,38px); }
.festival-photo { min-height: clamp(190px,19vw,260px); border-radius: 15px; }
.festival-photo::after { background: linear-gradient(180deg,rgba(20,19,18,.02) 20%,rgba(20,19,18,.76) 100%); }

/* One map, one strong selected destination, quieter controls. */
.national-map-section { background: #edf3f1; }
.map-section-heading { margin-bottom: clamp(24px,3vw,36px); }
.map-section-heading > div:first-child {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr);
  align-items: end;
  gap: 10px clamp(28px,6vw,84px);
  width: 100%;
  max-width: none;
}
.map-section-heading .section-overline { grid-column: 1 / -1; margin-bottom: 2px; }
.map-section-heading h2 { max-width: 13ch; font-size: clamp(48px,5.2vw,70px); line-height: .99; letter-spacing: -.06em; }
.map-section-heading p { max-width: 44ch; margin: 0 0 5px; font-size: clamp(17px,1.45vw,20px); line-height: 1.55; }
.discovery-mode-row[data-ui] { margin-bottom: 22px; padding: 6px; border-color: #dce5e0; border-radius: 18px; background: rgba(255,255,255,.78); }
.discovery-mode-button { min-height: 76px; padding-inline: clamp(14px,2vw,24px); }
.discovery-mode-button[aria-pressed="true"] { box-shadow: 0 4px 12px rgba(183,67,27,.14); }
.map-discovery-toolbar { margin-bottom: 15px; }
.national-map-shell[data-ui] { height: clamp(440px,43vw,610px); border-color: #d4dfda; border-radius: 20px; }
.national-map-explorer { grid-template-columns: minmax(0,1.75fr) minmax(310px,.72fr); gap: clamp(14px,1.6vw,22px); }
.map-selection[data-ui], .map-empty-state { padding: 18px; border-radius: 20px; box-shadow: 0 12px 32px rgba(44,37,29,.06); }
.map-selection-image { height: clamp(190px,17vw,250px); border-radius: 13px; }
.map-selection-copy { padding-inline: 2px; }
.map-selection-hint { margin-bottom: 7px; }
.map-selection h3 { margin-top: 5px; font-size: clamp(26px,2.2vw,32px); }
.map-selection-summary { margin-block: 8px 12px; line-height: 1.55; }
.map-selection-actions .button { min-height: 48px; }
.map-attribution { opacity: .72; transition: opacity .18s ease; }
.map-attribution:hover, .map-attribution:focus-visible { opacity: 1; }

/* Pricing feels like a decision page while keeping the launch terms unmistakable. */
.membership-section { background: #fffdfa; }
.membership-heading { align-items: end; margin-bottom: 34px; padding-top: 16px; border-color: #ece5de; }
.membership-heading h2 { font-size: clamp(44px,5vw,64px); line-height: 1; letter-spacing: -.06em; }
.membership-heading > div > p:not(.membership-kicker) { max-width: 53ch; margin-top: 15px; font-size: 18px; line-height: 1.5; }
.membership-status { padding: 10px 14px; border: 1px solid #ece5de; background: #fff; }
.membership-grid { gap: 18px; }
.membership-card { min-height: 100%; padding: clamp(24px,3vw,36px); border-radius: 22px; box-shadow: 0 10px 30px rgba(44,37,29,.035); }
.membership-card-free { background: #fff; }
.membership-card-negocio { border-color: #edb69f; background: #fff4ee; box-shadow: 0 12px 34px rgba(215,77,34,.08); }
.membership-price { margin-top: 27px; }
.membership-card ul { gap: 12px; }
.membership-card ul li::before { width: 6px; height: 6px; }
.membership-action { min-height: 50px; border-radius: 12px; }
.membership-action-dark { box-shadow: 0 6px 16px rgba(255,90,31,.14); }
.membership-offer-model { margin-top: 18px; padding: 20px 22px; border-radius: 16px; }

/* Plan 360 gains a clearer narrative and a stronger preview surface. */
.features-section { background: #fff; }
.plan-showcase { align-items: center; gap: clamp(44px,7vw,100px); }
.plan-story { max-width: 480px; }
.plan-story .section-overline { margin-bottom: 20px; }
.plan-story h2 { max-width: 10ch; font-size: clamp(54px,6vw,78px); line-height: .96; letter-spacing: -.065em; }
.plan-story h2 em { color: var(--brand-strong); font-style: normal; }
.plan-story .plan-story-lead { max-width: 42ch; margin-top: 19px; font-size: clamp(18px,1.5vw,21px); line-height: 1.55; }
.plan-steps { gap: 17px; margin-block: 28px; }
.plan-steps li { gap: 15px; }
.plan-steps strong { font-size: 16px; }
.plan-steps small { font-size: 14px; line-height: 1.5; }
.plan-workspace[data-ui] {
  padding: clamp(24px,3vw,38px);
  border: 1px solid #f0d6ca;
  border-radius: 24px;
  background: linear-gradient(145deg,#fff3ec 0%,#fff9f5 55%,#fff 100%);
  box-shadow: 0 20px 55px rgba(71,45,30,.08);
}
.plan-preview { border: 1px solid #efe6df; border-radius: 17px; background: #fff; }
.plan-preview-stops li { padding-block: 14px; border-color: #f0e8e2; }
.agenda-showcase { align-items: center; gap: clamp(42px,7vw,100px); margin-top: clamp(64px,8vw,108px); }
.agenda-story h3 { max-width: 14ch; font-size: clamp(36px,4vw,50px); line-height: 1.04; letter-spacing: -.055em; }
.agenda-workspace[data-ui] { padding: clamp(24px,3vw,36px); border: 1px solid #d7e5e6; border-radius: 22px; background: linear-gradient(145deg,#eaf4f5,#f4f8f7); }
.agenda-preview li { padding-block: 13px; border-bottom: 1px solid rgba(40,109,126,.12); }

/* Keep phone layouts intentional: large headings, one-column controls, no clipping. */
@media (max-width: 820px) {
  .destinations-section .section-intro,
  .map-section-heading > div:first-child { grid-template-columns: 1fr; gap: 13px; }
  .destinations-section .section-intro h2,
  .map-section-heading h2 { max-width: 14ch; font-size: clamp(42px,8vw,60px); }
  .destinations-section .section-intro > p:not(.section-overline),
  .map-section-heading p { max-width: 56ch; font-size: 17px; }
  .destination-explorer { grid-template-columns: 1fr; }
  .festival-detail > img { height: auto; aspect-ratio: 16 / 10; }
  .national-map-shell[data-ui] { height: clamp(330px,58svh,500px); }
  .map-selection-image { height: 180px; }
  .membership-heading h2 { font-size: clamp(40px,7vw,56px); }
  .plan-showcase { gap: 32px; }
  .plan-story { max-width: 640px; }
  .plan-story h2 { max-width: 12ch; font-size: clamp(48px,8vw,64px); }
  .agenda-showcase { gap: 28px; margin-top: 58px; }
}
@media (max-width: 520px) {
  .section-overline { margin-bottom: 11px; font-size: 10px; }
  .section-overline span { width: 23px; height: 23px; }
  .destinations-section .section-intro { margin-bottom: 24px; }
  .destinations-section .section-intro h2,
  .map-section-heading h2 { font-size: clamp(37px,10vw,48px); line-height: 1.02; }
  .destinations-section .section-intro > p:not(.section-overline),
  .map-section-heading p { font-size: 16px; }
  .destination-search-column { padding: 19px 16px; border-radius: 18px; }
  .festival-detail[data-ui] { border-radius: 18px; }
  .festival-detail-copy { padding: 20px 19px 22px; }
  .trip-planner { margin-top: 26px; padding: 21px 16px; border-radius: 18px; }
  .trip-planner-intro h3 { font-size: 29px; }
  .trip-planner-fields { gap: 12px; }
  .trip-footer { align-items: stretch; }
  .trip-footer .quiet-link { align-self: flex-start; }
  .festival-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .festival-photo { min-height: 178px; border-radius: 12px; }
  .national-map-section { padding-block: 56px; }
  .discovery-mode-row[data-ui] { gap: 3px; padding: 4px; }
  .discovery-mode-button { min-height: 72px; padding: 9px; }
  .discovery-mode-button span { font-size: 14px; }
  .discovery-mode-button small { font-size: 11px; }
  .map-discovery-toolbar { gap: 10px; }
  .national-map-shell[data-ui] { height: min(62svh,410px); min-height: 320px; border-radius: 16px; }
  .map-selection[data-ui], .map-empty-state { padding: 14px; border-radius: 16px; }
  .map-selection-image { height: 150px; }
  .membership-heading { gap: 11px; }
  .membership-heading h2 { font-size: 42px; }
  .membership-card { padding: 21px 18px; border-radius: 18px; }
  .membership-price strong { font-size: 44px; }
  .membership-action { border-radius: 11px; }
  .plan-story h2 { font-size: 46px; }
  .plan-workspace[data-ui], .agenda-workspace[data-ui] { padding: 20px 16px; border-radius: 18px; }
  .agenda-showcase { margin-top: 46px; }
  .agenda-story h3 { font-size: 36px; }
}


/* Cierre con fotografía: un último momento emocional, alineado a la izquierda */
.final-content {
  position: relative; overflow: hidden; color: #fff; text-align: left;
  padding: clamp(56px,8vw,96px) clamp(24px,6vw,72px);
  background:
    linear-gradient(90deg, rgba(14,12,11,.86) 0%, rgba(14,12,11,.6) 52%, rgba(14,12,11,.28) 100%),
    url("assets/fallas2018-crema-pio-xi-fontanares-06.webp") center 42% / cover no-repeat;
}
.final-content h2 { max-width: 14ch; margin: 0; color: #fff; }
.final-content p { max-width: 46ch; margin: 16px 0 28px; color: rgba(255,255,255,.88); }
@media (max-width: 640px) {
  .final-content { padding: 52px 22px; background-position: 62% center; }
}
