/* Translogistica International Freight, Inc. — site styles
   Brand colours come from the company logo (red) and org-chart branding (maroon, gold).
   The --navy-* names are kept for the dark brand shades; change values here and the site follows. */
:root {
  --navy-900: #2b0710;
  --navy-800: #4a0d18;
  --navy-700: #7a1020;
  --navy-600: #c00000;
  --accent: #c00000;
  --accent-600: #990000;
  --gold: #c9a54c;
  --gold-light: #e2c77d;
  --sky: #fbeeee;
  --ink: #2a1a1d;
  --muted: #6b5a5d;
  --line: #efe2e2;
  --surface: #ffffff;
  --bg: #faf6f5;
  --danger: #b42318;
  --success: #067647;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(43, 7, 16, .08);
  --shadow-lg: 0 20px 50px rgba(43, 7, 16, .16);
  --container: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-600); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-800); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--white { background: var(--surface); }
.section--navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #ecd9db; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-600); margin-bottom: .8rem;
}
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-light); }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--navy .lead { color: #dcc3c6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  font-family: inherit; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(192, 0, 0, .3); }
.btn--primary:hover { background: var(--accent-600); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-800); }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn--outline:hover { background: var(--navy-700); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Top bar + header */
.topbar { background: var(--navy-900); color: #dcc3c6; font-size: .85rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: space-between; padding: .45rem 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar__tagline { color: var(--gold-light); letter-spacing: .06em; font-weight: 600; }
.topbar__group { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: center; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(43, 7, 16, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-800); }
.brand__logo { height: 52px; width: auto; }
.site-footer .brand__logo { filter: brightness(0) invert(1); }
/* Text wordmark shown only while the official logo file is missing */
.brand__mark {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; letter-spacing: .04em; font-size: 1.05rem; }
.brand__sub { font-size: .66rem; letter-spacing: .16em; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.brand.has-logo .brand__fallback { display: none; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: .55rem .8rem; border-radius: var(--radius-sm); text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: .95rem;
}
.nav__list a:hover { color: var(--navy-600); background: var(--sky); }
.nav__list a[aria-current="page"] { color: var(--navy-600); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav__toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer;
  border-radius: var(--radius-sm); color: var(--navy-800);
}
.nav__toggle-bar { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav__toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 1rem; padding: 1rem 16px 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: .8rem .6rem; font-size: 1.05rem; }
  .nav__list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 1rem; }
}

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(1000px 600px at 85% 10%, #a3172b 0%, transparent 60%),
              linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: none;
}
.hero__routes { position: absolute; right: -60px; top: 50%; width: min(720px, 70vw); transform: translateY(-50%); z-index: -1; opacity: .35; }
.hero__inner { padding: clamp(80px, 12vw, 150px) 0 clamp(90px, 12vw, 160px); max-width: 720px; }
.hero h1 { color: #fff; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #f1dfe1; max-width: 600px; margin-bottom: 2rem; }
.hero__modes { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.4rem; padding: 0; list-style: none; }
.hero__modes li {
  display: flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .9rem; font-weight: 600;
}
.hero__modes svg { width: 18px; height: 18px; color: var(--gold-light); }

.page-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 8vw, 90px);
}
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43, 7, 16, .92), rgba(74, 13, 24, .6)); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #f1dfe1; max-width: 640px; font-size: 1.1rem; margin: 0; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; gap: .5rem; font-size: .88rem; color: #dcc3c6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }

/* Media + labelled placeholder.
   The <img> sits over the placeholder; if the file is missing the image removes itself
   and the label "Image pending: <file>" shows instead. */
.media {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #e4ebf4 0 14px, #edf2f8 14px 28px);
  aspect-ratio: 4 / 3;
}
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .5s ease; }
.media--contain > img { object-fit: contain; background: #fff; }
.media__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; padding: 1rem; text-align: center; color: var(--muted); font-size: .85rem;
}
.media__ph svg { width: 34px; height: 34px; opacity: .55; }
.media__ph strong { color: var(--navy-700); font-size: .9rem; }
.media__ph code { font-size: .78rem; background: rgba(255, 255, 255, .7); padding: .1rem .4rem; border-radius: 4px; word-break: break-all; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }

/* Cards */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; gap: clamp(2rem, 5vw, 4rem); }

.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; border: 1px solid var(--line);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover .media > img { transform: scale(1.05); }
.card .media { border-radius: 0; aspect-ratio: 16 / 10; }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: .96rem; }
.card__link { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--navy-600); display: inline-flex; gap: .35rem; align-items: center; }
.card__link:hover { gap: .6rem; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--sky); color: var(--navy-600);
}
.card__icon svg { width: 24px; height: 24px; }

.feature { padding: 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.feature .card__icon { background: rgba(201, 165, 76, .18); color: var(--gold-light); }
.feature p { color: #dcc3c6; margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.about-media { position: relative; }
.about-badge {
  position: absolute; left: -12px; bottom: -18px; z-index: 2; background: var(--accent); color: #fff;
  padding: 1rem 1.3rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 240px;
}
.about-badge strong { display: block; font-size: 1.6rem; line-height: 1; }
.about-badge span { font-size: .85rem; font-weight: 600; }
@media (max-width: 600px) { .about-badge { left: 12px; } }

.mv { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.mv__card { background: var(--surface); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.mv__card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.mv__card li + li { margin-top: .5rem; }

/* Service detail rows */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: 2.5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.service-row p { color: var(--muted); }
@media (max-width: 800px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.chips a { display: block; padding: .45rem .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 600; }
.chips a:hover { border-color: var(--navy-600); color: var(--navy-600); }

/* Gallery */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery__item { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); display: block; width: 100%; text-align: left; font: inherit; }
.gallery__item .media { aspect-ratio: 4 / 3; }
.gallery__item:hover .media > img { transform: scale(1.05); }
.gallery__cap { display: block; padding: .5rem .2rem 0; font-size: .9rem; font-weight: 600; color: var(--navy-800); }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%;
}
.lightbox::backdrop { background: rgba(20, 4, 8, .9); }
.lightbox__inner { position: relative; }
.lightbox .media { aspect-ratio: auto; min-height: 50vh; max-height: 80vh; background-color: #1a0509; }
.lightbox .media > img { position: relative; max-height: 80vh; width: 100%; object-fit: contain; }
.lightbox__cap { color: #fff; text-align: center; margin-top: .8rem; font-weight: 600; }
.lightbox__btn {
  position: absolute; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--navy-800); display: grid; place-items: center; font-size: 1.4rem;
}
.lightbox__btn:hover { background: var(--accent); color: #fff; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-600), var(--navy-900)); color: #fff; border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(201, 165, 76, .22); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #ecd9db; margin: 0; max-width: 560px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.info-list li { display: grid; grid-template-columns: 46px 1fr; gap: .9rem; align-items: start; }
.info-list .card__icon { margin: 0; }
.info-list h3 { font-size: 1rem; margin: 0 0 .2rem; }
.info-list p { margin: 0; color: var(--muted); }
.info-list a { color: var(--navy-700); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--accent-600); text-decoration: underline; }
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--line); }
.section--navy .info-list p { color: #dcc3c6; }
.section--navy .info-list h3 { color: #fff; }
.section--navy .info-list a { color: #fff; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.4rem; margin: 0; display: grid; gap: 1.1rem; }
.form legend { font-weight: 800; color: var(--navy-800); padding: 0 .4rem; }
.field { display: grid; gap: .35rem; }
.field label, .field .label { font-weight: 600; font-size: .93rem; color: var(--navy-800); }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #dccaca; border-radius: var(--radius-sm);
  padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(192, 0, 0, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .85rem; min-height: 0; }
.field__hint { color: var(--muted); font-size: .85rem; }
.radio-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-group label {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border: 1.5px solid #dccaca; border-radius: 999px;
  cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--ink);
}
.radio-group input { accent-color: var(--accent); width: 18px; height: 18px; }
.radio-group label:has(input:checked) { border-color: var(--navy-600); background: var(--sky); }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.checkbox input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: #ecfdf3; color: var(--success); border: 1px solid #abefc6; }
.form-status--error { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }
.form-status--info { background: #fff8eb; color: #8a4b0a; border: 1px solid #fcd9a8; }
.form-status a { color: inherit; font-weight: 700; }

.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map-card iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-card__link { display: block; padding: .9rem 1.1rem; font-weight: 700; text-decoration: none; }

/* Footer */
.site-footer { background: var(--navy-900); color: #d6bfc2; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #f5e8e9; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-tagline { color: var(--gold-light); font-size: .8rem; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__sub { color: #d6bfc2; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--gold); color: var(--navy-900); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 1.2rem 0; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

/* Reveal-on-scroll (only when JS is active and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.org-charts { display: grid; gap: 2rem; }
.org-charts .media { aspect-ratio: 16 / 10; }
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; }

.form fieldset.field { border: 0; padding: 0; }
.form fieldset.field legend { padding: 0; margin-bottom: .35rem; font-weight: 600; font-size: .93rem; }
.field .radio-group input, .field .checkbox input { width: 18px; height: 18px; min-height: 0; padding: 0; border: 0; box-shadow: none; flex: none; }
@media (max-width: 600px) { .topbar__group:last-child { display: none; } }

/* Illustration under an optional photo: the photo (if present) covers it */
.media { background: #fbf3f1; }
.media > img.media__art { z-index: 0; }

/* Animated hero: air, sea and land */
.hero__inner { padding-bottom: clamp(210px, 27vw, 380px); }
.hero__scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(200px, 26vw, 370px); z-index: -1; pointer-events: none; }
.hero__scene .mover { animation: tl-move linear infinite; }
.hero__scene .plane { animation-duration: 16s; }
.hero__scene .ship { animation-duration: 42s; animation-delay: -18s; }
.hero__scene .truck { animation-duration: 13s; animation-delay: -4s; }
.hero__scene .truck2 { animation-duration: 13s; animation-delay: -10.5s; }
.hero__scene .bob { animation: tl-bob 4s ease-in-out infinite; }
.hero__scene .wave { animation: tl-wave 6s linear infinite; }
.hero__scene .dash { animation: tl-wave 1.6s linear infinite; }
@keyframes tl-move { from { transform: translateX(-460px); } to { transform: translateX(1700px); } }
@keyframes tl-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes tl-wave { from { transform: translateX(0); } to { transform: translateX(-160px); } }
@media (prefers-reduced-motion: reduce) {
  .hero__scene .mover, .hero__scene .bob, .hero__scene .wave, .hero__scene .dash { animation: none !important; }
  .hero__scene .plane { transform: translateX(1000px); }
  .hero__scene .ship { transform: translateX(560px); }
  .hero__scene .truck { transform: translateX(160px); }
  .hero__scene .truck2 { display: none; }
}

/* Team */
.team-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.team-grid--lead { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 280px)); justify-content: center; margin-bottom: 1.5rem; }
.person { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1rem 1.3rem; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.person img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--gold); }
.person h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.person p { margin: 0; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Thank-you page */
.thanks { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.thanks__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--sky); color: var(--accent); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.thanks__icon svg { width: 44px; height: 44px; }
