/* The hero moves between the four exterior views with a slow, continuous crossfade. */
.tour-invitation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  margin-top: 48px;
  padding: clamp(28px, 4vw, 56px);
  color: var(--paper);
  background: var(--ink);
}
.tour-invitation-kicker {
  color: var(--sun);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.tour-invitation-copy h3 {
  margin-top: 15px;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.tour-invitation-copy > p:last-child {
  max-width: 38ch;
  margin-top: 13px;
  font-size: 16px;
  line-height: 1.5;
}
.tour-invitation-actions {
  display: grid;
  gap: 17px;
  justify-items: start;
}
.tour-invitation-main {
  min-width: 270px;
}
.tour-type-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 14px;
  line-height: 1.4;
}
.tour-type-links > span {
  flex-basis: 100%;
  opacity: 0.8;
}
.tour-type-links a {
  color: var(--sun);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tour-invitation .tour-arrow {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
}
.tour-invitation-main .tour-arrow {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
}
.tour-invitation a:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 4px;
}
.type-tour-link {
  margin: 0 12px 12px 0;
}
@media (min-width: 1101px) and (max-width: 1200px) {
  .site-header {
    gap: 20px;
  }
  .desktop-nav {
    gap: 16px;
  }
  .desktop-nav .header-model {
    gap: 10px;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }
  .header-contact {
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
  }
}
@media (max-width: 760px) {
  .menu-dialog nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: clamp(22px, 6.4vw, 30px);
  }
  .menu-dialog nav sup {
    float: none;
    flex: none;
    margin-top: 0;
  }
  .tour-invitation {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 36px;
  }
  .tour-invitation-actions,
  .tour-invitation-main {
    width: 100%;
    min-width: 0;
  }
  .type-tour-link {
    margin-right: 0;
  }
}

.hero-visual[data-hero-slider] {
  isolation: isolate;
  background: #43554d;
}
.hero-visual[data-hero-slider] .hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.12);
  animation: none;
  pointer-events: none;
  transition:
    opacity 2600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 14000ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.hero-visual[data-hero-slider] .hero-slide > .hero-image {
  display: block;
  width: 100%;
  height: 100%;
  transform: none;
  animation: none;
  object-fit: cover;
  will-change: auto;
}
.hero-visual[data-hero-slider] .hero-slide.is-active {
  opacity: 1;
  transform: scale(1.025);
}
.hero-visual[data-hero-slider] .hero-slide.is-active.is-initial {
  transform: scale(1.12);
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual[data-hero-slider] .hero-slide {
    transform: none;
    transition: none;
  }
}

/* Give mobile a little breathing room below the hero without clipping the copy. */
@media (max-width: 760px) {
  .hero {
    height: 95svh;
    min-height: min(740px, 95svh);
    max-height: 900px;
  }
}

/* Three typologies retain generous diagrams and touch targets at small widths. */
.home-choice:nth-child(3) .choice-visual > img {
  object-fit: contain;
  object-position: center;
}
.home-explorer[data-type='c'] .delivery-stage > img,
.compare-wrapper[data-compare-type='c'] .compare-stage {
  aspect-ratio: 1800 / 1705;
}
.type-c-plan {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.type-c-plan[hidden] {
  display: none;
}
.type-c-plan img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.type-c-plan figcaption {
  margin-top: 16px;
  font-size: 14px;
}
.sales-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0;
}
.sales-contact span {
  font-size: 14px;
}
.sales-contact a {
  font-size: clamp(24px, 3vw, 32px);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.sales-contact .sales-address {
  font-size: 16px;
  text-underline-offset: 4px;
}
footer > .sales-contact {
  grid-column: 1 / -1;
  width: 100%;
}
.visit-destinations {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.visit-destinations article {
  border-top: 1px solid var(--ink);
  padding: 24px 0;
}
.visit-destinations h3 {
  font-size: 28px;
  margin: 16px 0;
}
.visit-destinations p {
  max-width: 40ch;
}
.visit-destinations a {
  display: block;
  width: fit-content;
  margin-top: 20px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.visit-destinations .sales-address + a {
  margin-top: 10px;
}
.location-section {
  row-gap: 48px;
}
.type-navigation {
  flex-wrap: wrap;
  gap: 12px 24px;
}

/* Contact WhatsApp CTA: keep the mark compact and visible on the light panel. */
.contact-flow .whatsapp-contact {
  margin-top: 28px;
}
.contact-flow .whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-flow .whatsapp-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #25d366;
}
.contact-flow .whatsapp-symbol img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.contact-flow .whatsapp-label {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}
.contact-flow .whatsapp-link:hover {
  color: var(--ink);
}
.contact-flow .whatsapp-link:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}
.contact-flow .whatsapp-contact > p {
  max-width: 42rem;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Keep the contact details in one visual system: one ink tone, shared rhythm. */
.contact-flow .contact-flow-footer,
.contact-flow .sales-contact,
.contact-flow .whatsapp-contact {
  color: var(--ink);
}
.contact-flow .sales-contact {
  gap: 12px;
  padding: 24px 0 0;
}
.contact-flow .sales-contact > span,
.contact-flow .sales-contact a,
.contact-flow .whatsapp-label,
.contact-flow .whatsapp-contact > p {
  color: var(--ink);
}
.contact-flow .sales-contact > span {
  font-size: 14px;
  line-height: 1.4;
}
.contact-flow .sales-contact a {
  display: block;
  width: fit-content;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.contact-flow .sales-contact .sales-address {
  font-size: 17px;
}
.contact-flow .sales-contact > a[href^='tel:'] {
  font-size: clamp(24px, 3vw, 32px);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.contact-flow .whatsapp-contact {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
  .contact-flow .whatsapp-link {
    width: fit-content;
    max-width: 100%;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .home-pair {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .choice-facts {
    flex-direction: column;
    align-items: start;
  }
  .choice-register {
    align-items: start;
    flex-direction: column;
  }
  .comparison-options {
    gap: 16px;
  }
  .comparison-options article {
    padding: 20px 16px;
  }
}
@media (max-width: 900px) {
  .home-pair,
  .comparison-options {
    grid-template-columns: 1fr;
  }
  .type-c-plan {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .visit-destinations {
    grid-template-columns: 1fr;
    grid-row: auto;
  }
  .type-navigation {
    gap: 8px;
  }
  .type-navigation .type-button {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    font-size: 22px;
  }
  .type-nav-note {
    flex-basis: 100%;
  }
  .compare-type-picker button {
    flex-direction: column;
    align-items: start;
    gap: 6px;
    padding: 12px 8px;
  }
  .compare-type-picker button span {
    font-size: 12px;
  }
}
