@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.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;
}
:root {
  --navy: #274d60;
  --navy-dark: #1d3947;
  --blue: #4896bc;
  --sky: #4896bc;
  --ice: #f1f7f9;
  --ink: #333333;
  --muted: #46545b;
  --white: #ffffff;
  --line: #cbdce4;
  --shadow: 0 18px 48px rgba(39, 77, 96, 0.16);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  overflow: visible;
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(39, 77, 96, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.brand > span:last-child {
  display: flex;
  min-height: 58px;
  align-items: center;
  line-height: 1.22;
}

.brand-mark {
  display: grid;
  width: 132px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateY(-3px);
}

.nav {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 54px;
  padding: 6px;
  border: 1px solid rgba(216, 231, 241, 0.9);
  border-radius: 999px;
  background: rgba(238, 247, 252, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  overflow: visible;
  font-size: 0.92rem;
}

.nav a,
.nav summary,
.header-action {
  opacity: 1;
}

.nav a:hover,
.nav summary:hover,
.header-action:hover {
  opacity: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 400;
  list-style: none;
}

.nav a,
.nav-link {
  justify-content: center;
  min-width: 92px;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--navy);
  white-space: nowrap;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav-link:hover,
.nav-link:focus-visible,
.nav > a[aria-current="page"],
.dropdown[open] > .nav-link {
  color: var(--navy-dark);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(39, 77, 96, 0.1);
  transform: translateY(-1px);
}

.nav a:focus-visible,
.nav-link:focus-visible,
.dropdown-menu a:focus-visible {
  outline: 3px solid rgba(72, 150, 188, 0.32);
  outline-offset: 3px;
}

.nav-link::-webkit-details-marker {
  display: none;
}

.nav-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  left: 50%;
  width: clamp(292px, 28vw, 360px);
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: var(--white);
  transform: translateX(-50%) rotate(45deg);
}

.dropdown-menu a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 11px 12px 11px 14px;
  border-radius: 6px;
  color: var(--navy);
  opacity: 1;
  font-weight: 700;
}

.dropdown-menu a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.42;
  transform: rotate(-45deg);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--ice);
}

.dropdown-menu a[aria-current="page"] {
  color: var(--navy-dark);
  background: var(--ice);
}

.dropdown[open] .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown[open] > .nav-link::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(39, 77, 96, 0.18);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(72, 150, 188, 0.32);
  outline-offset: 3px;
}

.button.primary {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(39, 77, 96, 0.18);
}

.button.primary:hover,
.button.primary:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 13px 28px rgba(39, 77, 96, 0.24);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--navy);
  border-color: var(--white);
  background: var(--white);
}

.button.light {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(39, 77, 96, 0.08);
}

.button.light:hover,
.button.light:focus-visible {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.service-actions .button.primary,
.visa-body > .button.primary {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(72, 150, 188, 0.24);
}

.service-actions .button.primary:hover,
.service-actions .button.primary:focus-visible,
.visa-body > .button.primary:hover,
.visa-body > .button.primary:focus-visible {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 16px 32px rgba(39, 77, 96, 0.22);
}
.button.payment-button {
  color: var(--navy);
  background: #eef7fc;
  border: 2px solid #8fc9df;
  box-shadow: none;
}

.button.payment-button:hover,
.button.payment-button:focus-visible {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 14px 28px rgba(0, 63, 118, 0.18);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 470px);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding: 132px clamp(22px, 6vw, 80px) 84px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(72, 150, 188, 0.45), transparent 30%),
    linear-gradient(135deg, var(--navy-dark), var(--navy) 54%, #4896bc);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 520px;
  height: 520px;
  border: 42px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.hero-content,
.hero-card {
  border-radius: 8px;
  padding: 28px;
  color: var(--ink);
  border: 1px solid rgba(15, 78, 125, 0.12);
  background: linear-gradient(145deg, #ffffff 0%, #f5f8fa 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  display: block;
  height: 7px;
  margin: -28px -28px 22px;
  background: linear-gradient(90deg, var(--sky), var(--blue), var(--navy));
}

.hero-card-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-card-brand .logo-img {
  width: min(190px, 52%);
  max-height: 88px;
  object-fit: contain;
  object-position: left center;
}

.hero-card-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ice);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card .hero-card-kicker {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card h2 {
  max-width: 440px;
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.04;
}

.hero-card .hero-card-intro {
  max-width: 510px;
  margin: 12px 0 0;
  color: var(--muted);
}

.hero-card-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-card-links a {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 0 13px;
  color: var(--navy);
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: color 160ms ease;
}

.hero-card-links a:first-child { padding-left: 0; }
.hero-card-links a:last-child { padding-right: 0; border-right: 0; }
.hero-card-links a:hover,
.hero-card-links a:focus-visible { color: var(--blue); }
.hero-card-links strong { font-size: 0.9rem; }
.hero-card-links small { color: var(--muted); font-size: 0.7rem; line-height: 1.35; }
.hero-card-list { margin: 0; }
.hero-card-list li + li { margin-top: 8px; }

.hero-card-button {
  width: 100%;
  margin-top: 20px;
}
.page-main {
  padding-top: 90px;
}

.page-hero {
  display: grid;
  gap: 18px;
  padding: 92px clamp(22px, 6vw, 80px);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 8%, rgba(72, 150, 188, 0.4), transparent 30%),
    linear-gradient(135deg, var(--navy-dark), var(--navy) 58%, #4896bc);
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
}

.page-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.service-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 880px;
  margin-top: 4px;
}

.service-jump-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-jump-links a:hover,
.service-jump-links a:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.logo-lockup {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
}

.logo-img {
  width: min(320px, 100%);
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

.logo-lockup strong {
  font-size: 1.15rem;
}

.logo-lockup small {
  color: var(--blue);
  font-weight: 800;
}

.hero-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sky);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
}

.intro p:last-child,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  margin-bottom: 28px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.promotions {
  padding-top: 36px;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.slides {
  display: flex;
  width: 200%;
  animation: promoSlide 10s infinite;
}

.slider:hover .slides {
  animation-play-state: paused;
}

.slide {
  width: 50%;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(12px, 3vw, 26px);
  background:
    radial-gradient(circle at 10% 10%, rgba(72, 150, 188, 0.22), transparent 28%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.slide img {
  width: min(100%, 720px);
  max-height: 740px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(0, 20, 48, 0.28);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.slider-dots span {
  width: 46px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.slider-dots span:first-child {
  animation: dotOne 10s infinite;
}

.slider-dots span:last-child {
  animation: dotTwo 10s infinite;
}

.excursion-showcase {
  width: 100%;
  padding: 44px clamp(20px, 5vw, 58px);
  scroll-margin-top: 90px;
  background:
    linear-gradient(135deg, rgba(238, 247, 252, 0.96), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 8% 20%, rgba(72, 150, 188, 0.18), transparent 32%);
  border-bottom: 1px solid var(--line);
}

.excursion-showcase-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
}

.excursion-carousel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.excursion-promo-frame {
  position: relative;
  min-height: 460px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(216, 231, 241, 0.92);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(72, 150, 188, 0.18), transparent 36%),
    linear-gradient(135deg, #f5f8fa, #eaf2f5);
  box-shadow: var(--shadow);
}

.excursion-promo-frame:focus-visible {
  outline: 3px solid rgba(72, 150, 188, 0.45);
  outline-offset: 4px;
}

.excursion-promo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  place-items: center;
  margin: 0;
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.012);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.excursion-promo-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.excursion-promo-frame:not(.is-ready) .excursion-promo-slide:first-of-type {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.excursion-promo-slide img,
.excursion-promo-slide video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 6px;
  background: var(--white);
}

.excursion-promo-slide.is-promo img,
.excursion-promo-slide.is-promo video {
  object-fit: contain;
  padding: 10px;
  box-shadow: inset 0 0 0 1px rgba(216, 231, 241, 0.8);
}

.excursion-promo-slide figcaption {
  position: static;
  justify-self: start;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 20, 48, 0.18);
}

.excursion-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--white);
  background: rgba(39, 77, 96, 0.72);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.excursion-arrow:hover,
.excursion-arrow:focus-visible {
  background: var(--navy);
  transform: translateY(-50%) scale(1.04);
}

.excursion-arrow-prev {
  left: 16px;
}

.excursion-arrow-next {
  right: 16px;
}

.excursion-slider-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.excursion-control-button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.excursion-control-button:hover,
.excursion-control-button:focus-visible {
  background: var(--ice);
}

.excursion-slider-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.excursion-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #b8d4e1;
  cursor: pointer;
}

.excursion-dot.is-active {
  width: 28px;
  background: var(--navy);
}

.excursion-showcase-copy {
  display: grid;
  gap: 16px;
}

.excursion-showcase-copy h2 {
  color: var(--navy-dark);
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.excursion-showcase-copy p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.excursion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.excursion-tags span,
.excursion-tags a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.visa-shortcut:hover,
.visa-shortcut:focus-visible {
  border-color: var(--sky);
  background: var(--ice);
  transform: translateY(-2px);
}

.consular-showcase .excursion-showcase-inner {
  grid-template-columns: minmax(300px, 0.86fr) minmax(280px, 0.72fr);
}

.consular-showcase .excursion-promo-frame {
  height: min(620px, calc(100svh - 210px));
  min-height: 500px;
  aspect-ratio: 4 / 5;
}

.consular-showcase .excursion-promo-slide img {
  object-fit: contain;
  padding: 10px;
  box-shadow: inset 0 0 0 1px rgba(216, 231, 241, 0.8);
}

.consular-showcase .excursion-promo-slide figcaption {
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.about-showcase .excursion-promo-frame {
  height: min(520px, calc(100svh - 210px));
  min-height: 440px;
}

.about-showcase .excursion-promo-slide.is-brand img {
  object-fit: contain;
  padding: clamp(22px, 5vw, 56px);
  box-shadow: inset 0 0 0 1px rgba(216, 231, 241, 0.8);
}

.about-showcase .excursion-promo-slide img {
  object-position: center;
}

@keyframes promoSlide {
  0%,
  42% {
    transform: translateX(0);
  }

  50%,
  92% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes dotOne {
  0%,
  42%,
  100% {
    background: var(--navy);
  }

  50%,
  92% {
    background: var(--line);
  }
}

@keyframes dotTwo {
  0%,
  42%,
  100% {
    background: var(--line);
  }

  50%,
  92% {
    background: var(--navy);
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.service-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(39, 77, 96, 0.07);
}

.service-card {
  min-height: 282px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 1.28rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-detail {
  width: 100%;
  padding: 76px clamp(20px, 5vw, 58px);
  background: var(--white);
  scroll-margin-top: 92px;
}

.service-detail.alt {
  background: var(--ice);
}

.service-detail-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: start;
}

.detail-content {
  display: grid;
  gap: 22px;
}

.detail-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  box-shadow: 0 8px 24px rgba(39, 77, 96, 0.05);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sky);
}

.visa-panel {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.visa-panel h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.visa-grid {
  display: grid;
  gap: 14px;
}

.visa-card[id] {
  scroll-margin-top: 112px;
}

.visa-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(39, 77, 96, 0.06);
  overflow: hidden;
}

.visa-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.visa-card summary::-webkit-details-marker {
  display: none;
}

.visa-card summary::after {
  content: "+";
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--sky);
  font-size: 1.2rem;
  line-height: 1;
}

.visa-card[open] summary {
  color: var(--white);
  background: var(--navy);
}

.visa-card[open] summary::after {
  content: "-";
  background: var(--white);
  color: var(--navy);
}

.visa-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.visa-body p {
  margin: 0;
  color: var(--muted);
}

.visa-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-meta-grid div {
  display: grid;
  gap: 3px;
  min-height: 82px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ice);
}

.service-meta-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-meta-grid strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.service-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.service-actions .button {
  width: 100%;
}

.fee-box {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

.fee-box span {
  color: rgba(255, 255, 255, 0.94);
}

.light-fee {
  color: var(--ink);
  background: var(--ice);
  border: 1px solid var(--line);
}

.light-fee span {
  color: var(--muted);
}

.visa-note {
  padding: 14px 16px;
  border-left: 4px solid var(--sky);
  background: var(--ice);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 20px;
  align-items: stretch;
}

.contact-panel,
.contact-details {
  border-radius: 8px;
  padding: clamp(28px, 5vw, 52px);
}

.contact-panel {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.contact-panel .section-kicker,
.contact-panel p {
  color: rgba(255, 255, 255, 0.92);
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(39, 77, 96, 0.07);
}

.contact-details p {
  margin: 0;
}

.contact-details strong,
.contact-details span {
  display: block;
}

.contact-details span {
  color: var(--muted);
}

.footer {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(20px, 5vw, 58px);
  color: var(--navy);
  border-top: 1px solid rgba(159, 196, 214, .72);
  background: #f7fbfd;
}

.footer p {
  margin: 0;
  font-weight: 650;
}

.footer a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(72, 150, 188, .45);
  text-underline-offset: 4px;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
}

@media (min-width: 981px) and (max-height: 900px) {
  .hero {
    min-height: 100svh;
    padding-top: 108px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 6vw, 5.35rem);
  }

  .hero-copy {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-card {
    padding: 24px;
  }

  .hero-card::before {
    margin: -24px -24px 18px;
  }

  .hero-card-top,
  .hero-card-metrics {
    margin-bottom: 14px;
  }

  .hero-card-button {
    margin-top: 16px;
  }

  .excursion-showcase {
    min-height: calc(100svh - 90px);
    display: grid;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .excursion-carousel {
    gap: 10px;
  }

  .consular-showcase .excursion-promo-frame {
    height: clamp(470px, calc(100svh - 210px), 620px);
    min-height: 0;
    aspect-ratio: auto;
  }

  .about-showcase .excursion-promo-frame {
    height: clamp(430px, calc(100svh - 210px), 520px);
    min-height: 0;
  }
}
@media (max-width: 980px) {
  .site-header {
    gap: 14px;
    padding-inline: 18px;
  }

  .brand span:last-child {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    font-size: 0.88rem;
  }

  .nav a,
  .nav-link {
    min-width: auto;
    padding: 8px 10px;
  }

  .hero,
  .intro,
  .service-detail-inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .excursion-showcase-inner {
    grid-template-columns: 1fr;
  }

  .consular-showcase .excursion-showcase-inner {
    grid-template-columns: 1fr;
  }

  .excursion-showcase-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 270px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding: 6px;
    border-radius: 8px;
  }

  .nav-item {
    min-width: 0;
  }

  .nav a,
  .nav-link {
    width: 100%;
    min-height: 38px;
    padding: 8px 6px;
    font-size: 0.82rem;
  }

  .dropdown-menu {
    left: 50%;
    width: min(292px, calc(100vw - 32px));
    top: calc(100% + 8px);
    transform: translateX(-50%) translateY(-8px);
  }

  .dropdown[open] .dropdown-menu {
    transform: translateX(-50%) translateY(0);
  }

  .brand span:last-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 158px;
  }

  .page-main {
    padding-top: 252px;
  }

  .page-hero {
    padding: 64px 16px;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 58px 0;
  }

  .split-heading,
  .slider-dots {
    align-items: stretch;
  }

  .excursion-showcase {
    padding: 28px 16px 40px;
  }

  .excursion-promo-frame {
    height: clamp(360px, 86vw, 560px);
    min-height: 0;
    aspect-ratio: auto;
  }

  .consular-showcase .excursion-promo-frame {
    height: clamp(540px, 140vw, 720px);
    min-height: 0;
    aspect-ratio: auto;
  }

  .excursion-slider-controls {
    grid-template-columns: 1fr;
  }

  .excursion-control-button {
    display: none;
  }

  .service-detail {
    padding: 58px 16px;
  }

  .service-grid,
  .service-meta-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-card {
    padding: 22px;
  }

  .hero-card::before {
    margin: -22px -22px 18px;
  }

  .hero-card-brand {
    align-items: flex-start;
  }

  .hero-card-brand .logo-img {
    width: min(155px, 50%);
  }

  .hero-card-badge {
    padding: 7px 9px;
    font-size: 0.62rem;
  }

  .hero-card-links {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .hero-card-links a,
  .hero-card-links a:first-child,
  .hero-card-links a:last-child {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-card-links a:last-child {
    border-bottom: 0;
  }

  .brand-mark {
    width: 88px;
    height: 56px;
  }

  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .excursion-promo-frame {
    height: 360px;
    min-height: 0;
  }

  .consular-showcase .excursion-promo-frame {
    height: 540px;
    min-height: 0;
  }

  .excursion-promo-slide figcaption {
    max-width: 100%;
  }

  .excursion-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.7rem;
  }

  .excursion-arrow-prev {
    left: 10px;
  }

  .excursion-arrow-next {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .excursion-promo-slide {
    transition: none;
  }
}

/* Panoramic presentation and full-screen preview shared by every carousel. */
.slider,
.excursion-promo-frame {
  isolation: isolate;
}

.slides {
  aspect-ratio: 16 / 9;
}

.slide {
  position: relative;
  overflow: hidden;
}

.excursion-promo-slide {
  display: block;
  padding: 0;
  overflow: hidden;
}

.slide::before,
.excursion-promo-slide::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -24px;
  background:
    linear-gradient(rgba(39, 77, 96, 0.28), rgba(39, 77, 96, 0.28)),
    var(--slide-image) center / cover no-repeat;
  filter: blur(16px) saturate(0.9);
  transform: scale(1.08);
}

.slide img,
.excursion-promo-slide img,
.excursion-promo-slide video,
.excursion-promo-slide.is-promo img,
.excursion-promo-slide.is-promo video,
.consular-showcase .excursion-promo-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  transform: scale(var(--media-scale, 1));
  transition: transform 260ms ease;
}

.excursion-promo-slide video {
  background: #102f3e;
}

.excursion-promo-frame,
.consular-showcase .excursion-promo-frame,
.about-showcase .excursion-promo-frame {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.excursion-promo-slide figcaption {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  margin: 0;
}

.preview-button {
  position: absolute;
  z-index: 6;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.94);
  background-image: url("assets/icon-preview-eye.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 28px 28px;
  box-shadow: 0 8px 22px rgba(0, 20, 48, 0.24);
  cursor: pointer;
  font-size: 0;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.preview-button::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(39, 77, 96, 0.96);
  box-shadow: 0 8px 20px rgba(0, 20, 48, 0.2);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.preview-button:hover,
.preview-button:focus-visible {
  background-color: var(--white);
  box-shadow: 0 10px 26px rgba(0, 20, 48, 0.3);
  transform: translateY(-1px);
}

.preview-button:hover::after,
.preview-button:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.media-preview {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: #1d3947;
}

.media-preview::backdrop {
  background: rgba(0, 12, 26, 0.94);
}

.media-preview-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  padding: clamp(14px, 2.5vw, 28px);
}

.media-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
}

.media-preview-title,
.media-preview-count {
  margin: 0;
  font-weight: 800;
}

.media-preview-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-preview-count {
  padding-top: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.76);
}

.media-preview-close {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.media-preview-stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
}

.media-preview-image {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform 160ms ease;
}

.media-preview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-preview-zoom {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 800;
}

.media-preview-zoom:disabled {
  cursor: default;
  opacity: 0.4;
}

.media-preview-zoom-level {
  min-width: 50px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.media-preview-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: var(--white);
  background: rgba(39, 77, 96, 0.78);
  cursor: pointer;
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.media-preview-prev { left: clamp(8px, 2vw, 24px); }
.media-preview-next { right: clamp(8px, 2vw, 24px); }

@media (max-width: 760px) {
  .slides,
  .excursion-promo-frame,
  .consular-showcase .excursion-promo-frame,
  .about-showcase .excursion-promo-frame {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .preview-button {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    min-height: 0;
    padding: 0;
    font-size: 0;
  }

  .media-preview-shell {
    padding: 12px;
  }

  .media-preview-title {
    font-size: 0.9rem;
  }

  .media-preview-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
}
/* Public mobile QA fixes: keep the header from covering page content. */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 22px;
  }

  body {
    overflow-x: hidden;
  }

  .site-header {
    position: sticky;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px 14px;
  }

  .brand {
    justify-content: flex-start;
  }

  .brand > span:last-child {
    display: none;
  }

  .brand-mark {
    width: 112px;
    height: 54px;
  }

  .nav {
    grid-column: auto;
    width: 100%;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.84rem;
  }

  .nav a,
  .nav-link {
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    white-space: normal;
    line-height: 1.2;
  }

  .dropdown-menu {
    left: 50%;
    width: min(320px, calc(100vw - 28px));
    top: calc(100% + 8px);
    transform: translateX(-50%) translateY(-8px);
  }

  .dropdown[open] .dropdown-menu {
    transform: translateX(-50%) translateY(0);
  }

  .header-action {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
  }

  .hero {
    padding-top: 48px;
  }

  .page-main {
    padding-top: 0;
  }

  .page-hero {
    padding-top: 54px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand-mark {
    width: 104px;
    height: 50px;
  }

  .nav {
    font-size: 0.8rem;
  }

  .header-action {
    min-height: 42px;
  }
}

/* Tablet header QA fixes. */
@media (min-width: 761px) and (max-width: 1080px) {
  html {
    scroll-padding-top: 165px;
  }

  .site-header {
    position: sticky;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px 18px;
    padding: 12px 18px 14px;
  }

  .brand > span:last-child {
    display: none;
  }

  .brand-mark {
    width: 118px;
    height: 54px;
  }

  .nav {
    position: relative;
    grid-column: 1 / -1;
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    min-height: 0;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.88rem;
  }

  .nav a,
  .nav-link {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    white-space: normal;
    line-height: 1.2;
  }

  .dropdown {
    position: static;
  }

  .dropdown-menu {
    left: 8px;
    right: 8px;
    width: auto;
    top: calc(100% + 8px);
    transform: translateY(-8px);
  }

  .dropdown[open] .dropdown-menu {
    transform: translateY(0);
  }

  .header-action {
    justify-self: end;
    min-height: 44px;
    padding: 10px 18px;
  }

  .hero {
    padding-top: 54px;
  }

  .page-main {
    padding-top: 0;
  }

  .page-hero {
    padding-top: 74px;
  }
}/* Public mobile anchor and dropdown follow-up. */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 205px;
  }

  .nav {
    position: relative;
  }

  .dropdown {
    position: static;
  }

  .dropdown-menu {
    left: 8px;
    right: 8px;
    width: auto;
    transform: translateY(-8px);
  }

  .dropdown[open] .dropdown-menu {
    transform: translateY(0);
  }
}
/* Service promotion carousel additions. */
.service-promo-showcase {
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(34px, 4vw, 54px);
}

.service-promo-showcase .excursion-showcase-inner {
  width: min(1180px, 100%);
  grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1fr);
}

.service-promo-showcase .excursion-promo-frame {
  width: min(520px, 100%);
  justify-self: center;
  aspect-ratio: 4 / 5;
  background: #eaf4f8;
}

.service-promo-showcase .excursion-promo-slide img {
  object-fit: contain;
}

@media (max-width: 980px) {
  .service-promo-showcase .excursion-showcase-inner {
    grid-template-columns: 1fr;
  }

  .service-promo-showcase .excursion-promo-frame {
    width: min(520px, 100%);
  }
}

@media (max-width: 760px) {
  .service-promo-showcase {
    padding: 34px 16px 42px;
  }

  .service-promo-showcase .excursion-promo-frame {
    max-height: 560px;
  }
}

/* Consolidated mobile experience */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 158px;
  }

  body,
  main,
  .page-main,
  .site-header,
  .section,
  .excursion-showcase,
  .service-detail {
    max-width: 100%;
  }

  body {
    overflow-x: clip;
  }

  .site-header {
    position: sticky;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    padding: 10px 14px 12px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .brand-mark {
    width: 98px;
    height: 46px;
  }

  .brand-mark img {
    transform: none;
  }

  .brand > span:last-child {
    display: none;
  }

  .header-action {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 112px;
    min-height: 42px;
    padding: 9px 14px;
    font-size: .86rem;
    white-space: nowrap;
  }

  .nav {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 5px;
    padding: 5px;
    border-radius: 8px;
    font-size: .76rem;
  }

  .nav a,
  .nav-link {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 7px 5px;
    border-radius: 6px;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .dropdown {
    position: static;
    min-width: 0;
  }

  .dropdown-menu {
    left: 6px;
    right: 6px;
    top: calc(100% + 7px);
    width: auto;
    max-height: min(62vh, 440px);
    overflow-y: auto;
    transform: translateY(-7px);
  }

  .dropdown[open] .dropdown-menu {
    transform: translateY(0);
  }

  .dropdown-menu::before {
    display: none;
  }

  .page-main {
    padding-top: 0;
  }

  .page-hero {
    padding: 38px 16px 42px;
  }

  .page-hero h1,
  .hero h1,
  .section-heading h2,
  .service-detail h2,
  .excursion-showcase-copy h2,
  .contact-panel h2 {
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .page-hero p,
  .excursion-showcase-copy p:not(.section-kicker) {
    font-size: .98rem;
    line-height: 1.6;
  }

  .section {
    width: calc(100% - 28px);
    padding: 44px 0;
  }

  .excursion-showcase,
  .service-detail {
    padding: 36px 14px 44px;
  }

  .excursion-showcase-inner,
  .service-detail-inner,
  .contact,
  .intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .excursion-carousel,
  .excursion-showcase-copy,
  .service-detail-inner > *,
  .contact > * {
    min-width: 0;
  }

  .excursion-promo-frame,
  .consular-showcase .excursion-promo-frame {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .service-promo-showcase .excursion-promo-frame {
    width: min(100%, 480px);
    aspect-ratio: 4 / 5;
  }

  .about-showcase .excursion-promo-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .excursion-slider-controls {
    grid-template-columns: auto minmax(56px, 1fr) auto;
    gap: 8px;
    margin-top: 10px;
  }

  .excursion-control-button {
    display: inline-flex;
    min-width: 76px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    font-size: .78rem;
  }

  .excursion-slider-dots {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .excursion-dot {
    flex: 0 0 auto;
  }

  .preview-button {
    width: 42px;
    height: 42px;
  }

  .service-grid,
  .service-meta-grid,
  .payment-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card,
  .payment-card,
  .contact-panel,
  .contact-details {
    min-width: 0;
    padding: 24px 20px;
  }

  .accordion-trigger,
  summary.service-title {
    min-height: 58px;
    padding: 14px 16px;
    font-size: 1rem;
    line-height: 1.3;
  }

  .button,
  button,
  summary,
  a {
    -webkit-tap-highlight-color: transparent;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .hero-actions .button,
  .contact-actions .button,
  .service-actions .button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .media-preview-shell {
    padding: 10px;
  }

  .media-preview-toolbar {
    gap: 8px;
  }

  .media-preview-arrow {
    width: 42px;
    height: 42px;
  }

  .footer {
    gap: 12px;
    padding: 24px 16px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-inline: 10px;
  }

  .brand-mark {
    width: 88px;
    height: 42px;
  }

  .header-action {
    min-width: 104px;
    padding-inline: 11px;
    font-size: .8rem;
  }

  .nav {
    font-size: .7rem;
  }

  .nav a,
  .nav-link {
    padding-inline: 3px;
  }

  .excursion-control-button {
    min-width: 68px;
    padding-inline: 8px;
  }
}
/* Natural wrapping for long mobile headings */
@media (max-width: 760px) {
  .page-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}
/* Single-slide carousels do not need navigation controls. */
.excursion-slider-controls[hidden] {
  display: none !important;
}
/* Unified navigation and carousel controls */
.carousel-mobile-count {
  display: none;
}

@media (max-width: 760px) {
  .site-header {
    position: sticky !important;
    top: 0;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    gap: 10px 12px !important;
    padding: 10px 14px 12px !important;
  }

  .site-header .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0;
  }

  .site-header .brand-mark {
    width: 98px;
    height: 46px;
  }

  .site-header .header-action {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center;
    justify-self: end;
    width: auto !important;
    min-width: 112px;
    min-height: 42px;
    margin: 0 !important;
    padding: 9px 14px;
    border-radius: 999px;
  }

  .site-header .nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 7px !important;
    border-radius: 8px;
  }

  .site-header .nav > a,
  .site-header .nav > .nav-item > .nav-link {
    min-width: 0;
    min-height: 42px;
    padding: 8px 7px;
    border: 1px solid #d5e5ed;
    border-radius: 6px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 3px 10px rgba(39, 77, 96, .04);
    font-size: .78rem;
  }

  .site-header .nav > a:hover,
  .site-header .nav > a:focus-visible,
  .site-header .nav > .nav-item > .nav-link:hover,
  .site-header .nav > .nav-item > .nav-link:focus-visible,
  .site-header .dropdown[open] > .nav-link {
    border-color: #9fc4d6;
    background: #fff;
  }

  .excursion-slider-controls:not([hidden]) {
    display: grid !important;
    grid-template-columns: auto minmax(50px, 1fr) auto !important;
    align-items: center;
    gap: 8px;
  }

  .excursion-slider-controls:not([hidden]) .excursion-control-button {
    display: inline-flex !important;
    min-width: 72px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid #b9d2de;
    border-radius: 999px;
    color: var(--navy);
    background: #fff;
    font-size: .76rem;
    font-weight: 750;
  }

  .excursion-slider-controls:not([hidden]) .excursion-control-button:hover,
  .excursion-slider-controls:not([hidden]) .excursion-control-button:focus-visible {
    border-color: var(--sky);
    background: var(--ice);
  }

  .excursion-slider-controls:not([hidden]) .excursion-slider-dots {
    min-width: 50px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
  }

  .excursion-slider-controls:not([hidden]) .excursion-dot {
    display: none !important;
  }

  .carousel-mobile-count,
  .home-promo-count {
    display: block !important;
    color: var(--navy);
    font-size: .8rem;
    font-weight: 750;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-inline: 10px !important;
  }

  .site-header .brand-mark {
    width: 88px;
    height: 42px;
  }

  .site-header .header-action {
    min-width: 104px;
    padding-inline: 11px;
  }

  .excursion-slider-controls:not([hidden]) .excursion-control-button {
    min-width: 68px;
    padding-inline: 8px;
  }
}
/* Refined mobile navigation alignment and contrast */
@media (max-width: 760px) {
  .site-header .nav {
    gap: 6px !important;
    padding: 6px !important;
  }

  .site-header .nav > .nav-item {
    width: 100%;
    min-width: 0;
  }

  .site-header .nav > a,
  .site-header .nav > .nav-item > .nav-link {
    display: flex !important;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 7px;
    color: #173f53;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
  }

  .site-header .nav > .nav-item > .nav-link::after {
    flex: 0 0 auto;
    margin: 0;
  }
}
/* Interactive Instagram contact link */
.contact-details .instagram-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  margin-top: 2px;
  padding: 6px 0;
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(72, 150, 188, .45);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-details .instagram-link:hover,
.contact-details .instagram-link:focus-visible {
  color: #087bac;
  text-decoration-color: currentColor;
}

.contact-details .instagram-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(72, 150, 188, .28);
  outline-offset: 3px;
}
/* Contact actions with separate WhatsApp and phone options */
.home-page .contact-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.home-page .contact-panel .contact-actions .button.primary {
  color: var(--navy-dark);
  border-color: #ffffff;
  background: #ffffff;
}

.home-page .contact-panel .contact-actions .contact-phone {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .08);
}

.home-page .contact-panel .contact-actions .contact-phone:hover,
.home-page .contact-panel .contact-actions .contact-phone:focus-visible {
  color: var(--navy-dark);
  border-color: #ffffff;
  background: #ffffff;
}

@media (max-width: 620px) {
  .home-page .contact-actions {
    flex-direction: column;
  }
}
/* Fluid browser layout. Mobile rules remain isolated below 761px. */
@media (min-width: 761px) {
  html {
    scroll-padding-top: 96px !important;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-rows: auto !important;
    gap: clamp(10px, 1.6vw, 22px) !important;
    padding: 9px clamp(14px, 3vw, 48px) !important;
  }

  .site-header .brand,
  .site-header .nav,
  .site-header .header-action {
    grid-row: 1 !important;
    margin: 0 !important;
  }

  .site-header .brand-mark {
    width: clamp(92px, 9vw, 122px);
    height: 52px;
  }

  .site-header .nav {
    display: flex !important;
    width: auto !important;
    min-width: 0;
    padding: 5px !important;
    gap: 3px !important;
  }

  .site-header .nav > a,
  .site-header .nav > .nav-item > .nav-link {
    min-width: 0;
    min-height: 40px;
    padding: 8px clamp(7px, 1vw, 14px);
    font-size: clamp(.78rem, 1.15vw, .92rem);
  }

  .site-header .header-action {
    width: auto !important;
    min-width: 108px;
    padding: 9px 15px;
  }

  #promociones,
  #servicios,
  #contacto {
    scroll-margin-top: 96px !important;
  }

  .home-page .section,
  .home-page .home-promo-showcase.promotions {
    width: min(1180px, calc(100% - 40px));
  }

  .home-page .home-promo-showcase.promotions {
    min-height: calc(100svh - 82px);
    padding: clamp(28px, 4vh, 44px) 0;
  }

  .home-page .home-promo-showcase .excursion-showcase-inner {
    grid-template-columns: minmax(290px, .88fr) minmax(330px, 1fr);
    gap: clamp(24px, 4vw, 60px);
    align-items: center;
  }

  .home-page .home-promo-frame {
    width: 100%;
    max-height: min(62svh, 620px);
  }

  .home-page .home-promo-showcase .excursion-showcase-copy {
    gap: clamp(10px, 1.6vh, 16px);
  }

  .home-page .home-promo-showcase .excursion-showcase-copy h2 {
    font-size: clamp(1.75rem, 3vw, 2.8rem);
    line-height: 1.08;
  }
}

@media (min-width: 761px) and (max-width: 1120px) {
  .site-header .brand > span:last-child {
    display: none;
  }
}

@media (min-width: 761px) and (max-height: 720px) {
  .home-page .home-promo-showcase.promotions {
    padding-block: 20px;
  }

  .home-page .home-promo-frame {
    max-height: calc(100svh - 190px);
  }
}
/* Lightweight motion system inspired by the reference site's reveal rhythm. */
.site-header {
  transition: background-color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .985);
  border-bottom-color: rgba(155, 190, 207, .72);
  box-shadow: 0 12px 34px rgba(29, 57, 71, .13);
}

.motion-ready .reveal-item {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 700ms cubic-bezier(.22, 1, .36, 1), transform 700ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .reveal-item.reveal-left {
  transform: translate3d(-34px, 0, 0);
}

.motion-ready .reveal-item.reveal-right {
  transform: translate3d(34px, 0, 0);
}

.motion-ready .reveal-item.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.service-card,
.visa-card,
.contact-details,
.excursion-carousel {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

@media (max-width: 760px) {
  .motion-ready .reveal-item,
  .motion-ready .reveal-item.reveal-left,
  .motion-ready .reveal-item.reveal-right {
    transform: translate3d(0, 18px, 0);
    transition-duration: 560ms;
  }

  .motion-ready .reveal-item.is-revealed {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .reveal-item {
    transition: none !important;
  }
}

/* Shared desktop proportions for all internal sections. */
@media (min-width: 981px) {
  .page-main .page-hero {
    padding-inline: max(40px, calc((100% - 1400px) / 2));
  }

  .page-main .excursion-showcase,
  .page-main .service-detail {
    padding-inline: max(32px, calc((100% - 1400px) / 2));
  }

  .page-main .excursion-showcase-inner,
  .page-main .service-detail-inner,
  .page-main .service-promo-showcase .excursion-showcase-inner {
    width: 100%;
    max-width: 1400px;
  }

  .page-main .service-detail-inner {
    grid-template-columns: minmax(360px, .72fr) minmax(600px, 1.28fr);
    gap: clamp(54px, 6vw, 104px);
  }

  .page-main .service-promo-showcase .excursion-showcase-inner {
    grid-template-columns: minmax(420px, .82fr) minmax(480px, 1.18fr);
    gap: clamp(48px, 6vw, 96px);
  }

  .page-main .consular-showcase .excursion-showcase-inner,
  .page-main .about-showcase .excursion-showcase-inner {
    grid-template-columns: minmax(420px, .9fr) minmax(480px, 1.1fr);
  }
}
/* Mobile full-screen preview: keep controls and media inside the viewport. */
.media-preview,
.media-preview-shell,
.media-preview-stage,
.media-preview-toolbar,
.media-preview-actions {
  min-width: 0;
}

.media-preview {
  overflow: hidden;
}

.media-preview-stage {
  width: 100%;
  height: 100%;
}

@media (max-width: 760px) {
  .media-preview-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100dvw;
    max-width: 100dvw;
    height: 100dvh;
    padding: 8px;
    overflow: hidden;
  }

  .media-preview-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    padding: 2px 0 8px;
  }

  .media-preview-title {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .media-preview-actions {
    width: 100%;
    justify-content: center;
    gap: 7px;
  }

  .media-preview-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .media-preview-count {
    padding-top: 8px;
    padding-bottom: max(2px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .media-preview-zoom,
  .media-preview-arrow {
    width: 38px;
    height: 38px;
  }

  .media-preview-close {
    min-height: 38px;
    padding: 7px 12px;
  }
}
