/* ============================================================
   NEXORA INTERNATIONAL - PAGE LAYOUTS
   ============================================================ */

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--bg-primary);
  overflow: hidden;
}

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

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero__eyebrow-line {
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--gold);
  flex-shrink: 0;
}

.hero__eyebrow-text {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.hero__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

/* Only accent spans get gold — NOT the .word spans from animate-text */
.hero__title .hero__accent { color: var(--gold); }
.hero__title .word { color: inherit; }

.hero__services-strip {
  display: flex;
  gap: 1.25rem;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.hero__services-strip .sep { color: var(--gold); }

.hero__desc {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* Hero Image — NO 3D tilt, just a clean image reveal */
.hero__image-side { position: relative; }

.hero__image-frame {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-xl);
  position: relative;
  box-shadow: var(--shadow-xl);
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Remove any lingering tilt classes from images */
.tilt-wrapper { perspective: none; transform-style: flat; }
.tilt-element { transform: none; }

/* ============================================================
   PILLARS GRID (core 2-card section)
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pillar {
  padding: clamp(2.5rem, 5vw, 4rem);
}

.pillar--primary {
  background: var(--navy);
  color: var(--white);
}

.pillar--secondary {
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.pillar__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.05em;
}

.pillar--secondary .pillar__number { color: var(--navy); }

.pillar__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.pillar--secondary .pillar__title { color: var(--navy); }

.pillar__desc {
  font-size: var(--text-base);
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}

.pillar--secondary .pillar__desc { color: var(--gray-600); }

/* ============================================================
   SERVICES GRID (numbered list layout)
   ============================================================ */
.service-row {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding-block: 2rem;
  border-bottom: 1px solid var(--gray-100);
}

.service-row:last-child { border-bottom: none; }

.service-row__number {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  min-width: 2rem;
  padding-top: 0.25rem;
}

.service-row__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.service-row__desc {
  color: var(--gray-600);
  font-size: var(--text-base);
  line-height: 1.7;
}

/* ============================================================
   CAREERS GRID (image cards)
   ============================================================ */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.career-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: default;
}

.career-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}

.career-card:hover .career-card__img { transform: scale(1.04); }

.career-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,43,99,0.88) 0%,
    rgba(6,43,99,0.3) 60%,
    transparent 100%
  );
}

.career-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
}

.career-card__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.career-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.80);
  line-height: 1.55;
}

/* ============================================================
   INDUSTRIES GRID
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.industry-item {
  background: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
  transition: background var(--dur-base) var(--ease-out);
}

.industry-item:hover { background: var(--gray-50); }

.industry-item__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  color: var(--navy);
}

.industry-item__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

/* ============================================================
   EDU SPLIT (International Education section)
   ============================================================ */
.edu-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 560px;
}

.edu-split__content,
.edu-split.animate-fade-up__content {
  background: var(--navy);
  padding: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.edu-split__image,
.edu-split.animate-fade-up__image {
  position: relative;
  overflow: hidden;
}

.edu-split__image img,
.edu-split.animate-fade-up__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback — when edu-split direct children are used as content+image */
.edu-split > div:first-child {
  background: var(--navy);
  padding: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.edu-split > div:last-child {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.edu-split > div:last-child img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edu-points {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.edu-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.edu-point__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.edu-point__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.edu-point__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.70);
  line-height: 1.6;
}

/* ============================================================
   DOMESTIC EDUCATION GRID
   ============================================================ */
.dom-edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  max-width: var(--max-width);
  margin-inline: auto;
}

.dom-edu-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dom-edu-image img {
  width: 100%;
  height: auto;
  display: block;
}

.dom-edu-content {
  display: flex;
  flex-direction: column;
}

.dom-edu-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.dom-edu-point {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.dom-edu-point__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold);
}

.dom-edu-point__text {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-700);
}

/* ============================================================
   HOSPITALITY BANNER (full-bleed image with overlay)
   ============================================================ */
.hospitality-banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 480px;
}

.hospitality-banner__image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hospitality-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hospitality-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 43, 99, 0.82);
  z-index: 2;
}

.hospitality-banner__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(4rem, 8vw, 6rem);
  max-width: 640px;
}

.hosp-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.hosp-list li {
  color: rgba(255,255,255,0.80);
  font-size: var(--text-sm);
  font-weight: 500;
  padding-left: 1.25rem;
  position: relative;
}

.hosp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================================
   DESTINATION TABS
   ============================================================ */
.destination-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--gray-200);
}

.destination-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.875rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.destination-tab:hover { color: var(--navy); }

.destination-tab.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.destination-info {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
}

.destination-info.active { display: flex; }

.destination-info__region {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

.destination-info__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.destination-info__desc {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.destination-services {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.destination-service {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
}

.destination-service::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   TRUST STRIP (Why Nexora — navy section)
   ============================================================ */
.trust-strip {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem 4rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.trust-item__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
}

.trust-item__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ============================================================
   PAGE HERO (inner pages banner)
   ============================================================ */
.page-hero {
  padding: 9rem 0 5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.page-hero__inner {
  max-width: 720px;
  margin-inline: auto;
}

.page-hero__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.page-hero__desc {
  font-size: var(--text-lg);
  max-width: 600px;
  margin-inline: auto;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  margin-top: 3rem;
}

.value-item {
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.value-item__title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.value-item__desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

/* ============================================================
   CANDIDATE GRID (recruitment page)
   ============================================================ */
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.candidate-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.candidate-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.candidate-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}

.candidate-card:hover .candidate-card__image img { transform: scale(1.04); }

.candidate-card__body { padding: 1.75rem; }

.candidate-card__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.candidate-card__desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================================
   SPLIT SECTION (study abroad — half navy / half image)
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.split-section__image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.split-section__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-section__content {
  padding: clamp(3rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.split-section__content--navy {
  background: var(--navy);
}

.split-section--reverse .split-section__content {
  order: 2;
}
.split-section--reverse .split-section__image {
  order: 1;
}

/* ============================================================
   SVG CONSTRAINTS (prevent massive inline SVGs)
   ============================================================ */
svg {
  max-width: 100%;
}

.industry-item__icon,
.trust-item__icon,
.dom-edu-point__icon,
.edu-point__icon {
  overflow: visible;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__image-side { order: -1; max-width: 480px; margin-inline: auto; }
  .hero__title { font-size: var(--text-4xl); }
  .pillars-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .edu-split { grid-template-columns: 1fr; min-height: auto; }
  .edu-split > div:last-child { min-height: 320px; position: relative; }
  .dom-edu-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; }
  .split-section__image { min-height: 280px; }
  .split-section--reverse .split-section__content { order: 1; }
  .split-section--reverse .split-section__image { order: 2; }
  .careers-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .candidate-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr; }
  .trust-strip { gap: 2rem 3rem; }
}

@media (max-width: 640px) {
  .section { padding-block: var(--sp-24); }
  .careers-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .candidate-grid { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .destination-tabs { flex-wrap: wrap; }
  .page-hero { padding: 7rem 0 3.5rem; }
}


/* ============================================================
   DARK SECTION TEXT OVERRIDES
   Prevent global p { color: var(--body-text) } from bleeding
   into dark/navy section backgrounds
   ============================================================ */
.section--navy p,
.section--navy address,
.section--navy li,
.section--navy label { color: rgba(255,255,255,0.75); }

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy h5,
.section--navy h6 { color: var(--white); }

.pillar--primary p,
.pillar--primary address,
.pillar--primary li { color: rgba(255,255,255,0.75); }

.pillar--primary h1,
.pillar--primary h2,
.pillar--primary h3,
.pillar--primary h4 { color: var(--white); }

.edu-split__content p,
.edu-split > div:first-child p,
.edu-split > div:first-child li,
.edu-split > div:first-child address { color: rgba(255,255,255,0.75); }

.edu-split__content h1,
.edu-split__content h2,
.edu-split__content h3,
.edu-split > div:first-child h2,
.edu-split > div:first-child h3 { color: var(--white); }

.split-section__content--navy p,
.split-section__content--navy li { color: rgba(255,255,255,0.75); }

.split-section__content--navy h1,
.split-section__content--navy h2,
.split-section__content--navy h3 { color: var(--white); }

.hospitality-banner__content p,
.hospitality-banner__content li { color: rgba(255,255,255,0.75); }

.hospitality-banner__content h1,
.hospitality-banner__content h2,
.hospitality-banner__content h3 { color: var(--white); }


/* ============================================================
   MOBILE-ONLY FIXES (max-width: 768px)
   Desktop styles are completely untouched above.
   ============================================================ */

@media (max-width: 768px) {

  /* ── Section padding reduced ── */
  .section { padding-block: 4rem; }

  /* ── Hero ── */
  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 4rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__image-side {
    order: -1;
    max-width: 100%;
  }

  .hero__image-frame {
    aspect-ratio: 16/10;
    border-radius: 1rem;
  }

  .hero__eyebrow { margin-bottom: 1.25rem; }

  .hero__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
  }

  .hero__services-strip {
    gap: 0.75rem;
    font-size: 0.65rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
  }

  .hero__desc {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 1.75rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Section labels & headings ── */
  .section-heading { font-size: clamp(1.6rem, 7vw, 2rem); }
  .section-intro   { font-size: 1rem; }

  /* ── Page hero (inner pages) ── */
  .page-hero {
    padding: 6.5rem 0 3rem;
    text-align: left;
  }
  .page-hero__title    { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .page-hero__desc     { font-size: 1rem; text-align: left; margin-inline: 0; }
  .breadcrumb          { justify-content: flex-start; }
  .gold-rule--center   { margin-inline: 0; }

  /* ── Pillars ── */
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar { padding: 2rem 1.5rem; }

  /* ── Service rows ── */
  .service-row { flex-direction: column; gap: 0.5rem; }
  .service-row__number { font-size: var(--text-xs); }
  .service-row__title  { font-size: 1.25rem; }

  /* ── Careers grid ── */
  .careers-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .career-card { aspect-ratio: 4/3; }

  /* ── Industries grid ── */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Edu split ── */
  .edu-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .edu-split > div:first-child {
    padding: 2.5rem 1.5rem;
  }
  .edu-split > div:last-child {
    min-height: 260px;
    position: relative;
  }

  /* ── DOM edu grid ── */
  .dom-edu-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem var(--gutter);
  }

  /* ── About intro ── */
  .about-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* ── About values ── */
  .about-values {
    grid-template-columns: 1fr;
  }

  /* ── Contact layout ── */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-card { border-radius: 0.75rem; }

  /* ── Form grid ── */
  .form-grid-2 { grid-template-columns: 1fr; }

  /* ── Candidate grid ── */
  .candidate-grid { grid-template-columns: 1fr; }

  /* ── Split section ── */
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-section__image { min-height: 240px; }
  .split-section__content { padding: 2rem 1.5rem; }

  .split-section--reverse .split-section__content { order: 1; }
  .split-section--reverse .split-section__image   { order: 2; }

  /* ── Trust strip ── */
  .trust-strip {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding-inline: 1.5rem;
  }
  .trust-item { flex-direction: row; text-align: left; gap: 1rem; }

  /* ── Destination tabs ── */
  .destination-tabs {
    flex-wrap: wrap;
    gap: 0;
  }
  .destination-tab {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }

  /* ── CTA Banner ── */
  .cta-banner { padding-block: 2.5rem; }
  .cta-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .cta-banner__title { font-size: 1.25rem; }
  .cta-banner__inner .btn-group {
    flex-direction: column;
  }
  .cta-banner__inner .btn { width: 100%; justify-content: center; }

  /* ── Footer ── */
  .site-footer { padding: 3.5rem 0 1.5rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .footer-brand { max-width: 100%; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .footer-legal-links { justify-content: center; }

  /* ── Hospitality banner ── */
  .hospitality-banner { min-height: 360px; }
  .hospitality-banner__content {
    padding-block: 3rem;
    max-width: 100%;
  }

  /* ── Process timeline ── */
  .process-timeline { gap: 0; }
  .process-step__content { padding-bottom: 1.5rem; }

  /* ── Accordion / FAQ ── */
  .faq-question { font-size: 0.9375rem; }

  /* ── Error page ── */
  .error-page__code { font-size: 5rem; }

  /* ── General button sizing on mobile ── */
  .btn { padding: 0.875rem 1.5rem; font-size: 0.8125rem; }

  /* ── Nav hamburger visibility ── */
  .main-nav { display: none !important; }
  .header-cta { display: none !important; }
  .nav-toggle { display: flex !important; }
}

/* Very small phones */
@media (max-width: 390px) {
  :root {
    --gutter: 1.25rem;
  }

  .hero__title { font-size: clamp(1.75rem, 9vw, 2.25rem); }
  .section-heading { font-size: 1.5rem; }
  .page-hero__title { font-size: 1.5rem; }
}

/* ============================================================
   CRITICAL MOBILE OVERRIDES — inline style grids that break
   on mobile (these override inline style="" via !important)
   ============================================================ */
@media (max-width: 768px) {

  /* services.html sidebar-content grid (1fr 2fr) */
  .section .container > div[style*="grid-template-columns:1fr 2fr"],
  .section .container > div[style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
  }
  .section .container > div[style*="grid-template-columns:1fr 2fr"] > div[style*="sticky"],
  .section .container > div[style*="grid-template-columns:1fr 2fr"] > div[style*="position:sticky"] {
    position: static !important;
    top: auto !important;
    margin-bottom: 1.5rem;
  }

  /* index.html and other pages: 1fr 1fr grids */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* services-grid (the two-col service number + desc grid) */
  #services-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* service-row layout fix */
  .service-row {
    display: block !important;
  }
  .service-row__number {
    display: block;
    margin-bottom: 0.25rem;
  }

  /* process-timeline fix — remove 2-col layout */
  .process-step {
    display: block !important;
    padding: 1.5rem 0 !important;
    border-bottom: 1px solid var(--gray-200);
  }
  .process-step__number {
    display: inline-flex;
    margin-bottom: 0.75rem;
  }

  /* candidate-grid fix */
  .candidate-grid,
  div[style*="grid-template-columns:repeat(3"],
  div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* industries grid — 2 col on mobile */
  div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* careers-grid that uses 3 columns */
  div[style*="grid-template-columns:repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  /* sticky sidebar on any page */
  div[style*="position:sticky"],
  div[style*="position: sticky"] {
    position: static !important;
    top: auto !important;
  }

  /* Prevent body / html from having overflow issues */
  html, body { overflow-x: hidden !important; }

  /* Force all section containers to not overflow */
  .section, .container { overflow-x: hidden; }
}

/* ============================================================
   RESUME FORM — File Upload Zone, Chip List, Reveal Groups
   ============================================================ */

/* Required star in gold */
.req-star { color: var(--gold); }
.form-label-note { font-weight: 400; color: var(--gray-500); font-size: 0.85em; }

/* "Others" reveal group — hidden by default, slides down when open */
.nxr-reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: max-height 0.32s var(--ease-out),
              opacity 0.25s var(--ease-out),
              margin-bottom 0.32s var(--ease-out),
              margin-top 0.32s var(--ease-out);
}
.nxr-reveal--open {
  max-height: 200px;
  opacity: 1;
  pointer-events: auto;
  margin-bottom: 1.5rem !important;
}

/* File upload drop zone */
.file-upload-zone {
  position: relative;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
  overflow: hidden;
}
.file-upload-zone:hover,
.file-upload-zone:focus-within {
  border-color: var(--navy);
  background: var(--gray-100);
}
.file-upload-zone.is-dragging {
  border-color: var(--gold);
  background: rgba(200, 148, 26, 0.06);
}
.file-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.file-upload-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem 1.5rem;
  pointer-events: none;
  text-align: center;
}
.file-upload-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: transform var(--dur-base) var(--ease-out);
}
.file-upload-zone:hover .file-upload-icon { transform: translateY(-3px); }
.file-upload-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
  margin: 0;
}
.file-upload-browse {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.file-upload-meta {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin: 0;
}

/* File chip list */
.file-chip-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.file-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}
.file-chip__icon { color: var(--navy); flex-shrink: 0; }
.file-chip__name {
  flex: 1;
  font-weight: 500;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.file-chip__size { color: var(--gray-500); flex-shrink: 0; }
.file-chip__remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  color: var(--gray-400);
  border-radius: 4px;
  transition: color var(--dur-fast), background var(--dur-fast);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.file-chip__remove:hover { color: #DC2626; background: rgba(220, 38, 38, 0.08); }

/* Form status — success / error states */
.form-status {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}
.form-status.success {
  display: flex;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.3);
  color: #15803D;
}
.form-status.error {
  display: flex;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #B91C1C;
}

/* Mobile adjustments for file zones */
@media (max-width: 768px) {
  .file-upload-ui { padding: 1.5rem 1rem; }
  .file-chip__name { max-width: 160px; }
}
