/* =========================================================
   CONNECT CARGO SOLUTIONS — design system
   Concept: a shipping manifest / customs-form ledger.
   Palette: paper + ink, one signal-red / ink-blue stripe pair
   pulled from airmail edging and customs stamp ink.
   Type: Space Grotesk (display) + IBM Plex Sans (body/UI)
   ========================================================= */

:root {
  /* DARK NAVY THEME — same variable roles as before, new values.
     --ink / --ink-soft / --steel are now the LIGHT text tones;
     --paper / --paper-deep / --surface are the deep navy backgrounds. */
  --ink: #EEF3FB;
  --ink-soft: #B3C0D6;
  --paper: #0A1426;          /* midnight navy page */
  --paper-deep: #0E1B35;     /* alternate section */
  --surface: #132544;        /* cards / panels */
  --surface-input: #0B1730;  /* form fields */
  --band: #050A15;           /* near-black navy bands (hero, CTA, principles) */
  --on-dark: #F7F6F2;
  --white: #FFFFFF;
  --steel: #8FA0BC;
  --line: #243759;
  --line-dark: #1F3153;
  --rule: #4F6AA3;           /* stronger rules (was ink-coloured) */
  --red: #2F66D0;            /* primary accent: royal blue (was signal red) */
  --red-deep: #2352A8;
  --accent-text: #7FA8FF;    /* accent used as text / thin lines on dark */
  --royal: #0F2A63;          /* dark royal blue, 2nd stripe colour */
  --blue: #4C86F0;
  color-scheme: dark;
  font-size: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

::selection {
  background: var(--red);
  color: var(--white);
}

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

/* ===== STRIPE MOTIF ===== */
/* the recurring device: a thin diagonal red/blue hatch,
   pulled from airmail-parcel edging and customs stamp borders.
   Used only at structural seams — never as decoration. */
.stripe-rule {
  height: 5px;
  width: 100%;
  background: repeating-linear-gradient(-45deg,
      var(--red) 0 10px, var(--royal) 10px 20px);
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 32px;
  max-width: 1180px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

header.scrolled .navbar {
  border-bottom-color: var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand-name {
  font-family: 'Space Grotesk';
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--steel);
}

nav.links {
  display: flex;
  gap: 30px;
}

nav.links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
}

nav.links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

nav.links a:hover,
nav.links a.active {
  color: var(--ink);
}

nav.links a:hover::after,
nav.links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--red);
}

.nav-cta:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px 12px;
}

@media (max-width:900px) {

  nav.links,
  .navbar .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 6px 32px 22px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink);
}

.mobile-nav .nav-cta {
  margin-top: 14px;
  text-align: center;
  width: fit-content;
}

/* ===== MARGIN LEDGER (shared two-column section layout) ===== */
.ledger {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 48px;
}

/* fix: grid columns default to a min-width based on their content's
   min-content size, so a wide/scrollable child (e.g. the port line
   below, which has min-width:640px) was stretching this column —
   and the whole page — past the viewport width on smaller screens.
   min-width: 0 lets the column shrink to fit normally. */
.ledger > div {
  min-width: 0;
}

.ledger-tab {
  font-size: 0.78rem;
  color: var(--steel);
  border-top: 2px solid var(--rule);
  padding-top: 10px;
  height: fit-content;
}

.ledger-tab b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 3px;
}

@media (max-width:760px) {
  .ledger {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ledger-tab {
    border-top: none;
    border-left: 2px solid var(--rule);
    padding: 0 0 0 14px;
  }
}

/* ===== HERO (home) ===== */
.hero {
  padding: 64px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0 56px;
}

.hero-tag {
  font-size: 0.82rem;
  color: var(--steel);
  margin-bottom: 18px;
}

.hero-tag b {
  color: var(--ink);
}

h1.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  max-width: 14ch;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--red);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.btn-ghost {
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--rule);
  color: var(--ink);
  display: inline-block;
}

.btn-ghost:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

@media (max-width:860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* hero label graphic — straight routed line, not a curved map */
.hero-label {
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 26px;
}

.hero-label-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.50rem;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 10px;
}

.route-svg {
  width: 100%;
  height: 110px;
}

.route-svg .path {
  stroke: var(--steel);
  stroke-width: 1.4;
  fill: none;
  stroke-dasharray: 5 4;
}

.route-svg .node {
  fill: var(--ink);
}

.route-svg .node.origin {
  fill: var(--accent-text);
}

.route-svg .node.dest {
  fill: var(--blue);
}

.route-svg text {
  font-family: 'IBM Plex Sans';
  font-size: 9px;
  fill: var(--ink-soft);
}

.hero-label-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.50rem;
  color: var(--steel);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 10px;
}

.hero-labels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-label {
  padding: 20px;
}

.mode-icon {
  color: var(--ink);
}

.icon-label {
  font-family: 'IBM Plex Sans';
  font-size: 9px;
  font-weight: 600;
  fill: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--band);
  color: var(--on-dark);
  padding: 64px 0 52px;
}

.page-hero .hero-tag {
  color: #9AA6AF;
}

.page-hero .hero-tag b {
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  max-width: 20ch;
  margin-top: 10px;
}

.page-hero p {
  color: #C7CDD2;
  max-width: 58ch;
  margin-top: 16px;
  font-size: 1rem;
}

/* ===== CAPABILITY STRIP (stats, home) ===== */
.capstrip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capstrip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cap-cell {
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.cap-cell:first-child {
  border-left: none;
}

.cap-num {
  font-family: 'Space Grotesk';
  font-size: 1.7rem;
  font-weight: 600;
}

.cap-label {
  font-size: 0.82rem;
  color: var(--steel);
  margin-top: 4px;
}

@media (max-width:760px) {
  .capstrip .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .cap-cell:nth-child(3) {
    border-left: none;
  }

  .cap-cell {
    border-top: 1px solid var(--line);
  }

  .cap-cell:first-child,
  .cap-cell:nth-child(2) {
    border-top: none;
  }
}

/* ===== SECTIONS ===== */
.section {
  padding: 88px 0;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.3rem);
  max-width: 22ch;
  margin-bottom: 12px;
}

.section-note {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ===== ABOUT (home teaser + about page) ===== */
.about-copy p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 14px;
  max-width: 58ch;
}

.text-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--accent-text);
  padding-bottom: 2px;
  display: inline-block;
  margin-top: 6px;
}

.text-link:hover {
  color: var(--accent-text);
}

.about-photo {
  border: 1px solid var(--rule);
  margin-top: 36px;
}

.about-photo img {
  filter: grayscale(1) contrast(1.05);
  width: 100%;
  object-fit: cover;
  max-height: 360px;
}

/* ===== SERVICES GRID (home) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-tag {
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk';
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.service-card .service-name {
  font-family: 'Space Grotesk';
  font-size: 1.08rem;
  font-weight: 600;
}

.service-card .service-desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  flex-grow: 1;
}

.service-card .service-view {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-text);
  border-bottom: 1px solid transparent;
  width: fit-content;
}

.service-card:hover .service-view {
  border-bottom-color: var(--accent-text);
}

@media (max-width:900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SERVICE MANIFEST ROWS (services.html) ===== */
.service-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.service-row p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 64ch;
  margin-bottom: 12px;
}

.service-row ul {
  padding: 0;
}

.service-row li {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 5px 10px;
  margin: 0 8px 8px 0;
}

@media (max-width:600px) {
  .service-row {
    grid-template-columns: 1fr;
  }
}

/* ===== WHY / DECLARATION (dark band) ===== */
.declare {
  background: var(--band);
  color: var(--on-dark);
  padding: 88px 0;
}

.declare h2 {
  color: var(--white);
  max-width: 20ch;
  margin-bottom: 44px;
}

.declare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.declare-item {
  padding: 0 22px;
  border-left: 1px solid var(--line-dark);
}

.declare-item:first-child {
  border-left: none;
  padding-left: 0;
}

.declare-check {
  width: 20px;
  height: 20px;
  border: 1px solid var(--accent-text);
  position: relative;
  margin-bottom: 14px;
}

.declare-check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 8px;
  height: 11px;
  border-right: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(35deg);
}

.declare-item h3 {
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.declare-item p {
  color: #B7BFC5;
  font-size: 0.88rem;
}

@media (max-width:860px) {
  .declare-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .declare-item:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width:520px) {
  .declare-grid {
    grid-template-columns: 1fr;
  }

  .declare-item {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line-dark);
    padding-top: 24px;
  }

  .declare-item:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ===== PORT LINE (network) ===== */
.portline-wrap {
  overflow-x: auto;
  padding-bottom: 8px;
}

.portline {
  display: flex;
  align-items: flex-end;
  min-width: 640px;
  padding-top: 20px;
  position: relative;
}

.portline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 29px;
  height: 1px;
  background: var(--line);
}

.port-stop {
  flex: 1;
  text-align: center;
  position: relative;
}

.port-tick {
  width: 1px;
  height: 18px;
  background: var(--rule);
  margin: 0 auto 10px;
}

.port-stop.hq .port-tick {
  background: var(--accent-text);
  width: 2px;
}

.port-name {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.port-stop.hq .port-name {
  color: var(--ink);
  font-weight: 600;
}

/* ===== PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-item {
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.process-item:first-child {
  border-left: none;
}

.process-tag {
  display: inline-block;
  border: 1px solid var(--rule);
  font-family: 'Space Grotesk';
  font-weight: 600;
  font-size: 0.78rem;
  padding: 3px 8px;
  margin-bottom: 14px;
}

.process-item h3 {
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width:800px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-item:nth-child(2n+1) {
    border-left: none;
  }

  .process-item:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width:480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    border-left: none;
  }

  .process-item:nth-child(n+2) {
    border-top: 1px solid var(--line);
  }
}

/* ===== INDUSTRIES ===== */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.industry-item {
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  font-family: 'Space Grotesk';
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.industry-item:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.industry-item:nth-child(even) {
  padding-left: 24px;
}

.industry-item span.tag {
  font-family: 'IBM Plex Sans';
  font-size: 0.76rem;
  color: var(--steel);
}

@media (max-width:700px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-item:nth-child(odd) {
    border-right: none;
    padding-right: 4px;
  }

  .industry-item:nth-child(even) {
    padding-left: 4px;
  }
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--band);
  color: var(--white);
  padding: 64px 0;
  position: relative;
}

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  max-width: 20ch;
}

.cta-band p {
  color: #C7CDD2;
  margin-top: 8px;
}

.cta-band.center {
  text-align: center;
}

.cta-band.center .wrap {
  flex-direction: column;
  justify-content: center;
}

.cta-band.center h2 {
  max-width: 22ch;
  margin: 0 auto;
}

.cta-band.center p {
  margin-bottom: 28px;
  max-width: 50ch;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

@media (max-width:860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 22px;
  margin-top: 24px;
  font-size: 0.96rem;
}

.contact-info dt {
  font-size: 0.76rem;
  color: var(--steel);
  align-self: start;
  padding-top: 3px;
  font-weight: 600;
}

.contact-info dd {
  color: var(--ink);
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

form label {
  font-size: 0.76rem;
  color: var(--steel);
  font-weight: 600;
}

form input,
form textarea,
form select {
  border: 1px solid var(--line);
  background: var(--surface-input);
  padding: 11px 12px;
  font-size: 0.96rem;
  color: var(--ink);
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--red);
  cursor: pointer;
  margin-top: 4px;
}

.btn-submit:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

/* ===== FOOTER ===== */
footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer-brand .brand-name {
  color: var(--ink);
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 32ch;
}

.footer-col h4 {
  font-family: 'Space Grotesk';
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 9px;
}

.footer-col a:hover {
  color: var(--accent-text);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-row a {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
}

.foot-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--steel);
  border-top: 1px solid var(--line);
}

@media (max-width:800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 80;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--red);
  transition: width .08s linear;
}

/* ===== CALCULATOR ===== */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width:900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-card {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-card-head .hero-tag {
  margin-bottom: 6px;
}

.calc-card-head h2 {
  font-size: 1.4rem;
}

.calc-hint {
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 44ch;
}

.calc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width:520px) {
  .calc-row {
    grid-template-columns: 1fr;
  }
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.calc-field label {
  font-size: 0.76rem;
  color: var(--steel);
  font-weight: 600;
}

.calc-optional {
  font-weight: 400;
  color: var(--steel);
}

.calc-field input,
.calc-field select {
  border: 1px solid var(--line);
  background: var(--surface-input);
  padding: 11px 12px;
  font-size: 0.96rem;
  color: var(--ink);
}

.calc-field input:focus,
.calc-field select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.btn-calc {
  background: var(--red);
  color: var(--white);
  padding: 13px 22px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid var(--red);
  cursor: pointer;
}

.btn-calc:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.calc-result {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.calc-result-label {
  font-size: 0.76rem;
  color: var(--steel);
  font-weight: 600;
}

.calc-result-value {
  font-family: 'Space Grotesk';
  font-size: 1.3rem;
  font-weight: 600;
}

.calc-result.is-ready .calc-result-value {
  color: var(--accent-text);
}

.calc-disclaimer {
  color: var(--steel);
  font-size: 0.86rem;
  margin-top: 36px;
  max-width: 78ch;
}

/* ===== ESTABLISHED BADGE + AIR TRANSPORT ADDITIONS ===== */
.est-badge {
  display: block;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent-text);
  padding: 5px 12px;
  margin-bottom: 16px;
}

.service-lead {
  padding: 44px 0 30px;
  border-top: 1px solid var(--line);
}

.service-lead h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  margin-bottom: 8px;
}

.service-lead .section-note {
  font-size: 0.95rem;
}

.service-row .service-photo {
  border: 1px solid var(--rule);
  margin-top: 18px;
  max-width: 640px;
}

.service-row .service-photo img {
  filter: grayscale(1) contrast(1.05);
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
