/* ============================================================
   TRANSALIADOS — World Logistics
   Static Site v2 | Standalone HTML/CSS
   Brand: Yellow #FADC00 | Black #000000
   Fonts: Barlow Condensed (headings) + Inter (body)
   ============================================================ */

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

:root {
  --yellow:     #FADC00;
  --black:      #000000;
  --near-black: #111111;
  --dark:       #1a1a1a;
  --grey:       #f4f4f4;
  --mid-grey:   #e0e0e0;
  --text:       #222222;
  --text-muted: #666666;
  --white:      #ffffff;
  --max-w:      1140px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', Helvetica, Arial, sans-serif; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.05;
}
p   { line-height: 1.75; }
a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }


/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* Logo — yellow block with PNG image */
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  padding: 8px 12px;
  flex-shrink: 0;
  line-height: 1;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav.scrolled .nav-links a { color: var(--black); }

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lang-switch a          { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.lang-switch a:hover    { color: var(--white); }
.lang-switch a.active   { color: var(--yellow); }
.nav.scrolled .lang-switch a       { color: rgba(0,0,0,0.35); }
.nav.scrolled .lang-switch a:hover { color: var(--black); }
.nav.scrolled .lang-switch a.active{ color: var(--black); }
.lang-switch span { color: rgba(255,255,255,0.2); }
.nav.scrolled .lang-switch span { color: rgba(0,0,0,0.15); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--black); }


/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-yellow  { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: #f0d000; }
.btn-black   { background: var(--black); color: var(--yellow); }
.btn-black:hover { background: #222; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }


/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 20px;
}
.label-on-light { background: var(--black); color: var(--yellow); }
.label-on-dark  { background: var(--yellow); color: var(--black); }


/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  background-color: var(--near-black);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Carousel slide layers */
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide--road { background-image: url('../assets/marcin-jozwiak.jpg'); }
.hero-slide--sea  { background-image: url('../assets/matt-benson.jpg'); }
.hero-slide--air  { background-image: url('../assets/hal9001.jpg'); }

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

/* Hero content area — fills available space, aligns content to bottom */
.hero > .container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
  padding-bottom: 60px;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(38px, 15vw, 180px);
  font-style: italic;
  font-weight: 800;
  color: var(--yellow);
  line-height: 0.88;
  letter-spacing: -2px;
  margin-bottom: 40px;
}
.hero-body {
  max-width: 520px;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Ticker strip — sits at the bottom of the hero */
.hero-ticker {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.40);
  padding: 13px 0;
  overflow: hidden;
}
.hero-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: ticker 50s linear infinite;
}
.hero-ticker-track span {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 0 24px;
}
.hero-ticker-track .ticker-sep {
  color: var(--yellow);
  padding: 0 4px;
  opacity: 1;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ===== ABOUT ===== */
.about {
  padding: 110px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}
.about-headline {
  font-size: clamp(36px, 4.5vw, 54px);
  color: var(--black);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.about-body {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 20px;
}
.about-cta { margin-top: 36px; }

.pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 3px solid var(--yellow);
}
.pillar {
  padding: 24px 0 24px 28px;
  border-bottom: 1px solid var(--mid-grey);
}
.pillar:last-child { border-bottom: none; }
.pillar-title {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}
.pillar-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ===== SERVICES ===== */
.services {
  padding: 110px 0 0;
  background: var(--grey);
}
.services-header {
  margin-bottom: 56px;
}
.services-headline {
  font-size: clamp(32px, 4vw, 50px);
  color: var(--black);
  text-transform: uppercase;
  max-width: 640px;
}

/* Feature rows: Air, Sea, Road */
.services-features {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.service-feature {
  display: grid;
  grid-template-columns: 210px 1fr;
  background: var(--white);
  border-left: 4px solid var(--yellow);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}
.service-feature:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.13);
  transform: translateY(-4px);
  z-index: 2;
}

.service-feature-left {
  background: var(--black);
  padding: 44px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-feature-left .service-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-feature-left .service-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--black);
}
.service-feature-left .service-title {
  font-size: 26px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.service-feature-body {
  padding: 44px 52px;
}

.service-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Road: 3-column sub-section grid */
.road-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* Sub-section labels */
.service-sub-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--mid-grey);
  display: block;
}

/* Service bullet lists */
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 6px;
  background: var(--yellow);
}


/* Value-Added band — full-width dark strip below the feature rows */
.service-vad {
  background: var(--near-black);
  padding: 72px 0;
  margin-top: 3px;
}
.service-vad-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.service-vad-left {
  display: flex;
  flex-direction: column;
}
.service-vad-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.service-vad-icon svg { width: 24px; height: 24px; fill: var(--black); }
.service-vad-left .service-title {
  font-size: 28px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
}
.service-vad-left .service-intro {
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}
.service-vad-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 48px;
  align-content: start;
}
.service-vad-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.service-vad-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 6px;
  background: var(--yellow);
}


/* ===== CONTACTS ===== */
.contacts {
  padding: 110px 0;
  background: var(--black);
  color: var(--white);
}
.contacts-header { margin-bottom: 56px; }
.contacts-headline {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.contacts-subhead {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-bottom: 48px;
}
.contact-card {
  background: #161616;
  padding: 36px;
  border-left: 3px solid var(--yellow);
  transition: background 0.2s;
}
.contact-card:hover { background: #1d1d1d; }
.contact-role {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}
.contact-name {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-details a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.contact-details a:hover { color: var(--yellow); }

.offices-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.office-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}
.office-address {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.office-email {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.office-email a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.office-email a:hover { color: var(--yellow); }


/* ===== FOOTER ===== */
.footer {
  background: var(--yellow);
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-copy {
  font-size: 11.5px;
  color: rgba(0,0,0,0.5);
  font-weight: 500;
}
/* Slightly smaller logo in footer */
.footer .logo { padding: 6px 10px; }
.footer .logo-img { height: 36px; }


/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .about-grid  { grid-template-columns: 1fr; gap: 56px; }
  .team-grid   { grid-template-columns: 1fr; }
  .offices-grid{ grid-template-columns: 1fr; }

  /* Service feature rows → stacked card */
  .service-feature {
    grid-template-columns: 1fr;
  }
  .service-feature-left {
    flex-direction: row;
    align-items: center;
    padding: 28px 32px;
    gap: 20px;
  }
  .service-feature-body {
    padding: 32px 32px 40px;
  }

  /* Road sub-grid → single column */
  .road-grid { grid-template-columns: 1fr; gap: 28px; }

  /* VAD band → stacked */
  .service-vad-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-vad-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--near-black);
    padding: 28px;
    gap: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  .nav-links.open a { color: var(--white); font-size: 18px; opacity: 1; }

  .about, .contacts { padding: 56px 0; }
  .services { padding: 56px 0 0; }
  .service-vad { padding: 40px 0; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .service-feature-left { padding: 22px 24px; gap: 16px; }
  .service-feature-body { padding: 24px 24px 32px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-inner .logo { align-self: center; }

  /* Slightly slower ticker on mobile */
  .hero-ticker-track { animation-duration: 65s; }

  /* Nav — compact, touch-friendly */
  .nav-inner  { padding: 0 16px; }
  .nav-right  { gap: 14px; }
  .logo-img   { height: 36px; }
  .logo       { padding: 6px 10px; }
  .nav-toggle { padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .nav-links.open li { padding: 0; }
  .nav-links.open a  { padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
  /* scrolled nav overrides white text — restore it when menu is open */
  .nav.scrolled .nav-links.open a { color: var(--white); opacity: 1; }

  /* Hero content */
  .hero > .container { padding-bottom: 40px; }
  .hero-body         { font-size: 15px; }

  /* About grid gap when stacked */
  .about-grid { gap: 2rem; }

  /* Comparison tables — horizontal scroll */
  .comparison-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table th,
  .comparison-table td { padding: 0.75rem; font-size: 14px; }
}

/* ============================================================
   V3 ADDITIONS — Multi-page extensions
   ============================================================ */

/* ── Inner-page hero ──────────────────────────────────────── */
.page-hero {
  height: 55vh;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.30) 100%);
}
.page-hero--about   { background-image: url('../assets/josh-methven.jpg'); }
.page-hero--network { background-image: url('../assets/imran-creator.jpg'); background-position: top center; }
.page-hero--services { background: var(--near-black); min-height: 220px; height: 28vh; }
.page-hero--services::after { display: none; }
.page-hero--contact  { background: var(--black); min-height: 180px; height: 22vh; }
.page-hero--contact::after  { display: none; }

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  color: var(--white);
}
.page-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin: 0.6rem 0 0;
}

/* ── Stats band ───────────────────────────────────────────── */
.stats-band {
  background: var(--yellow);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 1rem;
}
.stats-band__item { padding: 1rem 0; }
.stats-band__number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1;
  display: block;
}
.stats-band__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.4rem;
  display: block;
  color: var(--dark);
}

/* ── Services overview cards (Home) ───────────────────────── */
.services-overview-section {
  background: var(--white);
  padding: 5rem 2rem;
}
.services-overview-section .section-label { margin-bottom: 1rem; }
.services-overview-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.sov-card {
  border: 1px solid var(--mid-grey);
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.sov-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}
.sov-card__icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.sov-card__icon svg { width: 24px; height: 24px; }
.sov-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.sov-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}
.sov-card__link {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--black);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  align-self: flex-start;
}
.sov-card__link:hover { border-color: var(--black); }

/* ── About teaser (Home) ──────────────────────────────────── */
.about-teaser {
  background: var(--grey);
  padding: 5rem 2rem;
}
.about-teaser__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-teaser h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.about-teaser p { font-size: 16px; line-height: 1.75; color: var(--text); margin-bottom: 1rem; }

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band {
  background: var(--near-black);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--white);
}
.cta-band h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.cta-band p { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 2rem; }

/* ── Company story (About) ───────────────────────────────── */
.company-story {
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.company-story p { font-size: 17px; line-height: 1.85; margin-bottom: 1.75rem; color: var(--text); }
.company-story p:last-child { margin-bottom: 0; }

/* ── Timeline ─────────────────────────────────────────────── */
.timeline-section {
  background: var(--grey);
  padding: 4rem 2rem;
}
.timeline-section__label {
  max-width: var(--max-w);
  margin: 0 auto 2rem;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 3px solid var(--yellow);
}
.timeline__item { padding: 1.75rem 2rem 1rem; border-right: 1px solid var(--mid-grey); }
.timeline__item:last-child { border-right: none; }
.timeline__year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.timeline__desc { font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* ── Team cards (About / Contact) ────────────────────────── */
.team-section {
  padding: 5rem 2rem;
  background: var(--white);
}
.team-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 3rem;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* ── Pillars (expanded, About) ───────────────────────────── */
.pillars-section {
  background: var(--black);
  color: var(--white);
  padding: 5rem 2rem;
}
.pillars-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.pillar-card {
  background: var(--near-black);
  padding: 2.5rem;
  border-left: 4px solid var(--yellow);
}
.pillar-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}
.pillar-card__desc { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.70); }

/* ── Service deep-dive sections ──────────────────────────── */
.service-section { padding: 5rem 2rem; }
.service-section:nth-child(odd) { background: var(--white); }
.service-section:nth-child(even) { background: var(--grey); }
.service-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.service-section__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.service-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
}
.service-section__intro {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  max-width: 680px;
  margin-bottom: 2.5rem;
}
.service-highlight {
  background: var(--yellow);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.service-highlight__title { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.35rem; }
.service-highlight__text { font-size: 14px; line-height: 1.6; }

/* FCL/LCL comparison table */
.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 15px; }
.comparison-table th { background: var(--near-black); color: var(--yellow); padding: 1rem 1.25rem; text-align: left; font-family: 'Barlow Condensed', sans-serif; font-size: 16px; letter-spacing: 0.5px; }
.comparison-table td { padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--mid-grey); }
.comparison-table tr:nth-child(even) td { background: rgba(0,0,0,0.03); }

/* ── Network routes ───────────────────────────────────────── */
.network-intro-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
  text-align: center;
}
.network-intro-section p { font-size: 17px; line-height: 1.85; color: var(--text); }
.routes-section { padding: 3rem 2rem 5rem; }
.routes-section h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  max-width: var(--max-w);
  margin: 0 auto 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--mid-grey);
}
.routes-section h3:first-of-type { border-top: none; padding-top: 0; }
.route-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
}
.route-card {
  background: var(--grey);
  padding: 2rem;
  border-top: 4px solid var(--yellow);
}
.route-card__origin { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; line-height: 1; margin-bottom: 0.35rem; }
.route-card__dest { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 1rem; }
.route-card__desc { font-size: 14px; line-height: 1.65; color: var(--text); }

/* ── Network why-it-matters ───────────────────────────────── */
.network-why {
  background: var(--near-black);
  color: var(--white);
  padding: 4rem 2rem;
}
.network-why__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}
.network-why h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
}
.network-why__points { list-style: none; }
.network-why__points li {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
  padding-left: 1.5rem;
  position: relative;
}
.network-why__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.6rem;
  width: 8px;
  height: 8px;
  background: var(--yellow);
}
.network-why__points li:last-child { border-bottom: none; }
.network-why__points strong { color: var(--white); font-weight: 600; }

/* ── Offices (Contact) ────────────────────────────────────── */
.offices-section {
  background: var(--grey);
  padding: 4rem 2rem 5rem;
}
.offices-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  max-width: var(--max-w);
  margin: 0 auto 2rem;
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.office-card {
  background: var(--white);
  padding: 2rem;
  border-top: 4px solid var(--yellow);
}
.office-card__city { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 0.5rem; }
.office-card__role { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 1.25rem; }
.office-card address { font-style: normal; font-size: 14px; line-height: 1.75; color: var(--text); }
.office-card address a { color: var(--text); text-decoration: underline; }

/* ── Responsive overrides for v3 ─────────────────────────── */
@media (max-width: 960px) {
  .services-overview-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .stats-band { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .about-teaser__inner { grid-template-columns: 1fr; gap: 2rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .route-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 3rem; }
  .network-why__inner { grid-template-columns: 1fr; gap: 2rem; }
  .offices-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr; }
  .page-hero { height: 45vh; min-height: 280px; padding-bottom: 2.5rem; }
  .page-hero__title { font-size: clamp(32px, 10vw, 52px); }

  /* V3 section padding reduction */
  .contact-form-section      { padding: 3rem 1.25rem; }
  .about-teaser              { padding: 3rem 1.25rem; }
  .services-overview-section { padding: 3rem 1.25rem; }
  .cta-band                  { padding: 3rem 1.25rem; }
  .company-story             { padding: 3rem 1.25rem; }
  .team-section              { padding: 3rem 1.25rem; }
  .pillars-section           { padding: 3rem 1.25rem; }
  .service-section           { padding: 3rem 1.25rem; }
  .timeline-section          { padding: 2.5rem 1.25rem; }
  .network-why               { padding: 3rem 1.25rem; }
  .offices-section           { padding: 3rem 1.25rem 4rem; }
  .direct-contact            { padding: 3rem 1.25rem; }
  .routes-section            { padding: 2rem 1.25rem 3rem; }
  .network-intro-section     { padding: 3rem 1.25rem 1.5rem; }
}

/* ── Contact form ─────────────────────────────────────────── */
.contact-form-section {
  background: var(--grey);
  padding: 5rem 2rem;
}
.contact-form-section__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.contact-form-section__intro h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.contact-form-section__intro p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Form fields — full-width, sharp borders, on-brand */
.contact-form { width: 100%; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 3px;
}
.form-field {
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.form-field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 16px 0;
}
.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 6px 16px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--black);
  background: transparent;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-field:focus-within {
  outline: 2px solid var(--black);
  outline-offset: 0;
}
.form-field:focus-within label { color: var(--black); }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23222' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field-full { margin-bottom: 3px; }
.form-submit { margin-top: 1.5rem; }

/* Success state */
.form-success {
  background: var(--yellow);
  padding: 2.5rem;
  border-left: 4px solid var(--black);
}
.form-success__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-success__body { font-size: 16px; line-height: 1.65; }

/* Direct contact strip (Inês + geral@) */
.direct-contact {
  background: var(--near-black);
  padding: 4rem 2rem;
}
.direct-contact__inner {
  max-width: 1140px;
  margin: 0 auto;
}
.direct-contact__label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.6rem;
  display: block;
}
.direct-contact__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.direct-contact__links { display: flex; flex-direction: column; gap: 5px; }
.direct-contact__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.direct-contact__links a:hover { color: var(--yellow); }
.direct-contact__email {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
}
.direct-contact__email a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.direct-contact__email a:hover { color: var(--yellow); }

@media (max-width: 960px) {
  .contact-form-section__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .direct-contact__inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── Service icon (standalone, used in service-section__header) ── */
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; fill: var(--black); }


/* ============================================================
   MOBILE RESPONSIVE ADDITIONS
   480px — small phones (iPhone SE, most Androids)
   360px — very small phones (Galaxy A-series, older Androids)
   landscape+short — any phone held horizontally
   ============================================================ */

@media (max-width: 480px) {
  .nav-inner              { height: 60px; }
  .nav-links.open         { top: 60px; }
  .hero > .container      { padding-top: 60px; padding-bottom: 32px; }
  .logo-img               { height: 28px; }
  .logo                   { padding: 5px 8px; }
  .lang-switch            { font-size: 10px; gap: 4px; }

  .hero-eyebrow           { font-size: 10px; margin-bottom: 12px; }
  .hero-body              { font-size: 14px; margin-bottom: 24px; }

  .page-hero              { min-height: 200px; padding-bottom: 1.5rem; }
  .page-hero__title       { font-size: clamp(28px, 10vw, 48px); }

  .stats-band             { padding: 1.5rem 1rem; }
  .contact-form-section__inner { gap: 1.5rem; }
  .about-grid             { gap: 1.5rem; }
  .footer-copy            { font-size: 10.5px; }

  .contact-form-section,
  .about-teaser,
  .services-overview-section,
  .cta-band,
  .company-story,
  .team-section,
  .pillars-section,
  .service-section,
  .network-why,
  .offices-section,
  .direct-contact         { padding-top: 2.5rem; padding-bottom: 2.5rem; }

  .timeline-section       { padding: 2rem 1rem; }
  .routes-section         { padding: 1.5rem 1rem 2.5rem; }
  .network-intro-section  { padding: 2.5rem 1rem 1rem; }
}

@media (max-width: 360px) {
  .nav-inner              { padding: 0 12px; }
  .logo-img               { height: 24px; }
  .logo                   { padding: 4px 7px; }
  .lang-switch            { font-size: 9px; letter-spacing: 0.5px; gap: 3px; }
  .lang-switch span       { display: none; }
  .hero-body              { font-size: 13px; }
  .footer-copy            { font-size: 10px; }
  .btn                    { padding: 12px 20px; font-size: 11px; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .nav-inner              { height: 52px; }
  .nav-links.open         { top: 52px; }
  .hero                   { min-height: unset; }
  .hero > .container      { padding-top: 64px; padding-bottom: 28px; }
  .hero-headline          { font-size: clamp(32px, 8vh, 90px); }
  .hero-body              { font-size: 14px; margin-bottom: 20px; }
  .hero-actions           { flex-direction: row; flex-wrap: wrap; }
  .page-hero              { height: 50vh; min-height: 160px; padding-bottom: 1.25rem; }
}
