/* UZCAN — shared page styles (homepage design system, moved out of index.html so every page uses it) */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { font-size: 17px; background: var(--hull); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.6rem; font-weight: 600; }
p { margin: 0; }
.lede { font-size: 1.15rem; color: var(--slate); max-width: 58ch; }

/* Hero */
.hero {
  position: relative; color: #fff; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 120px 0 72px;
  background-color: var(--navy);
  background-image:
    linear-gradient(100deg, rgba(16,42,67,.94) 0%, rgba(16,42,67,.82) 42%, rgba(16,42,67,.35) 100%),
    url("https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?auto=format&fit=crop&q=70&w=2000");
  background-size: cover; background-position: center;
}
.hero-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); gap: 56px; align-items: center; }
.hero h1 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; font-size: clamp(2.8rem, 6.4vw, 5.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.hero .lede { color: #d9e2ec; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-routes { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: #bcccdc; }
.hero-routes a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.hero-routes a:hover { color: #fff; border-color: #fff; }

/* Signature: container door quote panel */
.door {
  position: relative; border-radius: 3px; padding: 26px 26px 22px;
  background-color: var(--orange);
  background-image:
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0) 0 14px, rgba(0,0,0,.16) 14px 17px, rgba(255,255,255,.12) 17px 19px, rgba(0,0,0,0) 19px 34px);
  box-shadow: inset 0 0 0 6px rgba(0,0,0,.16), 0 30px 60px rgba(0,0,0,.35);
  color: var(--navy);
}
.door::before, .door::after { /* locking bars */
  content: ""; position: absolute; top: 14px; bottom: 14px; width: 7px; border-radius: 4px;
  background: linear-gradient(90deg, #7a3307, #e3e3e3 45%, #7a3307);
  opacity: .8;
}
.door::before { left: 14px; } .door::after { right: 14px; }
.door-plate {
  position: relative; z-index: 1; margin: 0 14px; background: #fff; border-radius: 2px;
  padding: 22px 22px 24px; box-shadow: 0 2px 0 rgba(0,0,0,.2);
}
.door-plate h2 { font-size: 2rem; }
.door-plate > p { color: var(--slate); font-size: .95rem; margin-top: 6px; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select {
  font: 400 1rem var(--body); color: var(--navy); padding: 11px 12px; border: 1.5px solid #627d98;
  border-radius: 3px; background: #fff; width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(239,108,26,.35); }
.quote-form .btn { grid-column: 1 / -1; margin-top: 4px; }
.form-note { grid-column: 1 / -1; font-size: .82rem; color: var(--slate); }
.door-code {
  position: relative; z-index: 1; margin: 14px 14px 0; display: flex; justify-content: flex-end;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .12em; color: rgba(255,255,255,.92);
}

/* Section base */
.band { padding: 104px 0; }
.band-white { background: var(--white); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy .lede { color: #bcccdc; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .lede { margin-top: 16px; }

/* Why container */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background-color: var(--deck); }
.photo-stack { aspect-ratio: 16 / 7; }
.split .lede { margin-top: 16px; }
.reasons { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 26px; }
.reasons li { padding-left: 22px; border-left: 4px solid var(--orange); }
.reasons strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.reasons span { color: var(--slate); }

/* Process timeline (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.steps li { position: relative; padding: 0 20px 0 0; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 52px; height: 52px;
  font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--navy);
  background: var(--orange); border-radius: 2px; position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 25px; left: 52px; right: 0; height: 2px; background: rgba(255,255,255,.25); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-top: 20px; font-size: 1.45rem; }
.steps p { margin-top: 8px; color: #bcccdc; font-size: .95rem; }

/* Routes manifest */
.manifest-scroll { position: relative; overflow-x: auto; border-top: 3px solid var(--navy); }
.manifest { width: 100%; border-collapse: collapse; font-size: 1rem; }
.manifest th { text-align: left; font-weight: 600; font-size: .85rem; color: var(--slate); padding: 14px 16px; border-bottom: 1px solid var(--fog); white-space: nowrap; }
.manifest td { padding: 20px 16px; border-bottom: 1px solid var(--fog); vertical-align: middle; white-space: nowrap; }
.manifest td:first-child { font-family: var(--display); font-weight: 700; font-size: 1.55rem; }
.manifest td a { font-weight: 600; color: var(--orange-deep); }
.manifest tbody tr:hover td { background: var(--hull); }
.routes-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--slate); }
.routes-foot a { color: var(--navy); font-weight: 600; }
.photo-band { margin-top: 72px; }

/* Responsibilities */
.duties { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--navy); border-radius: 3px; overflow: hidden; background: var(--white); }
.duty { padding: 36px 36px 40px; }
.duty + .duty { border-left: 2px solid var(--navy); background: var(--hull); }
.duty h3 { font-size: 1.8rem; }
.duty ul { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.duty-note { margin-top: 24px; font-size: .95rem; color: var(--slate); max-width: 70ch; }

/* Vehicle types */
.vehicles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.vehicles h3 { font-size: 1.5rem; padding-top: 16px; border-top: 2px solid var(--navy); }
.vehicles p { color: var(--slate); margin-top: 8px; font-size: .97rem; }
.vehicles a { font-weight: 600; font-size: .95rem; display: inline-block; margin-top: 10px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--fog); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--display); font-size: 1.55rem; font-weight: 600; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.8rem; color: var(--orange-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--slate); max-width: 68ch; }

/* CTA */
.cta {
  background-color: var(--deck);
  background-image: linear-gradient(rgba(16,42,67,.86), rgba(16,42,67,.86)), url("https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?auto=format&fit=crop&w=2000&q=60");
  background-size: cover; background-position: center 70%; color: #fff; padding: 96px 0;
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cta h2 { font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; max-width: 16ch; }
.cta p { color: #d9e2ec; margin-top: 14px; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .door { max-width: 560px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; padding: 0; }
  .steps li::before { grid-row: span 2; }
  .steps li::after { top: 52px; bottom: -28px; left: 25px; right: auto; width: 2px; height: auto; }
  .steps h3 { margin-top: 10px; }
  .vehicles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { min-height: auto; padding: 108px 0 56px; background-image: linear-gradient(rgba(16,42,67,.9), rgba(16,42,67,.8)), url("https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?auto=format&fit=crop&q=70&w=900"); }
  .hero h1 { font-size: 2.7rem; }
  .band { padding: 72px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .photo { aspect-ratio: 16 / 10; }
  .photo-stack { aspect-ratio: 4 / 3; }
  .duties { grid-template-columns: 1fr; }
  .duty + .duty { border-left: 0; border-top: 2px solid var(--navy); }
  .duty { padding: 28px 22px 30px; }
  .quote-form { grid-template-columns: minmax(0, 1fr); }
  .field input, .field select { min-width: 0; }
  .door { padding: 20px 18px 18px; }
  .door-plate { margin: 0 10px; padding: 18px 16px 20px; }
  .door::before { left: 9px; } .door::after { right: 9px; }
  .vehicles { grid-template-columns: 1fr; gap: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .manifest thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .manifest, .manifest tbody, .manifest tr, .manifest td { display: block; }
  .manifest tr { padding: 18px 0; border-bottom: 1px solid var(--fog); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .manifest td { padding: 0; border: 0; white-space: normal; font-size: .95rem; }
  .manifest td:first-child, .manifest td:last-child { grid-column: 1 / -1; }
  .manifest td[data-label]::before { content: attr(data-label); display: block; font-size: .78rem; color: var(--slate); font-weight: 600; }
  .manifest td:last-child { margin-top: 6px; }
  .manifest tbody tr:hover td { background: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 30;
    padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--navy);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; height: 60px; color: #fff; font-weight: 600; text-decoration: none; }
  .mobile-bar a:first-child { background: var(--orange-deep); }
}

/* ===== UZCAN site extensions (inner pages) — same tokens as the homepage ===== */
:root { --white: #ffffff; }
.anchor-alias { position: relative; top: -90px; }
.hero-page { min-height: auto; padding: 136px 0 64px; }
.hero-page h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); max-width: 22ch; }
.hero-page .lede { max-width: 64ch; }
.crumbs { font-size: .9rem; color: #bcccdc; margin-bottom: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.crumbs a:hover { color: #fff; }
.hero-facts { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px 40px; border-top: 1px solid rgba(255,255,255,.22); padding-top: 20px; }
.hero-facts div { min-width: 120px; }
.hero-facts strong { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: #fff; }
.hero-facts span { color: #bcccdc; font-size: .9rem; }
.hero-grid-page { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 48px; align-items: start; }
.prose { max-width: 76ch; }
.prose h2 { margin: 0 0 18px; }
.prose h3 { margin: 32px 0 10px; font-size: 1.55rem; }
.prose p { margin: 0 0 16px; color: #243b53; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: #243b53; display: grid; gap: 8px; }
.prose a { color: var(--orange-deep); font-weight: 600; }
.band .prose + .prose { margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 2px solid var(--navy); border-radius: 3px; background: var(--white); }
.facts > div { padding: 20px 22px; border-bottom: 1px solid var(--fog); border-right: 1px solid var(--fog); }
.facts dt { font-size: .82rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 6px 0 0; font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.facts dd small { display: block; font-family: var(--body); font-size: .88rem; font-weight: 400; color: var(--slate); margin-top: 4px; }
.facts > div.wide { grid-column: span 2; }
@media (max-width: 560px) { .facts > div.wide { grid-column: auto; } }
.facts-note { margin-top: 14px; font-size: .9rem; color: var(--slate); max-width: 80ch; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { display: block; background: var(--white); border: 1px solid var(--fog); border-top: 3px solid var(--navy); border-radius: 3px; padding: 22px 22px 24px; text-decoration: none; }
a.card:hover { border-color: var(--slate-2); border-top-color: var(--orange); }
.card h3 { font-size: 1.5rem; }
.card p { margin-top: 8px; color: var(--slate); font-size: .97rem; }
.card .meta { margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--orange-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--navy); border-radius: 3px; text-decoration: none; font-weight: 500; background: var(--white); }
.chips a:hover { background: var(--navy); color: #fff; }
.chips .muted { border-color: var(--fog); color: var(--slate); }
.country-block + .country-block { margin-top: 48px; }
.country-block h3 { margin-bottom: 14px; }
.country-block h3 a { text-decoration: none; border-bottom: 2px solid var(--orange); }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--navy); border-radius: 3px; overflow: hidden; background: var(--white); }
.mode { padding: 34px 34px 38px; }
.mode + .mode { border-left: 2px solid var(--navy); background: var(--hull); }
.mode h3 { font-size: 1.9rem; }
.mode p { margin-top: 12px; color: var(--slate); }
.mode ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.mode .btn { margin-top: 22px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 32px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border: 2px solid var(--orange); border-radius: 2px; }
.note-box { margin-top: 28px; padding: 20px 24px; background: var(--white); border-left: 4px solid var(--orange); color: #243b53; max-width: 80ch; }
.band-hull { background: var(--hull); }
.form-band .door { max-width: 640px; }
.split-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 56px; align-items: center; }
.split-form .lede { margin-top: 14px; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list strong { display: block; font-family: var(--display); font-size: 1.4rem; }
.contact-list a { color: var(--orange-deep); font-weight: 600; }
.guide-list { display: grid; gap: 0; border-top: 3px solid var(--navy); }
.guide-list a { display: block; padding: 20px 0; border-bottom: 1px solid var(--fog); text-decoration: none; }
.guide-list strong { font-family: var(--display); font-size: 1.5rem; font-weight: 600; display: block; }
.guide-list span { color: var(--slate); font-size: .95rem; }
.guide-list a:hover strong { color: var(--orange-deep); }
.err-code { font-family: var(--display); font-size: 6rem; font-weight: 800; color: var(--orange); line-height: 1; }
@media (max-width: 1080px) {
  .hero-grid-page, .split-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero-page { padding: 108px 0 48px; }
  .cols-2, .mode-grid { grid-template-columns: 1fr; }
  .mode + .mode { border-left: 0; border-top: 2px solid var(--navy); }
  .mode { padding: 26px 22px 30px; }
  .hero-facts strong { font-size: 1.6rem; }
}
