/* =====================================================================
   Summer Flyer — #verano presented as a full-viewport (100vh) editorial
   "flyer": split layout (copy left · feature image right), premium and
   family-friendly. Atmosphere is deliberately restrained — a soft warm
   sun glow + faint haze clouds over a light sky→cream gradient. No
   cartoon props. CSS/SVG only; animations gated by reduced-motion.
   ===================================================================== */

/* ---- Section shell (flyer + details below) ---- */
/* Warm cream zone: the flyer gradient resolves into this, and the trailing
   wave (cream → page) reads as one continuous summer field. */
.summer {
  padding: 0;
  background: #fdf4e6;
}

/* ---- Inline beach scene (#verano): centered content + floating 3D props ---- */
.summer--scene {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 124px var(--gutter) 400px;
  /* warm summer sky; dune waves layer along the bottom, 3D props float on top */
  background: linear-gradient(180deg, #ffe9a6 0%, #ffe08c 50%, #ffd66e 100%);
}
/* sand dunes (two waves) along the bottom */
.beach-dunes {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  z-index: 0;
  pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path d="M0,150 C320,70 760,210 1440,110 L1440,320 L0,320 Z" fill="%23ffd877"/><path d="M0,238 C380,168 840,300 1440,206 L1440,320 L0,320 Z" fill="%23ffcb55"/></svg>')
    bottom / 100% 100% no-repeat;
}
/* floating 3D beach props (positioned around the centered content) */
.beach-prop {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 14px 18px rgba(150, 110, 10, 0.22));
  will-change: transform;
}
.beach-prop--sol {
  top: 4%;
  left: 5%;
  width: clamp(72px, 9vw, 132px);
}
.beach-prop--salvavidas {
  top: 7%;
  right: 6%;
  width: clamp(74px, 9vw, 134px);
}
.beach-prop--gafas {
  top: 39%;
  right: 9%;
  width: clamp(72px, 8.5vw, 124px);
}
.beach-prop--zumo {
  top: 70%;
  left: 6%;
  width: clamp(58px, 7vw, 98px);
}
.beach-prop--estrella {
  bottom: 32%;
  left: 5%;
  width: clamp(58px, 7vw, 100px);
}
.beach-prop--concha {
  bottom: 13%;
  left: 12%;
  width: clamp(60px, 7.5vw, 112px);
}
.beach-prop--sandalias {
  bottom: 7%;
  left: 34%;
  width: clamp(66px, 8vw, 116px);
}
.beach-prop--silla {
  top: 47%;
  right: 5%;
  width: clamp(82px, 10vw, 152px);
  opacity: 0;
}
.beach-prop--palmera {
  bottom: 0;
  right: 1%;
  width: clamp(180px, 23vw, 340px);
  z-index: 2;
}
/* centered content */
.beach-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  /* text-align: center; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* frosted card: the info reads as one organized block over the busy scene */
  /* padding: clamp(30px, 4vw, 52px) clamp(22px, 4vw, 54px); */
  border-radius: 30px;
  background: rgba(255, 255, 255, 0);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  /* backdrop-filter: blur(14px) saturate(1.2); */
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* box-shadow: 0 32px 70px -28px rgba(120, 88, 8, 0.4); */
}

.summer-head{
  display: flex;
  justify-content: space-between;
  /* background: red; */
  width: 100%;
  margin-bottom: 50px;
}

/* the three key facts grouped into a tinted strip */
.beach-content .summer-facts {
  /* justify-content: center; */
  /* width: 100%; */
  margin: 5px 0;
  /* padding: 16px 14px; */
  /* border-radius: 500px; */
  /* background: rgba(255, 255, 255, 0.563); */
}
.beach-content .summer-buy,
.beach-content .summer__incl {
  justify-content: center;
}
/* divider between the offer and the "what's included" block */
.beach-content__sep {
  width: 100%;
  height: 1px;
  margin: 28px 0 6px;
  border: none;
  background: var(--line);
}
.beach-extras {
  margin-top: 30px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  text-align: left;
}
.beach-extras .eyebrow {
  margin-bottom: 12px;
}
/* two clean, legible lists (incluye · salidas) */
.beach-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.beach-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 2px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-navy);
  border-bottom: 1px solid rgba(30, 58, 95, 0.12);
}
.beach-list li:last-child {
  border-bottom: none;
}
.beach-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent-cyan-deep);
}
@media (max-width: 620px) {
  .beach-extras {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 1100px) {
  /* thin out side props so they don't crowd the content */
  .beach-prop--zumo,
  .beach-prop--estrella,
  .beach-prop--gafas,
  .beach-prop--silla {
    display: none;
  }
}
@media (max-width: 900px) {
  /* the palm is smaller here → reclaim the big bottom gap, and stack the
     title/price head so neither column squishes */
  .summer--scene {
    padding-bottom: 200px;
  }
  .summer-head {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 30px;
  }
  .summer-buy {
    justify-content: flex-start;
  }
  .beach-content .summer-buy {
    justify-content: flex-start;
  }
  .summer-buy__price {
    text-align: left;
  }
}
@media (max-width: 720px) {
  .summer--scene {
    padding: 104px var(--gutter) 76px;
  }
  .beach-prop--sandalias,
  .beach-prop--concha {
    display: none;
  }
  .beach-prop--palmera {
    width: 150px;
    opacity: 0.92;
  }
}

/* ---- Flyer: full viewport ---- */
.summer-flyer {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 116px 64px;
  background: linear-gradient(
    168deg,
    #e8f3ff 0%,
    #eef6fc 42%,
    #f7f4ec 74%,
    #fdf4e6 100%
  );
}

/* ---- Atmosphere (subtle, premium) ---- */
.summer-atmos {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.summer-atmos__glow {
  position: absolute;
  top: -16%;
  left: -8%;
  width: min(48vw, 660px);
  height: min(48vw, 660px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 213, 110, 0.42) 0%,
    rgba(255, 224, 150, 0.16) 40%,
    transparent 66%
  );
}
.summer-atmos__cloud {
  position: absolute;
  background: #ffffff;
  border-radius: 999px;
  filter: blur(16px);
  will-change: transform;
}
.summer-atmos__cloud--1 {
  top: 15%;
  left: 9%;
  width: 230px;
  height: 58px;
  opacity: 0.5;
  animation: summer-drift 28s ease-in-out infinite alternate;
}
.summer-atmos__cloud--2 {
  top: 24%;
  right: 14%;
  width: 320px;
  height: 74px;
  opacity: 0.38;
  animation: summer-drift 36s ease-in-out infinite alternate;
  animation-delay: -10s;
}
@keyframes summer-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(40px);
  }
}

/* ---- Flyer layout: copy · media ---- */
.summer-flyer__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(32px, 5vw, 76px);
  /* align-items: center; */
}

/* ---- Copy column ---- */
.summer-flyer__copy {
  max-width: 600px;
}
.summer-flyer__copy .summer__badge {
  margin-bottom: 22px;
}
.summer__title {
  margin-bottom: 18px;
  font-size: clamp(32px, 6.5vw, 64px) !important;
}
.summer__title .summer__hl {
  /* text-decoration-thickness: 4px; */
  /* text-underline-offset: 11px; */
}
.summer__lead {
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 46ch;
  margin-bottom: 30px;
}

/* facts row: Fechas · Horario · Edades */
.summer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 38px);
  margin: 0 0 32px;
}
.summer-facts__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  /* text-align: right; */
  /* padding: 0 25px; */
}
.summer-facts__item + .summer-facts__item {
  /* padding-left: clamp(18px, 3vw, 38px); */
  /* border-left: 1px solid var(--line-strong); */
}
.summer-facts dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan-deep);
}
.summer-facts dd {
  margin: 0;
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 40;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-navy);
}

/* price + CTA */
.summer-buy {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.summer-buy__price {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.summer-buy__price b {
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 144;
  font-size: clamp(44px, 9vw, 78px);
  line-height: 1;
  color: var(--ink-navy);
}
.summer-buy__price span {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 5px;
  /* padding-left: 200px; */
  max-width: 220px;
}
.summer-buy__cta {
  padding: 16px 30px;
  font-size: 16px;
}

/* small supporting lines */
.summer__incl {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-navy);
  margin-bottom: 6px;
}
.summer__incl svg {
  flex: none;
  color: var(--accent-cyan-deep);
}
.summer__note {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---- Media column (feature image) ---- */
.summer-flyer__media {
  position: relative;
}
.summer-flyer__photo {
  height: min(76vh, 620px);
  box-shadow: var(--sh-lg);
}
.summer-flyer__flag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  box-shadow: var(--sh-sm);
}

/* ---- Details below the flyer ---- */
.summer-extra {
  position: relative;
  padding-block: var(--section-gap);
}
.summer-extra__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.summer-extra__h {
  font-size: 26px;
  margin: 10px 0 16px;
}
.summer-extra__trips {
  margin-top: 14px;
}
.summer-extra__disc {
  text-align: center;
  margin-top: 28px;
}
.summer-nostalgia {
  margin-top: 72px;
}

/* ---- Verano modal (the flyer + details, auto-opened on load) ---- */
.verano-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.verano-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.verano-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 36, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.verano-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fdf4e6;
  box-shadow: var(--sh-lg);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.verano-modal.is-open .verano-modal__dialog {
  transform: none;
}
.verano-modal__scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.verano-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-navy);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--sh-sm);
  transition:
    transform 0.2s,
    background 0.2s;
}
.verano-modal__close:hover {
  transform: scale(1.06);
  background: #fff;
}
.verano-modal__close svg {
  width: 18px;
  height: 18px;
}
/* modal content is always visible (it isn't part of the page scroll, so the
   scroll-reveal that hides .reveal must not apply here) */
.verano-modal .reveal {
  opacity: 1 !important;
  transform: none !important;
}
/* ---- Compact promo inside the modal — beach tones (matches #verano) ---- */
.vmodal {
  position: relative;
  overflow: hidden;
  /* same warm summer field as the beach section */
  background: linear-gradient(180deg, #ffe9a6 0%, #ffe28f 54%, #ffd66e 100%);
}
/* sand + palm anchoring the bottom-center of the card */
.vmodal__dunes {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 104px;
  z-index: 0;
  pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 120" preserveAspectRatio="none"><path d="M0,62 C150,28 330,86 600,44 L600,120 L0,120 Z" fill="%23ffd877"/><path d="M0,92 C170,64 360,112 600,80 L600,120 L0,120 Z" fill="%23ffcb55"/></svg>')
    bottom / 100% 100% no-repeat;
}
.vmodal__palm {
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 132px;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 12px 16px rgba(150, 110, 10, 0.28));
}
.vmodal__head {
  position: relative;
  z-index: 1;
  padding: 40px 32px 6px;
  text-align: center;
}
.vmodal__badge {
  background: var(--ink-navy);
  color: #fff;
  margin-bottom: 14px;
}
.vmodal__badge svg {
  color: var(--accent-mustard);
}
.vmodal__title {
  margin: 0 0 20px;
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 60;
  font-size: clamp(26px, 4vw, 33px);
  line-height: 1.05;
  color: var(--ink-navy);
}
.vmodal__title span {
  color: #b3660a; /* deep amber — reads on the yellow field */
  font-style: italic;
}
.vmodal__date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 26px 11px;
  border-radius: 16px;
  background: var(--ink-navy);
  color: #fff;
  box-shadow: 0 12px 26px rgba(4, 14, 30, 0.32);
}
.vmodal__date-m {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.vmodal__date-d {
  font-family: var(--display-font), "Fraunces", serif;
  font-variation-settings:
    "wght" 600,
    "opsz" 144;
  font-size: 42px;
  line-height: 1;
  color: var(--accent-mustard);
}
.vmodal__date-y {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.82;
  margin-top: 3px;
}
.vmodal__body {
  position: relative;
  z-index: 1;
  padding: 20px 30px 148px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vmodal__block .eyebrow {
  margin-bottom: 10px;
}
.vmodal__trips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vmodal__trip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.66);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-navy);
}
.vmodal__trip svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--accent-cyan-deep);
}
.vmodal__cta {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}
.vmodal__note {
  margin: 0;
  text-align: center;
  font-size: 12.5px;
  color: #8a6d2a;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .summer-atmos__cloud {
    animation: none;
  }
  .verano-modal,
  .verano-modal__dialog {
    transition: none;
  }
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .summer-flyer {
    min-height: auto;
    padding-block: 100px 56px;
  }
  .summer-flyer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .summer-flyer__copy {
    max-width: none;
  }
  .summer-flyer__photo {
    height: 320px;
  }
  .summer-extra__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .summer-facts {
    gap: 16px;
  }
  .summer-facts__item + .summer-facts__item {
    padding-left: 16px;
  }
  .summer-atmos__cloud--2 {
    display: none;
  }
}
