/* ============================================================
   Oil To Go — redesign proposal
   Palette: warm paper, deep ink, brand orange
   ============================================================ */

:root {
  --paper: #faf7f2;
  --paper-tint: #f3ede3;
  --ink: #17191f;
  --ink-soft: #4b4f58;
  --orange: #e8630a;
  --orange-deep: #c85207;
  --orange-soft: #ffe8d6;
  --sky: #cfe4ee;
  --green: #1e9e5a;
  --card: #ffffff;
  --line: rgba(23, 25, 31, 0.10);
  --radius: 18px;
  --shadow: 0 2px 6px rgba(23, 25, 31, 0.05), 0 14px 34px rgba(23, 25, 31, 0.07);
  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id], [id="book"] { scroll-margin-top: 84px; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 780px; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; font-weight: 700; }

.accent { color: var(--orange); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-deep);
  margin-bottom: 12px;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-top: 20px;
}

.section-sub { color: var(--ink-soft); margin-top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  padding: 14px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn svg { width: 18px; height: 18px; fill: currentColor; }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(232, 99, 10, 0.32);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(23, 25, 31, 0.22);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.section-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.section-dark .btn-ghost:hover { border-color: #fff; }

.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(23, 25, 31, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark { width: 40px; height: 40px; color: var(--ink); }

.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand-word em { font-style: normal; color: var(--orange); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.phone-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

/* ---------- Hero ---------- */

.hero { padding: 64px 0 40px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.location-chip svg { width: 14px; height: 14px; fill: currentColor; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.hero-points li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  margin-right: 8px;
}
.hero-points strong { color: var(--ink); }

.van-illustration { width: 100%; height: auto; }

.float-badge { animation: floaty 5s ease-in-out infinite; }
.badge-b { animation-delay: -2.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Trust strip ---------- */

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--card);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.trust-inner span { white-space: nowrap; }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-tint { background: var(--paper-tint); }

.section-dark {
  background: var(--ink);
  color: #fff;
}
.section-dark .eyebrow { color: var(--orange); }

.section-head { max-width: 640px; margin-bottom: 52px; }

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Cards / grids ---------- */

.card-grid { display: grid; gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 6px 12px rgba(23,25,31,0.06), 0 22px 44px rgba(23,25,31,0.10); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; fill: var(--orange-deep); }

.service-card h3 { margin-bottom: 10px; }
.service-card > p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 18px; }

.check-list { list-style: none; display: grid; gap: 9px; font-size: 0.94rem; }
.check-list li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" d="M3 8.5l3.2 3.2L13 5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" d="M3 8.5l3.2 3.2L13 5"/></svg>') center / contain no-repeat;
}

/* ---------- Comparison ---------- */

.compare-table {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.compare-header, .compare-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.15fr;
  gap: 16px;
  padding: 18px 28px;
  align-items: center;
}

.compare-header {
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-row { border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.96rem; }
.compare-row span:first-child { font-weight: 700; }
.compare-row span:nth-child(2) { color: rgba(255, 255, 255, 0.6); }

.col-us { color: var(--orange); font-weight: 600; }
.compare-header .col-us { color: var(--orange); }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.price-card.featured { border: 2px solid var(--orange); }

.pill {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
}

.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  line-height: 1;
}
.price sup { font-size: 1.8rem; vertical-align: super; margin-right: 2px; }
.price .asterisk { font-size: 1.6rem; color: var(--ink-soft); }
.price-custom { font-size: 3rem; color: var(--orange-deep); }

.price-sub { color: var(--ink-soft); font-size: 0.95rem; }

.price-card .check-list { margin-block: 8px 12px; flex-grow: 1; }

.fine-print {
  margin-top: 28px;
  font-size: 0.83rem;
  color: var(--ink-soft);
  max-width: 60em;
}

/* ---------- Quality ---------- */

.quality-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.quality-copy p { color: var(--ink-soft); margin-top: 16px; }
.quality-copy strong { color: var(--ink); }

.equip-photo { margin-top: 32px; }
.equip-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.equip-photo figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

.cert-cards { display: grid; gap: 16px; }

.cert-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.cert-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.cert-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Reviews ---------- */

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card blockquote {
  font-size: 1.02rem;
  color: var(--ink);
  flex-grow: 1;
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.review-card figcaption strong { color: var(--ink); }

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-weight: 800;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Service area ---------- */

.area-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.area-grid > div:first-child p { color: var(--ink-soft); margin-block: 16px 28px; max-width: 32em; }

.area-art {
  text-align: center;
  background: radial-gradient(circle at 50% 42%, rgba(232, 99, 10, 0.16), rgba(232, 99, 10, 0.06) 46%, transparent 68%);
  padding: 12px 0;
}
.area-van {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 20px 26px rgba(23, 25, 31, 0.16));
}
.area-caption {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 20px 52px 20px 24px;
  position: relative;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--orange);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--orange-deep); }
.faq-item p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Booking ---------- */

.book-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.book-copy > p { color: rgba(255, 255, 255, 0.7); margin-top: 16px; max-width: 30em; }

.contact-cards { display: grid; gap: 14px; margin-top: 32px; }

.contact-card {
  display: grid;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 18px 22px;
  text-decoration: none;
  color: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.contact-card:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.contact-card strong { font-size: 1.1rem; }
.contact-sub { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

.book-widget {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  max-width: 720px;
  width: 100%;
  justify-self: center;
}

.book-widget iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 0;
}

.footer-inner {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.brand-footer { color: #fff; }
.brand-footer .brand-mark { color: #fff; }

.footer-links { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: #fff; }

.copyright { font-size: 0.82rem; color: rgba(255, 255, 255, 0.4); }

/* ---------- Mobile CTA bar ---------- */

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-cta-bar .btn { flex: 1; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .main-nav { display: none; }
  .hero-grid,
  .quality-grid,
  .area-grid,
  .book-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .steps, .card-grid.three { grid-template-columns: 1fr; }
  .card-grid.two { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .compare-header { display: none; }
  .compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 22px;
  }
  .compare-row span:nth-child(2)::before { content: "Shop: "; font-weight: 700; color: rgba(255,255,255,0.8); }
  .compare-row .col-us::before { content: "Oil To Go: "; font-weight: 700; }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .header-actions .phone-link { display: none; }
  .hero { padding-top: 36px; }
  .mobile-cta-bar { display: flex; }
  .site-footer { padding-bottom: 110px; }
  .trust-inner { justify-content: center; }
}
