/* Self-hosted Montserrat (latin + latin-ext, weights 400–800, font-display: swap) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/montserrat/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/montserrat/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* American Visitors — bau cargo layout mirror */
:root {
  --avt-vh: 100svh;
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #5c5c5c;
  --line: #e8e8e8;
  --gray: #f2f2f2;
  --gray-2: #ebebeb;
  --black: #0a0a0a;
  --white: #ffffff;
  --red: #F81820;
  --gold: #c4a574;
  --radius: 28px;
  --radius-sm: 20px;
  --pill: 999px;
  --container: 1220px; /* ~350px side margins at ~1920 */
  --page-gutter: 12px; /* base: 24px total inset (mobile-safe) */
  --header-h: 72px;
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  touch-action: manipulation;
  -ms-touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-anchor: none;
}
body {
  margin: 0;
  overflow-anchor: none;
  overflow-x: clip;
  touch-action: manipulation;
  font-family: var(--font-body), system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0; }
p { margin: 0; }

.container {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--container));
  margin-inline: auto;
}

/* Desktop ≥981: proportional side gutters (~350px at 1920; floor 24px) */
@media (min-width: 981px) {
  :root {
    --page-gutter: clamp(24px, calc((100vw - var(--container)) / 2), 350px);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn .arrow { font-size: 1.05em; line-height: 1; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn-light {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--white);
}
.btn-accent {
  background: var(--gold);
  color: var(--black);
}
.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55em;
  height: 1.55em;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}

/* Hover only on devices that can hover (no sticky tap on mobile) */
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: #222; }
  .btn-outline:hover { border-color: var(--red); color: var(--red); }
  .btn-outline-light:hover { background: var(--white); color: var(--black); }
  .btn-light:hover { background: #f0f0f0; border-color: #f0f0f0; color: var(--black); }
  .btn-accent:hover { background: #d4b584; }
  .btn-red:hover { background: #d4141c; }
  .service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.06);
  }
  .service-card:hover .card-arrow {
    background: var(--red);
    color: var(--white);
  }
  .card-arrow:hover {
    background: var(--red);
    color: var(--white);
  }
}

/* 1. HEADER */
.nav-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: var(--avt-vh);
  z-index: 45; /* under header (50) + open menu, over page */
  background: rgba(10, 10, 10, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
  pointer-events: none;
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Lock page scroll while mobile menu is open */
html.nav-open,
html.nav-open body {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}
html.nav-open .nav {
  touch-action: pan-y;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid rgba(10,10,10,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.logo {
  flex: 1 1 auto;
  min-width: 0; /* allow shrink next to WA + hamburger */
  max-width: 292px; /* natural width at 40px height */
}
.logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 514.2 / 70.339;
  border-radius: 0; /* wide wordmark — radius clipped the ends */
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #2a2a2a;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover {
  color: var(--red);
  background: rgba(248,24,32,.06);
}

/* Scrollspy: current section in nav */
.nav-links > a.is-active {
  color: var(--red);
  font-weight: 700;
}
.nav-item--services.is-active > .nav-item__label {
  color: var(--red);
  font-weight: 700;
}

/* Services dropdown (label + submenu; label is not a link) */
.nav-item--services {
  position: relative;
}
.nav-item__label {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #2a2a2a;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: default;
  user-select: none;
}
.nav-item--services:hover > .nav-item__label,
.nav-item--services:focus-within > .nav-item__label {
  color: var(--red);
  background: rgba(248,24,32,.06);
}
.nav-sub {
  display: none;
  flex-direction: column;
  gap: 3px;
  min-width: 260px;
  padding: 8px;
  background: var(--white);
  border: 1px solid rgba(10,10,10,.08);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
  z-index: 70;
}
.nav-sub a {
  display: block;
  width: 100%;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #2a2a2a;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-sub a:hover,
.nav-sub a:focus-visible {
  color: var(--red);
  background: rgba(248,24,32,.06);
  outline: none;
}
@media (min-width: 761px) {
  /* Desktop/tablet dropdown: attach flush under the label (no hover gap).
     Was top: calc(100% + 6px) — that dead zone dropped :hover before the panel. */
  .nav-sub {
    position: absolute;
    top: 100%;
    left: 0;
    /* Extra top padding = continuous hit area under the trigger; links stay padded. */
    padding: 10px 8px 8px;
  }
  /* Invisible bridge so a slight visual air under the label still keeps :hover */
  .nav-item--services:hover::before,
  .nav-item--services:focus-within::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
  }
  .nav-item--services:hover > .nav-sub,
  .nav-item--services:focus-within > .nav-sub {
    display: flex;
  }
}
.nav-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cta,
.header-cta { display: none !important; }

/* Language: desktop = globe + dropdown; mobile = globe | options row */
.lang-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.lang-menu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.lang-menu__btn:hover,
.lang-menu__btn:focus-visible {
  border-color: rgba(248,24,32,.35);
  color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(248,24,32,.12);
}
.lang-menu.is-open .lang-menu__btn {
  border-color: rgba(248,24,32,.35);
  color: var(--red);
}
.lang-menu__globe {
  display: block;
  width: 20px;
  height: 20px;
}
.lang-menu__panel {
  display: none;
  flex-direction: column;
  gap: 3px;
  min-width: 160px;
  padding: 6px;
  background: var(--white);
  border: 1px solid rgba(10,10,10,.08);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
  z-index: 80;
}
.lang-menu.is-open .lang-menu__panel {
  display: flex;
}
@media (min-width: 761px) {
  .lang-menu__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
  }
}
.lang-menu__opt {
  display: block;
  width: 100%;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #2a2a2a;
  text-align: left;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
  white-space: nowrap;
}
.lang-menu__opt:hover,
.lang-menu__opt:focus-visible {
  color: var(--red);
  background: rgba(248,24,32,.06);
  outline: none;
}
.lang-menu__opt.is-active {
  color: var(--red);
  background: rgba(248,24,32,.08);
  font-weight: 700;
}
.header-actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-wa {
  display: none;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.header-wa__icon {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #fff;
}
.header-wa:hover,
.header-wa:focus-visible {
  background: #1ebe57;
  color: #fff;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 0;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle:hover,
.nav-toggle:active,
.nav-toggle:focus,
.nav-toggle:focus-visible {
  background: transparent !important;
  outline: none;
  box-shadow: none;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
  pointer-events: none;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 2. HERO */
.hero {
  padding: 24px 0 48px;
  min-height: calc(var(--avt-vh) - var(--header-h));
  display: flex;
  align-items: center;
}
.hero > .container { width: min(calc(100% - 2 * var(--page-gutter)), var(--container)); }
.hero-brand {
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  letter-spacing: -0.045em;
  line-height: 1.0;
  text-transform: none;
  margin: 0 0 20px;
  color: var(--ink);
  max-width: 12ch;
}
.hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
  align-items: center;
  width: 100%;
  /* Desktop: JS iguala este ancho al del banner negro (borde izq/der) */
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}
.hero-sub {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 14px;
}
.hero-lead {
  color: var(--muted);
  max-width: 34ch;
  font-size: 1.02rem;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* WhatsApp entre CTAs — solo desktop; alto = .btn-red (pad + flecha circular) */
.hero-wa {
  display: none;
}
@media (min-width: 981px) {
  .hero-actions {
    align-items: center;
  }
  /* Misma altura: outline usa la misma caja de flecha que .btn-red */
  .hero-actions .btn-outline .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55em;
    height: 1.55em;
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
  }
  .hero-actions .btn {
    border-width: 1.5px;
    border-style: solid;
    min-height: calc(0.95rem * 1.55 + 28px + 3px);
    box-sizing: border-box;
  }
  .hero-actions .btn-red {
    border-color: transparent;
  }
  .hero-wa {
    /* size set by JS from .btn-red offsetHeight */
    --hero-wa-size: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--hero-wa-size);
    height: var(--hero-wa-size);
    padding: 0;
    border-radius: 50%;
    background: #32D951;
    line-height: 0;
    flex: 0 0 var(--hero-wa-size);
    overflow: hidden;
    transition: transform .15s ease, opacity .15s ease;
  }
  .hero-wa__icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  .hero-wa:hover {
    transform: scale(1.06);
    opacity: 0.92;
  }
}
.hero-copy {
  justify-self: start;
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-right: 4px;
  padding-left: 0;
}
.hero-visual {
  justify-self: end;
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-frame {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  aspect-ratio: auto;
}
.hero-frame img,
.hero-frame__fallback {
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: contain;
  background: transparent;
  object-position: center;
  margin: 0 auto;
  display: block;
}
/* Desktop pack loop stage (canvas over fallback) — only active ≥981px */
.hero-frame--desktop {
  position: relative;
  cursor: pointer;
  line-height: 0;
  width: 100%;
  max-width: min(100%, 640px);
  margin-left: auto;
  transform: translateX(10px);
}
.hero-frame--desktop .hero-frame__fallback {
  position: relative;
  width: 100%;
  max-width: none;
  height: auto;
  transition: opacity 0.25s ease;
}
.hero-frame--desktop .hero-frame__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  transition: opacity 0.25s ease;
}
.hero-frame--desktop.is-ready .hero-frame__fallback { opacity: 0; }
.hero-frame--desktop.is-ready .hero-frame__canvas { opacity: 1; }

/* 3. BLACK BANNER */
.banner-black {
  position: relative;
  z-index: 2;
  padding: 8px 0 56px;
}
.banner-black-inner {
  position: relative;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 36px;
  /* Desktop: caja al tamaño del contenido, centrada (no de punta a punta) */
  display: flex;
  align-items: center;
  gap: 36px 48px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.banner-left {
  display: flex;
  align-items: center;
  gap: 16px 20px;
  min-width: 0;
  flex: 0 1 auto;
}
.banner-clock {
  color: #fff;
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.banner-mid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}
.banner-mid .banner-times {
  width: max-content;
}
.banner-right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.banner-times {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  width: 100%;
}
.banner-times li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 0.98rem;
  color: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 7px;
}
.banner-times li:last-child { border-bottom: 0; padding-bottom: 0; }
.banner-times__place { font-weight: 500; }
.banner-times__hours {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
/* Franja blanca pegada al borde inferior del card negro (tapa el hueco al título) */
.banner-black-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  top: 100%;
  height: 1.25rem;
  background: #fff;
  pointer-events: none;
  z-index: 0;
}
.banner-title {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 18ch;
  margin: 0;
  line-height: 1.15;
  flex: 1 1 auto;
}
.banner-text {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  max-width: 36ch;
}

/* Sections common */
.section {
  padding: 72px 0;
}
/* White only in the gap banner → título servicios (tapa el label del mapa) */
.services {
  position: relative;
  z-index: 4;
  background: #fff;
}
.section-head {
  margin-bottom: 28px;
}
.section-title {
  position: relative;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}
.section-head .section-title {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
}
.section-head .section-title::after {
  display: none;
}

/* 4. SERVICES — 4 cards + 1 wide */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}
.service-card {
  position: relative;
  background: var(--gray);
  border-radius: 22px;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.service-card-top {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  /* misma altura de bloque de texto → medias alineadas */
  min-height: 7.25rem;
}
.service-card-top h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  min-height: 2.4em; /* ~2 líneas */
}
.service-card-top p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
  max-width: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.service-card-media {
  position: relative;
  margin-top: auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}
.service-card--wide {
  grid-column: 1 / -1;
  min-height: 0;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  padding: 20px 22px;
  height: auto;
}
.service-card--wide .service-card-top {
  flex: 1 1 38%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 8px;
  padding-bottom: 0;
  min-height: 0;
}
.service-card--wide .service-card-top h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  max-width: 18ch;
  min-height: 0;
}
.service-card--wide .service-card-top p {
  max-width: 42ch;
  font-size: 0.92rem;
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.service-card--wide .service-card-media {
  flex: 1 1 58%;
  margin-top: 0;
  padding: 10px;
  aspect-ratio: auto;
  min-height: 140px;
  max-height: 200px;
}
.service-card--wide .service-card-media img {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: contain;
}
.card-arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  z-index: 2;
  transition: background .15s ease, color .15s ease;
}

/* 5. CYCLE */
.cycle-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cycle-head .section-title {
  max-width: min(100%, 22ch);
  flex: 1 1 16rem;
}
.tab-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
}
.tab {
  padding: 10px 20px;
  border-radius: var(--pill);
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.tab.is-active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tile {
  background: var(--gray);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  min-height: 200px;
}
.tile-icon {
  display: grid;
  place-items: start;
  margin-bottom: 20px;
  color: var(--ink);
}
.tile-icon svg { width: 28px; height: 28px; }
.tile h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.tile p {
  color: var(--muted);
  font-size: 0.92rem;
}


/* HOME: cycle + contact form side-by-side (desktop ≥981) */
.cycle-contact {
  padding: 72px 0;
}
.cycle-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.cycle-contact__cycle,
.cycle-contact__form {
  min-width: 0;
}

@media (min-width: 981px) {
  .cycle-contact__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: stretch; /* cycle column = form column height */
  }
  .cycle-contact__cycle {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  /* Title full width, chips below (not beside title) */
  .cycle-contact .cycle-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
    flex: 0 0 auto;
  }
  .cycle-contact .cycle-head .section-title {
    max-width: none;
    flex: none;
    width: 100%;
  }
  .cycle-contact .tab-bar {
    width: auto;
  }
  .cycle-contact .cycle-panels {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .cycle-contact .cycle-panel.is-active {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .cycle-contact .tile-carousel,
  .cycle-contact .tile-carousel__viewport {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }
  /* 2×2 tiles fill remaining height (= form height − title − chips) */
  .cycle-contact .tile-grid,
  .cycle-contact .tile-carousel .tile-grid {
    flex: 1 1 auto;
    height: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    align-content: stretch;
  }
  .cycle-contact .tile,
  .cycle-contact .tile-carousel .tile {
    height: 100%;
    min-height: 0;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  .cycle-contact .tile-icon {
    margin-bottom: 14px;
    flex: 0 0 auto;
  }
  .cycle-contact .tile h3 {
    font-size: 1.05rem;
    flex: 0 0 auto;
  }
  .cycle-contact .tile p {
    font-size: 0.88rem;
    flex: 1 1 auto;
  }
  /* Form card fills its column (same height as cycle) */
  .cycle-contact__form {
    display: flex;
    flex-direction: column;
  }
  .cycle-contact__form .cta-inner {
    padding: 28px 28px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }
  .cycle-contact__form .cta-main {
    gap: 20px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  .cycle-contact__form .cta-copy h2 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    margin-bottom: 8px;
  }
  .cycle-contact__form .cta-copy p {
    font-size: 0.92rem;
    max-width: none;
  }
  .cycle-contact__form .cta-form {
    gap: 12px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  .cycle-contact__form .cta-field--full {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  .cycle-contact__form .cta-field input,
  .cycle-contact__form .cta-field textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .cycle-contact__form .cta-field textarea {
    min-height: 84px;
    flex: 1 1 auto;
  }
}

/* Home cycle tiles: content-sized equal height (no stretch-to-form). Fill leftover with photo. */
.cycle-contact__fill {
  display: none;
}
@media (min-width: 981px) {
  .cycle-contact:not(.svc-tiles) .cycle-panels {
    flex: 0 0 auto;
    display: grid;
    grid-template-areas: "stack";
  }
  .cycle-contact:not(.svc-tiles) .cycle-panel {
    grid-area: stack;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  .cycle-contact:not(.svc-tiles) .cycle-panel[hidden] {
    display: flex;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
  }
  .cycle-contact:not(.svc-tiles) .cycle-panel.is-active {
    flex: 0 0 auto;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
  }
  .cycle-contact:not(.svc-tiles) .tile-carousel,
  .cycle-contact:not(.svc-tiles) .tile-carousel__viewport {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }
  .cycle-contact:not(.svc-tiles) .tile-grid,
  .cycle-contact:not(.svc-tiles) .tile-carousel .tile-grid {
    flex: 1 1 auto;
    height: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 14px;
  }
  .cycle-contact:not(.svc-tiles) .tile,
  .cycle-contact:not(.svc-tiles) .tile-carousel .tile {
    height: 100%;
    min-height: 0;
    overflow: visible;
  }
  .cycle-contact:not(.svc-tiles) .tile p {
    overflow: visible;
  }
  .cycle-contact:not(.svc-tiles) .cycle-contact__fill {
    display: block;
    flex: 1 1 auto;
    min-height: 140px;
    margin: 18px 0 0;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray);
  }
  .cycle-contact:not(.svc-tiles) .cycle-contact__fill picture,
  .cycle-contact:not(.svc-tiles) .cycle-contact__fill img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }
  .cycle-contact:not(.svc-tiles) .cycle-contact__fill img {
    object-fit: cover;
    object-position: center;
  }
}

/* In-page anchors: clear fixed/sticky header */
#inicio,
#nosotros,
#servicios,
#ciclo,
#contacto,
#prensa,
#press,
.banner-black,
.section,
.cycle-contact,
.cta-banner,
.about-prensa-cta {
  scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px);
}
.section-title,
.cta-copy h2,
#banner-title {
  scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px);
}

/* 7. CTA BANNER */
.cta-banner {
  padding: 8px 0 56px;
}
.cta-inner {
  background: var(--gray);
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  padding: 44px 48px;
  display: block;
}
.cta-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}
.cta-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--ink);
}
.cta-copy p {
  color: var(--muted);
  max-width: 42ch;
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.cta-field--full {
  width: 100%;
}
.cta-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.cta-optional {
  font-weight: 500;
  color: var(--muted);
}
.cta-field input,
.cta-field textarea {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1.5px solid #d4d4d4;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.cta-field textarea {
  resize: none;
  min-height: 110px;
}
.cta-field input::placeholder,
.cta-field textarea::placeholder {
  color: #9a9a9a;
}
.cta-field input:focus,
.cta-field textarea:focus {
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(248,24,32,.18);
}

.cta-field input.cta-invalid,
.cta-field textarea.cta-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(248,24,32,.18);
}
.cta-field__error {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--red);
  min-height: 0;
}
.cta-field__error:empty {
  display: none;
}

.cta-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
}
.cta-form-status {
  margin: 2px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.cta-form-status--ok { color: #1f8a4c; }
.cta-form-status--err { color: var(--red); }
.cta-form-status:empty,
.cta-form-status[hidden] { display: none; }

.cta-dims__error {
  margin: 6px 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--red);
}
.cta-dims__error[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cta-dims__fields .cta-field input,
.cta-field--weight input {
  /* room for "Ej. 70 cm" / "z. B. 23 kg" in narrow columns */
  text-overflow: clip;
}
.cta-form-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}
.cta-form-actions .btn {
  border: none;
}

/* Package dims + weight (below origin/destination) */
.cta-form-row--dims {
  grid-template-columns: minmax(0, 1.65fr) minmax(120px, 0.55fr);
  align-items: start;
  gap: 12px;
}
.cta-dims {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: contents;
}
.cta-dims__legend {
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  grid-column: 1 / 2;
  grid-row: 1;
}
.cta-dims__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  grid-column: 1 / 2;
  grid-row: 2;
}
.cta-field--weight {
  min-width: 0;
  grid-column: 2 / 3;
  grid-row: 2;
}
.cta-form-row--dims .cta-dims__error {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
}
.cta-field input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.cta-field input[type="number"]::-webkit-outer-spin-button,
.cta-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media (max-width: 520px) {
  .cta-form-row--dims {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .cta-dims__legend {
    grid-column: 1;
    grid-row: 1;
  }
  .cta-dims__fields {
    gap: 8px;
    grid-column: 1;
    grid-row: 2;
  }
  .cta-field--weight {
    grid-column: 1;
    grid-row: 3;
  }
  .cta-form-row--dims .cta-dims__error {
    grid-column: 1;
    grid-row: 4;
  }
  .cta-dims__fields .cta-field input,
  .cta-field--weight input {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.88rem;
  }
}
@media (max-width: 360px) {
  .cta-dims__fields .cta-field input,
  .cta-field--weight input {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 0.84rem;
  }
}


.contact-page__form .cta-form-row--dims,
.about-prensa-cta__form .cta-form-row--dims,
.cycle-contact__form .cta-form-row--dims {
  grid-template-columns: minmax(0, 1.65fr) minmax(120px, 0.55fr);
  align-items: start;
}
@media (max-width: 520px) {
  .contact-page__form .cta-form-row--dims,
  .about-prensa-cta__form .cta-form-row--dims,
  .cycle-contact__form .cta-form-row--dims {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

/* 8. FOOTER */
.site-footer {
  background: var(--gray);
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.35fr 1fr;
  gap: 40px 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.footer-col--services .footer-nav a {
  font-size: 0.9rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}
.footer-logo img {
  width: 250px;
  max-width: 100%;
  height: auto;
}
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-size: 0.95rem;
  color: #333;
  transition: color .15s ease;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: #333;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.footer-social__link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.footer-social__link svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
}
.footer-copy {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.footer-legal a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color .15s ease;
}
.footer-legal a + a::before {
  content: "·";
  display: inline-block;
  margin: 0 10px;
  color: #bbb;
  text-decoration: none;
  pointer-events: none;
}
.footer-meta {
  margin-left: auto;
  text-align: right;
  font-size: 0.88rem;
  color: var(--muted);
}
.back-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ddd;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background .15s ease, color .15s ease;
}
/* Footer hovers only where a real mouse cursor exists (not sticky touch "hover") */
@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover { color: var(--red); }
  .footer-contact a:hover { color: var(--red); }
  .footer-social__link:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
    transform: translateY(-1px);
  }
  .footer-social__link--wa:hover {
    background: #25D366;
    border-color: #25D366;
    color: var(--white);
  }
  .footer-legal a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .back-top:hover {
    background: var(--black);
    color: var(--white);
  }
}

/* Legal pages (header matches site; no special header override) */
.legal-page {
  padding: 56px 0 72px;
  background: var(--bg);
}
.legal-page__inner {
  max-width: 760px;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.legal-lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.55;
}
.legal-page h2 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
}
.legal-page h3 {
  font-size: 1rem;
  margin: 22px 0 10px;
}
.legal-page p {
  margin: 0 0 14px;
  color: #333;
}
.legal-page a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-list {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: #333;
}
.legal-list li { margin-bottom: 10px; }
.legal-page__back { margin-top: 40px; }
.legal-back-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color .15s ease;
}
/* Override .legal-page a red underline for the back link */
.legal-page .legal-back-link {
  color: var(--muted);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .legal-back-link:hover {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .legal-page .legal-back-link:hover {
    color: var(--red);
    text-decoration: underline;
  }
}
.legal-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--gray);
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-body { grid-template-columns: 1fr; }
  .banner-black-inner {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 28px 24px 26px;
    gap: 20px;
  }
  .banner-left {
    align-items: flex-start;
  }
  .banner-clock {
    width: 32px;
    height: 32px;
    margin-top: 0.2em;
  }
  .banner-title { max-width: none; }
  .banner-mid {
    justify-content: stretch;
    width: 100%;
  }
  .banner-mid .banner-times {
    width: 100%;
    max-width: none;
  }
  .banner-right {
    justify-content: flex-start;
  }
  /* franja blanca a ancho viewport solo en móvil (pack/mapa) */
  .banner-black-inner::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100vw;
  }
  .services .section-head {
    margin-bottom: 28px;
  }
  .services .section-title {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start; /* avoid tall gray gaps when equalizing heights */
  }
  .service-card {
    height: auto;
    min-height: 0;
    padding: 14px 12px 12px;
    border-radius: 22px;
  }
  .service-card-top {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
  }
  .service-card-top h3 {
    font-size: 0.98rem;
    line-height: 1.22;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    min-height: 2.45em; /* ~2 lines so titles align across the row */
  }
  .service-card-top p {
    font-size: 0.78rem;
    line-height: 1.4;
    max-width: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .service-card-media {
    margin-top: 14px;
    padding: 6px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    flex: 0 0 auto;
  }
  .service-card-media img {
    border-radius: 10px;
  }
  .service-card .card-arrow {
    width: 36px;
    height: 36px;
    left: auto;
    right: 8px;
    bottom: 8px;
    font-size: 0.95rem;
    /* sit on the white illustration, bottom-right, clear of text */
  }
  .service-card--wide {
    grid-column: 1 / -1;
    flex-direction: column;
    height: auto;
    /* identical inset to square .service-card (gray→white) */
    padding-top: 14px;
    padding-right: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    gap: 0;
  }
  .service-card--wide .service-card-top {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    justify-content: flex-start;
    min-height: 0;
  }
  .service-card--wide .service-card-top h3 {
    font-size: 1.15rem;
    line-height: 1.2;
    max-width: none;
    min-height: 0;
    margin-bottom: 6px;
  }
  .service-card--wide .service-card-top p {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 0;
  }
  .service-card--wide .service-card-media {
    /* Override desktop flex:1 1 58% — on iOS that + aspect-ratio shrinks width and leaves extra gray on the right */
    flex: 0 0 auto;
    margin-top: 14px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    box-sizing: border-box;
    min-height: 0;
    max-height: none;
    padding: 6px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }
  .service-card--wide .service-card-media img {
    max-height: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
  }
  .service-card--wide .card-arrow {
    right: 8px;
    bottom: 8px;
  }
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 28px;
  }
  /* Keep .cta-form-row as 2-col (Nombre|Apellido, Teléfono|Email) — short fields fit on mobile */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }
  .footer-brand { max-width: none; grid-column: 1 / -1; }
  .footer-col--services { grid-column: 1 / -1; }
  .footer-meta { margin-left: 0; text-align: left; width: 100%; }
  .footer-legal { margin-left: 0; width: 100%; }
  .footer-bottom { align-items: flex-start; }
}

@media (min-width: 761px) {
  .nav-overlay { display: none !important; visibility: hidden !important; }
  .nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
}
@media (max-width: 760px) {
  :root { --page-gutter: 16px; } /* was 100% - 32px; keep mobile air */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 40px 0 24px; }
  .footer-bottom { gap: 14px; }
  .legal-page { padding: 36px 0 56px; }

  .container { width: min(calc(100% - 2 * var(--page-gutter)), var(--container)); }
  /* Body is the scrollport: frozen height so iOS chrome show/hide doesn't yank content */
  html {
    height: 100%;
    overflow: hidden; /* window/document no longer scrolls */
    scroll-behavior: auto; /* override desktop smooth for this breakpoint */
  }
  body {
    height: var(--avt-vh);
    max-height: var(--avt-vh);
    overflow-x: clip;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
    overflow-anchor: none;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }
  /* Header fixed so the menu is always on screen, even at page bottom */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
  .header-actions { display: flex; z-index: 61; }
  .header-wa { display: inline-flex; }
  .nav-toggle { display: flex; z-index: 61; }
  /* Wide logo A: shrink next to WA + hamburger; cap height ~32px */
  .logo { max-width: 234px; } /* 32px tall at aspect 7.31 */
  .header-inner { gap: 10px; }
  /* Free horizontal room for the wide wordmark */
  .header-wa span { display: none; }
  .header-wa {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .nav {
    display: flex;
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 10px);
    left: max(16px, env(safe-area-inset-left, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    z-index: 60;
    max-height: calc(var(--avt-vh) - var(--header-h) - env(safe-area-inset-top, 0px) - 24px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px 18px 20px;
    margin: 0;
    border: 1px solid rgba(10,10,10,.08);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 14px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    border-radius: 14px;
  }
  .nav-links a:hover,
  .nav-links a:active,
  .nav-links a:focus,
  .nav-links a:focus-visible {
    background: transparent;
    color: inherit;
    outline: none;
    box-shadow: none;
  }

  /* Keep scrollspy active visible (hover kill must not override) */
  .nav-links > a.is-active,
  .nav-links > a.is-active:hover,
  .nav-links > a.is-active:active,
  .nav-links > a.is-active:focus,
  .nav-links > a.is-active:focus-visible {
    color: var(--red);
    background: transparent;
    outline: none;
    box-shadow: none;
  }
  .nav-item--services.is-active > .nav-item__label,
  .nav-item--services.is-active:hover > .nav-item__label,
  .nav-item--services.is-active:focus-within > .nav-item__label {
    color: var(--red);
    background: transparent;
  }

  .nav-item--services {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-item__label {
    width: 100%;
    padding: 14px 14px 6px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    border-radius: 14px;
    color: var(--muted);
    background: transparent;
    cursor: default;
  }
  .nav-item--services:hover > .nav-item__label,
  .nav-item--services:focus-within > .nav-item__label {
    color: var(--muted);
    background: transparent;
  }
  .nav-sub {
    display: flex;
    position: static;
    min-width: 0;
    padding: 0 0 4px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-sub a {
    width: 100%;
    padding: 10px 14px 10px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #3a3a3a;
    border-radius: 12px;
    white-space: normal;
  }
  .nav-sub a:hover,
  .nav-sub a:active,
  .nav-sub a:focus,
  .nav-sub a:focus-visible {
    background: transparent;
    color: #3a3a3a;
    outline: none;
    box-shadow: none;
  }
  .nav-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }
  /* Mobile: globe left + Español/English on the right (no dropdown) */
  .lang-menu {
    align-self: stretch;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 4px 2px;
  }
  .lang-menu__btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    pointer-events: none; /* decorative on mobile; options are direct links */
    cursor: default;
  }
  .lang-menu__btn:hover,
  .lang-menu__btn:focus-visible,
  .lang-menu.is-open .lang-menu__btn {
    border-color: var(--line);
    color: var(--ink);
    box-shadow: none;
  }
  .lang-menu__panel {
    position: static;
    display: flex !important;
    flex-direction: row;
    flex: 1;
    min-width: 0;
    padding: 3px;
    border-radius: 999px;
    background: var(--gray);
    border: 1px solid var(--line);
    box-shadow: none;
  }
  .lang-menu__opt {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--muted);
    background: transparent;
  }
  .lang-menu__opt:hover,
  .lang-menu__opt:focus-visible {
    color: var(--ink);
    background: transparent;
  }
  .lang-menu__opt.is-active {
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
  }
  .header-inner { position: relative; }
  /* Same gap as banner negro → «Nuestros servicios» (one section pad, not two) */
  .services { padding-bottom: 0; }
  .cycle,
  .cycle-contact { padding-top: 72px; }
  .hero { padding-top: 16px; }
  .hero-brand { margin-bottom: 24px; }
  /* Cycle tabs: equal 2×2 chips */
  .tab-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
    padding: 4px;
  }
  .tab {
    width: 100%;
    justify-self: stretch;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 12px;
    flex: none;
    min-width: 0;
  }

  /* Tile carousel: 1 full-width slide + side arrows (JS wraps .tile-grid) */
  .tile-carousel {
    position: relative;
    display: block;
  }
  .tile-carousel__viewport {
    overflow: hidden;
    width: 100%;
    /* height set by JS to tallest slide so layout does not jump */
  }
  .tile-carousel .tile-grid {
    display: flex;
    flex-wrap: nowrap;
    --tile-gap: 16px;
    gap: var(--tile-gap);
    width: 100%;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  .tile-carousel .tile-grid.is-instant {
    transition: none !important;
  }
  .tile-carousel .tile {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
  .tile-carousel__btn {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(26, 26, 26, 0.14);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 0;
    line-height: 1;
    opacity: 0.92;
  }
  .tile-carousel__btn svg {
    width: 16px;
    height: 16px;
    display: block;
    opacity: 0.75;
  }
  .tile-carousel__btn--prev { left: 4px; }
  .tile-carousel__btn--next { right: 4px; }
  .tile-carousel__btn:active { transform: translateY(-50%) scale(0.96); }
  .tile-carousel__viewport {
    padding-inline: 0;
  }
  /* Keep tiles readable under arrows */
  .tile-carousel .tile {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* Desktop / tablet: carousel chrome hidden; native grid intact */
@media (min-width: 761px) {
  .tile-carousel .tile--clone { display: none !important; }
  .tile-carousel__btn { display: none !important; }
  .tile-carousel__viewport {
    overflow: visible;
    height: auto !important;
  }
  .tile-carousel .tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: auto;
    transform: none !important;
    transition: none !important;
  }
  .tile-carousel .tile {
    flex: none;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 28px 24px;
  }
  /* Home cycle+form: tiles must stay 2×2 (overrides 4-col carousel desktop rule) */
  .cycle-contact .tile-carousel .tile-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 14px;
  }
  .cycle-contact .tile-carousel .tile {
    padding: 20px 18px;
    min-height: 0;
    height: 100%;
  }
}
@media (min-width: 761px) and (max-width: 980px) {
  .tile-carousel .tile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tile-carousel .tile-grid {
    transition: none !important;
  }
}

@media (max-width: 480px) {
  .hero-brand { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .btn { padding: 13px 20px; font-size: 0.9rem; }
}

/* Mobile pack-on-scroll: sticky runway + space under CTAs */
.pack-scroll { display: none; }
@media (max-width: 980px) {
  .hero {
    min-height: 0;
    display: block;
    padding: 12px 0 0;
    align-items: stretch;
    overflow: visible;
  }
  .hero-visual {
    overflow: visible;
  }
  .hero-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy {
    order: 0;
    padding: 4px 4px 0;
    justify-self: stretch;
    max-width: none;
  }
  .hero-actions {
    margin-bottom: 4px;
  }
  .hero-visual {
    order: 1;
    width: 100%;
    max-width: none;
    display: block;
    justify-self: stretch;
  }
  .hero-frame--desktop { display: none; }
  .banner-black {
    /* Pulled up over map+box; above the box in z so the card can cover it */
    margin-top: calc(-1 * (var(--pack-box-h, calc(var(--avt-vh) * 0.48)) + var(--pack-map-h, 42vw)));
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 5;
  }
  .banner-black-inner::after {
    height: 1.5rem;
  }
  .pack-scroll {
    display: block;
    height: var(--pack-runway, calc(var(--avt-vh) * 1.1));
    position: relative;
    margin: 0;
    background: #fff;
    overflow: visible;
  }
  .pack-scroll__sticky {
    /* Box only — short sticky fits below header (iOS Safari breaks tall stickies) */
    position: -webkit-sticky;
    position: sticky;
    top: var(--pack-sticky-top, calc(var(--header-h, 72px) - 52px));
    z-index: 3;
    display: block;
    width: 100%;
    padding: 0;
    background: transparent;
    box-sizing: border-box;
  }
  .pack-scroll__stage {
    width: min(100%, 560px);
    margin-inline: auto;
    position: relative;
    background: transparent;
    line-height: 0;
    overflow: hidden;
    /* Cap so box never needs more than the space under the header */
    /* Slack so map label («Enviamos a todo el mundo») is not clipped at the fold */
    max-height: calc(var(--avt-vh) - var(--pack-sticky-top, calc(var(--header-h, 72px) - 52px)) - var(--pack-map-h, 42vw) - 28px);
  }
  .pack-map {
    /* Own sticky under the box; width matches the black card so sides don't peek */
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--pack-sticky-top, calc(var(--header-h, 72px) - 52px)) + var(--pack-box-h, calc(var(--avt-vh) * 0.48)));
    z-index: 1;
    width: min(100% - 24px, 560px);
    max-width: 560px;
    margin-inline: auto;
    margin-top: 0;
    pointer-events: none;
    background: #fff;
    box-sizing: border-box;
  }
  .pack-map__canvas {
    position: relative;
    width: 100%;
    /* Shorter than 2:1 so Antarctica (south pole) is clipped */
    aspect-ratio: 2 / 0.82;
    overflow: hidden;
  }
  .pack-map__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
  }
  .pack-map__routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .pack-map__label {
    position: relative;
    z-index: 1;
    margin: 10px 0 8px;
    padding: 0 8px;
    text-align: center;
    font-family: var(--font-display), system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 12vw, 3.2rem);
    letter-spacing: -0.045em;
    line-height: 1.0;
    text-transform: none;
    color: var(--ink);
    white-space: normal;
  }
  .pack-scroll__fallback {
    position: relative;
    width: 100%;
    height: auto;
    max-height: inherit;
    display: block;
    object-fit: contain;
    background: transparent;
  }
  .pack-scroll__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: transparent;
  }
  .pack-scroll.is-ready .pack-scroll__fallback { opacity: 0; }
  .pack-scroll.is-ready .pack-scroll__canvas { opacity: 1; }
}
@media (min-width: 981px) {
  .pack-scroll { display: none !important; }
  .hero-frame--desktop { display: block; }
}
/* Wide service card: multimodal transport image */
.service-card--wide .service-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.service-card--wide .service-card-media img,
.service-card--wide .service-card-media .service-card-media__img {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: contain;
}
@media (max-width: 980px) {
  .service-card--wide .service-card-media img,
  .service-card--wide .service-card-media .service-card-media__img {
    max-height: none;
    object-fit: cover;
    object-position: 72% center; /* bias to plane + ship */
  }
}

/* AVT page-service */
.page-service .page-service__main {
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 80px;
}
.page-service .page-service__main > .container {
  max-width: 720px;
}
.page-service .page-service__main .section-title {
  margin-bottom: 16px;
}
.page-service .page-service__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.nav-sub a.is-active {
  color: var(--red);
  background: rgba(248,24,32,.06);
  font-weight: 700;
}

/* —— Service page: Asistencia al turista —— */
.page-service--assist .svc-hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 48px;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: clip;
}
.page-service--assist .svc-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-service--assist .svc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.page-service--assist .svc-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.35) 42%, rgba(10,10,10,.72) 100%),
    linear-gradient(90deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.15) 55%, rgba(10,10,10,.05) 100%);
}
/* Single-column hero copy; keep .container gutters (do NOT force width:100%) */
.page-service--assist .svc-hero__inner {
  display: block;
  width: min(calc(100% - 2 * var(--page-gutter)), var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.page-service--assist .svc-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin-bottom: 12px;
}
.page-service--assist .svc-hero__copy {
  color: var(--white);
  max-width: 36rem;
  padding-bottom: 8px;
}
.page-service--assist .svc-hero__copy h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--white);
}
.page-service--assist .svc-hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  margin-bottom: 26px;
  max-width: 40ch;
}

.page-service--assist .svc-prose {
  padding-top: 64px;
  padding-bottom: 32px;
}
.page-service--assist .svc-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.page-service--assist .svc-split--reverse .svc-split__text { order: 2; }
.page-service--assist .svc-split--reverse .svc-split__media { order: 1; }
.page-service--assist .svc-split__text h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.page-service--assist .svc-split__text p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 14px;
  max-width: 48ch;
}
.page-service--assist .svc-split__text p:last-child { margin-bottom: 0; }
.page-service--assist .svc-split__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray);
}
.page-service--assist .svc-split__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.page-service--assist .svc-split__media--square img {
  aspect-ratio: 1 / 1;
  min-height: 0;
}
.page-service--assist .svc-media-chip {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  width: max-content;
  max-width: calc(100% - 32px);
  display: block;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  background: rgba(10,10,10,.72);
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  padding: 8px 22px;
  border-radius: var(--pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.page-service--assist .svc-tiles {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding-top: 48px;
  padding-bottom: 24px;
}
.page-service--assist .svc-tiles .section-head {
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  background: transparent;
}
.page-service--assist .svc-tiles .section-title {
  position: relative;
  z-index: 1;
  background: transparent;
}
.page-service--assist .svc-tiles--six .tile-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) {
  .page-service--assist .svc-tiles--six .tile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Service pages: cycle + form side-by-side (reuse home .cycle-contact) */
.page-service--assist .cycle-contact.svc-tiles {
  padding-top: 56px;
  padding-bottom: 56px;
}
.page-service--assist .cycle-contact .section-head {
  flex: 0 0 auto;
}
@media (min-width: 981px) {
  /* Packaging 6 tiles: 2 cols × 3 rows (beat .svc-tiles--six 3-col) */
  .page-service--assist .cycle-contact.svc-tiles--six .tile-grid,
  .page-service--assist .cycle-contact.svc-tiles--six .tile-carousel .tile-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
  /* Partner sits under 2×2 grid inside left column */
  .page-service--assist .cycle-contact .svc-partner--in-cycle {
    flex: 0 0 auto;
    padding: 16px 0 0;
    background: transparent;
  }
  .page-service--assist .cycle-contact .svc-partner--in-cycle .svc-partner__inner {
    margin: 0;
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 980px) {
  .page-service--assist .cycle-contact.svc-tiles {
    padding-top: 36px;
    padding-bottom: 40px;
  }
  .page-service--assist .cycle-contact .svc-partner--in-cycle {
    padding: 14px 0 0;
    background: transparent;
  }
  .page-service--assist .cycle-contact .svc-partner--in-cycle .svc-partner__inner {
    margin: 0;
    max-width: none;
    width: 100%;
  }
}

/* Partner badge (profesionales / Llaves de Oro) */
.page-service--assist .svc-partner {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 28px 0 8px;
}
.page-service--assist .svc-partner__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: nowrap;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  text-align: left;
}
.page-service--assist .svc-partner__logo {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
}
.page-service--assist .svc-partner__text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text, #1a1a1a);
  font-weight: 500;
}
@media (max-width: 980px) {
  .page-service--assist .svc-partner {
    padding: 20px 0 4px;
  }
  .page-service--assist .svc-partner__inner {
    gap: 12px;
    padding: 12px 16px;
    max-width: 100%;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
  .page-service--assist .svc-partner__logo {
    width: 76px;
    height: 76px;
  }
  .page-service--assist .svc-partner__text {
    font-size: 0.88rem;
  }
}

.page-service--assist .cta-banner {
  padding-top: 24px;
}

/* Service pages: never pull banner up over pack (home-only trick) */
.page-service .banner-black {
  margin-top: 0 !important;
  padding: 8px 0 40px;
  position: relative;
  z-index: 1;
}
.page-service .banner-black-inner::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 980px) {
  .page-service--assist .svc-split,
  .page-service--assist .svc-split--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-service--assist .svc-split--reverse .svc-split__text,
  .page-service--assist .svc-split--reverse .svc-split__media {
    order: initial;
  }
}

@media (max-width: 760px) {
  .page-service--assist .svc-hero {
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 36px;
    min-height: 0;
  }
  /* Extra air so hero copy matches header inset (~20–24px) */
  .page-service--assist .svc-hero__inner {
    width: min(calc(100% - 2 * max(var(--page-gutter), 20px)), var(--container));
  }
  .page-service--assist .svc-prose {
    padding-top: 44px;
    padding-bottom: 20px;
  }
  .page-service--assist .svc-media-chip {
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    font-size: 0.72rem;
    padding: 7px 16px;
    white-space: nowrap;
    max-width: calc(100% - 24px);
  }
  .page-service--assist .svc-tiles {
    padding-top: 36px;
  }
  /* Keep 2×2 grid on mobile — not a vertical stack of pills */
  .page-service--assist .tile-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .page-service--assist .svc-tiles .tile {
    min-height: 0;
    padding: 18px 14px;
  }
  .page-service--assist .svc-tiles .tile-icon {
    margin-bottom: 12px;
  }
  .page-service--assist .svc-tiles .tile h3 {
    font-size: 0.98rem;
  }
  .page-service--assist .svc-tiles .tile p {
    font-size: 0.82rem;
  }
  .page-service .banner-black {
    margin-top: 0 !important;
    padding: 16px 0 32px;
    z-index: 1;
  }
}

/* —— Packaging service: criteria list —— */
.page-service--assist .svc-criteria {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  max-width: 48ch;
}
.page-service--assist .svc-criteria li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.page-service--assist .svc-criteria li:last-child { border-bottom: none; }
.page-service--assist .svc-criteria li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* —— Packaging mid-page photo carousel —— */
.svc-photo-carousel {
  padding-top: 24px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.svc-photo-carousel .section-head {
  margin-bottom: 22px;
}
.svc-photo-carousel .section-lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 52ch;
  margin: 8px 0 0;
}
.svc-photo-carousel__wrap {
  position: relative;
  max-width: min(calc(100% - 2 * var(--page-gutter)), var(--container));
  margin-inline: auto;
}
.svc-photo-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray);
  touch-action: pan-y;
}
.svc-photo-carousel__track {
  display: flex;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.svc-photo-carousel__track.is-instant {
  transition: none;
}
.svc-photo-carousel__slide {
  flex: 0 0 100%;
  margin: 0;
  min-width: 0;
}
.svc-photo-carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 730 / 340;
  object-fit: cover;
  background: #e8e8e8;
}
.svc-photo-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,0,0,.14);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.svc-photo-carousel__btn svg {
  width: 20px;
  height: 20px;
}
.svc-photo-carousel__btn--prev { left: 10px; }
.svc-photo-carousel__btn--next { right: 10px; }
.svc-photo-carousel__btn:hover,
.svc-photo-carousel__btn:focus-visible {
  background: #fff;
  outline: none;
}
.svc-photo-carousel__btn:active {
  transform: translateY(-50%) scale(0.96);
}
.svc-photo-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  padding: 0 8px;
}
.svc-photo-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0,0,0,.18);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.svc-photo-carousel__dot.is-active {
  background: var(--red);
  transform: scale(1.15);
}
.svc-photo-carousel__dot:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
@media (max-width: 760px) {
  .svc-photo-carousel {
    padding-top: 12px;
    padding-bottom: 28px;
  }
  .svc-photo-carousel__btn {
    width: 36px;
    height: 36px;
  }
  .svc-photo-carousel__btn--prev { left: 6px; }
  .svc-photo-carousel__btn--next { right: 6px; }
  .svc-photo-carousel__dots { gap: 6px; margin-top: 12px; }
  .svc-photo-carousel__dot { width: 7px; height: 7px; }
  /* 6 tiles → keep 2×3 on packaging */
  .page-service--assist .svc-tiles .tile-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* Packaging: shorter hero; ~2× air under header vs prior tweak */
.page-service--packaging .svc-hero {
  padding-top: 112px;
  padding-bottom: 28px;
  min-height: 0;
  align-items: flex-start;
}
.page-service--packaging .svc-hero__copy {
  padding-top: 20px;
  padding-bottom: 0;
}
.page-service--packaging .svc-hero__copy h1 {
  margin-top: 0;
}
.page-service--packaging .svc-hero__lead {
  margin-bottom: 18px;
}
@media (max-width: 760px) {
  .page-service--packaging .svc-hero {
    padding-top: 72px;
    padding-bottom: 22px;
    min-height: 0;
    align-items: flex-start;
  }
}

/* Floating WhatsApp — appears in right page gutter when hero .hero-wa leaves viewport */
.wa-floater {
  position: fixed;
  z-index: 40; /* above page content; below header (50), nav-overlay (45), mobile chrome */
  bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 20px));
  /* Sit in the empty right margin (half of side gutter), clamped near the edge */
  right: max(16px, calc((100vw - var(--container)) / 4 - 28px));
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #32D951;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.wa-floater.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.wa-floater__icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .wa-floater.is-visible:hover {
    transform: scale(1.06);
    opacity: 0.95;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-floater {
    transition: none;
    transform: none;
  }
  .wa-floater.is-visible {
    transform: none;
  }
  .wa-floater.is-visible:hover {
    transform: none;
  }
}
/* Hero WA is desktop-only; keep floater off on mobile to avoid clashing with .header-wa pill */
@media (max-width: 980px) {
  .wa-floater {
    display: none !important;
  }
}

/* —— About / Nosotros —— */
.page-about .svc-hero__media img {
  object-position: center 28%;
}
.page-about .svc-prose--last {
  padding-bottom: 80px;
}
.about-plazos {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  max-width: 36rem;
  border-top: 1px solid rgba(0,0,0,.08);
}
.about-plazos li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 1.02rem;
}
.about-plazos__place {
  color: var(--muted);
  font-weight: 500;
}
.about-plazos__hours {
  color: var(--black, #0a0a0a);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.about-closing {
  max-width: none;
}
.about-closing > h2 {
  max-width: 40rem;
}
.about-closing h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.about-closing p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 14px;
}
.about-closing__cta {
  margin-top: 28px;
  margin-bottom: 0;
}
.nav-links > a.is-active {
  color: var(--red);
  font-weight: 700;
}

/* —— About press + Instagram —— */
.about-prensa {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}
.about-prensa__links {
  min-width: 0;
}
.about-prensa__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,.08);
}
.about-prensa__item {
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.about-prensa__item > a,
.about-prensa__video-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 18px 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.about-prensa__video-btn:focus-visible,
.about-prensa__item > a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .about-prensa__item > a:hover .about-prensa__title,
  .about-prensa__video-btn:hover .about-prensa__title {
    color: var(--red);
  }
}
.about-prensa__outlet {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.about-prensa__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--black);
}
.about-prensa__meta {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}
.about-prensa__embed {
  position: relative; /* contain IG embed iframe (position:absolute during load) */
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  min-width: 0;
  overflow: hidden;
  /* prevent absolute iframe from expanding page scrollWidth */
  contain: inline-size;
}
.about-prensa__embed .instagram-media,
.about-prensa__embed iframe {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 auto !important;
  left: 0 !important;
  right: 0 !important;
  box-sizing: border-box !important;
}
@media (min-width: 981px) {
  .about-prensa {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 56px;
    align-items: start;
  }
  .about-prensa__embed {
    margin-inline: 0;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 480px) {
  .about-prensa {
    gap: 28px;
    margin-top: 22px;
  }
  .about-prensa__item > a,
  .about-prensa__video-btn {
    padding: 16px 0;
  }
  .about-prensa__title {
    font-size: 1rem;
  }
}

/* —— About: polaroid collage + contact form —— */
.about-prensa-cta {
  padding-top: 28px;
}
@media (min-width: 981px) {
  .about-prensa-cta {
    padding-top: 88px;
  }
}
.about-prensa-cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.about-prensa-collage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  min-height: 380px;
  height: clamp(360px, 52vw, 460px);
}
.about-prensa-collage__shot {
  position: absolute;
  margin: 0;
  background: #fff;
  padding: 12px 12px 36px;
  border-radius: 3px;
  box-shadow:
    0 2px 4px rgba(0,0,0,.06),
    0 14px 36px rgba(0,0,0,.16),
    0 0 0 1px rgba(0,0,0,.04);
  width: min(58%, 280px);
}
.about-prensa-collage__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: #eee;
}
.about-prensa-collage__shot--b img {
  object-position: center 40%;
}
.about-prensa-collage__shot--a {
  left: 4%;
  top: 8%;
  z-index: 2;
  transform: rotate(-7deg);
}
.about-prensa-collage__shot--b {
  right: 2%;
  bottom: 4%;
  z-index: 3;
  width: min(62%, 300px);
  transform: rotate(8deg);
  padding-bottom: 40px;
}
.about-prensa-cta__form {
  min-width: 0;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.about-prensa-cta__form .cta-inner {
  width: 100%;
  box-sizing: border-box;
  padding: 28px 28px;
}
.about-prensa-cta__form .cta-copy h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  margin-bottom: 8px;
}
.about-prensa-cta__form .cta-copy p {
  font-size: 0.92rem;
  max-width: none;
}
.about-prensa-cta__form .cta-form {
  gap: 12px;
}
.about-prensa-cta__form .cta-field input,
.about-prensa-cta__form .cta-field textarea {
  padding: 10px 12px;
  font-size: 0.9rem;
}
.about-prensa-cta__form .cta-field textarea {
  min-height: 84px;
}
@media (min-width: 981px) {
  .about-prensa-cta__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
  }
  .about-prensa-collage {
    margin-inline: 0;
    max-width: none;
    height: 480px;
    min-height: 480px;
  }
  .about-prensa-collage__shot {
    width: min(56%, 320px);
  }
  .about-prensa-collage__shot--b {
    width: min(60%, 340px);
  }
  .about-prensa-cta__form {
    margin-inline: 0;
    max-width: none;
    justify-self: stretch;
  }
}
@media (max-width: 600px) {
  .about-prensa-collage {
    height: 340px;
    min-height: 340px;
  }
  .about-prensa-collage__shot {
    width: min(62%, 220px);
    padding: 10px 10px 28px;
  }
  .about-prensa-collage__shot--b {
    width: min(66%, 240px);
  }
  .about-prensa-cta__form .cta-inner {
    padding: 22px 18px;
  }
  .about-prensa-cta__form .cta-form-row {
    grid-template-columns: 1fr;
  }
}

/* —— Press video modal —— */
.prensa-video-modal[hidden] { display: none !important; }
.prensa-video-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.prensa-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}
.prensa-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  background: #0b0b0b;
  border-radius: 12px;
  padding: 16px 16px 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.prensa-video-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .prensa-video-modal__close:hover {
    background: rgba(255,255,255,.12);
  }
}
.prensa-video-modal__title {
  margin: 0 44px 12px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.prensa-video-modal__video {
  display: block;
  width: 100%;
  max-height: min(70vh, 520px);
  background: #000;
  border-radius: 8px;
}
body.prensa-video-modal-open {
  overflow: hidden;
}

/* —— FAQ accordion —— */
.faq-page {
  padding: 56px 0 80px;
}
.faq-page__inner {
  max-width: 820px;
}
.faq-page h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.faq-page__lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 36px;
  max-width: 42rem;
}
.faq-list {
  border-top: 1px solid rgba(0,0,0,.1);
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.faq-item__q {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.faq-item__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 20px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.faq-item__btn:hover,
.faq-item__btn:active,
.faq-item__btn:focus {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none;
}
.faq-item__btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.faq-item,
.faq-item__q {
  -webkit-tap-highlight-color: transparent;
}
.faq-item__q-text {
  flex: 1 1 auto;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--black);
}
.faq-item__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--red);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 1px;
  transition: transform .28s ease, opacity .2s ease;
}
.faq-item__icon::before {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq-item__icon::after {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}
.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-item.is-open .faq-item__icon::before {
  transform: translate(-50%, -50%) rotate(180deg);
}
@media (hover: hover) and (pointer: fine) {
  .faq-item__btn:hover .faq-item__q-text {
    color: var(--red);
  }
}
.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease,
    visibility 0s linear 0.45s;
}
.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease 0.04s,
    visibility 0s linear 0s;
}
.faq-item__panel-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-item__a {
  padding: 0 42px 22px 0;
  transform: translateY(-6px);
  opacity: 0.35;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}
.faq-item.is-open .faq-item__a {
  transform: translateY(0);
  opacity: 1;
}
.faq-item__a p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item__panel,
  .faq-item.is-open .faq-item__panel,
  .faq-item__a,
  .faq-item.is-open .faq-item__a {
    transition: none;
    transform: none;
  }
  .faq-item__panel {
    opacity: 0;
    visibility: hidden;
  }
  .faq-item.is-open .faq-item__panel {
    opacity: 1;
    visibility: visible;
  }
  .faq-item__a {
    opacity: 1;
  }
  .faq-item__icon::before,
  .faq-item__icon::after {
    transition: none;
  }
}
@media (max-width: 600px) {
  .faq-page {
    padding: 36px 0 56px;
  }
  .faq-item__btn {
    padding: 16px 0;
    gap: 14px;
  }
  .faq-item__q-text {
    font-size: 0.98rem;
  }
  .faq-item__a {
    padding-right: 28px;
    padding-bottom: 18px;
  }
}

/* —— Contact page —— */
.contact-page {
  padding: 56px 0 80px;
}
.contact-page__inner {
  max-width: 1100px;
}
.contact-page h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.contact-page__lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 36px;
  max-width: 42rem;
}
.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.contact-page__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.contact-details {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-details__item {
  display: grid;
  gap: 4px;
}
.contact-details__item--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  align-items: start;
}
.contact-details__item--pair > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.contact-details__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.contact-details__item a,
.contact-details__item > span:not(.contact-details__label),
.contact-details__item--pair a {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--black);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-details__item a {
  transition: color .15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .contact-details__item a:hover {
    color: var(--red);
  }
}
.contact-map {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #f2f2f2;
  aspect-ratio: 4 / 3;
  min-height: 240px;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-page__form {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.contact-page__form .cta-inner {
  width: 100%;
  box-sizing: border-box;
  padding: 28px 28px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.contact-page__form .cta-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.contact-page__form .cta-copy h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  margin-bottom: 8px;
}
.contact-page__form .cta-copy p {
  font-size: 0.92rem;
  max-width: none;
}
.contact-page__form .cta-form {
  gap: 12px;
  flex: 1 1 auto;
}
.contact-page__form .cta-field input,
.contact-page__form .cta-field textarea {
  padding: 10px 12px;
  font-size: 0.9rem;
}
.contact-page__form .cta-field textarea {
  min-height: 84px;
}
@media (min-width: 981px) {
  .contact-page__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: stretch;
  }
  .contact-page__info {
    height: 100%;
  }
  .contact-map {
    flex: 1 1 auto;
    aspect-ratio: auto;
    min-height: 280px;
    height: auto;
  }
  .contact-page__form {
    height: 100%;
  }
  .contact-page__form .cta-inner {
    height: 100%;
  }
}
@media (max-width: 480px) {
  .contact-details__item--pair {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .contact-page {
    padding: 36px 0 56px;
  }
  .contact-page__form .cta-inner {
    padding: 22px 18px;
  }
  .contact-page__form .cta-form-row {
    grid-template-columns: 1fr;
  }
}
#contacto.contact-page,
.contact-page {
  scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px);
}

/* Packaging: equal air above/below eco-friendly block */
.page-service--packaging .svc-prose--eco { padding-top: 0; padding-bottom: 57.25px; }
@media (max-width: 767px) { .page-service--packaging .svc-prose--eco { padding-top: 0; padding-bottom: 28px; } }

/* Carousel overlay chip (reuses .svc-media-chip style) */
.page-service--assist .svc-media-chip.svc-photo-carousel__chip {
  left: 16px;
  top: 16px;
  bottom: auto;
  transform: none;
  z-index: 3;
  pointer-events: none;
  max-width: calc(100% - 32px);
}
@media (max-width: 760px) {
  .page-service--assist .svc-media-chip.svc-photo-carousel__chip {
    left: 12px;
    top: 12px;
    bottom: auto;
    transform: none;
    max-width: calc(100% - 24px);
  }
}
/* Packaging: phytosanitary stamp beside workshop heading */
.svc-seal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.svc-seal-head__text { min-width: 0; flex: 1 1 auto; }
.svc-seal {
  flex: 0 0 auto;
  margin: 0;
  width: 132px;
  text-align: center;
}
.svc-seal img {
  display: block;
  width: 100%;
  height: auto;
}
.svc-seal figcaption {
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--muted);
}
@media (max-width: 760px) {
  .svc-seal-head { gap: 14px; }
  .svc-seal { width: 96px; }
  .svc-seal figcaption { font-size: 0.72rem; }
}
@media (max-width: 760px) {
  .svc-seal-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title title" "lead seal";
    align-items: center;
    column-gap: 14px;
    row-gap: 12px;
  }
  .svc-seal-head__text { display: contents; }
  .svc-seal-head__text > .section-title { grid-area: title; }
  .svc-seal-head__text > .section-lead { grid-area: lead; margin-top: 0; }
  .svc-seal-head > .svc-seal { grid-area: seal; align-self: center; }
}

/* Profesionales: intro text + Clefs d'Or badge, same height as photo (desktop) */
.page-service--assist .svc-split--partner .svc-partner {
  padding: 24px 0 0;
  background: transparent;
}
.page-service--assist .svc-split--partner .svc-partner__inner {
  margin: 0;
}
@media (min-width: 981px) {
  .page-service--assist .svc-split--partner {
    align-items: stretch;
  }
  .page-service--assist .svc-split--partner .svc-split__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .page-service--assist .svc-split--partner .svc-split__media img {
    position: absolute;
    inset: 0;
    min-height: 0;
  }
  .page-service--assist .svc-split--partner .svc-split__media {
    min-height: 280px;
  }
}

/* Contact page: social block beside title/lede */
.contact-page__head { display: grid; grid-template-columns: 1fr; gap: 0 56px; margin: 0 0 36px; }
.contact-page__head .contact-page__lede { margin-bottom: 0; }
.contact-social { margin-top: 24px; }
.contact-social__title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.contact-social__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.contact-social__link {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--white); border: 1px solid rgba(0,0,0,.08);
  display: grid; place-items: center; color: var(--ink);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.contact-social__link svg { width: 30px; height: 30px; display: block; }
@media (hover: hover) and (pointer: fine) {
  .contact-social__link:hover { background: var(--black); border-color: var(--black); color: var(--white); transform: translateY(-1px); }
  .contact-social__link--wa:hover { background: #25D366; border-color: #25D366; color: var(--white); }
}
@media (min-width: 981px) {
  .contact-page__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .contact-social { margin-top: 0; }
}
@media (max-width: 600px) {
  .contact-social__link { width: 60px; height: 60px; }
  .contact-social__link svg { width: 26px; height: 26px; }
}
.footer-col--contact { display: flex; flex-direction: column; }
.footer-partner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
}
@media (min-width: 981px) {
  /* stick partner to the bottom, next to the footer separator line */
  .footer-col--contact .footer-partner { margin-top: auto; }
  .footer-grid:has(.footer-partner) { padding-bottom: 22px; }
  .footer-col--contact .footer-contact { margin-bottom: 24px; }
}
.footer-partner img {
  width: 240px;
  max-width: 100%;
  height: auto;
}
.cta-form-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink);
}
.cta-form-secure__icon {
  flex: 0 0 auto;
  height: calc(2 * 1.45em);
  width: auto;
  aspect-ratio: 1 / 1;
  color: #1f8a4c;
}
@media (max-width: 980px) {
  .footer-partner { border-top: 0; padding-top: 0; }
  .footer-partner::before {
    content: "";
    display: block;
    width: 240px;
    max-width: 100%;
    height: 1px;
    background: rgba(0,0,0,.08);
    margin-bottom: 12px;
  }
}
@media (max-width: 600px) {
  .cta-form-secure { align-items: flex-start; }
  .cta-form-secure__icon { height: calc(3 * 1.45em); width: calc(3 * 1.45em); }
}
@media (min-width: 411px) and (max-width: 600px) {
  .cta-form-secure__icon { height: calc(2 * 1.45em); width: calc(2 * 1.45em); }
}
@media (max-width: 345px) {
  .cta-form-secure__icon { height: calc(4 * 1.45em); width: calc(4 * 1.45em); }
}

/* Nosotros: May BCN Solutions partner badge (same component as Clefs d'Or, larger logo) */
.page-about .about-partner-sec { padding-top: 0; padding-bottom: 0; }
.page-about .svc-partner--may { padding: 8px 0; background: transparent; }
.page-about .svc-partner--may .svc-partner__inner {
  max-width: none; width: 100%; box-sizing: border-box; margin-left: 0; margin-right: 0; gap: 28px; padding: 22px 28px;
}
.page-about .svc-partner__logo--may {
  width: 300px; height: auto; max-width: 100%; aspect-ratio: 640 / 72;
}
.page-about .svc-partner__body { flex: 1 1 auto; min-width: 0; padding-left: 24px; border-left: 1px solid rgba(0,0,0,0.08); }
.page-about .svc-partner__kicker {
  margin: 0 0 4px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #b91c1c;
}
@media (hover: hover) and (pointer: fine) {
  .page-about .svc-partner--may .svc-partner__inner { transition: box-shadow .2s ease; }
  .page-about .svc-partner--may .svc-partner__inner:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
}
@media (max-width: 760px) {
  .page-about .svc-partner--may .svc-partner__inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 20px 18px; }
  .page-about .svc-partner__logo--may { width: 220px; height: auto; }
  .page-about .svc-partner__body { padding-left: 0; border-left: 0; }
}

/* i18n: short language codes in mobile pills (5 languages) */
@media (max-width: 760px) {
  .lang-menu__opt[data-short] { font-size: 0; }
  .lang-menu__opt[data-short]::after { content: attr(data-short); font-size: 0.78rem; }
}
/* i18n: long FR/DE words wrap safely */
html[lang="de"] h1, html[lang="de"] h2, html[lang="de"] h3,
html[lang="fr"] h1, html[lang="fr"] h2, html[lang="fr"] h3 { overflow-wrap: break-word; }
html[lang="de"] .tile, html[lang="fr"] .tile { min-width: 0; }
html[lang="de"] .tile h3, html[lang="de"] .tile p, html[lang="fr"] .tile h3, html[lang="fr"] .tile p { overflow-wrap: break-word; hyphens: auto; }

/* Logo A: slightly smaller on very narrow phones */
@media (max-width: 360px) {
  .logo { max-width: 205px; } /* ~28px tall */
}

@media (min-width: 761px) {
  .logo { flex: 0 1 auto; }
}


/* Privacy consent (forms) */
.cta-privacy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.cta-privacy__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.cta-privacy__check input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 1.15em;
  height: 1.15em;
  min-width: 1.15em;
  min-height: 1.15em;
  margin: 0.15em 0 0;
  padding: 0;
  flex: 0 0 auto;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: var(--white);
  box-shadow: none;
  accent-color: var(--ink);
  cursor: pointer;
}
.cta-field .cta-privacy__check input[type="checkbox"] {
  width: 1.15em;
  height: 1.15em;
  padding: 0;
  border-radius: 3px;
}
.cta-privacy__check input[type="checkbox"].cta-invalid,
.cta-field input[type="checkbox"].cta-invalid {
  border-color: var(--red);
  outline: 2px solid var(--red);
  box-shadow: 0 0 0 3px rgba(248, 24, 32, 0.18);
}
.cta-privacy__check a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cta-privacy__info {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
}
.cta-privacy__info a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}

.cta-privacy__clip {
  position: relative;
}
.cta-privacy__clip.is-clamped:not(.is-expanded) .cta-privacy__info {
  overflow: hidden;
}
.cta-privacy__clip.is-fitting .cta-privacy__info {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.cta-privacy__more {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}
.cta-privacy__more[hidden] {
  display: none;
}
.cta-privacy__more:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}
/* Collapsed: control at the end of the 2nd line. JS trims on a word boundary; a short fade is only a safety net. */
.cta-privacy__clip.is-clamped:not(.is-expanded) .cta-privacy__more {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 0.15em;
  background: var(--cta-privacy-bg, var(--gray));
  box-shadow: -0.35em 0 0.35em 0 var(--cta-privacy-bg, var(--gray));
}
.cta-privacy__clip.is-clamped:not(.is-expanded) .cta-privacy__more::before {
  content: "…";
  display: inline-block;
  margin-right: 0.2em;
  text-decoration: none;
}
/* Expanded: full text, control inline after the last sentence */
.cta-privacy__clip.is-expanded .cta-privacy__info {
  display: inline;
}
.cta-privacy__clip.is-expanded .cta-privacy__more {
  position: static;
  display: inline;
  padding-left: 0.4em;
  background: none;
  box-shadow: none;
  max-width: none;
}


/* Google Maps click-to-load */
.contact-map {
  position: relative;
}
.contact-map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: #f2f2f2;
}
.contact-map.is-loaded .contact-map__placeholder {
  display: none;
}
.contact-map__notice {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
  max-width: 28em;
}
