/* ============================================
   AS Midstream Oil & Gas Operations
   styles.css — Mobile-first
   ============================================ */

/* --- Design tokens --- */
:root {
  /* Colors */
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --blue-primary: #1B5E9E;
  --blue-light: #E8F0FE;
  --blue-dark: #0D3B6F;
  --blue-hover: #154A7E;
  --red-accent: #C0392B;
  --green-logo: #2E8B57;
  --text-dark: #141B2D;
  --text-muted: #4A5468;
  --text-light: #7A8497;
  --border: #DEE3EB;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-size-xs: 0.8125rem;
  --font-size-sm: 0.9375rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-h1: clamp(2rem, 1.1rem + 4.2vw, 3.9rem);
  --font-size-h2: clamp(1.75rem, 1.1rem + 2vw, 2.5rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5.5rem;
  --space-5xl: 7rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
  --border-radius: 6px;
  --border-radius-lg: 10px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--blue-primary);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 2000;
  padding: 10px 16px;
  background: var(--blue-primary);
  color: var(--white);
  border-radius: var(--border-radius);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-md);
}

/* Scroll-triggered reveal (GSAP drives the animation) */
.fade-in,
.stagger-child {
  opacity: 0;
}

.no-js .fade-in,
.no-js .stagger-child {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in,
  .stagger-child {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__slide,
  .hero__slide img {
    transition: none !important;
  }

  .hero__slide img {
    transform: none !important;
  }

  .hero__dot.is-active::after {
    animation: none;
    transform: scaleX(1);
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* --- Layout utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--alt {
  background-color: var(--off-white);
}

.section--compact {
  padding: var(--space-2xl) 0;
}

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

.section__head {
  max-width: 720px;
  margin-bottom: var(--space-2xl);
}

/* Sections with a single centred element (e.g. one partner) */
.section--centered .section__head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section--centered .overline {
  justify-content: center;
}

.overline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: var(--space-md);
}

.overline::before {
  content: '';
  width: 24px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.section--dark .overline {
  color: #9CC3EA;
}

.section__title {
  font-size: var(--font-size-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  text-wrap: balance;
}

.section--dark .section__title {
  color: var(--white);
}

.section__lead {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 62ch;
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.78);
}

/* Small uppercase label used above lists */
.h-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.h-label--light {
  color: rgba(255, 255, 255, 0.6);
}

/* <picture> wrappers behave like their image */
.hero__slide picture,
.fuel__media picture,
.fleet__media picture,
.segment__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Areas served (text only, for local search) */
.areas {
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
}

.areas__list {
  display: grid;
  gap: var(--space-sm);
}

.areas__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--space-md);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.areas__row dt {
  font-weight: 700;
  color: var(--text-dark);
}

.areas__row dd {
  color: var(--text-muted);
}

/* Figure captions */
.figcap {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* Customer segments: image + title + one line */
.segments {
  display: grid;
  gap: var(--space-xl);
}

.segment__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--blue-dark);
  margin-bottom: var(--space-md);
}

.segment__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segment__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 4px;
}

.segment__text {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 13px 24px;
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.2;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn--lg {
  padding: 16px 28px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background-color: var(--blue-primary);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--blue-hover);
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-primary);
  padding-top: 11px;
  padding-bottom: 11px;
}

.btn--outline.btn--lg {
  padding-top: 14px;
  padding-bottom: 14px;
}

.btn--outline:hover {
  background-color: var(--blue-primary);
  color: var(--white);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.nav__logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-text .company-name {
  font-size: var(--font-size-base);
  font-weight: 800;
  color: var(--blue-primary);
  letter-spacing: 0.01em;
}

.nav__logo-text .company-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue-primary);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--blue-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__cta {
  padding: 10px 18px;
  font-size: var(--font-size-sm);
}

/* PT / EN switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
}

.lang-switch__opt {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background-color var(--transition), color var(--transition);
}

.lang-switch__opt.is-active {
  background: var(--blue-primary);
  color: var(--white);
}

.lang-switch:hover .lang-switch__opt:not(.is-active) {
  color: var(--blue-primary);
}

.nav__backdrop,
.nav__mobile-actions {
  display: none;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 1px;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   HERO — photos behind, white gradient veil, text on top
   ========================================== */
.hero {
  /* where the text block starts (mobile): nav + top padding of .hero__inner */
  --hero-text-top: calc(var(--nav-height) + clamp(300px, 46vh, 460px));
  position: relative;
  padding-top: var(--nav-height);
  touch-action: pan-y; /* vertical scroll stays native; horizontal swipes are ours */
  overflow: hidden;
  background: var(--white);
}

/* Mobile: the photo fills the top of the hero at full colour and is white by
   the time the text starts, whatever the screen height. */
.hero__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--hero-text-top) + 80px);
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  transform: scale(1);
  transform-origin: 70% 45%;
  transition: transform 8s linear;
}

.hero__slide:nth-child(even) img {
  transform-origin: 35% 55%;
}

.hero__slide.is-active img {
  transform: scale(1.04);
}

/* The veil: near-white where the text sits, fading to the full-colour photo */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) calc(var(--hero-text-top) - 170px),
    rgba(255, 255, 255, 0.6) calc(var(--hero-text-top) - 90px),
    rgba(255, 255, 255, 0.96) calc(var(--hero-text-top) - 20px),
    var(--white) calc(var(--hero-text-top) + 30px),
    var(--white) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(300px, 46vh, 460px);
  padding-bottom: var(--space-2xl);
}

.hero__content {
  max-width: 600px;
}

.hero__title {
  font-size: var(--font-size-h1);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
  max-width: 14ch;
  text-wrap: balance;
}

.hero__lead {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Slide indicators, part of the text block so nothing floats over the photo */
.hero__dots {
  display: flex;
  gap: 6px;
  margin-top: var(--space-xl);
}

.hero__dot {
  position: relative;
  width: 36px;
  height: 24px;
  padding: 0;
}

.hero__dot::before,
.hero__dot::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 4px;
  border-radius: 2px;
}

.hero__dot::before {
  background: rgba(20, 27, 45, 0.24);
  transition: background-color var(--transition);
}

.hero__dot:hover::before {
  background: rgba(20, 27, 45, 0.3);
}

.hero__dot::after {
  background: var(--blue-primary);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__dot.is-active::after {
  animation: hero-progress var(--slide-duration, 6s) linear forwards;
}

.hero.is-paused .hero__dot.is-active::after {
  animation-play-state: paused;
}

@keyframes hero-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ==========================================
   FACTS STRIP
   ========================================== */
.facts {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.facts__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.facts__item {
  padding: var(--space-lg) var(--space-md) var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}

.facts__item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.facts__item dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.facts__item dd {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-dark);
}

.facts__item dd a {
  color: var(--blue-primary);
}

.facts__item dd a:hover {
  text-decoration: underline;
}

/* ==========================================
   FUEL — core service
   ========================================== */
.fuel__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-2xl);
}

.steps {
  display: grid;
  gap: var(--space-lg);
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.step__num {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue-primary);
  opacity: 0.4;
  font-variant-numeric: tabular-nums;
  min-width: 2.5rem;
}

.step__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 4px;
  overflow-wrap: break-word;
}

.step__text {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

.fuel__media {
  margin: 0;
}

.fuel__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

.fuel__clients {
  border-top: 1px solid var(--border);
  padding-top: var(--space-xl);
}

/* ==========================================
   OTHER SERVICES — secondary, text only
   ========================================== */
.services-compact {
  display: grid;
  gap: var(--space-xl);
}

.services-compact__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.services-compact__lead {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 40ch;
}

.services-compact__list {
  display: grid;
  gap: var(--space-md);
}

.services-compact__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  align-items: start;
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Small on purpose: these must not compete with the fuel photos */
.services-compact__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.services-compact__item strong {
  display: block;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 2px;
}

/* ==========================================
   FLEET
   ========================================== */
.fleet__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.fleet__media {
  margin: 0;
}

.fleet__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

.fleet__types {
  display: grid;
  gap: var(--space-lg);
}

.fleet__type {
  border-left: 3px solid var(--blue-primary);
  padding-left: var(--space-md);
}

.fleet__type h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 4px;
}

.fleet__type p {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  line-height: 1.6;
}

.fleet__other {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: calc(var(--space-md) + 3px);
  max-width: 42ch;
}

/* ==========================================
   ABOUT (dark)
   ========================================== */
.about__grid {
  display: grid;
  gap: var(--space-2xl);
}

.about__text p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 58ch;
}

.about__quote {
  margin-top: var(--space-xl);
  padding-left: var(--space-lg);
  border-left: 3px solid rgba(255, 255, 255, 0.35);
  font-size: var(--font-size-lg);
  font-weight: 600;
  font-style: italic;
  color: var(--white);
}

.spec {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.spec__row {
  display: grid;
  gap: 2px;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.spec__row dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}

.spec__row dd {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

/* ==========================================
   PARTNER
   ========================================== */
.partner-card {
  width: 100%;
  max-width: 374px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

.partner-card__logo-box {
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-xs);
}

.partner-card__logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card__badge {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-primary);
}

.partner-card__name {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--text-dark);
}

.partner-card__desc {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   TEAM
   ========================================== */
.team-list {
  display: grid;
  gap: var(--space-lg);
}

.team-list__item {
  border-top: 1px solid var(--text-dark);
  padding-top: var(--space-md);
}

.team-list__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-md);
}

.team-list__name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-dark);
}

.team-list__role {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.5;
}

/* ==========================================
   FAQ
   ========================================== */
.faq {
  max-width: 760px;
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__q {
  margin: 0;
  font-size: inherit;
}

.faq__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition);
}

.faq__btn:hover,
.faq__item.is-open .faq__btn {
  color: var(--blue-primary);
}

.faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition);
}

.faq__icon::before {
  width: 14px;
  height: 2px;
}

.faq__icon::after {
  width: 2px;
  height: 14px;
}

.faq__item.is-open .faq__icon::after {
  opacity: 0;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__a p {
  padding: 0 0 var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 62ch;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact__grid {
  display: grid;
  gap: var(--space-2xl);
}

.contact-list {
  border-top: 1px solid var(--border);
}

.contact-list__row {
  display: grid;
  gap: 2px;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.contact-list__row dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.contact-list__row dd {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6;
}

.contact-list__row dd a {
  color: var(--blue-primary);
}

.contact-list__row dd a:hover {
  text-decoration: underline;
}

.contact__map {
  margin-top: var(--space-xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form */
.contact__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.form__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text-dark);
}

.form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__row {
  display: grid;
  gap: var(--space-md);
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-light);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(27, 94, 158, 0.12);
}

.form__textarea {
  resize: vertical;
  min-height: 110px;
}

.form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235D6677' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form__privacy {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.form__error {
  display: none;
  font-size: var(--font-size-xs);
  color: var(--red-accent);
  margin-top: 6px;
  font-weight: 500;
}

.form__error.is-visible {
  display: block;
}

.form__input.has-error,
.form__textarea.has-error,
.form__select.has-error {
  border-color: var(--red-accent);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.form__status {
  display: none;
  margin-top: var(--space-md);
  padding: 14px 16px;
  border-radius: var(--border-radius);
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1.5;
}

.form__status.is-visible {
  display: block;
}

.form__status--success {
  background-color: #EBF6EF;
  border: 1px solid var(--green-logo);
  color: #1F5F3B;
}

.form__status--error {
  background-color: #FDEDEC;
  border: 1px solid var(--red-accent);
  color: #8E2A20;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--blue-dark);
  color: var(--white);
  padding-top: var(--space-3xl);
}

.footer__grid {
  display: grid;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__logo-img-wrap {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.footer__logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__logo-text {
  font-size: var(--font-size-lg);
  font-weight: 800;
}

.footer__tagline {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.footer__description {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.footer__col-title {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.9);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

a.footer__link:hover {
  color: var(--white);
}

.footer__bottom-bar {
  background-color: rgba(0, 0, 0, 0.2);
  padding: var(--space-lg) 0;
}

.footer__bottom-inner {
  text-align: center;
}

.footer__copyright {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
}

.footer__legal {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal:hover {
  color: var(--white);
}

/* ==========================================
   FLOATING BUTTONS
   ========================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 950;
  transition: transform var(--transition), background-color var(--transition);
}

.whatsapp-btn:hover {
  background-color: #20BA5C;
  color: var(--white);
  transform: scale(1.06);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.whatsapp-btn__tooltip {
  display: none;
  position: absolute;
  right: 68px;
  white-space: nowrap;
  background-color: var(--white);
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  font-size: var(--font-size-xs);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.whatsapp-btn:hover .whatsapp-btn__tooltip {
  opacity: 1;
  transform: translateX(0);
}

.scroll-top {
  position: fixed;
  bottom: 78px;
  right: 22px;
  width: 44px;
  height: 44px;
  background-color: var(--blue-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), background-color var(--transition);
  z-index: 940;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--blue-hover);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

/* ==========================================
   RESPONSIVE — Tablet (768px+)
   ========================================== */
@media (min-width: 768px) {
  .facts__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .facts__item {
    border-bottom: 0;
    border-left: 1px solid var(--border);
    padding: var(--space-lg);
  }

  .facts__item:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .services-compact__list {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md) var(--space-xl);
  }

  .segments {
    grid-template-columns: repeat(3, 1fr);
  }

  .spec__row {
    grid-template-columns: 140px 1fr;
    gap: var(--space-md);
  }

  .team-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .form__row {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .whatsapp-btn {
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-btn__tooltip {
    display: block;
  }

  .scroll-top {
    bottom: 92px;
    right: 30px;
  }
}

/* ==========================================
   RESPONSIVE — Desktop (1024px+)
   ========================================== */
@media (min-width: 1024px) {
  .section {
    padding: var(--space-5xl) 0;
  }

  /* Desktop: photo behind the whole hero, text on the left over the veil */
  .hero {
    min-height: min(92vh, 860px);
    display: flex;
    align-items: center;
  }

  .hero__bg {
    height: 100%;
    bottom: 0;
  }

  .hero__inner {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }

  .hero__veil {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.985) 0%,
      rgba(255, 255, 255, 0.97) 40%,
      rgba(255, 255, 255, 0.78) 52%,
      rgba(255, 255, 255, 0.22) 66%,
      rgba(255, 255, 255, 0) 80%
    );
  }

  .fuel__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl);
  }

  .section--compact {
    padding: var(--space-3xl) 0;
  }

  .services-compact {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-3xl);
    align-items: start;
  }

  .services-compact__item {
    grid-template-columns: 96px 1fr;
  }

  .fleet__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-3xl);
  }

  .about__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-4xl);
    align-items: start;
  }

  .contact__grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-3xl);
  }

  .nav__hamburger {
    display: none !important;
  }

  .nav__links,
  .nav__actions {
    display: flex !important;
  }
}

/* ==========================================
   RESPONSIVE — Mobile (<768px): drawer nav
   ========================================== */
@media (max-width: 767px) {
  .nav__inner {
    position: relative;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(10, 25, 47, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
  }

  .nav__backdrop.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(84vw, 340px);
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + 16px) 24px 32px;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__link {
    width: 100%;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: block;
  }

  .nav__link::after {
    display: none;
  }

  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
  }

  .nav__actions {
    gap: var(--space-sm);
    margin-right: var(--space-sm);
  }

  .nav__actions .nav__cta {
    display: none;
  }
}

/* Very narrow screens: keep the header on one line */
@media (max-width: 420px) {
  .nav__logo-text .company-sub {
    display: none;
  }

  .nav__logo-text .company-name {
    font-size: var(--font-size-sm);
  }
}
