/* Ortiz Transportation — brand navy is sampled from the logo so the JPEG logo blends into the header. */
:root {
  --navy: #08205c;
  --navy-900: #051640;
  --navy-700: #13317e;
  --accent: #f2b705;        /* warm amber for CTAs; contrasts with navy without clashing with the logo */
  --accent-dark: #d99f00;
  --ink: #16223f;
  --muted: #55607a;
  --line: #dfe4ef;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(8, 32, 92, .10);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 1.075rem/1.65 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--navy); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

.eyebrow { font: 700 .8rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700); margin-bottom: .9rem; }
.eyebrow-light { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; justify-content: center; font: 700 1rem/1 var(--head); padding: 1em 1.5em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, transform .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--navy-900); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: .7em 1.2em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a:not(.btn) { color: #fff; text-decoration: none; font: 600 .95rem var(--head); opacity: .9; }
.site-nav a:not(.btn):hover { opacity: 1; color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; color: #fff; padding: clamp(80px, 14vw, 160px) 0 clamp(70px, 10vw, 120px);
  background: linear-gradient(100deg, rgba(5,22,64,.95) 0%, rgba(8,32,92,.82) 45%, rgba(8,32,92,.35) 100%), url("../img/trucks.jpg") center 65% / cover no-repeat; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .eyebrow { color: var(--accent); }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 44ch; opacity: .95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 2.2rem; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; }
.hero-badges li { display: flex; align-items: center; gap: .45em; }
.hero-badges .ico { color: var(--accent); }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.12rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* About */
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; width: 100%; height: 100%; }
.about-media img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.about-media img:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.about p { color: var(--muted); }
.pull { margin: 1.6rem 0 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--ink); }

/* Services */
.services { background: var(--bg-soft); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card-ico { width: 46px; height: 46px; padding: 10px; border-radius: 10px; background: var(--navy); color: #fff; margin-bottom: 16px; }
.card-feature { grid-column: span 2; background: var(--navy); border-color: var(--navy); }
.card-feature h3, .card-feature p { color: #fff; }
.card-feature p { opacity: .9; }
.card-feature .card-ico { background: var(--accent); color: var(--navy); }

/* Specialties */
.specialties { background: var(--navy); color: #fff; }
.specialties h2 { color: #fff; }
.specialties p { opacity: .9; }
.check-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li { display: flex; gap: .6em; align-items: flex-start; font-weight: 600; }
.check-list .ico { color: var(--navy); background: var(--accent); border-radius: 50%; padding: 3px; width: 1.35em; height: 1.35em; margin-top: .15em; }
.specialties-media img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.35); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }

/* Service area */
.map-figure { margin: 0 0 2.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.area-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: .35em .9em; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .95rem; font-weight: 600; color: var(--navy); }
.pill-list li.hub { background: var(--navy); color: #fff; border-color: var(--navy); }
.area-cta { text-align: center; margin-top: 2.2rem; color: var(--muted); }

/* Contact */
.contact { background: var(--bg-soft); }
.contact-grid { align-items: start; }
.contact p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list strong { display: block; font-family: var(--head); color: var(--navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list address { font-style: normal; color: var(--ink); text-decoration: none; font-size: 1.08rem; }
.contact-list a:hover { color: var(--navy-700); text-decoration: underline; }
.contact-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.contact-ico svg { width: 22px; height: 22px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.quote-form { background: #fff; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 6px; font: 600 .9rem var(--head); color: var(--navy); }
.quote-form label b { color: #c0392b; }
.quote-form input, .quote-form select, .quote-form textarea { font: 400 1rem var(--body); color: var(--ink); padding: .75em .9em; border: 1px solid #c9d1e2; border-radius: 8px; background: #fff; width: 100%; }
.quote-form textarea { resize: vertical; }
.quote-form [aria-invalid="true"] { border-color: #c0392b; background: #fff7f6; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1e7b3c; }
.form-status.err { color: #c0392b; }
.quote-form button[disabled] { opacity: .65; cursor: wait; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 40px 0 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 70px; width: auto; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }
.copyright { text-align: center; font-size: .88rem; opacity: .6; margin: 28px 0 0; }

/* Responsive */
@media (max-width: 900px) {
  .two-col, .area-cols { grid-template-columns: 1fr; }
  .specialties-media { order: -1; }
  .card-feature { grid-column: auto; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; display: none; box-shadow: 0 12px 20px rgba(0,0,0,.25); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-nav .btn { margin-top: 14px; }
}
@media (max-width: 560px) {
  .brand img { height: 48px; }
  .form-row, .check-list { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-contact { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* Form consent note + footer links */
.quote-form label.consent { display: flex; align-items: flex-start; gap: 10px; font: 400 .88rem/1.45 var(--body); color: var(--muted); }
.quote-form label.consent input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; padding: 0; accent-color: var(--navy); }
.form-note { margin: -4px 0 0; font-size: .88rem; color: var(--muted); text-align: center; }
.copyright a { color: inherit; }
.copyright a:hover { color: var(--accent); }

/* Legal pages (privacy policy) */
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: .2em; }
.legal-date { color: var(--muted); margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.3rem; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
