/* Clear Fork Vending — V1
   Primary navy sampled from logo (~#203C50); river accent ~#8CACC0 */
:root {
  --navy: #1B3348;
  --navy-dark: #0B1F3A;
  --navy-mid: #203C50;
  --accent: #8CACC0;
  --accent-dark: #6B8FA8;
  --accent-soft: #E8F0F5;
  --white: #FFFFFF;
  --bg: #F5F7FA;
  --bg-alt: #EEF2F6;
  --text: #1B3348;
  --text-muted: #5A6B7A;
  --border: #D5DEE6;
  --success: #2D6A4F;
  --success-bg: #E8F5EF;
  --error: #9B2C2C;
  --error-bg: #FDECEC;
  --shadow: 0 2px 12px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 8px 28px rgba(11, 31, 58, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1100px;
  --nav-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--navy-dark);
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--text-muted); }
ul { color: var(--text-muted); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ===== NAV ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h); gap: 1rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.65rem;
  flex-shrink: 0;
}
.nav-brand img { height: 48px; width: auto; }
.nav-brand span {
  font-weight: 700; font-size: 0.95rem; color: var(--navy-dark);
  letter-spacing: 0.02em; line-height: 1.15;
}
.nav-brand .brand-sub { display: block; font-weight: 500; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 0.45rem 0.6rem; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { display: block; width: 22px; height: 22px; }

.nav-links {
  display: flex; align-items: center; gap: 0.15rem 1.1rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  padding: 0.35rem 0;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--navy-dark); }
.nav-links .nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 0.55rem 1rem; border-radius: 8px;
  font-weight: 600; font-size: 0.88rem;
}
.nav-links .nav-cta:hover { background: var(--navy-dark); color: #fff !important; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-brand span { display: none; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1.25rem; gap: 0;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--bg-alt); }
  .nav-links a { display: block; padding: 0.85rem 0.25rem; }
  .nav-links .nav-cta { text-align: center; margin-top: 0.5rem; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.35rem; border-radius: 8px; font-weight: 600;
  font-size: 0.95rem; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.btn-primary { background: var(--navy); color: #fff !important; }
.btn-primary:hover { background: var(--navy-dark); color: #fff !important; }
.btn-secondary {
  background: transparent; color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--accent-soft); }
.btn-accent { background: var(--accent); color: var(--navy-dark) !important; }
.btn-accent:hover { background: var(--accent-dark); color: #fff !important; }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(165deg, var(--bg) 0%, var(--white) 55%, var(--accent-soft) 100%);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}
.hero-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 0.75rem;
}
.hero h1 { margin-bottom: 0.75rem; }
.hero .lead {
  font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.25rem; max-width: 36em;
}
.payment-line {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem;
  font-size: 0.85rem; font-weight: 600; color: var(--navy-mid);
  margin: 0 0 1.75rem; padding: 0; list-style: none;
}
.payment-line li {
  background: var(--white); border: 1px solid var(--border);
  padding: 0.35rem 0.7rem; border-radius: 999px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--bg-alt);
  aspect-ratio: 1; max-height: 420px;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(11,31,58,0.75));
  color: #fff; font-size: 0.8rem; padding: 2rem 1rem 0.85rem;
}
@media (max-width: 800px) {
  .hero { padding: 2.25rem 0 2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-height: 300px; aspect-ratio: 4/3; order: -1; }
}

/* ===== SECTIONS ===== */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg); }
.section-navy {
  background: var(--navy-dark); color: #fff;
  padding: 3rem 0;
}
.section-navy h2, .section-navy p { color: #fff; }
.section-navy p { opacity: 0.85; }
.section-head { max-width: 38em; margin-bottom: 2rem; }
.section-head p { margin-bottom: 0; }

/* Cards */
.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem; font-size: 1.15rem;
}

/* Equipment showcase */
.equip-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.equip-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow);
}
.equip-card .equip-img {
  background: var(--bg-alt); aspect-ratio: 3/4; max-height: 280px;
  display: flex; align-items: center; justify-content: center;
  padding: 0.75rem;
}
.equip-card .equip-img img {
  max-height: 100%; width: auto; object-fit: contain; margin: 0 auto;
}
.equip-card .equip-img.cover { padding: 0; }
.equip-card .equip-img.cover img {
  width: 100%; height: 100%; object-fit: cover; max-height: none;
}
.equip-card figcaption {
  padding: 0.85rem 1rem 1.1rem; font-size: 0.88rem; color: var(--text-muted);
}
.equip-card figcaption strong {
  display: block; color: var(--navy-dark); font-size: 0.95rem; margin-bottom: 0.2rem;
}
.equip-note {
  font-size: 0.85rem; color: var(--text-muted); margin-top: 1.25rem;
  font-style: italic;
}

/* Area strip */
.area-strip {
  background: var(--navy); color: #fff; padding: 1.5rem 0; text-align: center;
}
.area-strip p { color: rgba(255,255,255,0.9); margin: 0; font-size: 0.92rem; }
.area-strip strong { color: #fff; }

/* CTA band */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem;
}
.cta-band h2 { margin: 0 0 0.35rem; color: #fff; }
.cta-band p { margin: 0; max-width: 32em; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.cta-band .btn-secondary {
  border-color: rgba(255,255,255,0.5); color: #fff !important;
}
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* Forms */
.form-layout {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}
@media (max-width: 800px) {
  .form-layout { grid-template-columns: 1fr; }
}
.form-intro h1 { margin-bottom: 0.5rem; }
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1.1rem; }
.form-row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 520px) { .form-row-2 { grid-template-columns: 1fr; } }
label {
  display: block; font-size: 0.88rem; font-weight: 600;
  color: var(--navy-dark); margin-bottom: 0.35rem;
}
label .opt { font-weight: 400; color: var(--text-muted); }
.req { color: #c0392b; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1px solid var(--border); border-radius: 8px;
  font: inherit; color: var(--text); background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(140, 172, 192, 0.35);
}
textarea { min-height: 110px; resize: vertical; }
.field-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; }
.field-error {
  font-size: 0.8rem; color: var(--error); margin-top: 0.3rem; display: none;
}
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea { border-color: var(--error); }
.form-row.has-error .field-error { display: block; }
.radio-group { display: flex; gap: 1.25rem; flex-wrap: wrap; padding-top: 0.25rem; }
.radio-group label {
  display: flex; align-items: center; gap: 0.4rem;
  font-weight: 500; cursor: pointer;
}
.form-actions { margin-top: 1.5rem; }
.form-footnote { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.85rem; }

/* Honeypot — visually hidden, not display:none (bots often skip display:none) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-error {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  background: #fdecea;
  color: var(--error, #c0392b);
  font-size: 0.9rem;
  border: 1px solid #f5c6cb;
}
.form-error[hidden] { display: none !important; }

.form-success {
  display: none; text-align: center; padding: 2rem 1rem;
}
.form-success.is-visible { display: block; }
.form-success .check {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--success-bg); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.5rem; font-weight: 700;
}
.cf-form.is-submitted .form-fields { display: none; }
.cf-form.is-submitted .form-success { display: block; }

/* About / Contact content */
.prose { max-width: 40em; }
.prose h2 { margin-top: 1.75rem; }
.contact-cards {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.5rem;
}
.contact-card a.email-link {
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  word-break: break-all;
}
.contact-card a.email-link:hover { color: var(--accent-dark); }

/* Page hero (inner pages) */
.page-hero {
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}
.page-hero h1 { margin-bottom: 0.4rem; }
.page-hero .lead { margin: 0; max-width: 36em; font-size: 1.05rem; }

/* Services detail */
.service-list { display: grid; gap: 1.25rem; }
.service-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem 1.5rem;
}
.service-item .num {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--navy-dark); color: rgba(255,255,255,0.8);
  padding: 2.75rem 0 1.5rem; margin-top: 0;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  margin-bottom: 2rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 0.75rem; opacity: 0.95; } /* white logo asset — no invert filter */
.footer-brand p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0; }
.footer-col h4 {
  color: #fff; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }

.footer-service-area {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.88);
}
.footer-bottom span:last-child {
  max-width: 36rem;
  line-height: 1.4;
}
.footer-cta-email {
  display: inline-block; margin-top: 0.5rem;
  color: var(--accent) !important; font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem; font-size: 0.8rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between; color: rgba(255,255,255,0.55);
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}


/* publish-ready contrast */
.btn-accent {
  background: var(--accent-dark);
  color: #fff !important;
  border: 1px solid var(--accent-dark);
}
.btn-accent:hover { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.section-navy .btn-secondary,
.footer-cta .btn-secondary {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.85);
}
.section-navy .btn-secondary:hover { background: rgba(255,255,255,0.12); }
.footer-cities, .footer-brand .service-area, .footer-col li, .footer-col p {
  color: rgba(255,255,255,0.88) !important;
}

/* ===== Why Clear Fork ===== */
.why-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, 1fr);
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.why-card h3 { margin-bottom: 0.45rem; font-size: 1.05rem; }
.why-card p { margin-bottom: 0; font-size: 0.95rem; }
.why-card a { font-weight: 600; color: var(--navy-mid); text-decoration: underline; text-underline-offset: 2px; }
.why-card a:hover { color: var(--accent-dark); }
.why-num {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent-dark); margin-bottom: 0.65rem;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* Solutions / steps helpers */
.solutions-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.steps-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.section-cta-row { margin-top: 1.75rem; margin-bottom: 0; }

/* Hero issue link */
.hero-issue-link {
  margin: 1.1rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.hero-issue-link a {
  font-weight: 600;
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero-issue-link a:hover { color: var(--accent-dark); }

/* Quick action cards (Request / Report) */
.action-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
.action-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.action-card h3 { margin-bottom: 0.25rem; }
.action-card p { flex: 1; margin-bottom: 1rem; }
.action-card .btn { align-self: flex-start; min-height: 44px; min-width: 11rem; }
@media (max-width: 640px) {
  .action-grid { grid-template-columns: 1fr; }
  .action-card .btn { width: 100%; }
}

/* Equipment: consistent premium cover cards (no white padding mismatch) */
.equip-card .equip-img {
  background: var(--navy-dark);
  aspect-ratio: 4 / 5;
  max-height: none;
  padding: 0;
  display: block;
  overflow: hidden;
}
.equip-card .equip-img img,
.equip-card .equip-img.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-height: none;
  margin: 0;
}
.equip-card .equip-img.cover { padding: 0; }

/* Footer contact signature */
.footer-contact { margin-top: 0.75rem; }
.footer-contact .footer-cta-email { margin-top: 0; }
.footer-phone {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

/* Mobile polish @ ~375px */
@media (max-width: 420px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .hero { padding: 1.75rem 0 1.5rem; }
  .hero h1 { font-size: 1.65rem; }
  .hero .lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; min-height: 48px; }
  .payment-line { gap: 0.35rem 0.5rem; }
  .payment-line li { font-size: 0.78rem; padding: 0.3rem 0.55rem; }
  .section { padding: 2.5rem 0; }
  .cta-band .cta-actions { width: 100%; }
  .cta-band .cta-actions .btn { flex: 1 1 100%; min-height: 48px; }
  .equip-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .equip-card figcaption { padding: 0.65rem 0.7rem 0.85rem; font-size: 0.78rem; }
  .equip-card figcaption strong { font-size: 0.85rem; }
}
