/* ==========================================================================
   Patchogue Fuel - oildeliverypatchogue.com
   Mobile-first stylesheet. Plain CSS, no build step.
   Headings: Inter. Body: Open Sans.
   ========================================================================== */

:root {
  --brand:      #00338f;
  --brand-700:  #002a75;
  --brand-050:  #eef3fb;
  --accent:     #e8850c;
  --accent-700: #c26d06;
  --ink:        #12202f;
  --ink-soft:   #4d5d6e;
  --line:       #e2e8f0;
  --bg:         #ffffff;
  --bg-alt:     #f7f9fb;
  --card:       #f4f6f9;
  --dark:       #0f1b28;
  --gold:       #f5b301;
  --ok:         #22c55e;

  --max:        1180px;
  --radius:     14px;
  --radius-sm:  10px;
  --shadow:     0 1px 2px rgba(16, 32, 48, .05), 0 8px 24px rgba(16, 32, 48, .06);
  --shadow-lg:  0 18px 48px rgba(16, 32, 48, .14);

  --font-head: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --header-h:  66px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(1.85rem, 6.4vw, 3.25rem); }
h2 { font-size: clamp(1.45rem, 4.6vw, 2.25rem); margin-bottom: .55em; }
h3 { font-size: clamp(1.12rem, 2.6vw, 1.3rem); font-weight: 700; margin-bottom: .4em; }
h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4em; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
strong { color: var(--ink); font-weight: 700; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.measure { max-width: 68ch; }
.measure-c { max-width: 68ch; margin-left: auto; margin-right: auto; }
.plain { list-style: none; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.2;
  padding: 15px 24px; border: 2px solid var(--brand); border-radius: var(--radius-sm);
  cursor: pointer; text-align: center;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-700); border-color: var(--accent-700); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--brand); }
.btn--outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn__ico { width: 19px; height: 19px; fill: currentColor; flex: none; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: var(--header-h); }
.nav__logo { flex: none; }
.nav__logo img { width: 168px; height: auto; }

.nav__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-050); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: .86rem;
  padding: 9px 13px; cursor: pointer;
}
.nav__bars { position: relative; width: 17px; height: 2px; background: currentColor; border-radius: 2px; transition: background .2s; }
.nav__bars::before, .nav__bars::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .22s ease, top .22s ease;
}
.nav__bars::before { top: -6px; }
.nav__bars::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after  { top: 0; transform: rotate(-45deg); }

.nav__links {
  display: none; list-style: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 6px 20px 18px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav__links.is-open { display: block; }
.nav__item { border-bottom: 1px solid var(--line); }
.nav__item:last-child { border-bottom: 0; }

/* row keeps the caret hard against the word, never pushed to the far edge */
.nav__row { display: flex; align-items: center; gap: 2px; }
.nav__links a { display: block; padding: 13px 0; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--brand); text-decoration: none; }

.nav__caret {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: none;
  background: none; border: 0; cursor: pointer; color: var(--brand);
  border-radius: 50%;
}
.nav__caret:hover { background: var(--brand-050); }
.nav__caret svg { width: 22px; height: 22px; fill: currentColor; transition: transform .22s ease; }
.nav__caret[aria-expanded="true"] svg { transform: rotate(180deg); }

.drop { list-style: none; display: none; padding: 0 0 10px 14px; border-left: 2px solid var(--brand-050); margin-left: 2px; }
.drop.is-open { display: block; }
.drop a { padding: 9px 0; font-size: .94rem; font-weight: 600; color: var(--ink-soft); font-family: var(--font-body); }
.drop a:hover { color: var(--brand); }

.nav__item--call { padding: 14px 0 4px; border-bottom: 0; }
.nav__call {
  display: inline-flex !important; align-items: center; gap: 10px;
  background: var(--brand); color: #fff !important; padding: 12px 18px !important;
  border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 700;
}
.nav__call:hover { background: var(--brand-700); text-decoration: none; }
.nav__call-txt { display: flex; flex-direction: column; line-height: 1.15; }
.nav__call-txt small { font-size: .68rem; font-weight: 600; opacity: .85; letter-spacing: .04em; text-transform: uppercase; }

/* pulsing availability dot beside the header phone number */
.dot { position: relative; width: 10px; height: 10px; flex: none; background: var(--ok); border-radius: 50%; }
.dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .8; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- hero ---------- */

.hero { position: relative; color: #fff; background: var(--dark); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__fallback { display: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9, 20, 33, .78) 0%, rgba(9, 20, 33, .68) 45%, rgba(9, 20, 33, .88) 100%);
}
.hero--video::after {
  background: linear-gradient(100deg, rgba(0, 25, 70, .90) 0%, rgba(9, 20, 33, .74) 55%, rgba(9, 20, 33, .82) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-top: 58px; padding-bottom: 58px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: #ffd79a; margin-bottom: 14px;
  border: 1px solid rgba(232, 133, 12, .5); background: rgba(232, 133, 12, .14);
  padding: 6px 13px; border-radius: 999px;
}
.hero h1 { color: #fff; margin-bottom: 16px; max-width: 17ch; }
.hero__sub { color: rgba(255, 255, 255, .92); font-size: 1.06rem; max-width: 54ch; margin-bottom: 26px; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; }
.hero__note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 22px; font-size: .89rem; color: rgba(255, 255, 255, .82);
}
.hero__note svg { width: 17px; height: 17px; fill: var(--ok); flex: none; margin-top: 4px; }

.hero--slim { background: var(--brand); }
.hero--slim::after { background: linear-gradient(135deg, rgba(0, 42, 117, .96) 0%, rgba(0, 51, 143, .92) 100%); }
.hero--slim .hero__inner { padding-top: 46px; padding-bottom: 46px; text-align: center; }
.hero--slim h1, .hero--slim .hero__sub { max-width: 24ch; margin-left: auto; margin-right: auto; }
.hero--slim .hero__sub { max-width: 60ch; }
.hero--slim .hero__cta { align-items: center; }

.stars { display: flex; justify-content: center; gap: 5px; margin-top: 20px; }
.stars svg { width: 21px; height: 21px; fill: var(--gold); }

/* ---------- trust badge band ---------- */

.trustband { background: var(--dark); border-top: 3px solid var(--accent); }
.trustband__list { list-style: none; display: grid; gap: 2px; padding: 0; }
.trustband__item { display: flex; align-items: flex-start; gap: 13px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.trustband__item:last-child { border-bottom: 0; }
.trustband__ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(232, 133, 12, .16); border: 1px solid rgba(232, 133, 12, .35);
}
.trustband__ico svg { width: 23px; height: 23px; fill: var(--accent); }
.trustband__txt { display: flex; flex-direction: column; }
.trustband__txt strong { color: #fff; font-family: var(--font-head); font-size: 1rem; line-height: 1.3; }
.trustband__txt span { color: rgba(255, 255, 255, .72); font-size: .875rem; line-height: 1.5; }

/* ---------- sections ---------- */

.section { padding: 52px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 36px 0; }
.section__lead { font-size: 1.06rem; }
.section > .wrap > h2 + p { margin-top: -.15em; }

/* opening block: prose plus the sticky why-us card */
.intro { display: grid; gap: 30px; align-items: start; }
/* grid and flex children default to min-width:auto, which lets a wide child
   (the cost table) stretch the column instead of scrolling inside it */
.intro > *, .grid > * { min-width: 0; }
.intro__body > h2 { margin-top: 0; }
.intro__body > h3 { margin-top: 1.6em; }

.sticky-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.sticky-card__h { font-size: 1.18rem; margin-bottom: 16px; }
.sticky-card__list { list-style: none; display: grid; gap: 12px; margin-bottom: 20px; }
.sticky-card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; line-height: 1.55; }
.sticky-card__list svg { width: 19px; height: 19px; fill: var(--ok); flex: none; margin-top: 3px; }
.sticky-card__cta { border-top: 1px solid var(--line); padding-top: 18px; }
.sticky-card__hours { font-size: .82rem; margin-top: 11px; margin-bottom: 0; text-align: center; color: var(--ink-soft); }

/* answer-first opener, mirrors the "instant yes" pattern */
.answer {
  background: var(--brand-050); border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px; margin-bottom: 22px; font-size: 1.04rem;
}
.answer strong { color: var(--brand); }

/* ---------- cards + grids ---------- */

.grid { display: grid; gap: 18px; list-style: none; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { color: var(--ink); }
.card p { font-size: .95rem; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfd9e6; }
.card--link { display: flex; flex-direction: column; }
.card--link p { flex: 1; }
.card.is-current { border-color: var(--brand); background: #fff; }
.card__go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem; color: var(--brand);
}
.card__go span { transition: transform .2s ease; font-size: 1.2em; line-height: 1; }
.card--link:hover .card__go span { transform: translateX(4px); }

.card--num { counter-increment: step; position: relative; padding-top: 26px; }
.card--num::before {
  content: counter(step); position: absolute; top: -14px; left: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.steps { counter-reset: step; margin-top: 22px; }

.linklist { list-style: none; display: grid; gap: 10px; }
.linklist a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.linklist a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; transform: translateX(3px); }
.linklist__all { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
.linklist__all:hover { background: var(--brand-700) !important; color: #fff !important; }

/* prose helpers */
.checklist { list-style: none; display: grid; gap: 11px; margin: 18px 0 22px; }
/* The tick is positioned rather than a flex sibling. As a flex container the
   item's inline children each became their own flex item, so "<strong>Label.</strong>
   description" broke into two ragged columns instead of flowing as one sentence. */
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.6 16.6 5 12l1.4-1.4 3.2 3.2 8-8L19 7.2l-9.4 9.4Z'/%3E%3C/svg%3E") center/15px no-repeat;
}
.prose ul:not(.checklist):not(.plain) { padding-left: 20px; margin: 0 0 1.1rem; }
.prose li { margin-bottom: .5rem; }
.prose h3 { margin-top: 1.7em; }
.prose h4 { margin-top: 1.4em; }

.figure { margin: 26px auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.figure img { width: 100%; }
.figure figcaption { background: var(--card); padding: 11px 16px; font-size: .85rem; color: var(--ink-soft); }

/* ---------- customer reviews ---------- */

.reviews { margin-top: 26px; }
.review { display: flex; flex-direction: column; background: #fff; }
.review__stars { display: flex; gap: 3px; margin-bottom: 12px; }
.review__stars svg { width: 18px; height: 18px; fill: var(--gold); }
.review blockquote { flex: 1; font-size: .97rem; line-height: 1.65; color: var(--ink-soft); }
.review blockquote::before { content: "\201C"; }
.review blockquote::after { content: "\201D"; }
.review cite {
  display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink);
}
.review cite span { font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); }

.table-wrap { overflow-x: auto; max-width: 100%; margin: 20px 0; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 460px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: .93rem; }
th { background: var(--card); font-family: var(--font-head); font-weight: 700; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

.mapwrap { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mapwrap iframe { width: 100%; height: 340px; border: 0; display: block; }

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

.faq { max-width: 860px; margin: 26px auto 0; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 10px; transition: border-color .18s ease, box-shadow .18s ease;
}
.faq details[open] { border-color: #c9d6e8; box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; padding: 15px 18px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.4; }
.faq__mark { position: relative; flex: none; width: 20px; height: 20px; }
.faq__mark::before, .faq__mark::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent); border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform .22s ease, opacity .22s ease;
}
.faq__mark::before { width: 14px; height: 2.5px; }
.faq__mark::after  { width: 2.5px; height: 14px; }
.faq details[open] .faq__mark::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 18px 17px; font-size: .96rem; }
.faq__a p { margin-bottom: .8rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 48px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); }
.cta-band__btn { margin-top: 24px; }
.cta-band__note { font-size: .85rem; color: rgba(255, 255, 255, .72) !important; margin-top: 14px; }

/* ---------- breadcrumbs ---------- */

.crumbs { background: var(--dark); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 15px 0; font-size: .84rem; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs a { color: rgba(255, 255, 255, .74); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: #fff; font-weight: 600; }
.crumbs__sep { color: rgba(255, 255, 255, .34); }
.crumbs-sep { height: 3px; background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%); }

/* ---------- footer ---------- */

.site-footer { background: var(--dark); color: rgba(255, 255, 255, .74); padding: 46px 0 26px; font-size: .93rem; }
.foot__grid { display: grid; gap: 32px; }
.foot__h {
  display: block; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid rgba(232, 133, 12, .5);
}
.foot__col ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .74); }
.site-footer a:hover { color: #fff; }
.foot__logo { width: 172px; height: auto; background: #fff; padding: 9px 12px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.foot__col--brand p { margin-bottom: 16px; }
.foot__phone { margin-top: 4px; }
.foot__phone .btn { max-width: 300px; }
.foot__lede { margin-bottom: 14px; }
.foot__meta { font-size: .87rem; line-height: 1.6; margin-bottom: 12px; }
.foot__meta strong { color: #fff; font-family: var(--font-head); }
.site-footer strong { color: #fff; }

.foot__bottom {
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 34px; padding-top: 20px;
  display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center;
  font-size: .84rem; color: rgba(255, 255, 255, .55);
}
.foot__legal { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.foot__legal a { color: rgba(255, 255, 255, .55); }

/* ---------- sticky mobile call bar ---------- */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(15, 27, 40, .96); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  transform: translateY(105%); transition: transform .3s ease;
}
.callbar.is-visible { transform: translateY(0); }
.callbar__btn {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  background: var(--accent); color: #fff; border-radius: var(--radius-sm);
  padding: 13px 18px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.15;
}
.callbar__btn:hover { background: var(--accent-700); text-decoration: none; color: #fff; }
.callbar__btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.callbar__btn span { display: flex; flex-direction: column; }
.callbar__btn small { font-size: .66rem; font-weight: 600; opacity: .9; letter-spacing: .03em; text-transform: uppercase; }

/* ---------- scroll reveal ----------
   Scoped to .js, which is only set by an inline script in the head. Without
   scripting the content is never hidden in the first place. */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 560px) {
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .hero--slim .hero__cta { justify-content: center; }
  .foot__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .foot__legal { justify-content: flex-end; }
}

@media (min-width: 768px) {
  :root { --header-h: 78px; }
  .section { padding: 68px 0; }
  .hero__inner { padding-top: 88px; padding-bottom: 88px; }
  .hero--slim .hero__inner { padding-top: 62px; padding-bottom: 62px; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .linklist { grid-template-columns: repeat(2, 1fr); }
  .trustband__list { grid-template-columns: repeat(2, 1fr); gap: 0 26px; }
  .trustband__item:nth-last-child(2) { border-bottom: 0; }
  .foot__grid { grid-template-columns: repeat(2, 1fr); }
  .mapwrap iframe { height: 420px; }
}

@media (min-width: 1000px) {
  .nav__logo img { width: 196px; }
  .nav__toggle { display: none; }

  .nav__links {
    display: flex !important; align-items: center; gap: 4px;
    position: static; background: none; border: 0; box-shadow: none;
    padding: 0; max-height: none; overflow: visible;
  }
  .nav__item { border-bottom: 0; position: relative; }
  .nav__row { gap: 0; }
  .nav__links a { padding: 10px 11px; font-size: .95rem; }
  .nav__caret { width: 22px; height: 22px; margin-left: -4px; pointer-events: none; }
  .nav__caret svg { width: 18px; height: 18px; }
  .nav__item.is-active > .nav__row > a { color: var(--brand); }

  .drop {
    display: block; position: absolute; top: calc(100% + 10px); left: 0;
    min-width: 268px; background: #fff; border: 1px solid var(--line);
    border-top: 3px solid var(--accent); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: 8px; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  /* invisible bridge so the pointer can travel into the panel */
  .has-drop::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
  .has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
  .has-drop:hover > .nav__row > .nav__caret svg { transform: rotate(180deg); }
  .drop a { padding: 10px 12px; border-radius: 7px; font-size: .92rem; }
  .drop a:hover { background: var(--brand-050); }
  .drop li:last-child a { color: var(--brand); font-weight: 700; border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; margin-top: 4px; }

  .nav__item--call { padding: 0; margin-left: 8px; }

  .intro { grid-template-columns: minmax(0, 1.62fr) minmax(320px, 1fr); gap: 44px; }
  .sticky-card { position: sticky; top: calc(var(--header-h) + 22px); }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .linklist { grid-template-columns: repeat(3, 1fr); }

  .trustband__list { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .trustband__item { flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 22px 26px 0; border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .1); }
  .trustband__item:not(:first-child) { padding-left: 26px; }
  .trustband__item:last-child { border-right: 0; padding-right: 0; }

  .foot__grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 40px; }

  /* the sticky call bar is a mobile affordance only */
  .callbar { display: none; }
}

@media (min-width: 1180px) {
  .hero__inner { padding-top: 104px; padding-bottom: 104px; }
}

/* ---------- motion + print ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* swap the looping hero video for its still frame */
  .hero__video { display: none; }
  .hero__fallback { display: block; }
}

@media print {
  .site-header, .callbar, .crumbs, .cta-band, .hero__media { display: none !important; }
  body { color: #000; }
}
