/* Eye Fly Trucking LLC — styles */
:root {
  --navy: #0f1b2d;
  --navy-2: #16263d;
  --charcoal: #1d232b;
  --steel: #5b6675;
  --line: #dde2e8;
  --bg: #f4f6f8;
  --white: #ffffff;
  --accent: #ff6a13;       /* safety orange */
  --accent-dark: #e05500;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 27, 45, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--charcoal); background: var(--white); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; color: var(--navy); }
h1, h2 { font-family: var(--font-display); font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
.accent { color: var(--accent); }
.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 8px; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: background .15s, transform .15s, border-color .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #111; }
.btn-accent:hover { background: #ff7f33; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: var(--white); background: rgba(15,27,45,.35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(15,27,45,.6); }
.btn-lg { padding: 1rem 1.5rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); border-bottom: 3px solid var(--accent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; min-width: 0; }
.brand-mark { height: 46px; width: auto; flex: none; }
@media (max-width: 420px) { .brand-mark { height: 36px; } .brand-name { font-size: 1rem; } .brand { gap: .45rem; } }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.1rem; letter-spacing: .01em; white-space: nowrap; }
.brand-sub { font-size: .72rem; color: #b7c2d0; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.main-nav { display: none; }
.header-call { padding: .6rem .9rem; }
.call-long { display: none; }

@media (min-width: 560px) {
  .call-long { display: inline; }
  .call-short { display: none; }
}
@media (min-width: 980px) {
  .main-nav { display: flex; gap: 1.4rem; }
  .main-nav a { text-decoration: none; font-weight: 600; color: #dbe3ee; font-size: .95rem; }
  .main-nav a:hover { color: var(--accent); }
}

/* Hero */
.hero { position: relative; color: var(--white); min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero > picture, .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { object-fit: cover; object-position: 40% 50%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,27,45,.35) 0%, rgba(15,27,45,.72) 45%, rgba(15,27,45,.94) 100%); }
.hero-content { position: relative; padding: 3.5rem 0 3rem; display: grid; gap: 2rem; align-items: center; }
.hero-text { min-width: 0; }
.hero-logo { margin: 0; justify-self: start; width: min(240px, 70%); position: relative; isolation: isolate; }
.hero-logo::before { content: ""; position: absolute; inset: -22% -18%; z-index: -1; background: radial-gradient(closest-side, rgba(15,27,45,.92) 0%, rgba(15,27,45,.75) 55%, rgba(15,27,45,0) 100%); pointer-events: none; }
.logo-glow { filter: drop-shadow(0 0 1px rgba(255,255,255,.9)) drop-shadow(0 0 6px rgba(255,255,255,.35)); }
.hero-logo img { width: 100%; height: auto; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 8.5vw, 4.4rem); max-width: 16ch; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero h1 .accent { display: block; }
.hero-lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); max-width: 38rem; color: #e6ecf3; }
.badge-vet { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); color: var(--white); padding: .4rem .85rem; border-radius: 999px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.2rem; backdrop-filter: blur(4px); }
.badge-vet .icon { fill: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-weight: 700; color: #dbe3ee; font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--accent); margin-right: .4rem; font-weight: 900; }
@media (min-width: 900px) {
  .hero-overlay { background: linear-gradient(90deg, rgba(15,27,45,.95) 0%, rgba(15,27,45,.8) 45%, rgba(15,27,45,.25) 100%); }
  .hero-bg { object-position: 60% 50%; }
  .hero-content { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; }
  .hero-logo { width: 100%; justify-self: end; }
}
@media (max-width: 899px) {
  .hero-logo { order: -1; width: 210px; }
  .hero-content { gap: 1.2rem; padding-top: 2rem; }
}
@media (max-width: 559px) {
  .hero-actions .btn { width: 100%; }
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-dark { background: var(--navy); color: #dbe3ee; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.eyebrow { color: var(--accent-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; margin-bottom: .4rem; }
.section-dark .eyebrow, .area .eyebrow { color: var(--accent); }
.section-lead { font-size: 1.15rem; color: var(--steel); max-width: 42rem; margin-bottom: 2.2rem; }
.section-dark .section-lead { color: #b7c2d0; }

/* Service cards */
#services { background: var(--bg); }
.card-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 1px 2px rgba(15,27,45,.06); border-top: 4px solid var(--accent); }
.card p { margin: 0; color: #3d4652; }
.card-icon { width: 46px; height: 46px; fill: var(--navy); margin-bottom: .8rem; }
.card-wide { background: var(--navy); color: #dbe3ee; border-top-color: var(--accent); }
.card-wide h3 { color: var(--white); }
.card-wide p { color: #dbe3ee; }
.card-wide .card-icon { fill: var(--accent); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } .card-wide { grid-column: span 2; } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

/* Trucks */
.truck-grid { display: grid; gap: 1.5rem; }
.truck { background: var(--navy-2); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.truck figure { margin: 0; position: relative; aspect-ratio: 3 / 2; }
.truck img { width: 100%; height: 100%; object-fit: cover; }
.truck figcaption { position: absolute; right: .6rem; bottom: .6rem; background: rgba(15,27,45,.8); color: #cfd8e3; font-size: .72rem; padding: .2rem .55rem; border-radius: 4px; letter-spacing: .03em; }
.truck-body { padding: 1.5rem; }
.truck-body h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; }
.truck-body p:last-child { margin: 0; }
.truck-tag { display: inline-block; background: var(--accent); color: #111; font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; padding: .2rem .6rem; border-radius: 4px; margin-bottom: .7rem; }
@media (min-width: 700px) {
  .truck-grid { grid-template-columns: 1fr 1fr; }
  .truck-trailer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (min-width: 1040px) {
  .truck-grid { grid-template-columns: repeat(3, 1fr); }
  .truck-trailer { grid-column: auto; display: block; }
}

/* Why */
.why-wrap { display: grid; gap: 2.5rem; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.4rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-list h3 { margin-bottom: .25rem; }
.why-list p { margin: 0; color: #3d4652; }
.why-icon { flex: none; width: 48px; height: 48px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; }
.why-icon svg { width: 24px; height: 24px; fill: var(--accent); }
.why-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-bottom: 6px solid var(--accent); }
@media (min-width: 900px) { .why-wrap { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } }

/* Service area */
.area { position: relative; color: var(--white); padding: 5rem 0; overflow: hidden; background: var(--navy); }
.area-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.area-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,27,45,.94) 0%, rgba(15,27,45,.82) 55%, rgba(15,27,45,.55) 100%); }
.area-content { position: relative; }
.area h2 { color: var(--white); }
.area .section-lead { color: #dbe3ee; margin-bottom: 1.6rem; }
.area-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; max-width: 36rem; }
.area-list li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-left: 4px solid var(--accent); padding: .6rem .8rem; border-radius: 6px; font-weight: 700; }
.area-note { color: #cfd8e3; margin: 0; }
@media (min-width: 640px) { .area-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Quote */
#quote { background: var(--bg); }
.quote-wrap { display: grid; gap: 2.5rem; }
.contact-line { display: flex; align-items: center; gap: .9rem; text-decoration: none; background: var(--white); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: .8rem; box-shadow: 0 1px 2px rgba(15,27,45,.06); font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.contact-line .icon { width: 44px; height: 44px; padding: 10px; background: var(--accent); fill: #111; border-radius: 8px; }
.contact-line small { display: block; font-size: .78rem; color: var(--steel); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-line:hover { outline: 2px solid var(--accent); }
.contact-loc { color: var(--steel); font-weight: 600; margin-top: 1rem; }
.quote-form { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-top: 6px solid var(--navy); }
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1.2rem; }
.form-grid label { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; font-size: .95rem; color: var(--navy); }
.req { color: var(--accent-dark); }
input, select, textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: .75rem .85rem; border: 1.5px solid #c5ccd6; border-radius: 8px; background: #fbfcfd; color: var(--charcoal); width: 100%; min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid rgba(255,106,19,.3); outline-offset: 0; background: var(--white); }
input[aria-invalid="true"] { border-color: #c62828; }
.form-error { color: #b71c1c; font-weight: 700; margin: -.2rem 0 1rem; }
.form-hint { font-size: .88rem; color: var(--steel); margin: .7rem 0 0; text-align: center; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } .quote-form { padding: 2rem; } }
@media (min-width: 900px) { .quote-wrap { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; } }

/* Footer */
.site-footer { background: #0a1320; color: #b7c2d0; padding: 3rem 0 1.5rem; font-size: .95rem; border-top: 4px solid var(--accent); }
.footer-inner { display: grid; gap: 1.5rem; }
.footer-logo { width: 190px; }
.footer-logo img { width: 100%; height: auto; }
.footer-brand { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--white); font-size: 1.3rem; margin-bottom: .4rem; }
.footer-vet { color: var(--white); font-weight: 700; }
.footer-contact { display: flex; flex-direction: column; gap: .4rem; }
.footer-contact a { color: var(--white); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; } .footer-contact { text-align: right; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }

/* Compact service cards on small phones */
@media (max-width: 639px) {
  .card { display: grid; grid-template-columns: 46px 1fr; column-gap: 1rem; padding: 1.25rem; }
  .card-icon { grid-row: span 2; margin: 0; width: 40px; height: 40px; }
  .card h3 { margin-bottom: .3rem; }
}
.lbl { display: block; }
