:root {
  --navy: #142f57;
  --navy-deep: #0e213c;
  --charcoal: #323232;
  --bright-blue: #0784b3;
  --red: #c92832;
  --red-dark: #a51f28;
  --gold: #f5b934;
  --ink: #17243a;
  --muted: #5a687b;
  --paper: #ffffff;
  --soft: #f3f6fa;
  --line: #d9e1ea;
  --shadow: 0 18px 45px rgb(18 42 75 / 12%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 20; padding: 10px 14px; background: var(--paper); }
.skip-link:focus { left: 8px; }

.emergency-bar {
  display: flex; justify-content: center; gap: 20px; padding: 9px max(20px, calc((100% - 1180px) / 2));
  background: var(--navy-deep); color: #fff; font-size: .86rem;
}
.site-header {
  background: var(--paper);
}
.masthead { max-width: 1240px; margin: auto; padding: 16px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-logo { width: 190px; height: 106px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.08rem; line-height: 1.2; }
.brand small { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.masthead-social { display: flex; gap: 8px; }
.masthead-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bright-blue); color: #fff; font-weight: 800; text-decoration: none; }
.masthead-social a:nth-child(2) { background: #527fbf; }
.masthead-social a:nth-child(3) { background: var(--red); }
.masthead-contact { display: grid; justify-items: end; gap: 8px; }
.masthead-address { max-width: 290px; text-align: right; font-weight: 750; }
.nav-band { background: var(--charcoal); }
.desktop-nav { max-width: 1240px; margin: auto; display: flex; flex-wrap: wrap; gap: 0; padding: 0 18px; }
.desktop-nav a, .mobile-menu a { color: #fff; font-size: .94rem; font-weight: 700; text-decoration: none; }
.desktop-nav a { padding: 13px 17px; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #fff; background: var(--bright-blue); }
.mobile-menu { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px;
  border: 2px solid transparent; border-radius: 8px; font-weight: 750; text-decoration: none;
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgb(12 31 55 / 20%); }
.button-call { background: var(--red); color: #fff; }
.button-call:hover { background: var(--red-dark); color: #fff; }
.button-secondary { border-color: #cbd6e4; background: #fff; color: var(--navy); }

.page-hero {
  min-height: 440px; display: grid; align-items: center; padding: 64px max(24px, calc((100% - 1080px) / 2)); color: #fff;
}
.photo-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); }
.photo-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(6 24 47 / 97%) 0%, rgb(10 34 66 / 88%) 48%, rgb(8 28 53 / 42%) 100%); }
.page-hero-image, .special-hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-rotating { transition: opacity .4s ease; }
.hero-photo-changing { opacity: .25; }
.about-hero { min-height: 520px; }
.about-hero::after { background: linear-gradient(90deg, rgb(6 24 47) 0%, rgb(6 24 47 / 97%) 45%, rgb(6 24 47 / 68%) 62%, rgb(6 24 47 / 10%) 100%); }
.about-hero .page-hero-image { left: auto; width: 50%; object-fit: contain; object-position: center; background: #e8e8e7; }
.about-hero .hero-copy { max-width: 53%; }
.hero-copy, .hero-layer { position: relative; z-index: 1; max-width: 800px; }
.eyebrow { color: var(--red-dark); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-hero .eyebrow, .fuel-hero .eyebrow, .blog-hero .eyebrow, .reviews-hero .eyebrow, .contact-hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
h1 { max-width: 820px; margin: 10px 0 16px; color: #fff; font-size: clamp(2.25rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; }
.page-hero p { margin: 0 0 26px; color: #e5edf7; font-size: clamp(1rem, 2vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.home-hero { position: relative; display: grid; align-items: center; min-height: 500px; overflow: hidden; background: var(--navy-deep); }
.home-hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgb(6 24 47 / 96%) 0%, rgb(9 31 59 / 86%) 45%, rgb(13 38 65 / 25%) 100%); }
.home-hero-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; box-shadow: none; }
.home-hero-copy { position: relative; z-index: 2; width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0; color: #fff; }
.home-hero h1 { max-width: 760px; font-size: clamp(2.4rem, 5vw, 4rem); }
.home-hero-copy p { max-width: 600px; font-size: 1.15rem; margin: 0 0 28px; }
.home-services { padding: 72px 0; background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.service-card { display: flex; flex-direction: column; min-height: 230px; padding: 26px; border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgb(18 42 75 / 7%); text-decoration: none; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-8px) scale(1.015); border-top-color: var(--bright-blue); background: #f9fcff; box-shadow: 0 24px 44px rgb(18 42 75 / 18%); }
.service-card h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.2rem; }
.service-card p { margin: 0 0 20px; color: var(--muted); }
.service-card span { margin-top: auto; color: var(--red); font-weight: 750; transition: transform .28s ease; }
.service-card:hover span, .service-card:focus-visible span { transform: translateX(5px); }
.home-history { padding-block: 74px; }
.home-history p { max-width: 700px; }
.home-faq { padding: 68px 0; background: #fff; }
.faq-item { max-width: 100%; margin: 10px 0; background: #f0f0f0; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 750; color: var(--ink); transition: background-color .2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item summary:focus-visible { background: #e3ebf2; }
.faq-item summary::after { content: "⌄"; flex: 0 0 31px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #111; color: #fff; font-size: 1.35rem; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { padding: 18px 22px 20px; margin: 0; background: #fff; }
.faq-item p + p { padding-top: 0; }
.service-areas { padding-block: 72px; }
.service-areas ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.service-areas li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; }
.fuel-hero { min-height: 430px; display: grid; align-items: center; padding: 68px 0; color: #fff; }
.fuel-hero h1 { max-width: 950px; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.fuel-hero p { max-width: 800px; font-size: 1.1rem; }
.fuel-visit { margin-top: -20px; position: relative; padding: 28px 34px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.fuel-visit p { margin: 8px 0; }
.fuel-details { padding-top: 35px; }
.store-section { scroll-margin-top: 20px; padding: 32px; border-left: 5px solid var(--red); background: var(--soft); }
.blog-hero { min-height: 390px; display: grid; align-items: center; padding: 74px 0; color: #fff; }
.blog-hero h1 { margin-bottom: 12px; }
.blog-hero p { max-width: 760px; }
.blog-index { padding-block: 68px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.blog-card { padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgb(18 42 75 / 7%); }
.blog-card h2 { font-size: 1.4rem; margin: 8px 0 12px; }
.blog-card h2 a { text-decoration: none; }
.blog-card p { color: var(--muted); }
.read-more { color: var(--red); font-weight: 750; }
.reviews-hero { min-height: 410px; display: grid; align-items: center; padding: 74px 0; color: #fff; }
.reviews-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.reviews-hero p { max-width: 760px; }
.reviews-index { padding-block: 68px; }
.review-grid { columns: 2; column-gap: 18px; }
.review-card { display: inline-block; width: 100%; break-inside: avoid; margin: 0 0 18px; padding: 26px; border-left: 4px solid var(--red); border-radius: 8px; background: var(--soft); }
.review-card blockquote { margin: 0 0 15px; font-size: 1.05rem; }
.review-card figcaption { color: var(--muted); font-weight: 700; }
.review-stars { margin-bottom: 10px; color: #b15b00; font-size: 1.1rem; letter-spacing: .12em; }
.review-note { margin: -4px 0 28px; color: var(--muted); }
.contact-hero { min-height: 400px; display: grid; align-items: center; padding: 72px 0; color: #fff; }
.contact-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.contact-hero p { max-width: 730px; }
.contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-block: 62px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.contact-card h2 { font-size: 1.4rem; }
.contact-card p { margin: 10px 0 20px; }
.directions-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 36px; margin-bottom: 70px; padding: 36px; border-radius: 12px; background: var(--soft); }
.contact-map { width: 100%; min-height: 280px; border: 0; border-radius: 8px; background: #dfe8ef; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-strip span { padding: 20px 24px; border-right: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.trust-strip span:last-child { border-right: 0; }
.trust-strip strong { display: block; color: var(--ink); font-size: .92rem; }

.content-wrap { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0; }
.content-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.content-section:first-child { padding-top: 0; }
.content-section:last-child { border-bottom: 0; }
h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -.025em; }
.content-section p { margin: 0 0 14px; }
.content-section ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 20px 0 0; padding: 0; list-style: none; }
.content-section li { position: relative; padding-left: 22px; }
.content-section li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.generic-faq { margin: 12px 0; }
.related-articles { margin-top: 38px; padding: 30px; border-radius: 10px; background: var(--soft); }
.related-articles ul { margin: 0; padding-left: 22px; }
.related-articles li { margin: 10px 0; }

.closing-cta { padding: 58px 24px; text-align: center; background: var(--navy); color: #fff; }
.closing-cta h2 { color: #fff; }
.closing-cta p { margin: 0 auto 22px; color: #dce6f2; }
footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 42px max(24px, calc((100% - 1080px) / 2)); background: var(--navy-deep); color: #dce6f2; }
footer strong { color: #fff; }
footer p { margin: 8px 0 0; }
footer a { color: #fff; }
.footer-directory { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 20%); }
.footer-directory-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.footer-directory-links a { font-size: .88rem; }

@keyframes section-arrive {
  from { opacity: .35; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  @media (min-width: 621px) and (prefers-reduced-motion: no-preference) {
    .home-services .section-inner, .home-history, .service-areas, .home-faq .section-inner, .content-section, .blog-card, .review-card {
      animation: section-arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
  }
}

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; color: #fff; }
  .mobile-menu summary { padding: 12px 22px; cursor: pointer; font-weight: 750; }
  .mobile-menu nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 12px 12px; }
  .mobile-menu a { padding: 10px; }
  .mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: var(--bright-blue); color: #fff; }
  .masthead-social, .masthead-address { display: none; }
  .photo-hero::after { background: linear-gradient(90deg, rgb(6 24 47 / 96%), rgb(9 31 59 / 73%)); }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip span:nth-child(2) { border-right: 0; }
  .trust-strip span:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .home-hero { min-height: 440px; }
  .home-hero::after { background: linear-gradient(90deg, rgb(6 24 47 / 95%), rgb(9 31 59 / 70%)); }
  .home-hero-copy { padding: 55px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .review-grid { columns: 1; }
  .contact-options, .directions-panel { grid-template-columns: 1fr; }
  .service-card { min-height: 170px; }
  .emergency-bar { padding-inline: 16px; }
  .masthead { padding: 12px 16px; }
  .brand strong { font-size: .92rem; }
  .brand small { display: none; }
  .brand-logo { width: 74px; height: 48px; }
  .masthead-call { min-height: 44px; padding-inline: 12px; font-size: 0; white-space: nowrap; }
  .masthead-call::after { content: "Call now"; font-size: .85rem; }
  .page-hero { min-height: 390px; padding: 48px 20px; }
  .about-hero { min-height: 0; padding: 380px 20px 48px; }
  .about-hero::after { background: linear-gradient(180deg, transparent 0 300px, rgb(6 24 47 / 82%) 340px, rgb(6 24 47) 380px 100%); }
  .about-hero .page-hero-image { top: 0; width: 100%; height: 350px; object-position: center top; }
  .about-hero .hero-copy { max-width: none; }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.35rem); line-height: 1.08; }
  .fuel-hero, .blog-hero, .reviews-hero, .contact-hero { min-height: 380px; padding-block: 52px; }
  .fuel-hero h1, .blog-hero h1, .reviews-hero h1, .contact-hero h1 { font-size: clamp(1.95rem, 8vw, 2.45rem); line-height: 1.08; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip span { border-right: 0; border-bottom: 1px solid var(--line); }
  .content-section ul { grid-template-columns: 1fr; }
  .home-services, .home-faq { padding-block: 52px; }
  .home-history, .service-areas { padding-block: 56px; }
  .home-hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .faq-item summary { gap: 12px; padding: 14px 16px; font-size: .98rem; }
  .faq-item summary::after { flex-basis: 30px; }
  footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .service-card, .service-card span, .faq-item summary, .faq-item summary::after, .hero-rotating { transition: none; }
  .button:hover, .button:focus-visible, .service-card:hover, .service-card:focus-visible, .service-card:hover span, .service-card:focus-visible span { transform: none; }
}
