/* Hull Power Tools - homepage styles */

:root {
  --ink: #eef1f3;
  --paper: #0f141a;
  --paper-raised: #171d24;
  --blue: #1c8fe0;
  --blue-dark: #0d5c94;
  --blue-light: #57b3ec;
  --amber: #ec9a4b;
  --grey: #9aa4ad;
  --grey-soft: #8a949e;
  --line: #2a323b;
  --line-strong: #3a4550;
  --accent: var(--blue-light);
  --font-display: 'Oswald', Impact, 'Arial Narrow', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Sections on the pale background re-map the same tokens */
.theme-light {
  --ink: #1c2530;
  --paper-raised: #ffffff;
  --grey: #5b6773;
  --grey-soft: #6f7a85;
  --line: #d9dde0;
  --line-strong: #c3c9cd;
  --accent: var(--blue-dark);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
h1, h2 { text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 32px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 2px;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; width: fit-content;
  padding: 13px 22px;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  color: #fff; background: var(--blue);
  border: 1px solid var(--blue); border-radius: 2px;
  transition: background .15s, border-color .15s, color .15s;
}
.button:hover { background: var(--blue-light); border-color: var(--blue-light); color: #07141f; }
.button-outline { background: transparent; border-color: rgba(255,255,255,.5); }
.button-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.theme-light .button-outline { color: var(--blue-dark); border-color: var(--blue-dark); }
.theme-light .button-outline:hover { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }

/* ---------- Coming soon banner (delete the .coming-soon block in index.html to remove) ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.coming-soon { overflow: hidden; white-space: nowrap; padding: 16px 0; background: #e4e7ea; border-bottom: 1px solid #c3c9cd; }
.coming-soon-track { display: inline-block; white-space: nowrap; animation: coming-soon-scroll 48s linear infinite; }
.coming-soon-track span {
  display: inline-block; padding: 0 48px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 3.2vw, 2.1rem);
  text-transform: uppercase; letter-spacing: .08em; color: var(--blue-dark);
}
@keyframes coming-soon-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Top bar ---------- */
.topbar { background: #12161c; border-bottom: 1px solid #232b34; font-size: .82rem; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px;
  max-width: 1180px; margin: 0 auto; padding: 9px 32px;
}
.topbar-note { color: var(--grey); }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { color: var(--blue-light); }
.topbar-links a:hover { color: #fff; }

/* ---------- Header and navigation ---------- */
.site-header { position: relative; z-index: 50; background: #f4f2ec; border-bottom: 1px solid var(--line-strong); }
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1180px; margin: 0 auto; padding: 16px 32px;
}
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { height: 58px; width: auto; display: block; }
.brand-tagline {
  padding-left: 14px; border-left: 1px solid var(--line-strong);
  font-size: .85rem; font-weight: 500; color: var(--grey);
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a, .dropdown-toggle {
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--grey); white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.nav-links > a:hover, .dropdown-toggle:hover,
.dropdown:focus-within .dropdown-toggle { color: var(--ink); border-color: var(--blue); }

.caret {
  width: 8px; height: 8px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .15s;
}
.dropdown:hover .caret, .dropdown:focus-within .caret, .dropdown.open .caret { transform: translateY(3px) rotate(225deg); }

.dropdown { position: relative; }
.dropdown::after { /* keeps the hover area unbroken between the link and the panel */
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 100%; height: 16px;
}
.dropdown-panel {
  position: absolute; top: 100%; left: 50%; margin-top: 16px;
  transform: translateX(-50%) translateY(4px);
  width: 820px; padding: 20px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 22px;
  background: #f7f5f0; border: 1px solid var(--line-strong); border-radius: 2px;
  box-shadow: 0 14px 32px rgba(0,0,0,.16);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 40;
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mega-title {
  display: block; padding-bottom: 6px; margin-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  font-size: .8rem; font-weight: 600; color: var(--blue-dark);
}
.mega-title:hover { border-color: var(--blue); }
.mega-rows { display: flex; flex-direction: column; gap: 6px; }
.mega-logo {
  display: flex; align-items: center; justify-content: center; height: 42px; padding: 6px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .15s;
}
.mega-logo:hover { border-color: var(--blue); }
.mega-logo img { max-height: 22px; max-width: 100%; width: auto; display: block; }
.mega-logo--dark { background: #171d24; border-color: #3a4550; }

.nav-phone {
  display: flex; align-items: center; gap: 7px; flex: none; white-space: nowrap;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  font-weight: 700; font-size: .95rem; color: var(--blue-dark);
  transition: color .15s, border-color .15s;
}
.nav-phone svg { width: 14px; height: 14px; flex: none; }
.nav-phone:hover { color: var(--ink); border-color: var(--blue); }

.burger {
  display: none; flex: none; width: 42px; height: 42px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--blue-dark) url(../images/hero-shop-floor.webp) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero-panel {
  min-height: 480px; padding: 92px 40px 56px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 16px;
  background: linear-gradient(180deg, rgba(6,10,14,.3) 0%, rgba(6,10,14,.55) 45%, rgba(6,10,14,.94) 100%);
  color: #fff;
}
.hero-panel h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.hero-panel p { max-width: 36ch; color: rgba(255,255,255,.85); }
@media (min-width: 821px) { .hero-panel p { min-height: 6.3em; } } /* keeps both headings level */

/* ---------- Slogan and strapline strips ---------- */
.slogan-strip { padding: 22px 0; background: var(--blue-dark); border-bottom: 1px solid var(--line); }
.slogan-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; }
.slogan-row span { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.slogan-row .divider { font-family: var(--font-mono); font-size: 1rem; color: var(--blue-light); opacity: .7; }
.strapline { padding: 18px 0; text-align: center; background: var(--paper-raised); border-bottom: 1px solid var(--line); }
.strapline p { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .05em; color: var(--grey); }
.strapline strong { font-weight: 600; color: var(--ink); }

/* ---------- Brand wall ---------- */
.brands { padding: 56px 0 52px; background: #f4f2ec; border-bottom: 1px solid var(--line-strong); }
.chip-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 920px; margin: 0 auto; }
.chip {
  display: flex; align-items: center; flex: none;
  padding: 11px 18px; background: #fff;
  border: 1px solid var(--line-strong); border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15,20,26,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.chip:hover,
.chip:focus-visible {
  transform: scale(1.08);
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(28, 143, 224, .22);
  position: relative; z-index: 2;
}
.chip img { display: block; height: 34px; width: auto; }
.chip--dark { background: #171d24; }
.chip--fill { padding: 0; height: 56px; overflow: hidden; }
.chip--fill img { height: 100%; }

/* ---------- Departments slider ---------- */
.departments { padding: 56px 0 60px; background: var(--paper-raised); border-bottom: 1px solid var(--line); }
.slider { position: relative; }
.slider-track {
  display: flex; gap: 20px; margin: -12px -4px -16px; padding: 12px 4px 32px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.dept-card {
  flex: 0 0 300px; scroll-snap-align: start;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dept-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35), 0 0 0 1px var(--blue);
}
.dept-card figure { position: relative; height: 190px; margin: 0; overflow: hidden; background: var(--blue-dark); }
.dept-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dept-card:hover img { transform: scale(1.07); }
.dept-card figure::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 20, 31, .55), transparent);
}
.dept-tag {
  position: absolute; top: 14px; left: 14px; padding: 5px 10px;
  background: var(--blue-dark); color: #fff; border-radius: 2px;
  font-size: .78rem; font-weight: 600; z-index: 1;
}
.dept-body { padding: 20px 22px 24px; }
.dept-body { border-top: 3px solid transparent; transition: border-color .25s ease; }
.dept-card:hover .dept-body { border-top-color: var(--blue); }
.dept-body h3 { margin-bottom: 8px; font-size: 1.15rem; color: var(--blue-light); letter-spacing: .02em; }
.dept-body p { color: var(--grey); font-size: .9rem; line-height: 1.6; }
.slider-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.slider-arrow {
  width: 48px; height: 48px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--blue-light);
  border: 1px solid var(--blue-light); border-radius: 2px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.slider-arrow svg { width: 22px; height: 22px; }
.slider-arrow:hover:not(:disabled) { background: var(--blue-light); color: #07141f; }
.slider-arrow:disabled { opacity: .3; cursor: default; }

/* ---------- Shop photos ---------- */
.shop { padding: 56px 0; border-bottom: 1px solid var(--line); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shop-grid figure { margin: 0; overflow: hidden; background: var(--paper-raised); border: 1px solid var(--line-strong); border-radius: 4px; }
.shop-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.shop-grid figure {
  position: relative; border-radius: 6px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.shop-grid figure > img:first-child { transition: opacity .5s ease, transform .6s ease; }
.shop-grid .shop-alt {
  position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .5s ease, transform .6s ease;
}
.shop-grid figure::after { /* blue wash along the bottom of the photo */
  content: ''; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4 / 3; pointer-events: none;
  background: linear-gradient(to top, rgba(13, 92, 148, .55), transparent 55%); opacity: 0; transition: opacity .4s ease;
}
.shop-grid figcaption { position: relative; padding: 12px 14px 14px; font-size: .92rem; font-weight: 600; border-top: 3px solid transparent; transition: color .3s ease, border-color .3s ease; }
.shop-grid figure:hover, .shop-grid figure:focus-visible {
  transform: translateY(-6px); border-color: var(--blue); outline: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35), 0 0 0 1px var(--blue);
}
.shop-grid figure:hover .shop-alt, .shop-grid figure:focus-visible .shop-alt { opacity: 1; transform: scale(1); }
.shop-grid figure:hover > img:first-child, .shop-grid figure:focus-visible > img:first-child { transform: scale(1.08); }
.shop-grid figure:hover::after, .shop-grid figure:focus-visible::after { opacity: 1; }
.shop-grid figure:hover figcaption, .shop-grid figure:focus-visible figcaption { color: var(--blue-light); border-top-color: var(--blue); }

/* ---------- Repairs ---------- */
.repairs {
  padding: 72px 0; border-bottom: 1px solid var(--line-strong);
  background: url(../images/cog-light.svg) no-repeat right -60px top -40px / 480px, #f4f2ec;
}
.repairs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 40px; }
.repairs-head h2 { font-size: 2rem; }
.repairs-head p { max-width: 46ch; color: var(--grey); }
/* Five separate step cards, joined by arrows, with icons and a reveal on scroll */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative; padding: 28px 22px 26px; overflow: visible;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 8px;
  box-shadow: 0 2px 6px rgba(15, 20, 26, .06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.steps li::before { /* large faded step number behind the text */
  content: counter(step); position: absolute; top: 6px; right: 16px; margin: 0;
  font-family: var(--font-display); font-size: 4.2rem; font-weight: 700; line-height: 1;
  color: var(--blue-dark); opacity: .09; transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.steps li:not(:last-child)::after { /* arrow to the next step */
  content: ''; position: absolute; top: 46px; right: -17px; z-index: 2;
  width: 12px; height: 12px; border-top: 3px solid var(--blue); border-right: 3px solid var(--blue);
  transform: rotate(45deg); animation: step-nudge 3.6s ease-in-out infinite;
}
.step-icon {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 16px;
  border-radius: 50%; background: #e6f2fb; color: var(--blue-dark);
  transition: background .3s ease, color .3s ease, transform .4s ease, box-shadow .3s ease;
}
.step-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { margin-bottom: 8px; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; position: relative; }
.steps p { font-size: .9rem; color: var(--grey); position: relative; }
.steps li:hover {
  transform: translateY(-6px); border-color: var(--blue);
  box-shadow: 0 14px 28px rgba(13, 92, 148, .18);
}
.steps li:hover::before { opacity: .16; transform: scale(1.08); }
.steps li:hover .step-icon { background: var(--blue); color: #fff; transform: rotate(-8deg) scale(1.08); box-shadow: 0 8px 18px rgba(28, 143, 224, .35); }
@keyframes step-nudge { 0%, 100% { transform: translateX(0) rotate(45deg); } 50% { transform: translateX(2px) rotate(45deg); } }
@keyframes step-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
/* Reveal one by one when the section scrolls into view (class added by main.js, so no JS = everything visible) */
.steps--anim li { opacity: 0; transform: translateY(28px); }
.steps--anim.is-visible li { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease, border-color .3s ease; }
.steps--anim.is-visible li:nth-child(2) { transition-delay: .15s; }
.steps--anim.is-visible li:nth-child(3) { transition-delay: .3s; }
.steps--anim.is-visible li:nth-child(4) { transition-delay: .45s; }
.steps--anim.is-visible li:nth-child(5) { transition-delay: .6s; }
.steps--anim.is-visible li:hover { transform: translateY(-6px); transition-delay: 0s; }
.steps--anim.is-visible .step-icon { animation: step-pop .6s ease both; }
.steps--anim.is-visible li:nth-child(2) .step-icon { animation-delay: .25s; }
.steps--anim.is-visible li:nth-child(3) .step-icon { animation-delay: .4s; }
.steps--anim.is-visible li:nth-child(4) .step-icon { animation-delay: .55s; }
.steps--anim.is-visible li:nth-child(5) .step-icon { animation-delay: .7s; }

/* ---------- Trade accounts ---------- */
.trade { padding: 72px 0; border-bottom: 1px solid var(--line-strong); background: #eef0ea; }
.trade-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 44px;
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
}
.trade-card h2 { margin-bottom: 16px; font-size: 1.85rem; }
.trade-card p { max-width: 54ch; margin-bottom: 24px; color: var(--grey); }
.trade-who { padding-left: 40px; border-left: 1px solid var(--line); align-self: center; }
.trade-who h3 { margin-bottom: 14px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.trade-who li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--grey); }
.trade-who li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- FAQs ---------- */
.faqs { padding: 72px 0; border-bottom: 1px solid var(--line); }
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq-group h3 {
  margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--blue-light);
}
.faq-group h3 { border-bottom: 0; padding-bottom: 4px; }
.faq-item {
  margin-bottom: 10px; padding: 0 20px;
  background: var(--paper-raised); border: 1px solid var(--line-strong); border-left: 3px solid var(--line-strong);
  border-radius: 6px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.faq-item:hover {
  transform: translateY(-3px);
  border-color: var(--blue); border-left-color: var(--blue);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}
.faq-item[open] { border-left-color: var(--blue-light); box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
.faq-item summary:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 4px; border-radius: 4px; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-light); }
.faq-item[open] summary { color: var(--blue-light); }
.faq-toggle {
  position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--blue-light); transition: background .25s ease;
}
.faq-item:hover .faq-toggle { background: rgba(87, 179, 236, .15); }
.faq-toggle::before, .faq-toggle::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: var(--blue-light); transition: transform .2s;
}
.faq-toggle::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-toggle::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item p { max-width: 54ch; margin-bottom: 18px; color: var(--grey); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 56px;
  background:
    linear-gradient(rgba(8,20,31,.93), rgba(8,20,31,.93)),
    url(../images/footer-shop-floor.webp) center 32% / cover no-repeat,
    var(--paper);
}
.footer-logo { display: inline-block; margin-bottom: 36px; padding: 16px 26px; background: #f4f2ec; border: 1px solid var(--line-strong); border-radius: 3px; }
.footer-logo img { display: block; height: 68px; width: auto; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h2 { margin-bottom: 14px; font-family: var(--font-body); font-size: .95rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
.footer-grid p, .footer-grid li { color: var(--grey); font-size: .95rem; }
.footer-grid ul { display: flex; flex-direction: column; gap: 6px; }
.footer-grid address { font-style: normal; }
.footer-grid p + p { margin-top: 8px; }
.footer-grid a { color: var(--blue-light); }
.footer-grid a:hover { color: #fff; }
.footer-grid .footer-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .92rem; }
/* ---------- Social icons ---------- */
.social { display: flex; align-items: center; gap: 10px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--blue-light); border: 1px solid var(--blue-light);
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social a:hover, .social a:focus-visible {
  background: var(--blue-light); color: #07141f; transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 18px rgba(28, 143, 224, .35);
}
.social--top { gap: 8px; margin-left: 4px; }
.social--top a { width: 26px; height: 26px; }
.social--top svg { width: 14px; height: 14px; }
.topbar-links { align-items: center; }
.footer-grid .footer-follow { margin-top: 22px; }
.footer-grid .social a:hover { color: #07141f; }

.footer-bottom { padding: 20px 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--grey-soft); }
.footer-cta {
  display: block; padding: 20px 32px; text-align: center;
  background: var(--blue-light); color: #07141f; font-weight: 700; font-size: 1rem;
  transition: background .15s, color .15s;
}
.footer-cta:hover { background: var(--blue); color: #fff; }

/* ---------- Tablet and mobile ---------- */
@media (max-width: 1180px) {
  .brand-tagline { display: none; }
  .nav-links { gap: 22px; }
  .dropdown-panel { width: 640px; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
}

@media (max-width: 960px) {
  .burger { display: flex; }
  .brand-tagline { display: none; }
  .nav { gap: 16px; }
  .nav-phone { margin-left: auto; }

  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0;
    max-height: calc(100vh - 110px); overflow-x: hidden; overflow-y: auto;
    background: #f4f2ec; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 14px 32px rgba(0,0,0,.16);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links > a, .dropdown-toggle {
    width: 100%; padding: 14px 32px; border-bottom: 1px solid var(--line);
    font-size: 1rem; justify-content: space-between;
  }
  .nav-links > a:hover, .dropdown-toggle:hover { border-color: var(--line); }

  .dropdown { position: static; width: 100%; }
  .dropdown::after { display: none; }
  .dropdown-panel {
    display: none; position: static; width: 100%; margin: 0; transform: none;
    padding: 8px 32px 20px; gap: 18px;
    grid-template-columns: minmax(0, 1fr);
    background: #f4f2ec; border: none; border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  .dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { transform: none; }
  .dropdown.open .dropdown-panel { display: grid; }
  .mega-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
}

@media (max-width: 820px) {
  .wrap, .topbar-inner { padding-left: 20px; padding-right: 20px; }
  .nav { padding: 14px 20px; }
  .nav-links > a, .dropdown-toggle { padding-left: 20px; padding-right: 20px; }
  .dropdown-panel { padding-left: 20px; padding-right: 20px; }
  .topbar-inner { justify-content: center; }
  .topbar-note { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero-panel { min-height: 400px; padding: 72px 20px 44px; }
  .slider-controls { display: none; }
  .dept-card { flex-basis: 80vw; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .steps li::after { display: none; }
  .trade-card { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
  .trade-who { padding-left: 0; border-left: none; }
  .faq-columns { grid-template-columns: 1fr; }
  .faq-group + .faq-group { margin-top: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-title { font-size: 1.7rem; }
  .slogan-row { gap: 10px; }
  .slogan-row span { font-size: .95rem; }
}

@media (max-width: 480px) {
  .brand img { height: 48px; }
  .nav-phone span { display: none; } /* number stays reachable as an icon; full number is in the top bar */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .coming-soon-track { animation: none; }
  .chip:hover, .chip:focus-visible,
  .dept-card:hover, .dept-card:hover img, .faq-item:hover { transform: none; }
  .shop-grid figure:hover, .shop-grid figure:focus-visible, .shop-grid figure:hover > img:first-child, .shop-grid .shop-alt { transform: none !important; }
  .social a:hover, .social a:focus-visible { transform: none; }
  .steps li, .steps--anim li, .steps li:hover, .steps li:hover .step-icon, .steps li:hover::before { transform: none !important; opacity: 1; animation: none !important; }
  .steps li::after, .steps--anim.is-visible .step-icon { animation: none !important; }
}
