/* ============ Mobile Nav ============ */
.header{
  background: var(--bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 10000;
}

.header__container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gap-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}

/* Logo */
.header__logo-img{
  display:block;
  height: 52px;                /* tweak to match your logo */
  width: auto;
}



/* =========================================================
   NAV — DESKTOP-FIRST BASE
   ========================================================= */

/* Generic interaction affordances */
.nav__link,
.nav__link--dropdown,
.nav__submenu-link { cursor: pointer; }

.nav__toggle { display: none; background: none; border: 0; padding: 8px; }
.nav__toggle-bar { width: 26px; height: 2px; background: var(--text); display: block; margin: 5px 0; }

/* Desktop base (desktop-first) */
.nav { position: relative; z-index: 10; }
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--gap-lg, 48px);
}
.nav__item { position: relative; }

.nav__link,
.nav__link--dropdown {
  display: inline-block;
  padding: 10px 0;
  color: var(--text, #2b2b2b);
  font-weight: 500;
  transition: opacity .15s ease;
  background: transparent;
  border: 0; /* for the button version */
  font: inherit;
}
.nav__link:hover,
.nav__link--dropdown:hover { opacity: .7; }

/* ===================== DESKTOP DROPDOWN ===================== */
@media (min-width: 961px){
  .nav__item--dropdown { position: relative; }
  .nav__icon { margin-left: 6px; font-size: .8em; }

  /* Dropdown panel (desktop only) */
  .nav__submenu{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
    z-index: 20;
  }
  .nav__submenu-list { list-style: none; margin: 0; padding: 0; }

  .nav__submenu-link{
    display: block;
    padding: 10px 14px;
    color: var(--text, #2b2b2b);
  }
  .nav__submenu-link:hover{ background:#f3f3f3; }

  /* show submenu on hover */
  .nav__item--dropdown:hover .nav__submenu{
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }
}

/* =========================================================
   MOBILE (≤960px): HAMBURGER + FULL-SCREEN PANEL + INLINE SUBMENU
   ========================================================= */
@media (max-width: 960px){
  :root {
    --header-h: 72px;
    --divider-w: 78%;
    --divider: rgba(0,0,0,.10);
    --submenu-indent: 28px;             /* tab depth for submenu rows */
  }

  /* Short, subtle divider after each TOP-LEVEL item (not full width) */
  #nav-menu .nav__item{ position: relative; width: 100%; }
  #nav-menu .nav__item:not(:last-child)::after{
    content:"";
    display:block;
    width: var(--divider-w);
    height: 1px;
    background: var(--divider);
    margin: 10px 0 0 var(--gap-md, 24px);   /* left indent for the line */
  }

  /* Show hamburger */
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__icon{ transition: transform .25s ease; }

  /* Full-screen panel under the sticky header */
  #nav-menu.nav{
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
    background: var(--header-bg, #f7f7f5);
    border: 0; box-shadow: none;

    /* closed */
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity .24s ease,
      transform .28s ease;
    overflow: hidden;
    z-index: 1500;
  }
  #nav-menu.nav.nav--open{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Column list fills panel and can scroll — LEFT aligned */
  #nav-menu .nav__list{
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    margin: 0;
    padding: 16px var(--gap-md, 24px) 20px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
    text-align: left;
  }

  /* Big touch targets, left aligned */
  #nav-menu .nav__link,
  #nav-menu .nav__link--dropdown{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 6px;
    font-size: clamp(22px, 3.6vw, 26px);
    font-weight: 600;
    width: 100%;
  }
  .nav__link--dropdown.is-open .nav__icon{ transform: rotate(180deg); }

  /* ===== Inline Services submenu (pushes items down) ===== */

  /* Submenu list basic padding (no indent here; keep edges clean) */
  #nav-menu .nav__submenu-list{
    list-style: none;
    margin: 0;
    padding: 6px var(--gap-md, 24px);
    overflow: hidden;
  }

  /* Submenu link INDENT — this guarantees the visual tab regardless of UL padding */
  #nav-menu .nav__submenu-link{
    display: block;
    padding: 12px 0;
    padding-left: calc(var(--submenu-indent) + 0px);  /* ← actual indent */
    font-weight: 500;
    text-align: left;
    border-radius: 8px;
  }

  /* Subtle separators inside submenu */
  #nav-menu .nav__submenu-item + .nav__submenu-item{
    border-top: 1px solid rgba(0,0,0,.09);
  }

  #nav-menu .nav__submenu-link:hover,
  #nav-menu .nav__submenu-link:focus-visible{
    background: #f3f3f3; outline: none;
  }

  /* make hamburger feel clickable */
  .nav__toggle{ cursor: pointer; }

  /* ===== Services submenu (inline, push-down) — animate IN & OUT ===== */
  /* Base closed: no footprint */
  #services-submenu{
    display: none;               /* hidden until opening */
  }

  /* We render block during animations & when open */
  #services-submenu.is-opening,
  #services-submenu.is-open,
  #services-submenu.is-closing{
    display: block;
  }

  /* Actual animated element lives on the container */
  #services-submenu{
    overflow: hidden;
    height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: height .28s ease, opacity .18s ease, transform .18s ease;
    padding: 0;                   /* no spacing while fully closed */
  }

  /* Opening: fade/slide in and we’ll grow height via JS */
  #services-submenu.is-opening{
    opacity: 1;
    transform: translateY(0);
    padding: 6px 0 8px;          /* include padding during the grow, so height target is correct */
  }

  /* Open: stable state; let content grow naturally */
  #services-submenu.is-open{
    opacity: 1;
    transform: none;
    height: auto;                /* JS sets after transition */
    padding: 6px 0 8px;
  }

  /* Closing: fade/slide up while height animates to 0 */
  #services-submenu.is-closing{
    opacity: 0;
    transform: translateY(-6px);
    /* keep same padding during collapse; height calc already includes it */
  }
}

/* Prevent page behind from scrolling when the panel is open (JS toggles this) */
body.no-scroll { overflow: hidden; }


/* =========================
   HERO (text-only section)
   ========================= */
.hero{
  background: var(--bg);               /* same soft tone as header */
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  overflow: hidden;                            /* keeps rounded bottom crisp */
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;                                  /* above other content */
  margin-bottom: -20px;
}

.hero__container{
  max-width: var(--container);                 /* e.g., 1200px from :root */
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) var(--gap-md) clamp(18px, 3vw, 28px);
}

.hero__title{
  font-size: clamp(28px, 5.2vw, 48px);         /* 48px on desktop */
  line-height: 1;
  font-weight: 500;
  margin: 0;
  color: var(--text);
  text-wrap: balance;                           /* nicer multi-line headings (supported modern browsers) */
  max-width: 28ch;
}

.hero__highlight{
  color: #8b947d;                               /* adjust to brand */
  font-weight: 800;
}

/* Slight spacing refinement on larger screens */
@media (min-width: 1024px){
  .hero__container{
    padding-bottom: clamp(16px, 2.2vw, 28px);
  }
}
/* =========================
   PARALLAX (full-bleed image)
   HTML:

   ========================= */

/* Length of the reveal between hero and next section */
.parallax{
  position: relative;
  height: 110vh;
}

/* Full-bleed wrapper that ignores page gutters/containers */
.parallax__wrapper{
  position: relative;
  transform: translateX(0%);
  width: 100vw;
  height: 100%;                  /* fills the whole parallax section */
  overflow: hidden;
}

.parallax__image{
  position: sticky;
  top: 0;
  z-index: 0;
  display: block;
  max-width: 100%;
  height: calc(100% + var(--parallax-overscan, 40vh)); /* taller to avoid gaps */
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transform: translateY(var(--parallax, 0px));
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .parallax{ height: 70vh; }
  .parallax__wrapper{
    height: 70vh;
  }
  .parallax__image{
    position: relative;           /* disable stickiness */
    top: auto;
  }
}

/* Optional tuning at breakpoints */
@media (min-width: 768px){
  .parallax{ height: 130vh; }
}
@media (min-width: 1024px){
  .parallax{ height: 140vh; }
}

/* =========================================
   history INTRO — header + rule + lede
   ========================================= */
.history-intro{
  width: 100%;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 8px 24px rgba(255,255,255,0.12);

  position: relative;
  z-index: 1;

  /* slight overlap if it follows a parallax strip; safe to keep */
  --overlap: 20px;
  margin-top: calc(-1 * var(--overlap));

  padding: 28px 0 64px;
}

.history-intro__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
  display: grid;
  gap: 14px;
}

/* Header */
.history-intro__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-intro__title{
  margin: 0;
  color: #28282A;
  font-weight: 400;                         /* medium feel in the shot */
  font-size: clamp(28px, 3.2vw, 36px);      /* scales up but stays elegant */
  line-height: 1.15;
}

/* Full-width rule under the title */
.history-intro__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 8px;
  background-color: rgba(40, 40, 42, 0.4); /* visible neutral gray line */
  border: none;
  border-radius: 1px;
}

/* Lede paragraph */
.history-intro__body p{
  margin: 0;
  color: #28282A;
  font-weight: 100;
  font-size: clamp(20px, 1.6vw, 18px);
  line-height: 1.65;
  max-width: 78ch;                          /* comfortable measure */
}

/* Mobile tweaks */
@media (max-width: 920px){
  .history-intro{ padding: 24px 0 48px; }
  .history-intro__container{ padding: 0 var(--gap-sm, 18px); gap: 10px; }
}

/* Note */
.addon-intro__note {
  color: #717362;                          /* soft muted gray */
  font-size: clamp(12px, 3.2vw, 18px);
  font-weight: 20;
  line-height: 1.6;
  margin: 8px 0 0;
}

/* ---------- Sticky full-width subnav (below header) ---------- */
:root { --header-h: 72px; }

.why-subnav{
  position: sticky;
  top: var(--header-h, 72px);
  z-index: 9000;
  background: #2b2b2c;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset;
  max-width: 100vw;                    /* cover full viewport width */
  left: 50%;
  margin-bottom: 20px;
}

/* Inner container simply controls max content width */
.why-subnav__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  text-align: center;
}

/* Links */
.why-subnav__link{
  display: block;
  padding: 14px clamp(12px, 2vw, 24px);
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(13px, 1.3vw, 15px);
  transition: opacity .18s ease, color .18s ease;
  position: relative;
}

/* Dividers */
.why-subnav__link + .why-subnav__link{
  border-left: 1px solid rgba(255,255,255,.28);
}

/* Hover + active */
.why-subnav__link:hover{ opacity:.8; }
.why-subnav__link.is-active{ color:#fff; }

/* Smooth anchor offset */
section[id]{ scroll-margin-top: calc(var(--header-h,72px) + 56px); }

/* Mobile scrolling */
@media (max-width: 720px){
  .why-subnav__container{
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding: 0 12px;
  }
  .why-subnav__container::-webkit-scrollbar{ display:none; }
  .why-subnav__link{
    flex: 0 0 auto;
    border-left: none;
    padding: 14px 16px;
  }
}

/* === History videos (two-up, responsive) === */
.history-videos {
  margin-top: clamp(18px, 3vw, 24px);
  padding: 0 20px;
  }

.history-videos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.8vw, 28px);
}

/* Card chrome matching the screenshot */
.history-video {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(122, 102, 224, .45);   /* soft lavender edge */
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  padding: 10px;                                 /* YouTube’s default card gutter */
}

/* 16:9 responsive frame */
.history-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;                           /* modern ratio */
  border-radius: 8px;
  overflow: hidden;
}

/* Fallback if aspect-ratio unsupported (optional) */
@supports not (aspect-ratio: 16 / 9) {
  .history-video__frame { padding-top: 56.25%; }
  .history-video__frame iframe { position: absolute; inset: 0; }
}

.history-video__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Stack on mobile */
@media (max-width: 860px) {
  .history-videos__grid { grid-template-columns: 1fr; }
}

/* =========================================
   VISUAL BREAK — Full viewport image section
   ========================================= */
.visual-break {
  position: relative;
  width: 100%;
  height: 100vh;                            /* full viewport height */
  overflow: hidden;
  background: #000;                         /* fallback before image loads */
}

.visual-break__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.88);                 /* soft dark overlay */
  transition: transform 8s ease-out, filter 0.4s ease;
}

/* Subtle parallax-style zoom (optional) */
.visual-break:hover .visual-break__img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

/* Mobile fix */
@media (max-width: 900px) {
  .visual-break {
    height: 80vh; /* slightly shorter to avoid scroll jank on phones */
  }
}


.language-intro,
.geography-intro {
  width: 100%;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 8px 24px rgba(255,255,255,0.12);
  position: relative;
  z-index: 1;
  --overlap: 20px;
  margin-top: calc(-1 * var(--overlap));
  padding: 28px 0 64px;
}

.language-intro__container,
.geography-intro__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
  display: grid;
  gap: 14px;
}

.language-intro__header,
.geography-intro__header{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.language-intro__title,
.geography-intro__title{
  margin: 0;
  color: #28282A;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.15;
}

.language-intro__rule,
.geography-intro__rule{
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 8px;
  background-color: rgba(40, 40, 42, 0.4);
  border: none;
  border-radius: 1px;
}

.language-intro__body p,
.geography-intro__body p{
  margin: 0 0 10px 0;
  color: #28282A;
  font-weight: 100;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.65;
  max-width: 78ch;
}

/* Note line (reuses your existing style) */
.language-intro .addon-intro__note,
.geography-intro .addon-intro__note{
  color: #717362;
  font-size: clamp(12px, 3.2vw, 18px);
  font-weight: 20;
  line-height: 1.6;
  margin: 8px 0 0;
}

/* Mobile tweaks match your original */
@media (max-width: 920px){
  .language-intro,
  .geography-intro{ padding: 24px 0 48px; }
  .language-intro__container,
  .geography-intro__container{ padding: 0 var(--gap-sm, 18px); gap: 10px; }
}

/* Inline link for "Why Philippines" sections */
.why__link {
  color: #4a4a4d;                            /* slightly darker than body text */
  text-decoration: underline;
  text-decoration-color: rgba(40, 40, 42, 0.4);
  text-underline-offset: 3px;
  font-weight: 500;                          /* gives slight emphasis */
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.why__link:hover,
.why__link:focus-visible {
  color: #111;                               /* richer contrast on hover */
  text-decoration-color: currentColor;       /* underline becomes solid */
}

.why__link:focus-visible {
  outline: 2px solid rgba(40,40,42,0.4);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================
   geography — images (fill container)
   ========================= */
.geography__images{
  /* set the gap once this looks right: 0 first, then clamp(...) */
  --img-gap: 0;

  max-width: var(--container, 1100px);
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: 0 var(--gap-md, 24px);

  display: grid;
  grid-template-columns: 1fr 1fr;    /* even split */
  gap: var(--img-gap);               /* start with 0 to remove the seam */
  --img-gap: clamp(16px, 3vw, 28px);  /* then add some gap */
}

.geography__image{
  margin: 0;                         /* kill default figure margins */
  display: flex;
  flex-direction: column;
}

.geography__image img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;              /* consistent, taller look */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.geography__image figcaption{
  margin-top: 8px;
  text-align: right;
  font-size: clamp(12px, 1.3vw, 14px);
  color: #a0a09c;
}

/* Stack on small screens */
@media (max-width: 820px){
  .geography__images{
    grid-template-columns: 1fr;
    --img-gap: clamp(12px, 3vw, 20px);  /* add some vertical gap on mobile */
  }
}

/* =============== Geography Map =============== */
.geo-map {
  background: var(--bg);
  padding: clamp(24px, 6vw, 56px) 0;
}

.geo-map__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
  display: grid;
  gap: 10px;
}

/* Keep it responsive and nicely framed */
.geo-map__iframe{
  width: 100%;
  aspect-ratio: 16 / 9;      /* keeps proportion on all viewports */
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  background: #e9ecef;       /* placeholder color while it loads */
}

/* Fallback height if aspect-ratio is unsupported */
@supports not (aspect-ratio: 1) {
  .geo-map__iframe{ height: 420px; }
}

.geo-map__hint{
  margin: 0;
  font-size: 13px;
  color: #717362;
}

/* Optional: dark section variant */
.geo-map--dark .geo-map__hint{ color: rgba(255,255,255,.75); }

/* =========================================
   TRAVEL DESTINATIONS — full-width dark block
   ========================================= */
.travel-destinations {
  width: 100%;
  background: #28282A;               /* dark background */
  color: #f5f5f3;                    /* light text */
  border-radius: 24px;               /* rounded edges top & bottom */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

  position: relative;
  z-index: 2;

  /* overlap with previous and next sections for seamless transition */
  --overlap: 32px;
  margin-top: calc(-1 * var(--overlap));
  margin-bottom: calc(-1 * var(--overlap));

  padding: clamp(48px, 8vw, 96px) 0;
}

/* Centered content and consistent inner width */
.travel-destinations__container {
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

/* Optional top divider line (like in screenshot) */
.travel-destinations__rule {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin-top: 10px;
  border: none;
}

/* Section title */
.travel-destinations__title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 500;
  color: #f5f5f3;
  margin: 0;
  line-height: 1.4;
}

/* Subtle link at the bottom */
.travel-destinations__note {
  margin: 0;
  padding-top: clamp(16px, 3vw, 24px);
  font-size: clamp(13px, 1.2vw, 15px);
  color: #f5f5f3;
  font-weight: 100;
  text-align: left;
}

.travel-destinations__link {
  color: #e0e0e0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.travel-destinations__link:hover {
  color: #fff;
}

/* Responsive spacing adjustments */
@media (max-width: 900px) {
  .travel-destinations {
    border-radius: 18px;
    padding: clamp(36px, 8vw, 64px) 0;
  }
}

/* =========================================
   TRAVEL DESTINATIONS — inner layout (fix)
   Uses your actual class names from the HTML
   ========================================= */

/* Grid: two list columns + wider video card */
.travel-destinations__grid{
  display: grid;
  grid-template-columns: 1fr 1fr minmax(460px, 560px); /* video reads bigger */
  gap: clamp(20px, 3.2vw, 36px);
  align-items: start;
}

/* Make the two groups form their own tidy two-column block */
.travel-destinations__lists{
  grid-column: 1 / 3;                    /* span first two grid tracks */
  display: grid;
  grid-template-columns: 1fr 1fr;        /* Internacionales | Nacionales */
  column-gap: clamp(24px, 3vw, 40px);
  row-gap: clamp(12px, 2vw, 16px);
}

/* Group headings */
.travel-destinations__group-title{
  margin: 0 0 10px;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 24px);;
  color: #f6f6f7;
}

/* Bulleted lists */
.travel-destinations__list{
  margin: 0;
  padding: 0 0 0 1.1em;                  /* indent for bullets */
  list-style: disc;
}
.travel-destinations__list li{
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
  color: #f5f5f3;
  font-weight: 100;
}

/* Video column/card */
.travel-destinations__media{
  grid-column: 3 / 4;                    /* right column */
  align-self: start;
}

.tdest__video{
  background: #fff;
  color: #1f1f20;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}

/* Responsive 16:9 embed */
.tdest__iframe{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

/* Footer link subtlety (spacing align to screenshot) */
.travel-destinations__note{
  padding-top: clamp(18px, 3vw, 24px);
  color: rgba(255,255,255,.75);
}
.travel-destinations__link{
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.travel-destinations__link:hover{
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px){
  .travel-destinations__grid{
    grid-template-columns: 1fr 1fr;      /* two cols */
  }
  .travel-destinations__media{
    grid-column: 1 / -1;                 /* video full width below lists */
  }
}

@media (max-width: 760px){
  .travel-destinations__lists{
    grid-template-columns: 1fr;          /* stack Internac. / Nac. */
  }
  .travel-destinations__grid{
    grid-template-columns: 1fr;          /* single column flow */
    row-gap: clamp(18px, 4vw, 28px);
  }
}

/* Reuse the same intro pattern */
.culture-intro{
  width: 100%;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 8px 24px rgba(255,255,255,0.12);
  position: relative;
  z-index: 1;
  --overlap: 20px;
  margin-top: calc(-1 * var(--overlap));
  padding: 64px 0 64px;
}

.culture-intro__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
  display: grid;
  gap: 14px;
}

.culture-intro__header{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.culture-intro__title{
  margin: 0;
  color: #28282A;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.15;
}

.culture-intro__rule{
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 8px;
  background-color: rgba(40, 40, 42, 0.4);
  border: none;
  border-radius: 1px;
}

.culture-intro__body p{
  margin: 0;
  color: #28282A;
  font-weight: 100;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.65;
  max-width: 78ch;
}

/* Mobile */
@media (max-width: 920px){
  .culture-intro{ padding: 64px 0 48px; }
  .culture-intro__container{ padding: 0 var(--gap-sm, 18px); gap: 10px; }
}

/* =========================================
   COST OF LIVING — header + rule + two-column
   ========================================= */
.cost-intro {
  width: 100%;
  background: var(--bg, #f7f7f5);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 8px 24px rgba(255,255,255,0.12);

  position: relative;
  z-index: 1;
  --overlap: 20px;
  margin-top: calc(-1 * var(--overlap));
  padding: 28px 0 64px;
}

.cost-intro__container {
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
  display: grid;
  gap: 16px;
}

/* Header */
.cost-intro__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cost-intro__title {
  margin: 0;
  color: #28282A;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.15;
}

.cost-intro__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 8px;
  background-color: rgba(40, 40, 42, 0.4);
  border: 0;
  border-radius: 1px;
}

/* Body grid */
.cost-intro__grid {
  display: grid;
  grid-template-columns: 1fr min(42vw, 520px);
  gap: clamp(20px, 3.2vw, 40px);
  align-items: start;
}

/* Text */
.cost-intro__content p {
  margin: 0 0 12px 0;
  color: #28282A;
  font-weight: 100;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.65;
  max-width: 78ch;
}

/* External links list */
.cost-intro__links {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

/* Links — clean hover style */
.cost-intro__link {
  color: #28282A;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .25s ease;
}
.cost-intro__link:hover,
.cost-intro__link:focus-visible {
  color: #6b6b6e; /* lighter neutral hover tone */
}

/* Image */
.cost-intro__media { margin: 0; }
.cost-intro__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

/* Responsive */
@media (max-width: 980px) {
  .cost-intro { padding: 24px 0 56px; }
  .cost-intro__container { padding: 0 var(--gap-sm, 18px); }

  .cost-intro__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cost-intro__img {
    aspect-ratio: 16 / 9;
  }
}

/* ============ Testimonial Carousel ============ */
.tcarousel{
  --bg:#1f1f20;
  --text:#f6f6f7;
  --muted:#cfcfd2;
  --rule:rgba(255,255,255,.28);

  background:var(--bg);
  color:var(--text);
  padding:clamp(40px,6vw,96px) 0;
}
.tcarousel__container{
  max-width:var(--container,1100px);
  margin:0 auto;
  padding:0 var(--gap-md,24px);
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
}

.tcarousel__slide{ margin:0; }
.tcarousel__quote{
  margin:0 0 16px 0;
  font-weight:700;
  line-height:1.25;
  font-size:clamp(22px,3.6vw,40px);
}

/* Divider becomes a progress track */
.tcarousel__rule{
  position: relative;
  display:block;
  height: 2px;
  width: min(38ch, 60%);
  margin: 10px 0 16px;
  background: rgba(255,255,255,.25); /* track */
  overflow: hidden;
  border-radius: 2px;
}

/* Filling bar */
.tcarousel__bar{
  position:absolute; inset:0 auto 0 0;
  width: 0%;
  background: #fff;                 /* fill color */
  transform: translateZ(0);         /* keep it crisp */
}

@media (max-width: 920px){
  .tcarousel__rule{ width: 65%; }
}

.tcarousel__by{ margin:0; font-size:clamp(14px,1.5vw,16px); }
.tcarousel__name{ font-weight:700; }
.tcarousel__role{ color:var(--muted); margin-left:6px; }

/* controls */
.tcarousel__ctrl{
  background:transparent; border:0; color:var(--muted);
  font-size:32px; line-height:1; padding:8px 10px; cursor:pointer;
  transition:color .2s ease, transform .15s ease;
}
.tcarousel__ctrl:hover,
.tcarousel__ctrl:focus-visible{ color:var(--text); transform:translateY(-1px); }
.tcarousel__ctrl:focus-visible{ outline:2px solid var(--text); outline-offset:2px; }

/* dots */
.tcarousel__dots{
  display:flex; gap:8px; justify-content:center; margin-top:18px;
}
.tcarousel__dot{
  width:8px; height:8px; border-radius:50%;
  background:rgba(255,255,255,.35);
  border:0; padding:0; cursor:pointer;
}
.tcarousel__dot[aria-current="true"]{ background:#fff; }

@media (max-width: 820px){
  .tcarousel__container{ grid-template-columns:1fr; }
  .tcarousel__ctrl{ display:none; }
  .tcarousel__rule{ width:65%; }
}

/* --- Testimonial carousel swish --- */
.tcarousel__slide { position: relative; overflow: hidden; }

.tcarousel__slide.is-out-left   { animation: tcar-out-left .28s ease both; }
.tcarousel__slide.is-out-right  { animation: tcar-out-right .28s ease both; }
.tcarousel__slide.is-in-left    { animation: tcar-in-left .32s ease both; }
.tcarousel__slide.is-in-right   { animation: tcar-in-right .32s ease both; }

/* Out */
@keyframes tcar-out-left  { to { transform: translateX(-28px); opacity: 0; filter: blur(1px); } }
@keyframes tcar-out-right { to { transform: translateX( 28px); opacity: 0; filter: blur(1px); } }

/* In */
@keyframes tcar-in-left  {
  from { transform: translateX(-28px); opacity: 0; filter: blur(1px); }
  to   { transform: translateX(0);     opacity: 1; filter: blur(0); }
}
@keyframes tcar-in-right {
  from { transform: translateX(28px); opacity: 0; filter: blur(1px); }
  to   { transform: translateX(0);    opacity: 1; filter: blur(0); }
}

/* =========================================
   CONTACT FORM SECTION
   ========================================= */
.contact {
  background: #f7f7f5;
  padding: clamp(60px, 10vw, 120px) 0;
}

/* Two-column layout */
.contact__container {
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid #717362;
  padding-top: clamp(16px, 2vw, 24px);
}
@media (max-width: 900px) {
  .contact__container {
    grid-template-columns: 1fr;
  }
}

.contact__title {
  font-size: 48px;
  font-weight: 500; /* Medium */
  color: #28282A;
  line-height: 1.2;
  margin: 0;
}

/* Right side (form) */
.contact__form {
  display: grid;
  gap: clamp(28px, 3vw, 36px);
}

/* ========== Field Structure ========== */
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 24px;
  font-weight: 600; /* Semibold */
  color: #28282A;
}

/* Underline style */
.field__underline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #717362;
  opacity: 0.6;
}

/* Inputs & textareas */
.field__input,
.field__textarea {
  border: none;
  background: transparent;
  font-size: 20px;
  font-weight: 300; /* Light */
  color: #28282A;
  padding: 4px 0 10px;
  outline: none;
  border-bottom: 1px solid #717362;
  transition: border-color 0.25s ease;
}
.field__input::placeholder,
.field__textarea::placeholder {
  color: #717362;
  font-weight: 300;
  font-size: 20px;
}
.field__input:focus,
.field__textarea:focus {
  border-color: #28282A;
}

/* Textarea specifics */
.field__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit button */
.btn--primary {
  background: #28282A;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn--primary:hover {
  background: #3a3a3d;
  transform: translateY(-2px);
}

/* Status text */
.contact__status {
  font-size: 16px;
  color: #717362;
  margin-top: 10px;
}


/* =====================
   Footer
   ===================== */
.site-footer{
  --footer-bg: #28282A;
  --footer-text: #e9e9ea;
  --footer-dim: rgba(233,233,234,.7);
  background: var(--footer-bg);
  color: var(--footer-text);
}

.site-footer__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 24px var(--gap-md, 24px);
}

.site-footer__grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr; /* brand | nav | phones */
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

/* Brand */
/* Footer Brand — refined spacing and divider */
.footer-brand{
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 36px); /* increased space between logo and email */
}

.footer-brand__logo-img{
  max-width: 180px;
  height: auto;
  display: block;
}

.footer-brand__email{
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--footer-text);
  text-decoration: underline;
  text-underline-offset: 3px;

  display: block;                            /* make the link fill full width */
  width: 100%;                               /* ensures divider spans the column */
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.15); /* subtle but visible divider */
}

.footer-brand__email:hover{
  color: #fff;
  text-decoration-color: currentColor;
}

/* Nav */
.footer-nav__list{
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
}
.footer-nav__list a{
  color: var(--footer-dim);
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}
.footer-nav__list a:hover{ color: var(--footer-text); }

/* Phones */
.footer-phones__title{
  margin: 0 0 18px 0;
  font-size: clamp(14px, 1.2vw, 15px);
  font-weight: 700;
  color: var(--footer-text);
}
.footer-phones__list{
  margin: 0 0 18px 0;
  padding: 0;
}
.footer-phones__row{
  display: grid;
  grid-template-columns: 56px 1fr; /* code | number */
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-phones__row dt{
  color: var(--footer-dim);
  font-weight: 600;
}
.footer-phones__row dd{
  margin: 0;
}
.footer-phones__row a{
  color: var(--footer-text);
  text-decoration: none;
}
.footer-phones__row a:hover{ text-decoration: underline; }

.footer-address{
  margin-top: 18px;
  font-style: normal;
  color: var(--footer-dim);
  line-height: 1.5;
  font-size: clamp(12px, 1.1vw, 13px);
}

/* =====================
   Footer — Legal Section (compact)
   ===================== */
.site-footer__legal{
  border-top: 1px solid rgba(255,255,255,.08);
  background: #28282A;
}

.site-footer__legal-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(12px, 2vw, 24px);
}

.legal-links a{
  color: var(--footer-dim);
  text-decoration: none;
  font-size: 12px;                   /* smaller text */
  transition: color .18s ease, opacity .18s ease;
}
.legal-links a:hover{
  color: var(--footer-text);
  text-decoration: underline;
}

.copyright{
  margin: 0;
  color: var(--footer-dim);
  font-size: 12px;                   /* match link size */
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 980px){
  .site-footer__grid{
    grid-template-columns: 1fr 1fr; /* brand | nav  / phones below */
  }
  .footer-phones{ grid-column: 1 / -1; }
}
@media (max-width: 640px){
  .site-footer__grid{
    grid-template-columns: 1fr;
  }
  .site-footer__legal-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}
