/* ============================================================================
   SEAN'S TOWING — West Oahu Towing
   Brand: deep royal/navy blue, black, white, orange accent.
   Mobile-first. No framework. Fast.
   ============================================================================ */

/* ---- Design tokens ----------------------------------------------------- */
:root {
  --navy-900: #06122b;
  --navy-800: #0a1f44;
  --navy-700: #0f2a5c;
  --royal:    #1a52b8;
  --royal-600:#1746a0;
  --orange:   #ff7a00;
  --orange-600:#e66d00;
  --black:    #0b0d10;
  --white:    #ffffff;
  --ink:      #16202e;
  --muted:    #5a6675;
  --line:     #e3e8ef;
  --bg-soft:  #f5f7fa;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(6,18,43,.08);
  --shadow:    0 8px 28px rgba(6,18,43,.12);
  --shadow-lg: 0 18px 50px rgba(6,18,43,.20);
  --maxw: 1140px;
  --head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--royal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--head);
  line-height: 1.1;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  color: var(--navy-800);
  text-transform: uppercase;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-800); color: #dfe7f5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center .lede { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-family: var(--head); text-transform: uppercase;
  letter-spacing: .14em; font-size: .8rem; font-weight: 600;
  color: var(--orange); margin-bottom: .6rem;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .03em;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: var(--shadow-sm); }
.btn--orange:hover { background: var(--orange-600); color: #fff; }
.btn--blue { background: var(--royal); color: #fff; }
.btn--blue:hover { background: var(--royal-600); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { border-color: var(--royal); color: var(--royal); }
.btn--lg { padding: 17px 28px; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  border-bottom: 3px solid var(--orange);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 20px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 52px; width: auto; flex: 0 0 auto; display: block;
  background: #fff; border-radius: 10px; padding: 4px 8px;
}
.site-footer .brand-logo { height: 64px; }

#site-nav { margin-left: auto; }
#site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
#site-nav a {
  display: block; color: #d7e0f2; font-weight: 600; font-size: .95rem;
  padding: 10px 12px; border-radius: 8px;
}
#site-nav a:hover, #site-nav a[aria-current="page"] {
  color: #fff; background: rgba(255,255,255,.08); text-decoration: none;
}
.header-cta { display: flex; gap: 8px; align-items: center; }
.header-cta .btn { padding: 10px 14px; font-size: .9rem; }

.nav-toggle {
  display: none; margin-left: auto; background: transparent; border: 2px solid rgba(255,255,255,.3);
  color: #fff; border-radius: 8px; padding: 8px 10px; cursor: pointer;
}
.nav-toggle svg { display: block; }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(120deg, rgba(6,18,43,.92) 0%, rgba(10,31,68,.86) 55%, rgba(26,82,184,.72) 100%),
    var(--navy-800);
  overflow: hidden;
}
.hero::after {
  /* subtle road-stripe motif */
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 38px, transparent 38px 76px);
  opacity: .85;
}
.hero-inner {
  display: grid; gap: 28px; align-items: center;
  padding: 48px 20px 56px; max-width: var(--maxw); margin: 0 auto;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--orange); }
.hero p.hero-copy { font-size: 1.2rem; color: #e6ecf8; max-width: 620px; }
.hero .btn-row { margin-top: 18px; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 22px; backdrop-filter: blur(2px);
}
.hero-card h2 { color: #fff; font-size: 1.3rem; }
.hero-figure {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
  aspect-ratio: 4 / 3; background: #0d1730;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure--logo { background: #fff; }
.hero-figure--logo img { object-fit: contain; padding: 26px; }

/* ---- Trust badges ------------------------------------------------------ */
.badges {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .95rem;
  color: var(--navy-800);
}

/* ---- Cards / services -------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdd7e6; }
.card h3 { color: var(--navy-800); margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card .card-link {
  margin-top: auto; padding-top: 12px; font-family: var(--head); text-transform: uppercase;
  font-weight: 600; font-size: .9rem; letter-spacing: .04em; color: var(--royal);
  display: inline-flex; align-items: center; gap: 6px;
}
.card .card-link:hover { color: var(--orange-600); }

/* ---- Feature / why list ------------------------------------------------ */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .ic { color: var(--orange); flex: 0 0 auto; margin-top: 2px; }
.feature-list b { color: var(--navy-800); }

/* ---- Service-area chips ------------------------------------------------ */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.area-chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; color: var(--navy-800); box-shadow: var(--shadow-sm);
}
.section--navy .area-chips li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }

/* ---- Pricing ----------------------------------------------------------- */
.price-table { display: grid; gap: 12px; }
.price-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.price-row .p-label { font-weight: 700; color: var(--navy-800); }
.price-row .p-price {
  font-family: var(--head); color: var(--orange-600); font-weight: 600; white-space: nowrap;
}
.disclaimer { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---- Emergency band ---------------------------------------------------- */
.emergency {
  background: linear-gradient(100deg, var(--orange) 0%, var(--orange-600) 100%);
  color: #2a1500;
}
.emergency .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding-top: 28px; padding-bottom: 28px;
}
.emergency h2 { color: #20100a; margin: 0; }
.emergency .btn--blue { background: var(--navy-800); }
.emergency .btn--blue:hover { background: var(--navy-900); }

/* ---- FAQ --------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 20px; font-family: var(--head); text-transform: uppercase;
  font-weight: 600; font-size: 1.02rem; color: var(--navy-800);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .chev { transition: transform .2s ease; color: var(--orange); flex: 0 0 auto; }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; color: var(--muted); }
.faq-item.is-open .faq-a { padding: 0 20px 18px; max-height: 480px; }

/* ---- Forms ------------------------------------------------------------- */
.form-grid { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; color: var(--navy-800); font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(26,82,184,.15);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-status {
  background: #e9f7ee; border: 1px solid #b7e3c6; color: #1d6b39;
  padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600;
}
.req { color: var(--orange-600); }

/* ---- Contact info list ------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .lbl { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list .val { font-weight: 700; color: var(--navy-800); }

/* ---- Map embed --------------------------------------------------------- */
.map-embed iframe { aspect-ratio: 16 / 10; min-height: 220px; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: #aebbd4; padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #c7d3ea; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px;
  font-size: .85rem; color: #8497ba; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
}

/* ---- Sticky mobile call bar ------------------------------------------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(6,18,43,.18); box-shadow: 0 -4px 18px rgba(6,18,43,.18);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 10px 4px; font-family: var(--head); text-transform: uppercase; font-weight: 600;
  font-size: .72rem; letter-spacing: .03em; color: #fff;
}
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar .mb-call { background: var(--orange); }
.mobile-bar .mb-quote { background: var(--royal); }

/* ---- Breadcrumb / page header ----------------------------------------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(6,18,43,.94), rgba(10,31,68,.88)), var(--navy-800);
  color: #fff; padding: 44px 0 40px; border-bottom: 3px solid var(--orange);
}
.page-hero h1 { color: #fff; }
.page-hero h1 .accent { color: var(--orange); }
.page-hero p { color: #d8e1f3; max-width: 720px; }
.crumbs { font-size: .82rem; color: #9fb0d2; margin-bottom: 10px; }
.crumbs a { color: #cdd9f0; }

/* ---- Prose blocks ------------------------------------------------------ */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6rem; }
.prose h3 { margin-top: 1.2rem; color: var(--navy-800); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (min-width: 720px) {
  .badges { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .hero-inner { padding-top: 64px; padding-bottom: 72px; }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .badges { grid-template-columns: repeat(5, 1fr); }
}

/* Mobile: collapse nav, show toggle + bottom bar */
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  #site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.1);
    display: none; padding: 8px;
  }
  #site-nav.is-open { display: block; }
  #site-nav ul { flex-direction: column; gap: 2px; }
  #site-nav a { padding: 14px 14px; font-size: 1.05rem; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 62px; } /* room for sticky bar */
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
