/* Build: 2026-08-23-r2 */
/* TLN Fuel Oil Company Inc. — rebuilt static site
   Colors, fonts, spacing sourced directly from the site's WordPress/Elementor export.
   Fonts are loaded via <link rel="preconnect"/stylesheet"> in <head> (not @import) for performance. */

:root {
  --color-orange: #F78B1C;
  --color-orange-border: #cc9955;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-light-bg: #F5F7FA;
  --color-why-choose-bg: #f4f4f4;
  --color-body-text: #707173;
  --color-body-text-54: rgba(0,0,0,0.54);
  --header-h: 56px;
  --topbar-h: 54px;
  --max-width: 1200px;
  --radius-pill: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-orange-border);
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }

.btn-outline-orange {
  color: var(--color-orange);
  background: var(--color-white);
}
.btn-outline-orange:hover { background: var(--color-orange); color: var(--color-white); }

.btn-outline-white {
  color: var(--color-white);
  background: transparent;
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: var(--color-white); color: var(--color-orange); }

/* ---------- Divider ---------- */
.divider {
  width: 48px;
  height: 4px;
  background: var(--color-orange-border);
  margin: 8px 0 0;
}
.divider--center { margin-left: auto; margin-right: auto; }
.divider--hatched {
  width: 100%;
  height: 12px;
  background-color: transparent;
  background-image: repeating-linear-gradient(
    45deg,
    var(--color-orange) 0px, var(--color-orange) 2px,
    transparent 2px, transparent 8px
  );
  margin: 16px 0 0;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar {
  background: var(--color-orange);
  padding: 14px 0;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-phone {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-phone svg {
  width: 18px;
  height: 18px;
  color: #fff;
  flex-shrink: 0;
}
.topbar-phone a { color: inherit; }
.topbar .btn { padding: 10px 22px; font-size: 0.8rem; }

.header-main {
  background: var(--color-white);
  padding: 12px 0;
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo img { height: 118px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-menu li a {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 24px;
  text-transform: capitalize;
  color: var(--color-orange);
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-menu li a:hover,
.nav-menu li a.is-active {
  color: #000;
  border-bottom-color: #000;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--color-orange); }

/* ================= FOOTER ================= */
.site-footer {
  background: var(--color-white);
  padding: 64px 0 0;
  width: 100%;
  border-top: 3px solid var(--color-orange);
}
.footer-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-logo img { height: 130px; width: auto; margin-bottom: 8px; }
.footer-col h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--color-orange);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #1a1a1a;
}
.footer-col ul li a.is-active { color: var(--color-orange); }
.footer-col ul li a:hover { color: var(--color-orange); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #1a1a1a;
}
.footer-contact li svg { width: 16px; height: 16px; color: var(--color-orange); flex-shrink: 0; }

.footer-services p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.footer-bottom {
  background: #000;
  padding: 16px 0;
  text-align: center;
  width: 100%;
}
.footer-bottom p {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #fff;
}

/* ================= HERO (home) ================= */
.hero {
  background: var(--color-light-bg);
  padding: 100px 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 3.75rem;
  line-height: 1.0666;
  color: var(--color-orange);
  margin-bottom: 24px;
}
.hero-copy {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--color-body-text-54);
  line-height: 1.5;
  margin-bottom: 32px;
}
.hero-copy b { font-weight: 700; color: rgba(0,0,0,0.75); }

.hero-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 100%;
}
.hero-gallery .tall { grid-row: 1 / 3; }
.hero-gallery > div:not(.tall) { aspect-ratio: 1 / 1; }
.hero-gallery img { border-radius: 4px; object-fit: cover; width: 100%; height: 100%; display: block; }
.hero-gallery .tall img { height: 100%; }

/* ================= WHY CHOOSE ================= */
.why-choose {
  background: #000;
  display: grid;
  grid-template-columns: 2fr 1fr;
}
.why-choose-content {
  background: transparent;
  padding: 90px 48px 90px max(48px, calc((100vw - var(--max-width)) / 2));
}
.why-choose-heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 3.3em;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  line-height: 1.15;
}
.why-choose-intro {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  margin-bottom: 40px;
}
.why-choose-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  margin-bottom: 40px;
}
.why-choose-features h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  border-left: 3px solid var(--color-orange);
  padding-left: 14px;
  margin-bottom: 12px;
  color: #fff;
}
.why-choose-features p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.why-choose-image {
  background-image: url('../img/why-choose-truck.webp');
  background-size: cover;
  background-position: center;
  min-height: 480px;
  margin-right: 9%;
}

/* (testimonials section removed per feedback) */

/* ================= FAQ ================= */
.faq {
  position: relative;
  background: #000 url('../img/faq-bg.webp') center/cover no-repeat;
  padding: 80px 0;
}
.faq::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(247,139,28,0.61); /* #F78B1C9C */
}
.faq .container { position: relative; z-index: 1; }
.faq-box {
  max-width: 820px;
  margin: 0 auto;
  background: #000;
  border: 1px solid var(--color-orange);
  padding: 48px 40px;
}
.faq-heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 2.6em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin-bottom: 0;
}
.faq-box .divider { margin: 8px auto 32px; }
.faq-panel {
  background: transparent;
  border: none;
}
.faq-item { border-bottom: 1px solid var(--color-orange-border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  background: var(--color-orange);
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #fff;
}
.faq-question .icon-circle {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.faq-question .icon-circle svg {
  width: 16px; height: 16px;
  color: var(--color-orange);
}
.faq-item.is-open .faq-question .icon-circle { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .25s ease;
  background: #000;
}
.faq-item.is-open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 24px;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.617;
  color: rgba(255,255,255,0.7);
}

/* ================= PAGE HEADER (About / Areas) ================= */
.page-hero {
  background: #fff;
  padding: 60px 0 30px;
}
.page-hero h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 50px;
  text-align: center;
  color: var(--color-orange);
}
.page-hero .divider { margin: 16px auto 0; }

/* ---------- About Us ---------- */
.about-body {
  padding: 40px 0 80px;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-actions { display: flex; flex-direction: column; gap: 16px; }
.about-actions .btn { justify-content: center; }
.about-copy {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
}
.about-copy p { margin-bottom: 20px; }
.about-copy a { color: var(--color-orange); text-decoration: underline; }
.about-image img { border-radius: 4px; width: 100%; }

/* ---------- Areas We Serve ---------- */
.areas-section {
  position: relative;
  background: #fff;
  padding: 60px 0 0;
}
.areas-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
}
.areas-content {
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2));
  padding-right: 48px;
  padding-bottom: 60px;
}
.areas-content h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 3.8em;
  color: var(--color-orange);
  text-align: left;
  margin-bottom: 8px;
}
.areas-content .divider--hatched { margin: 16px 0 24px; max-width: 480px; }
.areas-intro {
  font-family: 'Nunito', sans-serif;
  font-size: 1em;
  line-height: 1.7;
  color: #333;
  margin-bottom: 32px;
}
.areas-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.areas-lists ul li {
  font-family: 'Nunito', sans-serif;
  font-size: 1em;
  color: #333;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e5e5;
}
.areas-image {
  background-image: url('../img/areas-bg.webp');
  background-size: cover;
  background-position: center;
  min-height: 620px;
  height: 100%;
  width: 100%;
}

/* ---------- Order Oil (stub page, header/footer only) ---------- */
.order-oil-body { padding: 80px 0; text-align: center; }
.order-oil-body h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  color: #111;
  margin-bottom: 16px;
}
.order-oil-body p {
  font-family: 'Roboto', sans-serif;
  color: #555;
  margin-bottom: 24px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-heading { font-size: 3rem; }
  .why-choose-content { padding: 60px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
}

@media (max-width: 960px) {
  .header-main .container { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 14px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  }
  .nav-menu.is-open { display: flex; }
  .site-logo img { height: 92px; }
}

@media (max-width: 900px) {
  .why-choose { grid-template-columns: 1fr; }
  .why-choose-image { min-height: 320px; order: -1; }
  .why-choose-content { max-width: none; }
  .areas-grid { grid-template-columns: 1fr; }
  .areas-content { padding-left: 24px; padding-right: 24px; }
  .areas-image { min-height: 320px; height: 320px; order: -1; }
}

@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-heading { font-size: 2.5rem; }
  .hero-gallery { order: -1; }
  .why-choose-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .about-grid { grid-template-columns: 1fr; }
  .areas-lists { grid-template-columns: 1fr; }
  .topbar .container { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .page-hero h1 { font-size: 36px; }
  .areas-content h1 { font-size: 2.4em; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 0; }
  .hero-heading { font-size: 2rem; }
  .faq-question { font-size: 1rem; padding: 18px; }
  .why-choose-content { padding: 40px 20px; }
}

/* ================= FOOTER LEGAL LINKS ================= */
.footer-legal {
  margin: 6px 0 0;
}
.footer-legal a {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.footer-legal a:hover { color: #fff; }
.footer-legal .sep { color: rgba(255,255,255,0.4); margin: 0 10px; font-size: 13px; }

/* ================= LEGAL PAGE CONTENT ================= */
.legal-body { padding: 40px 0 80px; }
.legal-body .container { max-width: 900px; }
.legal-body h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  color: var(--color-orange);
  margin: 32px 0 12px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 14px;
}
.legal-body ul { padding-left: 22px; list-style: disc; }
.legal-body .legal-updated {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 32px;
}
.legal-body a { color: var(--color-orange); text-decoration: underline; }

/* ================= SCROLL PARALLAX ================= */
[data-parallax] {
  will-change: transform;
  transition: transform 0.05s linear;
}

/* ================= ACCESSIBILITY TOOLBAR ================= */
.a11y-toggle {
  position: fixed;
  left: 0;
  bottom: 24px;
  top: auto;
  transform: none;
  z-index: 9998;
  background: var(--color-orange);
  color: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.25);
}
.a11y-toggle svg { width: 26px; height: 26px; }

.a11y-panel {
  position: fixed;
  left: 0;
  bottom: 24px;
  top: auto;
  transform: translateX(-110%);
  z-index: 9999;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 0 10px 10px 0;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.2);
  width: 260px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 18px;
  transition: transform 0.25s ease;
}
.a11y-panel.is-open { transform: translateX(0); }
.a11y-panel h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.a11y-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #888;
  padding: 4px;
}
.a11y-tool {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #f5f7fa;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #222;
  text-align: left;
}
.a11y-tool:hover { background: #eef1f5; }
.a11y-tool.is-active {
  background: rgba(247,139,28,0.12);
  border-color: var(--color-orange);
  color: var(--color-orange);
  font-weight: 600;
}
.a11y-tool svg { width: 18px; height: 18px; flex-shrink: 0; }
.a11y-reset {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

/* Accessibility state effects, applied to <html> */
html.a11y-text-lg { font-size: 112.5%; }
html.a11y-text-xl { font-size: 125%; }
html.a11y-grayscale { filter: grayscale(100%); }
html.a11y-invert { filter: invert(100%) hue-rotate(180deg); }
html.a11y-invert img,
html.a11y-invert svg,
html.a11y-invert .why-choose-image,
html.a11y-invert .areas-image,
html.a11y-invert .faq { filter: invert(100%) hue-rotate(180deg); }
html.a11y-underline-links a { text-decoration: underline !important; }
html.a11y-readable-font body,
html.a11y-readable-font h1,
html.a11y-readable-font h2,
html.a11y-readable-font h3,
html.a11y-readable-font h4,
html.a11y-readable-font p,
html.a11y-readable-font a,
html.a11y-readable-font li,
html.a11y-readable-font button {
  font-family: Arial, Helvetica, sans-serif !important;
}
html.a11y-contrast body { background: #000; }
html.a11y-contrast body * {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html.a11y-contrast a { color: #ffd166 !important; }
html.a11y-light-bg body * {
  background-color: #fff !important;
  color: #000 !important;
  background-image: none !important;
  box-shadow: none !important;
}
html.a11y-light-bg a { color: #b5590c !important; }

@media (max-width: 480px) {
  .a11y-panel { width: 88vw; }
}
