/*
Theme Name: Tech Trade Global
Description: Diesel, gasoline and propane trading website with editable content in the WordPress Customizer.
Version: 2.3.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: tech-trade-global
*/

:root {
  --navy: #001342;
  --accent: #d90c32;
  --accent-hover: #b30b29;
  --paper: #f3f5f8;
  --ink: #15233b;
  --muted: #516078;
  --line: #dce2eb;
  --sans: "Segoe UI", Arial, sans-serif;
  --scroll-offset: 108px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--scroll-offset); }
body { margin: 0; color: var(--ink); background: #fff; font: 18px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
::selection { color: #fff; background: var(--navy); }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 88px; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100000; padding: 10px 18px; color: #fff; background: var(--navy); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); }
h1, h2 { font-weight: 700; letter-spacing: -.045em; line-height: 1.12; }
h1 { margin-bottom: 24px; font-size: clamp(44px, 4.8vw, 70px); line-height: 1.06; }
h2 { margin-bottom: 24px; font-size: clamp(34px, 3.4vw, 46px); }
h1 em, h2 em { font-style: normal; }
h1 em { color: var(--muted); }
h2 em { color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 22px; height: 3px; background: var(--accent); }

.header { position: sticky; top: var(--admin-offset, 0px); z-index: 30; border-bottom: 1px solid var(--line); background: #fff; transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 4px 20px rgba(0,19,66,.07); }
.header-row { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-shrink: 0; width: 180px; }
.brand img { width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: 30px; }
nav > a:not(.button) { position: relative; padding-block: 12px; color: var(--muted); font-size: 16px; font-weight: 600; white-space: nowrap; }
nav > a:not(.button)::after { content: ""; position: absolute; bottom: 4px; right: 0; left: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
nav > a:hover, nav > a[aria-current="location"] { color: var(--navy); }
nav > a:hover::after, nav > a[aria-current="location"]::after { transform: scaleX(1); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 4px; font-size: 16px; font-weight: 650; line-height: 1.4; cursor: pointer; transition: background .2s; }
.primary { color: #fff; background: var(--accent); }
.primary:hover { color: #fff; background: var(--accent-hover); }
.button:disabled { cursor: wait; opacity: .65; }
.button .icon, .text-link .icon, .product-link .icon { transition: transform .2s; }
.button:hover .icon, .text-link:hover .icon, .product-link:hover .icon { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--navy); font-size: 16px; font-weight: 650; }
.text-link:hover, .product-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-button { display: none; }

.hero { background: #fff; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 58px; padding-block: 48px 24px; }
.hero-copy { min-width: 0; padding-block: 22px; }
.hero-lead { max-width: 500px; margin-bottom: 28px; color: var(--muted); font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
.hero-photo { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border-radius: 5px; background: var(--paper); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero + .section { padding-top: 48px; }
.section-head { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 70px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.product { min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.product-photo { aspect-ratio: 1.65; overflow: hidden; border-radius: 4px; background: var(--paper); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: flex; flex: 1; flex-direction: column; padding-block: 23px 12px; }
.product-info > small { margin-bottom: 7px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.product-info h3 { margin-bottom: 12px; font-size: 27px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.product-info p { margin-bottom: 18px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.product-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-top: auto; color: var(--navy); font-size: 16px; font-weight: 650; }
.product-link .icon { color: var(--accent); }
.product-specs { display: grid; gap: 8px; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 15px; font-weight: 600; color: var(--ink); }
.product-specs li { position: relative; padding-left: 18px; }
.product-specs li::before { content: ""; position: absolute; top: .7em; left: 0; width: 8px; height: 2px; background: var(--accent); }
.additional-trade { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.additional-trade h3 { margin: 0; font-size: 22px; }
.additional-trade p { margin-bottom: 8px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.additional-trade .product-link { justify-content: flex-start; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; }
.about-grid h2 { max-width: 430px; }
.about-copy > p { color: var(--muted); font-size: 18px; line-height: 1.8; }
.facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 24px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts > div { padding-left: 15px; border-left: 2px solid var(--accent); }
.facts dt { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; color: var(--navy); font-size: 17px; font-weight: 600; line-height: 1.45; }
.purpose { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.purpose h3 { margin-bottom: 8px; font-size: 19px; }
.purpose p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

.spotlight { background: var(--paper); }
.spotlight-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 70px; }
.spotlight-photo { aspect-ratio: 1.07; margin: 0; overflow: hidden; border-radius: 5px; background: #e6eaf0; }
.spotlight-photo img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.8; }
.spec-table { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 28px 0 18px; border-top: 1px solid var(--line); }
.spec-table > div { display: grid; gap: 2px; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.spec-table dd { margin: 0; color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.5; }
.spotlight .product-link { justify-content: flex-start; }

.equipment { color: #fff; background: var(--navy); }
.equipment h2, .equipment h3 { color: #fff; }
.equipment h2 em { color: #9fabc4; }
.equipment .eyebrow, .equipment .section-head > p { color: #c4ccdd; }
.equipment-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: 56px; }
.equipment-photo { min-height: 100%; margin: 0; overflow: hidden; border-radius: 5px; background: #0d2257; }
.equipment-photo img { width: 100%; height: 100%; object-fit: cover; }
.equipment-list { display: grid; margin: 0; padding: 0; list-style: none; }
.equipment-list li { display: flex; align-items: flex-start; gap: 18px; padding: 24px 0; border-top: 1px solid #2c3d69; }
.equipment-list li:last-child { border-bottom: 1px solid #2c3d69; }
.equipment-list .icon { width: 34px; height: 34px; margin-top: 2px; color: #fff; stroke-width: 1.4; }
.equipment-list h3 { margin-bottom: 6px; font-size: 21px; font-weight: 600; line-height: 1.35; }
.equipment-list p { margin: 0; color: #c4ccdd; font-size: 16px; line-height: 1.7; }
.iso-feature { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; margin-top: 56px; padding: 40px; border: 1px solid #2c3d69; border-radius: 6px; background: #071c52; }
.iso-drawing { display: block; width: 100%; height: auto; fill: none; stroke: #dfe5f1; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.iso-drawing .tank { fill: #071c52; }
.iso-drawing .accent { fill: var(--accent); stroke: var(--accent); }
.iso-facts { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.iso-facts li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--accent); }
.iso-facts strong { font-size: 17px; font-weight: 600; }
.iso-facts span { color: #c4ccdd; font-size: 15px; line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; margin: 48px 0 0; padding: 0; list-style: none; }
.steps li { padding-top: 20px; border-top: 2px solid var(--navy); }
.steps h3 { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 21px; font-weight: 600; line-height: 1.35; }
.steps h3 .icon { width: 26px; height: 26px; margin-top: 1px; color: var(--accent); stroke-width: 1.6; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.compliance { display: grid; grid-template-columns: .8fr 2.2fr; gap: 40px; margin-top: 56px; padding: 36px; border-radius: 6px; background: var(--paper); }
.compliance h3 { margin: 0; font-size: 23px; line-height: 1.35; letter-spacing: -.02em; }
.compliance ul { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.compliance li { display: flex; align-items: flex-start; gap: 12px; }
.compliance .icon { width: 24px; height: 24px; color: var(--navy); }
.compliance strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 16px; }
.compliance p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.market-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.market-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.8; }
.market-copy > p.market-disclaimer { margin-bottom: 20px; font-size: 14px; }
.map { min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 5px; background: #f3f7f8; }
.map > img { width: 100%; height: auto; }
.map figcaption > p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.map-hub { flex: none; width: 11px; height: 11px; background: var(--navy); }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 70px; }
.contact-copy > p:not(.eyebrow) { max-width: 390px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.location { display: grid; gap: 6px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.location small { color: var(--muted); font-size: 14px; }
.location strong { color: var(--navy); font-size: 17px; font-weight: 600; }
.contact-copy > p.contact-note { margin-top: 22px; font-size: 14px; }
.form { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.form-intro { margin-bottom: 10px; color: var(--muted); font-size: 16px; }
.required-note { margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.required-note b, .fields b, .consent b { color: var(--accent); }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 18px; }
.fields label { display: grid; align-content: start; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.fields label small { color: var(--muted); font-size: 12px; font-weight: 400; }
.fields input, .fields select, .fields textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid #b9c3d2; border-radius: 4px; color: var(--ink); background: #fff; font-size: 16px; font-weight: 400; }
.fields input, .fields select { min-height: 48px; }
.fields textarea { min-height: 120px; resize: vertical; }
.fields input::placeholder, .fields textarea::placeholder, .fields select:invalid { color: #647189; opacity: 1; }
.fields [aria-invalid="true"] { border-color: var(--accent); }
.fields .wide { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-bottom p { max-width: 230px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.form-bottom .button { flex-shrink: 0; }
.form-status { margin: 0; font-size: 15px; line-height: 1.65; }
.form-status:not(:empty) { margin-top: 18px; }
.form-status[data-state="error"] { color: #ad1230; }
.form-status[data-state="success"] { color: #21613a; }

.footer { padding-top: 48px; background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.2fr .7fr 1fr; align-items: start; gap: 60px; padding-bottom: 30px; }
.footer-main > div:first-child > p { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { width: fit-content; min-height: 32px; color: var(--navy); font-size: 15px; }
.footer-links a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.privacy { color: var(--muted); font-size: 14px; }
.privacy summary { min-height: 36px; color: var(--navy); font-weight: 600; cursor: pointer; }
.privacy p { margin: 12px 0 0; font-size: 14px; line-height: 1.75; }
.photo-note { padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.75; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-bottom span:nth-child(2) { max-width: 430px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; color: var(--navy); }
.footer-bottom .icon { width: 17px; height: 17px; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  nav { gap: 22px; }
  .hero-grid { gap: 36px; }
  .section-head, .about-grid, .market-grid, .contact-grid, .spotlight-grid, .equipment-grid { gap: 40px; }
  .iso-feature { gap: 36px; padding: 32px; }
  .compliance { grid-template-columns: 1fr; gap: 24px; }
  .product-grid { gap: 22px; }
  .form { padding: 26px; }
  .form-bottom { align-items: stretch; flex-direction: column-reverse; gap: 14px; }
  .form-bottom p { max-width: none; }
  .footer-main { gap: 36px; }
}
@media (max-width: 960px) {
  .header-row { height: 76px; }
  .brand { width: 164px; }
  .menu-button { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 92px; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; color: var(--navy); background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
  .menu-button i { position: relative; width: 18px; height: 2px; background: var(--navy); }
  .menu-button i::before, .menu-button i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy); }
  .menu-button i::before { top: -5px; }
  .menu-button i::after { top: 5px; }
  .menu-button[aria-expanded="true"] i { background: transparent; }
  .menu-button[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
  nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; max-height: calc(100dvh - var(--scroll-offset)); overflow-y: auto; padding: 10px 32px 24px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 12px 20px rgba(0,19,66,.08); }
  nav.open { display: flex; }
  nav > a:not(.button) { min-height: 50px; border-bottom: 1px solid var(--line); }
  nav > a:not(.button)::after { display: none; }
  nav > a[aria-current="location"] { color: var(--accent); }
  nav .button { align-self: flex-start; margin-top: 18px; }
  .section { padding-block: 68px; }
  .hero-grid { gap: 28px; }
  .section-head, .about-grid, .market-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .spotlight-grid, .equipment-grid, .iso-feature { grid-template-columns: 1fr; gap: 32px; }
  .spotlight-photo { max-width: 620px; aspect-ratio: 4 / 3; }
  .equipment-photo { max-width: 620px; min-height: 0; aspect-ratio: 4 / 3; }
  .iso-drawing { max-width: 560px; }
  .section-head > p { max-width: 620px; }
  .about-grid h2 { max-width: none; margin-bottom: 0; }
  .about-copy { max-width: 720px; }
  .product-grid { grid-template-columns: 1fr; gap: 28px; }
  .product { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; padding-bottom: 22px; }
  .product-photo { height: 100%; min-height: 220px; aspect-ratio: auto; }
  .product-info { padding: 0; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .map { max-width: 750px; }
  .contact-copy > p:not(.eyebrow) { max-width: 600px; }
  .location { margin-top: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .privacy { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .additional-trade { grid-template-columns: 1fr; gap: 12px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 54px; }
  h1 { font-size: clamp(39px, 9.8vw, 56px); }
  h2 { font-size: 34px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 24px 28px; gap: 28px; }
  .hero-copy { padding-block: 12px 0; }
  .hero-lead { font-size: 18px; }
  .hero-actions { gap: 10px 20px; }
  nav { padding-inline: 20px; }
  .section-head { gap: 18px; margin-bottom: 28px; }
  .product { display: flex; gap: 0; padding-bottom: 12px; }
  .product-photo { height: auto; min-height: 0; aspect-ratio: 1.65; }
  .product-info { padding-top: 20px; }
  .product-info h3 { font-size: 26px; }
  .about-copy > p, .market-copy > p:not(.eyebrow):not(.market-disclaimer), .contact-copy > p:not(.eyebrow):not(.contact-note) { font-size: 17px; }
  .spec-table { grid-template-columns: 1fr; }
  .purpose { grid-template-columns: 1fr; gap: 20px; }
  .equipment-list li { gap: 14px; padding-block: 20px; }
  .equipment-list .icon { width: 28px; height: 28px; }
  .equipment-list h3 { font-size: 19px; }
  .iso-feature { margin-top: 36px; padding: 22px 18px; gap: 24px; }
  .compliance { margin-top: 36px; padding: 24px 18px; }
  .compliance ul { grid-template-columns: 1fr; gap: 20px; }
  .spotlight-copy > p:not(.eyebrow) { font-size: 17px; }
  .steps { gap: 28px 22px; margin-top: 30px; }
  .steps h3 { font-size: 19px; }
    .form { padding: 22px 18px; }
  .fields { grid-template-columns: 1fr; gap: 18px; }
  .fields .wide { grid-column: auto; }
  .footer { padding-top: 34px; }
  .footer-main { gap: 30px 20px; }
  .footer-main > div:first-child > p { font-size: 13px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .brand { width: 146px; }
  .header-row { gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .privacy { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
