/* ============================================
   The Plan Experiences — Website
   Main Stylesheet
   ============================================ */

/* --- Brand Typography (Franie — primary) --- */
@font-face {
  font-family: 'Franie';
  src: url('../fonts/FranieVariableTest-ExtraLight-BF64c31f3ceda28.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('../fonts/FranieVariableTest-Light-BF64c31f3dc06e0.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('../fonts/FranieVariableTest-Regular-BF64c31f3d73b64.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('../fonts/FranieVariableTest-SemiBold-BF64c31f3d7b0b9.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('../fonts/FranieVariableTest-Bold-BF64c31f3d8798d.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('../fonts/FranieVariableTest-ExtraBold-BF64c31f3d93e1b.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('../fonts/FranieVariableTest-Black-BF64c31f3ca614b.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* --- CSS Variables --- */
:root {
  --primary: #254b72;        /* Metalic Blue */
  --primary-light: #3a667f;  /* Ming */
  --accent: #3a667f;         /* Ming - accent */
  --accent-hover: #254b72;   /* Metalic Blue */
  --accent-secondary: #8ba7bc; /* Pewter Blue */
  --light-blue: #b3d7ed;     /* Light Blue */
  --melon: #ffb1af;          /* Melon (pink) */
  --isabelline: #f3f2ee;     /* Isabelline (cream) */
  --bg-white: #ffffff;
  --bg-light: #f7f9fb;
  --bg-dark: #254b72;        /* Metalic Blue as dark bg */
  --text-dark: #254b72;
  --text-muted: #5a7a94;
  --text-white: #ffffff;
  --border-light: #d6e4ef;
  --radius: 6px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* ========== SCROLL-SNAP FOUNDATION ========== */

html {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 0;
  scroll-behavior: smooth;
}

/* Every full-page section uses .slide (or the equivalent semantic class).
   100svh (small viewport height) keeps the snap target at exactly one viewport
   on iOS Safari/Chrome even while the URL bar is visible — using 100vh leaves
   content past the bottom edge unreachable when chrome is shown. */
.slide,
.hero,
.about-hero,
.video-hero,
.video-reel,
.section,
.services-panels,
.contact-page,
.cuarto-continente,
.play-overlay--video,
.cta-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100svh;
}

/* Reduced-motion users get a softer snap. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: y proximity; scroll-behavior: auto; }
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Franie', 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section--light {
  background: var(--bg-light);
}

.section--xona {
  background: var(--isabelline);
}

.section--patterned {
  position: relative;
  overflow: hidden;
}

.section--patterned > .container {
  position: relative;
  z-index: 1;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split--xona {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split--xona .split__left {
  max-width: 480px;
}

.split--xona h2 {
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.split--xona p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.media-frame {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.media-frame .media-img {
  border-radius: 0;
  aspect-ratio: 4 / 5;
  /* Keep the whole .section--xona within 100vh so scroll-snap doesn't skip content.
     Section padding is 6rem top + 6rem bottom (12rem); 14rem leaves a small buffer. */
  max-height: calc(100vh - 14rem);
}

.media-frame--clipped-tr {
  clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%);
}

.media-frame--clipped-tl {
  clip-path: polygon(64px 0, 100% 0, 100% 100%, 0 100%, 0 64px);
}

/* ========== PHILOSOPHY HERO (slide 4) ========== */

.philosophy-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(5rem, 10vw, 9rem);
  text-align: center;
}

.philosophy-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../img/pexels/about-hero.jpg') center/cover no-repeat;
  z-index: -2;
}

.philosophy-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 75, 114, 0.78), rgba(37, 75, 114, 0.88));
  z-index: -1;
}

.philosophy-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 920px;
}

.philosophy-hero__content .section-marker {
  margin: 0;
}

.philosophy-hero__title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  max-width: 24ch;
}

.philosophy-hero__content .cta {
  margin-top: 0.5rem;
}

/* ========== CUARTO CONTINENTE HAND-OFF ========== */

.cuarto-continente {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark) center/cover no-repeat;
  background-image: image-set(
    url('../img/stock/cuarto-continente-iguazu.webp') type('image/webp'),
    url('../img/stock/cuarto-continente-iguazu.jpg') type('image/jpeg')
  );
}

.cuarto-continente::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 75, 114, 0.72), rgba(37, 75, 114, 0.85));
  z-index: -1;
}

.cuarto-continente .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* ========== DECORATIVE BRAND PATTERNS (slide 11) ========== */

.section__bg-pattern {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}

.section__bg-pattern--curves {
  background-image: url('../img/patterns/dotted-curves.svg');
  background-size: 720px auto;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.section__bg-pattern--text {
  background-image: url('../img/patterns/the-plan-text.svg');
  background-size: 360px auto;
  opacity: 0.08;
}

.section__bg-pattern--planes {
  background-image: url('../img/patterns/paper-airplane.svg');
  background-size: 240px auto;
  opacity: 0.12;
  mix-blend-mode: screen;
}

.section__bg-pattern--on-light {
  mix-blend-mode: normal;
}

.section__bg-pattern--on-light.section__bg-pattern--curves { opacity: 0.55; }
.section__bg-pattern--on-light.section__bg-pattern--planes { opacity: 0.4; }
.section__bg-pattern--on-light.section__bg-pattern--text { opacity: 0.12; }

@media (max-width: 768px) {
  .section__bg-pattern--curves { background-size: 480px auto; }
  .section__bg-pattern--text { background-size: 240px auto; }
  .section__bg-pattern--planes { background-size: 180px auto; }
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: background var(--transition), padding var(--transition);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header--scrolled {
  background: rgba(37, 75, 114, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
}

.header[data-theme="light"].header--scrolled {
  background: rgba(243, 242, 238, 0.95);
}

.header__logo {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.header[data-theme="light"] .header__logo {
  filter: none;
}

.header__logo-link {
  display: flex;
  align-items: center;
}

/* --- Menu (kebab dots) --- */
.header__menu-dots {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  cursor: pointer;
}

.header__menu-dots span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-white);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* On hover/focus, each dot stretches horizontally into a thin bar — kebab morphs to hamburger. */
.header__menu-dots:hover span,
.header__menu-dots:focus-visible span {
  width: 28px;
  height: 3px;
  border-radius: 2px;
}

.header[data-theme="light"] .header__menu-dots span {
  background: var(--primary);
}

.header__menu-dots.active {
  opacity: 0;
  pointer-events: none;
}

/* --- Navigation Panel --- */
.nav-panel {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  z-index: 1050;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-panel.open {
  opacity: 1;
  visibility: visible;
}

.nav-panel__close {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-white);
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  transition: background var(--transition);
}

.nav-panel__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-panel__bg-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: clamp(2rem, 8vw, 10rem);
  color: var(--light-blue);
  opacity: 0.08;
  pointer-events: none;
}

.nav-panel__bg-mark svg {
  width: clamp(380px, 55vh, 720px);
  height: auto;
}

.nav-panel__inner {
  position: relative;
  z-index: 1;
  margin-left: auto;
  padding: clamp(4rem, 10vw, 7rem) clamp(2rem, 6vw, 8rem) clamp(2.5rem, 5vw, 4rem);
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.nav-panel__nav {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.nav-panel__link {
  font-family: 'Franie', 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-white);
  transition: color var(--transition);
}

.nav-panel__link:hover {
  color: var(--light-blue);
}

.nav-panel__link--active {
  color: var(--light-blue);
}

.nav-panel__contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-family: 'Poppins', sans-serif;
  color: rgba(255, 255, 255, 0.85);
}

.nav-panel__email {
  color: var(--light-blue);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color var(--transition);
}

.nav-panel__email:hover {
  border-bottom-color: var(--light-blue);
}

.nav-panel__cities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.nav-panel__cities span {
  color: var(--text-white);
  font-weight: 600;
  margin-right: 0.4rem;
}

.nav-panel__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.nav-panel__social-link {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: background var(--transition), border-color var(--transition);
}

.nav-panel__social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
}

@media (prefers-reduced-motion: reduce) {
  .nav-panel { transition: none; }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero--home {
  background: linear-gradient(135deg, #254b72 0%, #3a667f 50%, #1d3d5c 100%);
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 50%, var(--accent) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--accent-secondary) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, var(--accent) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 100px 100px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 2rem;
}

.hero__content h1 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: pulse-scroll 2s infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes pulse-scroll {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

/* --- Decorative corner (like Xona's dark triangle) --- */
.header__corner {
  position: fixed;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  z-index: 999;
  pointer-events: none;
}

.header__corner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 120px 120px 0;
  border-color: transparent var(--primary) transparent transparent;
  opacity: 0.7;
}

/* --- Section Marker (brand icon) --- */
.section-marker {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 2rem;
  display: inline-block;
}

/* --- CTA Button --- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  cursor: pointer;
  transition: color var(--transition);
}

.cta:hover {
  color: var(--accent);
}

.cta__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.cta__icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta:hover .cta__icon {
  background: var(--accent);
  transform: scale(1.05);
}

.cta:hover .cta__icon svg {
  stroke: var(--text-white);
}

.cta--light {
  color: var(--text-white);
}

.cta--light .cta__icon {
  border-color: rgba(255, 255, 255, 0.85);
}

.cta--light .cta__icon svg {
  stroke: var(--text-white);
}

.cta--light:hover {
  color: var(--light-blue);
}

.cta--light:hover .cta__icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-white);
}

.cta--light:hover .cta__icon svg {
  stroke: var(--text-white);
}

/* --- Left accent line (like Xona's yellow dash) --- */
.accent-line {
  position: relative;
  padding-left: 2rem;
}

.accent-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 1.5rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* --- Play Button Overlay --- */
.play-overlay {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.play-overlay__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}

.play-overlay__btn svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 4px;
}

.play-overlay:hover .play-overlay__btn {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay--video {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
}

.play-overlay__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay--video.is-playing .play-overlay__btn {
  opacity: 0;
  pointer-events: none;
}

/* --- Placeholder images --- */
.placeholder-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}

.placeholder-img--warm {
  background: linear-gradient(135deg, #ffb1af 0%, #e89a98 100%);
}

.placeholder-img--cool {
  background: linear-gradient(135deg, #b3d7ed 0%, #8ba7bc 100%);
}

.placeholder-img--event {
  background: linear-gradient(135deg, #3a667f 0%, #254b72 100%);
}

.placeholder-img--nature {
  background: linear-gradient(135deg, #8ba7bc 0%, #3a667f 100%);
}

.placeholder-img--tall {
  aspect-ratio: 3/4;
}

.placeholder-img--hero {
  aspect-ratio: auto;
  min-height: 100vh;
  border-radius: 0;
}

.placeholder-img--wide {
  aspect-ratio: 21/9;
}

/* --- Real media images --- */
.media-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.media-img--hero {
  aspect-ratio: auto;
  min-height: 100vh;
  border-radius: 0;
}

.media-img--experiencias   { background-image: url('../img/stock/home-valor-real.jpg'); }
.media-img--cercania       { background-image: url('../img/stock/home-cercania.jpg'); }
.media-img--about-hero     { background-image: url('../img/stock/about-hero-stand.jpg'); background-position: center 35%; }
.media-img--about-team     { background-image: url('../img/pexels/about-team.jpg'); }

/* Service panel backgrounds (absolutely positioned, cover) */
.service-panel__bg--corporativos  { background-image: url('../img/pexels/corporativos.jpg'); }
.service-panel__bg--grupales      { background-image: url('../img/pexels/grupales.jpg'); }
.service-panel__bg--eventos       { background-image: url('../img/stock/services-stand.jpg'); background-position: center; }
.service-panel__bg--planificacion { background-image: url('../img/pexels/planificacion.jpg'); }

/* --- Services Panels (expandable, full viewport) --- */
.services-panels {
  display: flex;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.service-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: flex-grow 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Expand the hovered/focused panel, shrink the others. */
.services-panels:hover .service-panel { flex-grow: 0.55; }
.services-panels:focus-within .service-panel { flex-grow: 0.55; }
.services-panels .service-panel:hover,
.services-panels .service-panel:focus-within { flex-grow: 2.8; }

.service-panel__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.service-panel:hover .service-panel__bg,
.service-panel:focus-within .service-panel__bg {
  transform: scale(1.06);
}

.service-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 34, 56, 0.55) 0%, rgba(15, 34, 56, 0.78) 100%);
  transition: background 0.5s ease;
}

.service-panel:hover .service-panel__overlay,
.service-panel:focus-within .service-panel__overlay {
  background: linear-gradient(to bottom, rgba(15, 34, 56, 0.72) 0%, rgba(37, 75, 114, 0.82) 100%);
}

.service-panel__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
  color: var(--text-white);
  z-index: 2;
}

.service-panel__title {
  font-family: 'Franie', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  transition: opacity 0.4s ease;
}

/* Dim the non-expanded siblings so the eye locks onto the active panel. */
.services-panels:hover .service-panel:not(:hover) .service-panel__title,
.services-panels:focus-within .service-panel:not(:focus-within) .service-panel__title {
  opacity: 0.55;
}

.service-panel__list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: #ffffff;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: opacity 0.45s ease 0.05s, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s;
}

.service-panel__list li {
  position: relative;
  padding-left: 1.6rem;
  white-space: nowrap;
}

.service-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid var(--light-blue);
  border-bottom: 2px solid var(--light-blue);
  transform: rotate(-45deg);
}

.service-panel:hover .service-panel__list,
.service-panel:focus-within .service-panel__list {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.25s;
}

/* --- Portfolio Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.portfolio-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.portfolio-item__bg--bariloche { background-image: url('../img/destinos/bariloche.jpg'); }
.portfolio-item__bg--mendoza   { background-image: url('../img/destinos/mendoza.jpg'); }
.portfolio-item__bg--bali      { background-image: url('../img/destinos/bali.jpg'); }
.portfolio-item__bg--mexico    { background-image: url('../img/destinos/mexico.jpg'); }
.portfolio-item__bg--brasil    { background-image: url('../img/destinos/brasil.jpg'); }
.portfolio-item__bg--italia    { background-image: url('../img/destinos/italia.jpg'); }
.portfolio-item__bg--japon     { background-image: url('../img/destinos/japon.jpg'); }
.portfolio-item__bg--grecia    { background-image: url('../img/destinos/grecia.jpg'); }

.portfolio-item:hover .portfolio-item__bg {
  transform: scale(1.08);
}

.portfolio-item__label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.9rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  z-index: 2;
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  transition: background 0.4s ease;
}

.portfolio-item:hover .portfolio-item__overlay {
  background: rgba(14, 165, 233, 0.4);
}

/* --- Client Logos --- */
.logos-section {
  padding: 5rem 0 4rem;
  background: var(--isabelline);
  border-top: 1px solid rgba(37, 75, 114, 0.08);
  border-bottom: 1px solid rgba(37, 75, 114, 0.08);
}

.logos-section .section-marker {
  display: block;
  margin: 0 auto 1rem;
  text-align: center;
}

.logos-eyebrow {
  display: block;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.logos-heading {
  text-align: center;
  font-family: 'Franie', 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto 3rem;
  max-width: 40ch;
  line-height: 1.2;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 0;
  align-items: center;
  justify-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.logo-item {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  position: relative;
  opacity: 0.85;
  filter: grayscale(100%);
  transition: opacity var(--transition), filter var(--transition), transform var(--transition);
}

/* Subtle vertical dividers between logos in the same row */
.logo-item:not(:nth-child(4n))::after {
  content: '';
  position: absolute;
  top: 25%;
  bottom: 25%;
  right: 0;
  width: 1px;
  background: rgba(37, 75, 114, 0.12);
}

.logo-item img {
  width: 140px;
  height: 52px;
  object-fit: contain;
  object-position: center;
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(37, 75, 114, 0.2);
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot:hover {
  background: rgba(37, 75, 114, 0.45);
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

.carousel-dot.active {
  background: var(--accent);
}

/* --- Contact Page --- */
.contact-page {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--text-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 6rem;
  overflow: hidden;
}

.contact-page > .contact-left,
.contact-page > .contact-right {
  position: relative;
  z-index: 1;
}

.contact-left {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-left .label {
  margin-bottom: 2rem;
  color: var(--light-blue);
  font-weight: 700;
}

.contact-page .accent-line::before {
  background: var(--light-blue);
  height: 4px;
  width: 2rem;
}

.contact-left h2 {
  margin-bottom: 0.5rem;
  color: var(--text-white);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-left .bold-text {
  font-weight: 700;
  color: var(--text-white);
}

.contact-locations {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.contact-locations strong {
  color: var(--text-white);
}

.contact-locations span {
  color: rgba(255, 255, 255, 0.6);
}

.contact-right {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-group {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  color: var(--text-white);
  padding: 0.75rem 0;
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent);
}

.contact-footer {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-footer__email {
  color: var(--light-blue);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(179, 215, 237, 0.5);
  text-underline-offset: 4px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.contact-footer__email:hover {
  color: var(--text-white);
  text-decoration-color: var(--text-white);
}

.contact-footer__social {
  display: flex;
  gap: 0.75rem;
}

.contact-footer__social a {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.contact-footer__social a:hover {
  background: var(--accent);
  color: var(--text-white);
}

/* --- About Page --- */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: 0;
  transform: scale(1.06);
  filter: saturate(0.92) contrast(1.02);
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(15, 35, 56, 0.55) 0%, rgba(15, 35, 56, 0.78) 60%, rgba(10, 26, 42, 0.92) 100%),
    linear-gradient(180deg, rgba(10, 26, 42, 0.55) 0%, rgba(15, 35, 56, 0.55) 50%, rgba(10, 26, 42, 0.8) 100%);
}

.about-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at center, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 7rem 0 5rem;
  text-align: center;
}

.about-hero__content .section-marker {
  color: var(--light-blue);
  margin: 0 auto;
}

.about-hero__content h2,
.about-hero__content p {
  color: var(--text-white);
}

.about-hero__body {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.about-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 1.75rem;
  opacity: 0.95;
}

.about-hero__kicker::before,
.about-hero__kicker::after {
  content: '';
  display: block;
  width: 38px;
  height: 1px;
  background: var(--light-blue);
  opacity: 0.55;
}

.about-hero__body h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  text-wrap: balance;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.about-hero__body p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto;
  text-wrap: balance;
}

.about-hero__rule {
  width: 64px;
  height: 2px;
  background: var(--melon);
  margin: 2.25rem auto 0;
  border-radius: 2px;
}

.about-hero--values .about-hero__content {
  padding: 5rem 0 4rem;
}

.about-hero--values .about-hero__body {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.about-hero--values .about-hero__body h2 {
  max-width: 28ch;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 0;
}

.about-hero--values .value-card {
  padding: 1.5rem 1.4rem 1.75rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.about-hero--values .value-card__number {
  font-size: clamp(2.25rem, 3.2vw, 2.75rem);
  margin-bottom: 0.9rem;
}

.about-hero--values .value-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.values-section {
  position: relative;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(179, 215, 237, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(255, 177, 175, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #eef3f8 0%, #e7eef5 100%);
}

.values-section .section__bg-pattern--text {
  opacity: 0.18;
}

.values-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.values-section__kicker {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(58, 102, 127, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.values-section__title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--primary);
  text-wrap: balance;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.about-values .value-card:nth-child(1),
.about-values .value-card:nth-child(2),
.about-values .value-card:nth-child(3) { grid-column: span 2; }
.about-values .value-card:nth-child(4) { grid-column: 2 / span 2; }
.about-values .value-card:nth-child(5) { grid-column: 4 / span 2; }

.value-card {
  position: relative;
  text-align: left;
  padding: 2.25rem 1.75rem 2.5rem;
  background: #ffffff;
  border: 1px solid rgba(37, 75, 114, 0.1);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 24px -16px rgba(15, 35, 56, 0.25);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.value-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(179, 215, 237, 0) 0%, rgba(179, 215, 237, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px -28px rgba(15, 35, 56, 0.35);
  border-color: rgba(37, 75, 114, 0.18);
  background: #ffffff;
}

.value-card:hover::before {
  opacity: 1;
}

.value-card__number {
  position: relative;
  display: inline-block;
  font-family: 'Franie', 'Poppins', sans-serif;
  font-size: clamp(2.75rem, 4vw, 3.4rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  margin-bottom: 1.5rem;
  transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease, transform 0.35s ease;
}

.value-card__number::after {
  content: '';
  position: absolute;
  left: -2px;
  bottom: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--melon);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.value-card:hover .value-card__number {
  color: var(--primary);
  -webkit-text-stroke-color: var(--primary);
  transform: translateX(2px);
}

.value-card:hover .value-card__number::after {
  opacity: 1;
  transform: translateX(0);
}

.value-card h4 {
  position: relative;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.65rem;
  letter-spacing: -0.005em;
}

.value-card p {
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(37, 75, 114, 0.78);
  margin: 0;
}

.value-card__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-secondary));
  transition: width 0.4s ease, background 0.4s ease;
}

.value-card:hover .value-card__bar {
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--melon));
}

/* --- Carousel Arrow --- */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition), transform var(--transition);
  border: none;
}

.carousel-arrow:hover {
  background: var(--accent-hover);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow--prev { left: 1rem; }
.carousel-arrow--next { right: 1rem; }

.carousel-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- CTA Section (closing) --- */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section h2 {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* --- Dark page header variant --- */
.header--dark-page .header__menu-dots span {
  background: var(--text-white);
}

/* --- Site footer --- */
.site-footer {
  padding: 1.5rem 1.5rem;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.site-footer a {
  color: var(--text-white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color var(--transition), color var(--transition);
}

.site-footer a:hover {
  border-bottom-color: var(--text-white);
}

/* ========== VIDEO HERO (full-viewport, autoplay) ========== */

.video-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.video-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 3;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  animation: video-hero-scroll-fade 2.4s ease-in-out infinite;
}

.video-hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  position: relative;
}

.video-hero__scroll-wheel {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 1.5px;
  background: #fff;
  transform: translateX(-50%);
  animation: video-hero-scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes video-hero-scroll-wheel {
  0%   { opacity: 0; transform: translate(-50%, -4px); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

@keyframes video-hero-scroll-fade {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .video-hero__scroll,
  .video-hero__scroll-wheel { animation: none; }
}

.video-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 32, 0.65) 0%, rgba(8, 18, 32, 0.5) 45%, rgba(8, 18, 32, 0.78) 100%);
  pointer-events: none;
  z-index: 1;
}

.video-hero__content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  z-index: 2;
  pointer-events: none;
}

.video-hero__inner {
  max-width: 960px;
  text-align: center;
  color: var(--text-white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.video-hero__title {
  font-family: 'Franie', 'Poppins', sans-serif;
  font-size: clamp(1.625rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0;
  color: #fff;
}

.video-hero__subtitle {
  margin: clamp(1.25rem, 2.5vw, 2rem) auto 0;
  max-width: 56ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

/* ========== VIDEO REEL (slide 2) ========== */

.video-reel {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.video-reel__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-reel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 32, 0.32);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-reel[data-state="playing"]::before,
.video-reel[data-state="auto"]::before { opacity: 0; }

.video-reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(72px, 9vw, 112px);
  height: clamp(72px, 9vw, 112px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.video-reel__play:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-reel__play svg {
  width: 38%;
  height: 38%;
  margin-left: 4%;
}

.video-reel[data-state="playing"] .video-reel__play {
  opacity: 0;
  pointer-events: none;
}

/* ========== CTA — STARSCAPE VARIANT ========== */

.cta-section--starscape {
  position: relative;
  isolation: isolate;
  background: #0b1a2c center/cover no-repeat;
  background-image: image-set(
    url('../img/stock/cta-final-starscape.webp') type('image/webp'),
    url('../img/stock/cta-final-starscape.jpg') type('image/jpeg')
  );
  color: var(--text-white);
}

.cta-section--starscape::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 36, 0.55) 0%, rgba(8, 18, 36, 0.7) 100%);
  z-index: 0;
}

.cta-section--starscape > .container {
  position: relative;
  z-index: 1;
}

.cta-section--starscape .section__bg-pattern {
  opacity: 0.12;
  z-index: 0;
}

.cta-section--starscape h2 {
  color: var(--text-white);
}

.cta-section--starscape p {
  color: rgba(255, 255, 255, 0.82);
}

/* ========== RECURRING CTA — ENLARGED ========== */

.cta-section--final h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  max-width: 20ch;
  margin: 0 auto 1rem;
}
.cta-section--final p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 38ch;
  margin: 0 auto 2rem;
}
.cta--xl {
  font-size: 1.125rem;
  padding: 1.125rem 2.5rem;
  letter-spacing: 0.08em;
}
.cta--xl .cta__icon {
  width: 2.75rem;
  height: 2.75rem;
}
.cta--xl .cta__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Flag images (replace emoji flags, which don't render on Windows). 4:3 SVGs sized by height. */
.flag {
  display: inline-block;
  height: 0.85em;
  width: auto;
  vertical-align: -0.08em;
  margin-left: 0.35em;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.cta__flag {
  height: 1.05em;
  vertical-align: -0.12em;
  margin-left: 0.5em;
}
