/*
 * Corporate logistics in yellow (#e9c12d / #cda616 / #f4c025), ink #1d1a17,
 * white and warm gray. Raleway sentence-case headings and Sofia Sans body.
 * Airy 1140px grid, square corners, pill actions and circular fleet badge.
 * Inset floating header over a centered white hero card, then services list,
 * split equipment feature, regional list, photo grid, hiring ticket and angled CTA.
 * Full-bleed fleet photography in clear daylight, with a dark footer photo strip.
 */
@import url('../fonts/raleway/font.css');
@import url('../fonts/sofia-sans/font.css');

:root {
  --primary: #e9c12d;
  --primary_dark: #cda616;
  --accent: #f4c025;
  --ink: #1d1a17;
  --surface: #ffffff;
  --surface_alt: #f4f2ef;
  --heading: 'Raleway', sans-serif;
  --body: 'Sofia Sans', sans-serif;
  --container: 1140px;
  --radius: 0;
  --section: clamp(72px, 9vw, 128px);
  --gutter: clamp(20px, 5vw, 72px);
  --stroke: #d7d2ca;
  --muted: #56514a;
  --card: #2b2722;
  --arrival: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { color: var(--ink); background: var(--surface); scroll-padding-top: 106px; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.48; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
:is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #625016;
  outline-offset: 4px;
}
.dark :focus-visible, .dark-card :focus-visible, .footer :focus-visible,
.banner :focus-visible, .home-cta :focus-visible, .photo-tile:focus-visible {
  outline-color: var(--accent);
}
main:focus, [tabindex="-1"]:focus { outline: none; }
h1, h2, h3, .brand {
  margin: 0;
  font-family: var(--heading);
  font-weight: 850;
  line-height: 1.08;
  font-variant-numeric: lining-nums;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.042em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.032em; }
h3 { font-size: clamp(1.16rem, 2vw, 1.5rem); letter-spacing: -.017em; }
p { margin: 0 0 1em; }
:is(h2,h3) + p { margin-top: .75em; }
address { font-style: normal; }
figure { margin: 0; }
.wrap { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
.sub-section { padding-block: clamp(52px, 6vw, 86px); }
.alt { background-color: var(--surface_alt); }
.dark { background-color: var(--ink); color: var(--surface); }
.rule::after { content: ''; display: block; width: 52px; height: 4px; background: var(--primary); margin: 18px 0 24px; }
.icon { flex: 0 0 auto; width: 22px; height: 22px; }
.fine { font-size: .9rem; color: var(--muted); }
.text-link { font-weight: 750; text-decoration-thickness: 2px; text-decoration-color: var(--primary_dark); }
.skip { position: fixed; top: 8px; left: 8px; padding: 12px 20px; background: var(--surface); z-index: 20; transform: translateY(-160%); }
.skip:focus { transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 10px 24px; border: 1px solid transparent; border-radius: 100vw;
  background: var(--primary); color: var(--ink); font-size: 1rem; text-decoration: none;
  font-weight: 800; line-height: 1.2; text-align: center;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover { background: var(--primary_dark); }
.outline { border-color: var(--ink); background: transparent; }
.outline:hover { background: var(--ink); color: var(--surface); }
.inverse { border-color: currentColor; background: transparent; color: var(--surface); }
.inverse:hover { background: var(--surface); color: var(--ink); }
.dark-card { background: var(--card); color: var(--surface); padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); }
.dark-card a { color: var(--primary); }
.light-card { background: var(--surface_alt); padding: clamp(24px, 4vw, 34px); }
.light-card h2, .dark-card h2 { font-size: 1.55rem; }
.dark-card h3:only-child, .light-card p:last-child { margin-bottom: 0; }

.header {
  position: absolute; z-index: 10; top: 22px; left: 50%; width: min(calc(100% - 44px), 1396px);
  transform: translateX(-50%); background: var(--surface); box-shadow: 0 7px 25px #1d1a171f;
}
.js .header { position: fixed; transition: transform 250ms var(--arrival); }
.js .header.is-small { transform: translate(-50%, -13px); }
.header-inner { min-height: 83px; padding: 0 clamp(16px, 2.8vw, 42px); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.js .header.is-small .header-inner { min-height: 66px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex: 0 0 auto; color: inherit; text-decoration: none; line-height: 1; }
.brand img { width: 46px; height: 46px; }
.brand strong { display: block; font-size: 1.14rem; letter-spacing: -.015em; }
.brand small { display: block; margin-top: 4px; font-size: .61rem; letter-spacing: .1em; }
.header nav, .nav-label, .header-actions { display: flex; align-items: center; }
.header nav { gap: clamp(8px, 2vw, 30px); font-size: 1rem; font-weight: 750; }
.header nav > a, .nav-label > a { display: inline-flex; align-items: center; min-height: 46px; text-decoration: none; }
.header nav > a:hover, .nav-label > a:hover, .header nav [aria-current] { text-decoration: underline; text-decoration-color: var(--primary_dark); text-decoration-thickness: 2px; }
.nav-group { position: relative; }
.nav-trigger { display: inline-grid; place-items: center; min-height: 44px; width: 28px; padding: 0; border: 0; background: none; }
.nav-trigger .icon { width: 11px; height: 11px; }
.nav-sub {
  position: absolute; z-index: 2; top: 100%; left: -20px; width: 292px; padding: 7px 0;
  display: none; background: var(--surface); border-top: 3px solid var(--primary); box-shadow: 0 8px 26px #1d1a1725;
}
.nav-sub a { display: block; line-height: 1.25; padding: 12px 18px; text-decoration: none; }
.nav-sub a span { display: block; font-size: .9rem; color: var(--muted); font-weight: 450; margin-top: 3px; }
.nav-sub a:hover, .nav-sub a:focus-visible { background: var(--surface_alt); }
.nav-group[data-open] .nav-sub, html:not(.js) .nav-group:focus-within .nav-sub,
html:not(.js) .nav-group:hover .nav-sub { display: block; }
.menu-toggle { display: none; }
.header-actions { gap: 8px; }

.hero, .banner, .home-cta { position: relative; overflow: clip; isolation: isolate; }
.hero {
  min-height: clamp(600px, 50vw, 735px); display: grid; place-items: center;
  padding: 145px var(--gutter) 74px; background: var(--ink);
}
.hero-frame, .backdrop, .cta-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-frame { z-index: -2; animation: hero-zoom 22s ease-in-out infinite alternate; }
.backdrop { object-fit: cover; }
.hero .backdrop { object-position: center 53%; }
.hero::after, .banner-photo::after, .cta-overlay { content: ''; position: absolute; inset: 0; z-index: -1; background: #1d1a1740; }
.hero-card {
  width: min(100%, 630px); padding: clamp(32px, 5vw, 58px) clamp(20px, 5vw, 54px) 35px;
  text-align: center; background: var(--surface); border-top: 6px solid var(--primary);
  box-shadow: 0 12px 28px #1d1a1721;
}
.hero-card p { margin: 16px 0 24px; font-size: clamp(1.06rem, 2vw, 1.25rem); color: var(--muted); }
.hero-card .actions { justify-content: center; }
.hero-phone { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; margin-top: 10px; font-size: .95rem; font-weight: 750; }
.hero-phone .icon { width: 14px; height: 14px; }
@keyframes hero-zoom { to { transform: scale(1.08); } }

.services-inner { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: clamp(32px, 7vw, 100px); }
.services-list { list-style: none; margin: 0 0 20px; padding: 0; }
.services-list li { display: flex; gap: 17px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--stroke); }
.services-list li:first-child { padding-top: 6px; }
.services-list h3 { font-size: 1.15rem; }
.services-list p { font-size: 1.05rem; margin: 5px 0 0; color: var(--muted); }
.service-icon { display: grid; place-items: center; background: var(--primary); min-width: 40px; height: 40px; }
.services-image { min-height: 100%; background: var(--surface_alt); }
.services-image img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 405px; background: var(--ink); color: var(--surface); }
.spec-photo { position: relative; display: grid; align-items: stretch; background: var(--card); min-width: 0; }
.spec-photo > img { width: 100%; height: 100%; aspect-ratio: 1.52; object-fit: cover; }
.split-copy { padding: clamp(44px, 7vw, 100px) var(--gutter) clamp(44px, 7vw, 100px) clamp(35px, 7vw, 105px); align-self: center; }
.split-copy h2 { max-width: 480px; }
.split-copy p { max-width: 460px; color: #e4e0dc; }
.callout { position: absolute; left: 26%; bottom: 17%; max-width: 70%; }
.callout summary { list-style: none; min-height: 44px; position: relative; display: flex; align-items: center; gap: 30px; }
.callout summary::-webkit-details-marker { display: none; }
.callout summary::after { content: ''; position: absolute; width: 31px; left: 34px; top: 50%; border-top: 2px solid var(--primary); }
.callout summary span:first-child {
  z-index: 1; display: grid; place-items: center; position: relative; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--primary); color: var(--ink); font-size: 1.4rem; font-weight: 850;
}
.callout summary span:first-child::after { content: ''; position: absolute; inset: -4px; border: 3px solid var(--primary); border-radius: 50%; pointer-events: none; animation: hotspot-pulse 2.5s ease-out infinite; }
.callout[data-used] summary span:first-child::after { animation: none; opacity: 0; }
.callout summary span:last-child, .callout p { padding: 7px 11px; font-size: .9rem; font-weight: 750; background: var(--ink); color: var(--surface); }
.callout p { position: absolute; z-index: 2; bottom: calc(100% + 10px); left: 0; width: min(220px, 55vw); margin: 0; }
@keyframes hotspot-pulse { 40%, 100% { opacity: 0; transform: scale(1.55); } }

.region { background: var(--surface_alt); }
.region-inner, .service-page-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(36px, 8vw, 115px); }
.region address { margin-bottom: 22px; font-weight: 750; }
.states { padding: 8px 0 0; }
.states h3 { margin-bottom: 16px; }
.states p { font-size: 1rem; margin-top: 14px; color: var(--muted); }
.state-list { position: relative; border-bottom: 1px solid var(--stroke); padding: 16px 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; list-style: none; font-size: 1rem; }
.state-list::before { content: ''; position: absolute; top: 0; left: 0; right: 0; border-top: 3px solid var(--primary_dark); transform-origin: left center; }
.state-list li:first-child { font-weight: 850; }
.js [data-anim="map-draw"].is-in .state-list::before { animation: draw-rule .6s var(--arrival) both; }
@keyframes draw-rule { from { transform: scaleX(0); } }

.photo-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 12px; margin-top: 34px; }
.photo-tile { position: relative; min-height: 310px; display: flex; align-items: end; isolation: isolate; overflow: hidden; color: var(--surface); background: var(--ink); text-decoration: none; }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 500ms var(--arrival); }
.photo-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 27%, #15120fdf); z-index: -1; }
.photo-tile div { padding: 22px; transition: transform 250ms var(--arrival); }
.photo-tile p { margin: 6px 0 0; font-size: 1rem; }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile:hover div { transform: translateY(-6px); }

.hiring { padding-top: clamp(64px, 7vw, 105px); }
.pay-strip { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; background: var(--primary); color: var(--ink); padding: 14px clamp(19px, 4vw, 37px); font-size: clamp(1.14rem, 2.4vw, 1.42rem); font-weight: 750; }
.pay-strip strong { font-family: var(--heading); font-size: clamp(1.44rem, 3.2vw, 2.35rem); font-variant-numeric: lining-nums; }
.ticket { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--card); color: var(--surface); padding: clamp(20px, 4vw, 37px); transition: transform 200ms ease, box-shadow 200ms ease; }
.ticket:hover { transform: translateY(-3px); box-shadow: 0 8px 16px #1d1a172b; }
.ticket-details p { margin: 7px 0 0; }
.ticket-pay { padding-left: 24px; border-left: 2px dashed #81776a; }
.ticket-pay strong { display: block; color: var(--primary); font-size: 1.24rem; }
.ticket-actions { display: grid; flex: 0 0 auto; justify-items: center; gap: 10px; font-size: .95rem; }
.hiring .ticket { border-top: 2px dashed #a7965f; }
.home-cta { display: grid; align-items: center; min-height: 330px; background: var(--ink); color: var(--surface); }
.home-cta .backdrop { z-index: -2; object-position: center 54%; }
.cta-overlay { background: #181613ab; }
.diagonal { position: absolute; inset: -1px 0 auto; height: 35px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 0 100%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 72px 0; }
.cta-inner p { margin: 0; }

.footer { background: var(--ink); color: var(--surface); }
.footer-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-strip > span { background-color: var(--card); background-size: cover; background-position: center; height: clamp(64px, 9vw, 135px); }
.footer-strip .strip-galaz { background-image: url('../img/20250318_112959.webp'); background-position: 70% 68%; }
.strip-gald { background-image: url('../img/20250318_111229.webp'); }
.footer-strip .strip-gala { background-image: url('../img/20250318_114936.webp'); background-position: 50% 62%; }
.strip-galbx { background-image: url('../img/20250318_104344.webp'); }
.footer-main { padding-block: 51px 40px; display: grid; grid-template-columns: 1.45fr 1fr 1fr .8fr; gap: 28px; }
.footer .brand { margin: 0 0 18px; }
.footer address, .footer-main a { font-size: 1rem; overflow-wrap: anywhere; }
.footer-main h2 { font-size: 1.15rem; color: var(--primary); margin: 8px 0 10px; }
.footer-main > div:not(:first-child) a { display: block; padding-block: 5px; width: fit-content; text-decoration: none; }
.footer-main > div:not(:first-child) a:hover { text-decoration: underline; }
.dot { margin: 10px 0 0; }
.footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; padding-block: 22px; border-top: 1px solid #756d62; font-size: .9rem; }
.footer-bottom a + a { margin-left: 14px; }
.back-top { position: fixed; z-index: 5; right: 16px; bottom: 16px; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; text-decoration: none; background: var(--primary); color: var(--ink); border: 1px solid var(--ink); font-size: 1.35rem; font-weight: 800; }
.mobile-bar { display: none; }

.banner { background: var(--ink); color: var(--surface); }
.banner-photo .backdrop { z-index: -2; object-position: center 48%; }
.banner-photo::after { background: linear-gradient(90deg, #1d1a17e8, #1d1a1760); }
.banner-inner { padding-block: 158px 55px; }
.banner-photo .banner-inner { padding-bottom: 62px; }
.banner p { font-size: clamp(1.12rem, 2vw, 1.4rem); margin: 13px 0 0; }
.banner p + .button, .banner .actions { margin-top: 22px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--stroke); font-size: .93rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs > span { color: var(--muted); }
.driver-offer { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 16px; color: var(--primary); font-size: clamp(1.2rem, 3vw, 1.65rem); }
.driver-tabs { margin-top: 38px; }
.tab-links { display: flex; flex-wrap: wrap; gap: 0 5px; border-bottom: 1px solid var(--stroke); }
.tab-links a { flex: 1 1 auto; padding: 12px 15px; min-height: 48px; border-bottom: 4px solid transparent; text-align: center; font-weight: 770; text-decoration: none; }
.tab-links a:hover, .tab-links a[aria-selected="true"] { border-color: var(--primary_dark); background: var(--surface_alt); }
.tab-panel { padding: 29px clamp(0px, 2vw, 25px); }
.plain-steps { padding-left: 24px; }
.plain-steps li { padding: 4px; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 22px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--stroke); min-height: 45px; padding-block: 8px; }
.check-list .icon { width: 17px; height: 17px; }
.signature { padding: 23px; margin: 20px 0; border-left: 4px solid var(--primary_dark); background: var(--surface_alt); }
.signature details + details { border-top: 1px solid var(--stroke); }
.signature summary { min-height: 44px; align-content: center; font-weight: 750; }
.signature details p { margin: 0 0 12px; }
.photo-checklist { list-style: none; margin: 0; padding: 0; }
.photo-checklist label { min-height: 44px; display: flex; gap: 10px; align-items: center; }
.photo-checklist input { flex: 0 0 auto; }
.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.equipment-grid a { display: block; }
.equipment-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.equipment-grid figcaption { margin-top: 8px; font-weight: 700; }
.gallery-dialog { border: 0; width: min(920px, calc(100% - 32px)); max-height: 88vh; padding: 15px; background: var(--ink); color: var(--surface); }
.gallery-dialog::backdrop { background: #000a; }
.gallery-dialog img { max-height: 66vh; width: 100%; object-fit: contain; margin-top: 12px; }
.gallery-dialog p { margin: 10px 0 0; }
.faq-list { border-top: 1px solid var(--stroke); }
.faq-list details { border-bottom: 1px solid var(--stroke); }
.faq-list summary { list-style: none; min-height: 57px; display: grid; grid-template-columns: 2rem 1fr 1rem; align-items: center; gap: 8px; padding: 10px 0; font-size: 1.12rem; font-weight: 760; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-no { color: #725b0c; font-variant-numeric: tabular-nums; }
.faq-toggle::before { content: '+'; }
details[open] .faq-toggle::before { content: '−'; }
.faq-list p { margin: 0 0 14px 40px; }

.recruit-row, .form-layout, .company-layout, .authority-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 5vw, 65px); align-items: start; }
.recruit-row { margin-top: 20px; }
.recruiter p { margin: 8px 0; }
.recruit-phone { display: block; width: fit-content; font-weight: 850; font-size: 1.29rem; }
.recruit-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.recruit-links a, .recruit-links button { min-height: 44px; display: inline-flex; align-items: center; color: var(--primary); }
.recruit-links button { border: 0; padding: 0; background: none; text-decoration: underline; text-underline-offset: .21em; }
.form-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.form-layout .recruiter { margin-top: 14px; }
.form-layout .signature { margin-top: 0; }
.apply-offer strong { display: block; font-size: 1.6rem; margin-top: 10px; }
.apply-offer p { margin: 6px 0 0; }
.next-steps { margin-top: 40px; }
.site-form { position: relative; display: grid; gap: 16px; }
.form-step { padding: clamp(18px, 3vw, 29px); border: 1px solid var(--stroke); border-top: 4px solid var(--primary); background: var(--surface_alt); min-width: 0; }
.step-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.step-head > span { font-size: 2rem; color: #6a540a; font-weight: 800; line-height: 1; }
[data-variant="card-stack"] .step-head > span { font-size: clamp(2.55rem, 5vw, 4rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.site-form label, .site-form legend { font-weight: 680; font-size: 1rem; }
.site-form :is(input:not([type="checkbox"]), select, textarea) {
  display: block; width: 100%; min-width: 0; min-height: 46px; margin-top: 5px; padding: 7px 10px; border: 1px solid #827a6e;
  border-radius: var(--radius); background: var(--surface); color: var(--ink);
}
.site-form input[readonly] { background: #eae6e1; }
.site-form textarea { resize: vertical; }
.site-form input:user-invalid, .site-form textarea:user-invalid, .site-form select:user-invalid { border-color: #9c2520; }
.form-step > label, .form-step > .choices { margin-top: 14px; }
.form-step > label { display: block; }
.choices { border: 0; padding: 0; margin-inline: 0; }
.choices > div { display: flex; flex-wrap: wrap; gap: 0 16px; }
.choices label { display: flex; align-items: center; gap: 7px; min-height: 44px; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary_dark); margin: 0; }
.site-form .consent { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; }
.consent input { flex: 0 0 auto; }
.form-step .fine { margin: 8px 0 0; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.step-status { display: grid; gap: 7px; font-size: .96rem; font-weight: 760; }
.progress-track { height: 5px; background: var(--surface_alt); overflow: hidden; }
.progress-track span { display: block; height: 100%; background: var(--primary_dark); transform-origin: left; transform: scaleX(var(--progress, .33)); transition: transform 300ms var(--arrival); }
.form-step.enter { animation: step-slide 280ms var(--arrival) both; }
.form-step.enter-back { --slide-from: -30px; }
@keyframes step-slide { from { transform: translateX(var(--slide-from, 30px)); opacity: 0; } }

.authority-layout { grid-template-columns: .88fr 1.12fr; }
:is(.authority,.spec-table) table, .spec-table { width: 100%; border-collapse: collapse; }
table { font-size: 1rem; }
caption { padding-bottom: 11px; text-align: left; }
.authority caption { font-family: var(--heading); font-size: 1.18rem; font-weight: 800; }
th, td { padding: 8px 10px 8px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--stroke); overflow-wrap: anywhere; }
.authority :is(th,td) { border-color: #766f62; }
.authority th { width: 31%; }
.service-page-grid .states { margin-top: 21px; }
.owner { border-top: 4px solid var(--primary); }
.owner-name { font-family: var(--heading); font-style: italic; font-size: 1.2rem; margin: 16px 0 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact-grid .icon { filter: invert(88%) sepia(64%) saturate(682%) hue-rotate(339deg); margin-bottom: 15px; }
.contact-grid address { margin: 11px 0 14px; }
.contact-grid a { overflow-wrap: anywhere; }
.contact-form { width: min(100%, 695px); margin-top: 50px; }
.form-error { border-left: 4px solid #9c2520; background: var(--surface_alt); padding: 10px; }
.prose { max-width: 760px; }
.prose h2:not(:first-child) { margin-top: 38px; }

.js [data-anim="reveal"] > * { opacity: 0; animation: reveal-failsafe 0s 2.5s forwards; }
.js [data-anim="reveal"].is-in > * { animation: reveal 460ms var(--arrival) both; }
.js [data-anim="reveal"].is-in > :nth-child(2) { animation-delay: 80ms; }
.js [data-anim="reveal"].is-in > :nth-child(3) { animation-delay: 160ms; }
.js [data-anim="icon-pop"].is-in { animation: icon-pop 400ms var(--arrival) both; }
@keyframes reveal { from { transform: translateY(24px); opacity: 0; } to { opacity: 1; } }
@keyframes reveal-failsafe { to { opacity: 1; } }
@keyframes icon-pop { from { transform: scale(.8); opacity: 0; } }

@media (max-width: 899px) {
  .header { top: 16px; width: calc(100% - 32px); }
  .js .header.is-small { transform: translate(-50%, -8px); }
  .header-inner { min-height: 68px; padding-inline: 12px; }
  .js .header.is-small .header-inner { min-height: 60px; }
  body { padding-bottom: 60px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .55rem; }
  .header-actions .button { padding-inline: 13px; min-height: 44px; }
  .menu-toggle { display: none; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 5px 8px; font-size: .94rem; font-weight: 760; border: 1px solid var(--stroke); background: var(--surface); color: var(--ink); }
  .header nav { display: flex; position: absolute; top: 100%; left: 0; width: 100%; max-height: calc(100dvh - 100px); overflow: auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); padding: 10px 16px; box-shadow: 0 12px 18px #1d1a172b; }
  .js .header nav { display: none; }
  .js .header nav[data-open] { display: flex; animation: menu-open 250ms var(--arrival); }
  .header nav > * + * { border-top: 1px solid var(--stroke); }
  .nav-label > a { flex: 1; }
  .nav-trigger { width: 44px; }
  .nav-sub { position: static; width: 100%; border: 0; box-shadow: none; background: var(--surface_alt); }
  html:not(.js) .header { position: relative; top: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .header nav { position: static; width: auto; order: 2; flex: 1 1 100%; box-shadow: none; }
  .mobile-bar { display: flex; align-items: center; justify-content: center; gap: 8px; position: fixed; z-index: 8; bottom: 0; left: 0; right: 0; min-height: 60px; padding: 6px 16px max(6px, env(safe-area-inset-bottom)); background: var(--ink); color: var(--surface); }
  .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-height: 44px; text-decoration: none; font-weight: 800; }
  .mobile-bar .icon { filter: invert(1); width: 15px; height: 15px; }
  .mobile-bar[data-form-visible], html:not(.js) body:has(.site-form) .mobile-bar { display: none; }
  .back-top { bottom: 73px; }
  .hero { min-height: 610px; }
  .services-inner { gap: 32px; }
  .photo-grid { grid-template-columns: 1fr 1fr 1fr; }
  .photo-tile { min-height: 250px; }
  .photo-tile div { padding: 16px; }
  .ticket-pay { padding-left: 12px; }
  .form-layout, .company-layout, .authority-layout { gap: 24px; }
}

@keyframes menu-open { from { opacity: 0; transform: translateY(-9px); } }

@media (max-width: 660px) {
  .hero { min-height: 570px; padding: 132px var(--gutter) 34px; align-items: end; }
  .hero .backdrop { object-position: 82% center; }
  .hero-card { padding: 26px 15px 13px; }
  .hero-card .button { padding-inline: 13px; }
  .hero-card p { margin-bottom: 18px; }
  .services-inner, .region-inner, .service-page-grid, .split-feature, .recruit-row, .form-layout, .company-layout, .authority-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .services-image img { min-height: 0; aspect-ratio: 1.5; }
  .split-copy { padding: 42px var(--gutter); }
  .spec-photo > img { height: auto; }
  .region-inner { gap: 28px; }
  .state-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .photo-tile:first-child { grid-column: 1 / -1; }
  .photo-tile { min-height: 197px; }
  .photo-tile div { padding: 12px; }
  .photo-tile h3 { font-size: 1.13rem; }
  .photo-tile p { font-size: .91rem; }
  .ticket { flex-wrap: wrap; }
  .ticket-details { width: 100%; }
  .ticket-pay { border-left: 0; padding: 0; }
  .ticket-actions { display: flex; align-items: center; flex-wrap: wrap; }
  .cta-inner { align-items: start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { justify-content: flex-start; }
  .banner-inner { padding-block: 130px 40px; }
  .banner-photo .banner-inner { padding-bottom: 45px; }
  .tab-links a { text-align: left; flex-grow: 0; font-size: .94rem; }
  .check-list, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .equipment-grid { gap: 9px; }
  .equipment-grid figcaption { font-size: .9rem; }
}
@media (max-width: 365px) {
  .header-inner { gap: 7px; padding-inline: 8px; }
  .header .brand { gap: 6px; }
  .header .brand img { width: 32px; height: 32px; }
  .header-actions { gap: 4px; }
  .header-actions .button { font-size: .9rem; padding-inline: 9px; }
  .js .menu-toggle { padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-anim="reveal"] > * { opacity: 1; transform: none; }
  .callout summary span:first-child::after { display: none; }
}

.site-form [aria-invalid="true"] { border-color: #9c2520; }
.field-error { display: block; margin-top: 5px; color: #84231e; font-weight: 650; }
.services-list li:nth-child(2) [data-anim="icon-pop"] { animation-delay: 60ms; }
.services-list li:nth-child(3) [data-anim="icon-pop"] { animation-delay: 120ms; }
