/*
Theme Name: T&M Fuel Signature
Theme URI: https://www.tandmfuel.com/
Author: Peerless IT Solution
Author URI: https://peerlessitsolution.com/
Description: A bespoke, high-performance WordPress theme for T&M Fuel, including fuel-price management, lead forms, local SEO schema, starter pages, and XML sitemap support.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: tmfuel
License: GPL-2.0-or-later
*/

:root {
  --ink: #211822;
  --ink-soft: #564a56;
  --plum-950: #260b22;
  --plum-900: #3d0c32;
  --plum-800: #541343;
  --plum-700: #6a1f56;
  --cream: #fbf5ea;
  --cream-2: #f2e8d8;
  --paper: #fffdf8;
  --copper: #ca7a45;
  --gold: #efc36a;
  --sage: #75806d;
  --white: #ffffff;
  --line: rgba(61,12,50,.14);
  --shadow: 0 24px 70px rgba(38,11,34,.14);
  --shadow-sm: 0 12px 36px rgba(38,11,34,.10);
  --radius-lg: 36px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--plum-700); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--plum-900); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
::selection { background: var(--gold); color: var(--plum-950); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--plum { background: var(--plum-950); color: var(--white); overflow: hidden; }
.section--tight { padding: 58px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--copper); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 30px; height: 2px; background: currentColor; }
h1,h2,h3,h4 { color: inherit; font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -.03em; margin: 0 0 .55em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.6rem); }
h3 { font-size: clamp(1.5rem, 2.3vw, 2.25rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.2em; }
.lead { font-size: clamp(1.12rem, 1.7vw, 1.42rem); color: var(--ink-soft); max-width: 720px; }
.section--plum .lead { color: rgba(255,255,255,.74); }
.muted { color: var(--ink-soft); }

.skip-link { position: fixed; top: -80px; left: 16px; z-index: 9999; background: var(--gold); color: var(--plum-950); padding: 12px 18px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.topbar { background: var(--plum-950); color: rgba(255,255,255,.88); font-size: .88rem; }
.topbar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 750; }
.topbar__promise { display: flex; align-items: center; gap: 8px; }
.topbar__promise::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(239,195,106,.12); }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,253,248,.92); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(38,11,34,.06); }
.header__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--plum-950); text-decoration: none; flex: 0 0 auto; }
.brand img.custom-logo { max-height: 72px; width: auto; }
.brand__mark { width: 58px; height: 58px; flex: 0 0 58px; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
.brand__tag { margin-top: 7px; font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.nav-wrap { display: flex; align-items: center; gap: 22px; }
.primary-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-menu a { display: block; padding: 12px 10px; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 700; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--plum-700); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ''; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--plum-950); transition: .25s ease; }
.menu-toggle::before { top: 15px; } .menu-toggle span { top: 22px; } .menu-toggle::after { top: 29px; }
.nav-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span { opacity: 0; }
.nav-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; background: var(--plum-800); color: var(--white); text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(61,12,50,.2); background: var(--plum-950); color: var(--white); }
.button--gold { background: var(--gold); color: var(--plum-950); }
.button--gold:hover { background: #f7d991; color: var(--plum-950); }
.button--ghost { background: transparent; color: var(--plum-900); border-color: rgba(61,12,50,.22); }
.button--ghost:hover { background: var(--plum-950); color: var(--white); }
.button--white { background: var(--white); color: var(--plum-950); }
.button--small { min-height: 44px; padding-inline: 17px; font-size: .88rem; }
.button svg { width: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.text-link::after { content: '→'; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.hero { min-height: 760px; display: grid; align-items: center; overflow: hidden; background: var(--cream); position: relative; }
.hero::before { content: ''; position: absolute; inset: 0 0 0 52%; background: var(--plum-950); clip-path: polygon(18% 0,100% 0,100% 100%,0 100%); }
.hero::after { content: ''; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(239,195,106,.25); border-radius: 50%; right: -110px; top: 70px; box-shadow: 0 0 0 65px rgba(239,195,106,.04), 0 0 0 130px rgba(239,195,106,.025); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,6vw,90px); align-items: center; padding: 90px 0; }
.hero__copy { padding-right: 20px; }
.hero h1 span { color: var(--plum-700); }
.hero__visual { min-height: 540px; position: relative; display: grid; place-items: center; color: var(--white); }
.hero__visual svg { width: min(100%, 500px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.22)); position: relative; z-index: 2; }
.price-card { position: absolute; left: -40px; bottom: 42px; z-index: 3; width: min(310px, 85%); padding: 24px; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 24px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.price-card__label { color: var(--copper); font-size: .74rem; text-transform: uppercase; font-weight: 900; letter-spacing: .14em; }
.price-card__value { display: block; margin: 6px 0 4px; font-family: var(--font-display); font-size: clamp(2rem,4vw,3.5rem); line-height: 1; color: var(--plum-950); }
.price-card__note { font-size: .82rem; color: var(--ink-soft); }
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 26px 24px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 13px; }
.trust-item:last-child { border-right: 0; }
.trust-item__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--plum-800); font-weight: 900; }
.trust-item strong { display: block; color: var(--plum-950); font-size: .95rem; }
.trust-item span { color: var(--ink-soft); font-size: .8rem; }

.page-hero { padding: clamp(90px,11vw,150px) 0 80px; background: var(--cream); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -7vw; top: -18vw; width: 42vw; height: 42vw; border-radius: 50%; background: radial-gradient(circle at 35% 35%,rgba(239,195,106,.75),rgba(202,122,69,.2) 40%,transparent 68%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 920px; }
.page-hero .lead { max-width: 760px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.breadcrumbs a { color: var(--plum-700); text-decoration: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px,7vw,90px); align-items: center; }
.split--wide { grid-template-columns: .86fr 1.14fr; }
.visual-panel { min-height: 520px; border-radius: var(--radius-lg); background: var(--plum-950); display: grid; place-items: center; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.visual-panel::before { content: ''; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: rgba(239,195,106,.08); right: -160px; top: -140px; box-shadow: 0 0 0 70px rgba(239,195,106,.04); }
.visual-panel svg { position: relative; z-index: 2; width: 78%; max-height: 440px; }

.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 48px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px; box-shadow: 0 0 0 rgba(0,0,0,0); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: rgba(106,31,86,.28); }
.card__number { display: block; margin-bottom: 28px; color: var(--copper); font-family: var(--font-display); font-size: 1.55rem; }
.card__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--cream); color: var(--plum-800); margin-bottom: 24px; }
.card__icon svg { width: 30px; height: 30px; }
.card p { color: var(--ink-soft); }
.card--dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--white); }
.card--dark p { color: rgba(255,255,255,.68); }
.card--dark .card__icon { background: rgba(255,255,255,.1); color: var(--gold); }

.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 48px; }
.stat { padding: 24px; border-left: 2px solid var(--gold); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.3rem,4vw,4rem); line-height: 1; }
.stat span { display: block; margin-top: 10px; color: rgba(255,255,255,.68); font-size: .88rem; }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-tile { min-height: 430px; padding: 34px; border-radius: var(--radius-lg); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--plum-900); }
.service-tile:nth-child(2) { background: #63374c; }
.service-tile:nth-child(3) { background: #5c5a4e; }
.service-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top,rgba(27,8,24,.95),rgba(27,8,24,.06) 70%); }
.service-tile > * { position: relative; z-index: 2; }
.service-tile svg.illustration { position: absolute; inset: 10% 5% auto; width: 90%; height: 58%; z-index: 1; opacity: .92; transition: transform .4s ease; }
.service-tile:hover svg.illustration { transform: scale(1.04) translateY(-5px); }
.service-tile p { color: rgba(255,255,255,.72); }
.service-tile a { color: var(--white); }

.quote-band { position: relative; overflow: hidden; padding: 70px 0; background: var(--gold); color: var(--plum-950); }
.quote-band::after { content: '“'; position: absolute; right: 4%; top: -55px; font-family: var(--font-display); font-size: 18rem; line-height: 1; opacity: .13; }
.quote-band blockquote { margin: 0; max-width: 900px; font-family: var(--font-display); font-size: clamp(1.75rem,3.5vw,3.4rem); line-height: 1.18; letter-spacing: -.03em; }
.quote-band cite { display: block; margin-top: 22px; font-family: var(--font-body); font-size: .9rem; font-style: normal; font-weight: 800; }

.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 42px; }
.area-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.area-panel ul { columns: 2; list-style: none; padding: 0; margin: 20px 0 0; }
.area-panel li { break-inside: avoid; margin: 0 0 12px; padding-left: 18px; position: relative; }
.area-panel li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; position: absolute; left: 0; top: .62em; background: var(--copper); }

.timeline { display: grid; gap: 0; counter-reset: step; margin-top: 48px; }
.timeline__item { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding-bottom: 40px; position: relative; }
.timeline__item::before { counter-increment: step; content: counter(step, decimal-leading-zero); width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--plum-950); color: var(--gold); font-family: var(--font-display); font-size: 1.2rem; }
.timeline__item::after { content: ''; position: absolute; left: 30px; top: 64px; bottom: 0; width: 1px; background: var(--line); }
.timeline__item:last-child::after { display: none; }
.timeline__item p { color: var(--ink-soft); }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-family: var(--font-display); font-size: 1.32rem; }
.faq__question::after { content: '+'; font-family: var(--font-body); font-size: 1.6rem; color: var(--copper); transition: transform .2s ease; }
.faq__item.is-open .faq__question::after { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__answer > div { padding: 0 0 24px; color: var(--ink-soft); max-width: 820px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 42px; }
.testimonial { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.testimonial::before { content: '★★★★★'; display: block; color: var(--copper); letter-spacing: .12em; margin-bottom: 18px; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; }
.testimonial cite { display: block; margin-top: 20px; color: var(--plum-800); font-style: normal; font-weight: 800; }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 46px; }
.team-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.team-card__avatar { aspect-ratio: 1.25; border-radius: 18px; background: linear-gradient(145deg,var(--cream),#e7d7c3); display: grid; place-items: center; overflow: hidden; margin-bottom: 22px; }
.team-card__avatar svg { width: 72%; opacity: .85; }
.team-card h3 { margin-bottom: 6px; }
.team-card p { color: var(--copper); font-weight: 800; margin: 0; }

.special-card { display: grid; grid-template-columns: .75fr 1.25fr; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.special-card__badge { background: var(--plum-950); color: var(--gold); min-height: 320px; display: grid; place-items: center; padding: 35px; text-align: center; }
.special-card__badge strong { display: block; font-family: var(--font-display); font-size: clamp(3rem,6vw,6rem); line-height: .9; }
.special-card__content { padding: clamp(34px,6vw,72px); }

.form-shell { padding: clamp(28px,5vw,58px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1/-1; }
.field label { font-size: .82rem; font-weight: 850; color: var(--plum-950); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(61,12,50,.18); background: var(--paper); border-radius: 13px; padding: 14px 15px; color: var(--ink); outline: none; transition: border .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum-700); box-shadow: 0 0 0 4px rgba(106,31,86,.08); }
.field .help { color: var(--ink-soft); font-size: .78rem; }
.honeypot { position: absolute !important; left: -9999px !important; }
.notice { margin-bottom: 25px; padding: 16px 18px; border-radius: 12px; font-weight: 750; }
.notice--success { background: #e7f5eb; color: #245d35; }
.notice--error { background: #fbe8e8; color: #7b2525; }
.contact-list { display: grid; gap: 18px; margin-top: 30px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.contact-item__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--plum-800); font-weight: 900; }
.contact-item strong, .contact-item a { display: block; color: var(--plum-950); text-decoration: none; }
.contact-item span { font-size: .84rem; color: var(--ink-soft); }
.emergency-box { padding: 22px; border-radius: 18px; background: #fff3d8; border: 1px solid #eac66e; color: #50370c; margin-bottom: 26px; }

.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 42px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.post-card__visual { height: 210px; display: grid; place-items: center; background: var(--plum-950); overflow: hidden; }
.post-card__visual svg { width: 78%; height: 78%; }
.post-card__body { padding: 26px; }
.post-card__meta { color: var(--copper); font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.post-card h3 { margin-top: 12px; font-size: 1.7rem; }
.post-card p { color: var(--ink-soft); }
.article { padding: 80px 0 110px; }
.article__header { max-width: 900px; margin: 0 auto 50px; }
.article__content { max-width: 780px; margin: auto; font-size: 1.08rem; }
.article__content h2 { font-size: 2.2rem; margin-top: 1.6em; }
.article__content h3 { font-size: 1.7rem; margin-top: 1.5em; }
.article__content ul { padding-left: 1.25em; }
.article__content blockquote { margin: 2em 0; padding: 24px 30px; border-left: 4px solid var(--copper); background: var(--cream); font-family: var(--font-display); font-size: 1.3rem; }
.pagination { display: flex; gap: 10px; margin-top: 42px; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 50px; background: var(--cream); text-decoration: none; }
.pagination .current { background: var(--plum-950); color: var(--white); }

.cta { margin: 0; padding: clamp(48px,8vw,90px); border-radius: var(--radius-lg); background: var(--plum-950); color: var(--white); position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -110px; bottom: -170px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(239,195,106,.3); box-shadow: 0 0 0 60px rgba(239,195,106,.04),0 0 0 120px rgba(239,195,106,.025); }
.cta__inner { position: relative; z-index: 2; max-width: 800px; }
.cta p { color: rgba(255,255,255,.72); font-size: 1.15rem; }

.site-footer { background: #160711; color: rgba(255,255,255,.72); padding-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 38px; }
.footer-brand { color: var(--white); }
.footer-brand .brand__tag { color: var(--gold); }
.footer-copy { max-width: 340px; margin-top: 20px; }
.site-footer h3 { color: var(--white); font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { margin-top: 62px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; font-size: .78rem; }
.footer-bottom a { color: rgba(255,255,255,.72); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.alignwide { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

@media (max-width: 1060px) {
  .header-actions .button--phone { display: none; }
  .primary-menu a { padding-inline: 7px; font-size: .85rem; }
  .hero::before { inset: 0 0 0 57%; }
  .cards, .service-grid, .post-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1/-1; }
}
@media (max-width: 860px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__inner > :last-child { display: none; }
  .menu-toggle { display: block; z-index: 1002; }
  .nav-wrap { position: fixed; inset: 0 0 0 12%; padding: 120px 30px 40px; display: block; background: var(--paper); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; box-shadow: -20px 0 60px rgba(38,11,34,.2); }
  .nav-open .nav-wrap { transform: none; }
  .primary-menu { display: grid; align-items: stretch; }
  .primary-menu a { padding: 14px 0; font-family: var(--font-display); font-size: 1.75rem; }
  .nav-wrap .header-actions { margin-top: 25px; display: grid; }
  .nav-wrap .header-actions .button { display: inline-flex; }
  .hero { min-height: auto; }
  .hero::before { inset: 52% 0 0 0; clip-path: polygon(0 14%,100% 0,100% 100%,0 100%); }
  .hero__grid { grid-template-columns: 1fr; padding: 70px 0 45px; }
  .hero__visual { min-height: 500px; }
  .price-card { left: 0; bottom: 20px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .split--wide { grid-template-columns: 1fr; }
  .area-grid, .special-card { grid-template-columns: 1fr; }
  .special-card__badge { min-height: 240px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .container, .narrow, .alignwide { width: min(calc(100% - 28px), var(--container)); }
  .header__inner { min-height: 78px; }
  .brand__mark { width: 50px; height: 50px; flex-basis: 50px; }
  .brand__name { font-size: 1.25rem; }
  .brand__tag { display: none; }
  .hero__visual { min-height: 420px; }
  .hero::before { inset: 55% 0 0 0; }
  .trust-grid, .cards, .service-grid, .post-grid, .testimonial-grid, .team-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .field--full { grid-column: auto; }
  .area-panel ul { columns: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .visual-panel { min-height: 390px; }
  .timeline__item { grid-template-columns: 64px 1fr; gap: 16px; }
  .timeline__item::before { width: 52px; height: 52px; }
  .timeline__item::after { left: 25px; top: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
