/* sections.css: plunge, Servicios, Fisioterapia, Promociones, Tienda, Contacto (SPEC 6.3 to 6.8).
   Mobile first; breakpoints 768 and 1024 (plus 1280 and 1440 for the lane grid, where the numbers of SPEC 6.4 need the room).
   .sec never gets transform, opacity, filter or z-index (the world light layer depends on it); no ancestor of the sticky column clips.
   Text colours come from the contrast table (SPEC 2.2). Nothing here is dimmed with opacity. */

/* ---------- Pictogram sprite ---------- */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.i2 {
  fill: var(--ico-2, currentColor);
}

.i2[fill="none"] {
  fill: none;
  stroke: var(--ico-2, currentColor);
}

/* ---------- Shared heading grid ---------- */
.section-heading {
  display: grid;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}

.section-aside {
  max-width: 34rem;
  font-size: var(--fs-lede);
}

.sec h2,
.sec h3 {
  overflow-wrap: break-word;
}

@media (min-width: 1024px) {
  .section-heading {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-6);
    align-items: end;
    margin-bottom: var(--s-9);
  }

  .section-heading > div {
    grid-column: 1 / 8;
  }

  .section-aside {
    grid-column: 9 / 13;
  }

  .shop-heading > div {
    grid-row: 1;
    grid-column: 6 / 13;
  }

  .shop-heading .section-aside {
    grid-row: 1;
    grid-column: 1 / 5;
  }
}

@supports (align-items: last baseline) {
  @media (min-width: 1024px) {
    .section-heading {
      align-items: last baseline;
    }
  }
}

/* ---------- Plunge ---------- */
.sec--plunge {
  padding-block: max(12vh, 72px);
}

.plunge-text {
  width: 100%;
}

.plunge-text strong {
  color: var(--blue-800);
  font-weight: inherit;
}

@media (min-width: 768px) {
  .plunge-text {
    width: min(70vw, 62rem);
  }
}

/* ---------- Servicios: three lanes ---------- */
.sec--services .ico {
  --ico-2: var(--coral);
}

/* The band runs from pale to mid aqua: ink holds 4.5:1 at every depth, the deep teal does not on #34C3D6. */
.sec--services .eyebrow {
  color: var(--ink);
}

.service-lanes {
  margin-right: calc(-1 * var(--gutter));
}

.service-lanes .rope {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 28px, var(--white) 28px 56px);
  transform-origin: left center;
}

.svc-lane {
  --tint: .18;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--s-3) var(--s-4);
  padding: 24px var(--gutter) 24px 20px;
}

.svc-lane[data-lane="zumba"] {
  --tint: .10;
}

.svc-lane[data-lane="therapy"] {
  --tint: .04;
}

/* The lane tint sits on a pseudo-element so that "+.06" on hover is an opacity change. */
.svc-lane::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--r-l) 0 0 var(--r-l);
  background: var(--white);
  opacity: var(--tint);
  transition: opacity var(--t-xs);
}

.svc-lane:hover::before,
.svc-lane:focus-within::before {
  opacity: calc(var(--tint) + .06);
}

.svc-lane__num {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--blue-800);
}

.svc-lane__art {
  grid-column: 2;
  justify-self: end;
  width: 120px;
}

.svc-lane__pill {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 72px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--blue-800);
  transition: transform var(--t-xs);
}

.svc-lane__pill .ico {
  width: 44px;
  height: 44px;
}

/* The wake: a short streak behind the float, grown on hover. */
.svc-lane__pill::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 44px;
  height: 3px;
  margin-top: -1px;
  margin-right: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--white));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--t-xs);
}

.svc-lane__title {
  grid-column: 1 / -1;
  font-size: var(--fs-lane);
  line-height: 1;
}

.svc-lane__text {
  grid-column: 1 / -1;
  max-width: 34rem;
}

.svc-lane__link {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-top: 2px solid var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.svc-lane__link .ico {
  transition: transform var(--t-xs);
}

@media (min-width: 768px) {
  .svc-lane {
    grid-template-columns: 72px 124px minmax(0, 1fr);
    column-gap: var(--s-5);
    padding-left: 28px;
  }

  .svc-lane__art {
    grid-column: 2;
    justify-self: stretch;
    width: auto;
  }

  .svc-lane__title {
    grid-row: 1;
    grid-column: 3;
  }

  .svc-lane__text,
  .svc-lane__link {
    grid-column: 3;
  }

  .svc-lane__link {
    display: inline-flex;
    justify-self: start;
    gap: 8px;
    border-top: 0;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
}

@media (min-width: 1280px) {
  .svc-lane {
    grid-template-columns: 64px 120px minmax(0, 1fr) clamp(240px, 22vw, 360px) auto;
    min-height: 208px;
    padding-block: 32px;
  }

  .svc-lane__title,
  .svc-lane__text,
  .svc-lane__link {
    grid-row: 1;
  }

  .svc-lane__text {
    grid-column: 4;
  }

  .svc-lane__link {
    grid-column: 5;
  }
}

@media (min-width: 1440px) {
  .svc-lane {
    grid-template-columns: 88px 148px minmax(0, 1fr) 360px auto;
    column-gap: var(--s-6);
  }

  .svc-lane__pill {
    height: 88px;
  }

  .svc-lane__pill .ico {
    width: 56px;
    height: 56px;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .svc-lane:hover .svc-lane__pill,
  .svc-lane:focus-within .svc-lane__pill {
    transform: translateX(14px);
  }

  .svc-lane:hover .svc-lane__pill::before,
  .svc-lane:focus-within .svc-lane__pill::before {
    transform: scaleX(1);
  }

  .svc-lane__link:hover .ico,
  .svc-lane__link:focus-visible .ico {
    transform: translate(3px, -3px);
  }

  .svc-lane[data-lane="therapy"] .svc-lane__link:hover .ico,
  .svc-lane[data-lane="therapy"] .svc-lane__link:focus-visible .ico {
    transform: translateY(3px);
  }
}

/* ---------- Fisioterapia: slow water ---------- */
.sec--physio .ico {
  --ico-2: var(--white);
}

.physio-copy {
  position: relative;
}

.physio-rings {
  position: absolute;
  top: 38%;
  left: 50%;
  z-index: -1;
  width: 20rem;
  height: 20rem;
  margin: -10rem 0 0 -10rem;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}

.physio-lede {
  max-width: 32rem;
  margin-top: var(--s-5);
  color: var(--foam);
  font-size: var(--fs-lede);
}

.physio-copy .btn {
  margin-top: var(--s-6);
}

/* Under 1024 the progress line sits at x >= 40, clear of the thread (x 17 on phones). */
.physio-list {
  position: relative;
  margin-top: var(--s-8);
  margin-left: var(--s-4);
  padding-left: var(--s-6);
}

.physio-list::before,
.physio-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
}

.physio-list::before {
  content: "";
  background: rgba(220, 246, 247, .18);
}

.physio-line {
  background: var(--foam-2);
  transform-origin: top center;
}

.physio-steps {
  display: grid;
  gap: var(--s-7);
}

.physio-step {
  display: grid;
  align-content: start;
  gap: var(--s-4);
}

.step-number {
  display: block;
  color: var(--foam-2);
  font-family: var(--font-display);
  font-size: var(--fs-num);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: .9;
  transition: color var(--t-s);
}

.physio-step.is-current .step-number {
  color: var(--white);
}

.physio-step__body {
  display: grid;
  gap: var(--s-3);
  max-width: 30rem;
}

.physio-step__icon {
  display: block;
  width: 56px;
  height: 56px;
  color: var(--foam-2);
}

.physio-step__icon .ico {
  width: 56px;
  height: 56px;
}

.physio-step h3 {
  color: var(--white);
}

.physio-step p {
  color: var(--foam);
}

@media (min-width: 768px) {
  .physio-rings {
    left: 56%;
    width: 28rem;
    height: 28rem;
    margin: -14rem 0 0 -14rem;
  }
}

@media (min-width: 1024px) {
  .sec--physio .sec__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-6);
    align-items: start;
  }

  /* Six columns: the h2 reads in three lines or fewer at 1440. */
  .physio-copy {
    position: sticky;
    top: 18vh;
    grid-column: 1 / 7;
  }

  .physio-copy h2 {
    font-size: min(var(--fs-h2), 4.4vw);
  }

  /* The rings sit inside the copy column, well to the right of the thread (never cropped at the viewport edge). */
  .physio-rings {
    top: 46%;
    left: 60%;
    width: 30rem;
    height: 30rem;
    margin: -15rem 0 0 -15rem;
  }

  .physio-list {
    grid-column: 8 / 13;
    margin-top: 0;
    margin-left: 0;
  }

  .physio-steps {
    gap: 0;
  }

  .physio-step {
    min-height: 56vh;
    gap: var(--s-5);
  }
}

@media (min-width: 1280px) {
  .physio-rings {
    left: 56%;
    width: 34rem;
    height: 34rem;
    margin: -17rem 0 0 -17rem;
  }
}

/* ---------- Promociones: pennants ---------- */
.sec--promos .ico {
  --ico-2: var(--ink);
}

.promo-copy {
  display: grid;
  gap: var(--s-6);
  margin-bottom: var(--s-9);
}

.promo-copy__side {
  display: grid;
  justify-items: start;
  align-content: end;
  gap: var(--s-5);
}

.promo-copy__side p {
  max-width: 32rem;
  color: var(--foam);
  font-size: var(--fs-lede);
}

.sec--promos .btn .ico {
  --ico-2: currentColor;
}

@media (min-width: 1024px) {
  .promo-copy {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-6);
    align-items: end;
  }

  .promo-copy__title {
    grid-column: 1 / 7;
  }

  .promo-copy__side {
    grid-column: 8 / 13;
  }
}

.promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: var(--s-5);
}

@media (min-width: 768px) {
  .promo-list {
    gap: var(--s-6);
  }
}

/* The cord belongs to the slot (the pennant swings under it); each slot reaches half a gap to each side, so a row reads as one rope. */
.promo-slot {
  --cord: 1;
  position: relative;
}

.promo-slot::before {
  content: "";
  position: absolute;
  top: -5px;
  right: -12px;
  left: -12px;
  z-index: 1;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 22px, var(--paper) 22px 44px);
  transform: scaleX(var(--cord));
  transform-origin: left center;
}

@media (min-width: 768px) {
  .promo-slot::before {
    right: -16px;
    left: -16px;
  }
}

.promo-slot:only-child {
  max-width: 26rem;
}

.promo-item {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--s-5);
  height: 100%;
  min-height: 20rem;
  padding: 36px 28px 76px;
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 50% 100%, 0 calc(100% - 44px));
  transform-origin: 50% 0;
  transition: transform var(--t-s) cubic-bezier(.2, .7, .2, 1);
}

.promo-item[data-tone="sun"] {
  background: var(--sun);
}

.promo-item[data-tone="coral"] {
  background: var(--coral-soft);
}

.promo-item[data-tone="paper"] {
  background: var(--paper);
}

.promo-index {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: .9;
}

/* Two-tone point, like the hero's pennants: the right half of the tip takes the second tone and its fold climbs on a
   diagonal to the right edge. It stays inside the bottom padding (76px), so no text ever sits on it. */
.promo-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tip, var(--coral));
  clip-path: polygon(50% 100%, 100% calc(100% - 44px), 100% calc(100% - 68px), 50% calc(100% - 44px));
  pointer-events: none;
}

.promo-item[data-tone="sun"] {
  --tip: var(--coral);
}

.promo-item[data-tone="coral"] {
  --tip: var(--sun);
}

.promo-item[data-tone="paper"] {
  --tip: var(--aqua-300);
}

.promo-valid {
  display: inline-block;
}

.promo-item div {
  display: grid;
  gap: var(--s-3);
}

.promo-item h3,
.promo-item p {
  overflow-wrap: anywhere;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .promo-slot:nth-child(odd) .promo-item:hover {
    transform: rotate(-1.2deg);
  }

  .promo-slot:nth-child(even) .promo-item:hover {
    transform: rotate(1.2deg);
  }
}

/* ---------- Tienda: buoyant cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: var(--s-5);
}

.product-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-areas: "visual info" "foot foot";
  overflow: hidden;
  border-radius: var(--r-l);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-float);
  transition: transform var(--t-s) cubic-bezier(.2, .9, .3, 1.1);
}

.product-visual {
  position: relative;
  display: grid;
  grid-area: visual;
  place-items: center;
  min-height: 132px;
  background: linear-gradient(160deg, var(--aqua-300), var(--aqua-500));
  color: var(--navy-900);
}

.product-visual .ico {
  --ico-2: var(--paper);
}

.product-card[data-tone="1"] .product-visual {
  background: linear-gradient(160deg, var(--aqua-200), var(--aqua-400));
}

.product-card[data-tone="2"] .product-visual {
  background: linear-gradient(160deg, var(--mint), var(--aqua-300));
}

/* Out of stock: a quieter tone swap, no filter. */
.product-card[data-stock="out"] .product-visual {
  background: linear-gradient(160deg, var(--mint-light), var(--mint));
  color: var(--teal-deep);
}

.product-card[data-stock="out"] .product-visual .ico {
  --ico-2: var(--white);
}

.product-visual .ico {
  width: 56px;
  height: 56px;
}

.product-chip {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: var(--r-s);
  background: var(--paper);
  color: var(--ink);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

.product-info {
  display: grid;
  grid-area: info;
  align-content: space-between;
  gap: var(--s-3);
  padding: 18px 18px 8px;
}

.product-info h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  overflow-wrap: anywhere;
}

.product-info p {
  margin-top: var(--s-2);
  font-size: .9375rem;
  overflow-wrap: anywhere;
}

.product-info strong {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.product-foot {
  display: flex;
  grid-area: foot;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  padding: 4px 18px 14px;
}

.product-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
}

.product-foot span::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.product-card[data-stock="out"] .product-foot span::before {
  background: var(--coral);
}

.product-card[data-stock="unknown"] .product-foot span::before {
  background: var(--blue-800);
}

.product-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.product-foot a .ico {
  transition: transform var(--t-xs);
}

.shop-empty {
  display: grid;
  justify-items: start;
  gap: var(--s-5);
  max-width: 46rem;
  padding: var(--s-7) var(--s-6);
  border-radius: var(--r-l);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-float);
}

.shop-empty__art .ico {
  width: 72px;
  height: 72px;
  color: var(--blue-700);
  --ico-2: var(--aqua-300);
}

.shop-empty .text-link {
  color: var(--ink);
}

.sec--shop .shop-empty .text-link:hover {
  color: var(--teal-deep);
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-6);
  }

  .product-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "visual" "info" "foot";
  }

  .product-visual {
    min-height: 200px;
  }

  .product-visual .ico {
    width: 96px;
    height: 96px;
  }

  .product-chip {
    top: 16px;
    right: auto;
    bottom: auto;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 4px 12px;
    font-size: .75rem;
  }

  .product-info {
    padding: 22px 24px 8px;
  }

  .product-foot {
    padding: 8px 24px 18px;
  }

  .shop-empty {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card:nth-child(3n + 2) {
    margin-top: var(--s-8);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .product-card:nth-child(2n) {
    margin-top: var(--s-6);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-card:hover,
  .product-card:focus-within {
    transform: translateY(-6px);
  }

  .product-card:hover .product-visual .ico,
  .product-card:focus-within .product-visual .ico {
    animation: icon-bob .8s ease-out 1;
  }

  .product-foot a:hover .ico,
  .product-foot a:focus-visible .ico {
    transform: translate(3px, -3px);
  }
}

@keyframes icon-bob {
  0% { transform: rotate(0); }
  25% { transform: rotate(-7deg); }
  55% { transform: rotate(5deg); }
  80% { transform: rotate(-2deg); }
  100% { transform: rotate(0); }
}

/* ---------- Contacto: the floor ---------- */
.sec--contact {
  position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(191, 239, 242, .07) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(191, 239, 242, .07) 0 1px, transparent 1px 40px),
    linear-gradient(180deg, var(--d5), var(--d6));
}

.sec--contact .ico {
  --ico-2: var(--white);
}

/* Floor lamps seen from above: a sun-coloured disc fixture (::after) with a rim, a small bright core and two soft halos.
   The glow is a circle centred --ly above the footer edge and fades out before it, so nothing is cut flat.
   The content (.sec__inner) is positioned and later in the DOM, so the lamps paint behind it: no text sits on lamp light
   except the far tail of the wide halo (<= .10 effective alpha at the heading). */
.sec--contact .sec__inner {
  position: relative;
}

.lamp {
  --lr: 100px;
  --ly: 78px;
  position: absolute;
  bottom: 0;
  width: calc(var(--lr) * 2);
  height: calc(var(--lr) + var(--ly));
  background:
    radial-gradient(circle 17px at 50% calc(100% - var(--ly)), rgba(255, 250, 225, .95), rgba(255, 214, 102, .7) 55%, rgba(255, 201, 74, 0)),
    radial-gradient(circle calc(var(--lr) * .62) at 50% calc(100% - var(--ly)), rgba(255, 214, 110, .34), rgba(255, 201, 74, .1) 55%, rgba(255, 201, 74, 0)),
    radial-gradient(circle var(--lr) at 50% calc(100% - var(--ly)), rgba(255, 190, 70, .12), rgba(255, 190, 70, 0));
  pointer-events: none;
}

.lamp::after {
  content: "";
  position: absolute;
  bottom: calc(var(--ly) - 12px);
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #FFF6D0 0 28%, var(--sun) 30% 68%, #E0A12A 70%);
  box-shadow: 0 0 0 3px var(--d6), 0 0 0 4.5px rgba(255, 201, 74, .65);
}

@media (min-width: 768px) {
  .lamp {
    --lr: 130px;
    --ly: 100px;
  }

  .lamp::after {
    bottom: calc(var(--ly) - 14px);
    width: 28px;
    height: 28px;
    margin-left: -14px;
  }
}

.lamp--1 {
  right: 2%;
}

.lamp--2 {
  right: 24%;
}

.lamp--3 {
  right: 46%;
}

.contact-grid {
  display: grid;
  gap: var(--s-8);
}

.contact-heading {
  position: relative;
  font-size: var(--fs-h2);
}

.contact-heading h2 {
  font-size: 1em;
  line-height: 1;
}

.contact-heading em {
  display: inline-block;
  transition: color var(--t-m);
}

.sec--contact.is-floor em {
  color: var(--sun);
}

#contact-t {
  position: absolute;
  bottom: .45em;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.contact-card {
  display: grid;
  justify-items: start;
  gap: var(--s-5);
  padding: var(--s-6);
  border-radius: var(--r-l);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-float);
}

.contact-note {
  font-size: var(--fs-lede);
}

.contact-card .muted {
  color: var(--foam-2);
  opacity: 1;
}

.contact-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s-3);
  align-items: start;
  overflow-wrap: anywhere;
}

.contact-item .ico {
  width: 28px;
  height: 28px;
  color: var(--sun);
  --ico-2: var(--navy-900);
}

.contact-item .contact-ico--clock {
  --ico-2: var(--white);
}

/* Narrow phones: the call button needs 271 px and the contact card leaves 252 at 360, so «55 0000 0000» split across two
   lines (also at 320 and 375). Tighter padding and a font that follows the width keep it on one line down to 320; from
   390 px up the rule is not applied. */
@media (max-width: 389px) {
  .contact-card .btn--sun {
    gap: 8px;
    padding-inline: 16px;
    font-size: clamp(0.8125rem, 4.1vw, 1rem);
  }
}

/* At 320 «Preguntar por promociones» was 7 px wider than its column and wrapped inside the pill. */
@media (max-width: 359px) {
  .promo-copy__side .btn {
    gap: 8px;
    padding-inline: 16px;
  }
}

@media (min-width: 768px) {
  .sec--contact {
    /* The lamps hang from the section's bottom edge and the closing lane line runs under the heading: this extra floor keeps
       every lamp below that line at any width (measured with ops/lamp-check.sh: it hit at 1024, 1180, 1279 and 1920). */
    padding-bottom: calc(var(--sec-pad) + clamp(72px, 7vw, 160px));
    background:
      repeating-linear-gradient(0deg, rgba(191, 239, 242, .07) 0 1px, transparent 1px 64px),
      repeating-linear-gradient(90deg, rgba(191, 239, 242, .07) 0 1px, transparent 1px 64px),
      linear-gradient(180deg, var(--d5), var(--d6));
  }

  .contact-heading {
    font-size: calc(var(--fs-h2) * 1.1);
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-6);
    align-items: end;
  }

  .contact-intro {
    grid-column: 1 / 8;
  }

  .contact-card {
    grid-column: 8 / 13;
    padding: var(--s-6);
  }

  .contact-heading {
    font-size: calc(var(--fs-h2) * 1.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sec--contact em {
    color: var(--sun);
  }
}
