/* =========================================================
   Litein Kirloskar Agencies – website styles
   Brand palette (from the LKA brand card):
   charcoal #282828 · teal #03989E · stripe teal #00A4A3
   petrol #005572 · light grey #EFECEC · white
   ========================================================= */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --charcoal: #282828;
  --charcoal-2: #323232;
  --charcoal-3: #1f1f1f;
  --teal: #03989e;
  --teal-bright: #00a4a3;
  --teal-dark: #027a7f;
  --teal-tint: #e2f3f3;
  --petrol: #005572;
  --mist: #efecec;
  --mist-2: #e4e0e0;
  --white: #ffffff;
  --ink: #232425;
  --muted: #5f6264;
  --line: #dcd8d8;
  --wa: #1fae54;
  --radius-s: 4px;
  --radius-m: 8px;
  --wrap: 1240px;
  --wide: 110%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--petrol); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; }

h1, h2, h3, h4 { font-stretch: var(--wide); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--mist { background: var(--mist); }
.section--white { background: var(--white); }
.section--dark { background: var(--charcoal); color: #e8e6e6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 58ch; }
.section--dark .section-head p { color: #b9b6b6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* The two-tone rule under the company name on the brand card */
.rule::after {
  content: ""; display: block; width: 104px; height: 4px; margin-top: 16px;
  background: linear-gradient(90deg, var(--teal) 0 58%, var(--mist-2) 58% 100%);
}
.section--dark .rule::after, .hero .rule::after, .page-head .rule::after { background: linear-gradient(90deg, var(--teal) 0 58%, #f2f2f2 58% 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--radius-s); border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: .97rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary, .btn--call { background: var(--teal); color: #fff; }
.btn--primary:hover, .btn--call:hover { background: var(--teal-dark); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178c43; color: #fff; }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--outline:hover { background: var(--charcoal); color: #fff; }
.btn--sm { padding: 8px 13px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow { font-weight: 650; text-decoration: none; color: var(--teal-dark); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--petrol); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--charcoal-3); color: #b7b4b4; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--teal-bright); }
.topbar span + span { margin-left: 22px; }

.header { background: var(--charcoal); color: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid #3a3a3a; }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 66px; height: 66px; }
.brand strong { display: block; color: var(--teal-bright); font-weight: 600; font-size: 1.12rem; line-height: 1.15; letter-spacing: .005em; }
.brand strong::after { content: ""; display: block; width: 100%; max-width: 150px; height: 3px; margin-top: 6px; background: linear-gradient(90deg, var(--teal) 0 55%, #f2f2f2 55% 100%); }
.nav { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.nav a { color: #e6e4e4; text-decoration: none; padding: 10px 13px; font-weight: 550; font-size: .96rem; position: relative; }
.nav a:not(.btn):hover { color: #fff; }
.nav a.is-active { color: #fff; }
.nav a.is-active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 3px; background: var(--teal); }
.nav .btn { margin-left: 12px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid #555; color: #fff; border-radius: var(--radius-s); padding: 8px 12px; font: inherit; font-weight: 650; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--charcoal); flex-direction: column; align-items: stretch; padding: 8px 24px 22px; border-top: 1px solid #3a3a3a; }
  .nav.is-open { display: flex; }
  .nav a.is-active::after { left: 0; right: auto; width: 4px; top: 10px; bottom: 10px; height: auto; }
  .nav .btn { margin: 10px 0 0; }
}
@media (max-width: 520px) { .topbar span + span { display: none; } .brand img { width: 54px; height: 54px; } .brand strong { font-size: 1rem; } .topbar .wrap > div:last-child { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 132px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { color: #c9c6c6; }
.hero-tag { display: inline-block; margin-bottom: 20px; color: var(--teal-bright); font-weight: 600; font-size: 1.02rem; }
.hero .btn-row { margin-top: 32px; }
.hero-call { margin-top: 30px; color: #bdbaba; font-size: .95rem; }
.hero-call a { display: block; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.3rem; letter-spacing: .14em; margin-top: 2px; }
.hero-call a:hover { color: var(--teal-bright); }
.stripes { position: absolute; pointer-events: none; background: url("../images/stripes.svg") no-repeat right bottom / contain; }
.hero .stripes { right: -40px; bottom: -40px; width: 460px; height: 460px; z-index: 0; }

.showcase { display: block; text-decoration: none; position: relative; background: var(--mist); border-radius: var(--radius-m); padding: 30px 30px 24px; color: var(--ink); }
.showcase img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.showcase-caption { display: flex; justify-content: space-between; align-items: end; gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.showcase-caption small { display: block; color: var(--muted); font-size: .84rem; }
.showcase-caption b { font-size: 1.08rem; font-stretch: var(--wide); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 110px; gap: 40px; }
  .hero .stripes { width: 300px; height: 300px; }
}

/* ---------- Category rail ---------- */
.rail { position: relative; z-index: 2; margin-top: -72px; }
.rail-inner { background: #fff; border-radius: var(--radius-m); box-shadow: 0 18px 48px rgba(20,20,20,.16); display: grid; grid-template-columns: repeat(9, minmax(110px, 1fr)); overflow-x: auto; }
.rail a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 10px 16px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .84rem; line-height: 1.2; border-right: 1px solid var(--line); border-bottom: 3px solid transparent; transition: border-color .15s, background .15s; }
.rail a:last-child { border-right: 0; }
.rail a:hover { background: var(--mist); border-bottom-color: var(--teal); }
.rail img { width: 92px; aspect-ratio: 4/3; object-fit: contain; }

/* ---------- Intro + figures ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.intro p { color: var(--muted); max-width: 60ch; }
.figures { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.figures div { padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figures b { display: block; font-stretch: 118%; font-size: 2.7rem; font-weight: 750; line-height: 1; color: var(--teal); margin-bottom: 6px; }
.figures span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #c4c0c0; box-shadow: 0 10px 28px rgba(20,20,20,.08); }
.card-img { display: block; background: var(--mist); aspect-ratio: 4/3; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.card-meta b { color: var(--teal-dark); font-weight: 700; }
.card-meta b a { color: inherit; }
.card-meta b + span { margin-left: 7px; padding-left: 8px; border-left: 1px solid var(--line); }
.card h3 { font-size: 1.06rem; margin-bottom: 6px; font-stretch: 104%; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--teal-dark); }
.card p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.price { font-weight: 750; color: var(--ink); margin-top: auto; margin-bottom: 14px; font-stretch: 108%; }
.price--call { color: var(--petrol); }
.card .btn-row { gap: 8px; }
.card .btn-row .btn { flex: 1; padding: 10px 8px; font-size: .88rem; }
.badge { display: inline-block; font-size: .76rem; font-weight: 650; padding: 3px 9px; border-radius: 99px; background: var(--teal-tint); color: var(--teal-dark); }
.badge--out { background: #f6e3e1; color: #9b2c22; }

/* ---------- Industries (dark) ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #3a3a3a; border: 2px solid #3a3a3a; border-radius: var(--radius-m); overflow: hidden; }
.industry { background: var(--charcoal); padding: 30px 26px 28px; display: flex; flex-direction: column; text-decoration: none; color: #d6d3d3; transition: background .15s; }
.industry:hover { background: var(--charcoal-2); color: #d6d3d3; }
.industry img { width: 120px; aspect-ratio: 4/3; object-fit: contain; margin-bottom: 18px; background: var(--mist); border-radius: var(--radius-s); padding: 8px; }
.industry h3 { color: #fff; margin-bottom: 8px; }
.industry p { font-size: .94rem; color: #b5b2b2; margin-bottom: 18px; }
.industry span { margin-top: auto; color: var(--teal-bright); font-weight: 650; font-size: .92rem; }
@media (max-width: 960px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .industries { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.service svg { width: 44px; height: 44px; color: var(--teal); margin-bottom: 14px; padding: 9px; background: var(--teal-tint); border-radius: 50%; }
.service h3 { font-size: 1.08rem; }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* ---------- Brands band (mirrors the "Our Brands" strip on the brand card) ---------- */
.brand-band { background: var(--mist); padding: 44px 0; }
.brand-band .wrap { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; }
.brand-band h2 { color: var(--teal); font-weight: 500; font-size: 1.7rem; margin: 0; font-stretch: 100%; letter-spacing: 0; }
.brand-band h2 a { display: block; font-size: .92rem; margin-top: 8px; font-weight: 600; }
.brand-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.brand-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s);
  min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none; color: var(--ink); padding: 12px; text-align: center; transition: border-color .15s;
}
.brand-tile:hover { border-color: var(--teal); color: var(--ink); }
.brand-tile img { max-height: 46px; width: auto; }
.brand-tile b { font-stretch: 120%; font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.brand-tile small { color: var(--muted); font-size: .76rem; }
@media (max-width: 760px) { .brand-band .wrap { grid-template-columns: 1fr; gap: 18px; } }

.brand-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius-s); padding: 24px 28px; }
.brand-row + .brand-row { margin-top: 12px; }
.brand-row .brand-tile { border: 0; padding: 0; min-height: 0; align-items: flex-start; text-align: left; background: none; }
.brand-row .brand-tile b { font-size: 1.4rem; }
.brand-row p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .brand-row { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Branches ---------- */
.branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.branch { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; position: relative; }
.branch::before { content: ""; position: absolute; left: 24px; top: 0; width: 44px; height: 4px; background: var(--teal); }
.branch--hq::before { background: var(--petrol); width: 80px; }
.branch h3 { margin-bottom: 2px; }
.branch .town { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.branch ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: .94rem; }
.branch li { padding: 3px 0; }
.branch .btn-row .btn { flex: 1; }

/* ---------- CTA (dark, with brand stripes) ---------- */
.cta { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.cta .wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #c4c1c1; }
.cta-number { display: block; color: #fff; text-decoration: none; font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.8rem); letter-spacing: .14em; margin-top: 14px; }
.cta-number:hover { color: var(--teal-bright); }
.cta .stripes { right: -60px; top: -30px; width: 340px; height: 340px; opacity: .55; }
.cta .btn-row { position: relative; }

/* ---------- Page header ---------- */
.page-head { background: var(--charcoal); color: #fff; padding: 56px 0 52px; position: relative; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { margin: 0 0 .25em; font-size: clamp(2rem, 4vw, 3rem); }
.page-head p { color: #c4c1c1; margin: 0; max-width: 62ch; }
.page-head .stripes { right: -50px; bottom: -70px; width: 300px; height: 300px; opacity: .9; }
.page-head--slim { padding: 22px 0 20px; }
.page-head--slim .crumbs { margin: 0; }
.crumbs { font-size: .85rem; color: #a3a0a0; margin-bottom: 14px; }
.crumbs a { color: #e3e1e1; text-decoration: none; }
.crumbs a:hover { color: var(--teal-bright); }

/* ---------- Catalogue ---------- */
.catalogue { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; position: sticky; top: 104px; }
.filters h3 { font-size: .95rem; margin: 0 0 8px; }
.filters ul { list-style: none; padding: 0; margin: 0 0 20px; }
.filters li a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: var(--radius-s); text-decoration: none; color: var(--ink); font-size: .93rem; }
.filters li a:hover { background: var(--mist); }
.filters li a.is-active { background: var(--charcoal); color: #fff; }
.filters li a span { color: var(--muted); }
.filters li a.is-active span { color: var(--teal-bright); }
.searchbar { display: flex; gap: 8px; margin-bottom: 20px; }
.searchbar input { flex: 1; }
.results-note { color: var(--muted); margin: -6px 0 18px; font-size: .95rem; }
.empty { background: var(--mist); border-radius: var(--radius-m); padding: 44px; text-align: center; }
@media (max-width: 860px) { .catalogue { grid-template-columns: 1fr; } .filters { position: static; } }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: start; }
.product-img { background: var(--mist); border-radius: var(--radius-m); aspect-ratio: 4/3; display: flex; position: relative; overflow: hidden; }
.product-img img { width: 100%; object-fit: contain; padding: 34px; position: relative; z-index: 1; }
.product-img .stripes { right: -30px; bottom: -40px; width: 200px; height: 200px; opacity: .35; }
.product-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.product-info .price { font-size: 1.6rem; margin: 12px 0 8px; }
.product-info .btn-row { margin: 24px 0 30px; }
.product-info .btn-row .btn { flex: 1 1 190px; padding: 15px 18px; }
.product-desc { margin-top: 56px; max-width: 72ch; }
.help-note { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 28px; } }

/* Specification table */
.plate { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.plate-title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; background: var(--charcoal); color: #fff; padding: 14px 20px; }
.plate-title strong { font-stretch: var(--wide); font-size: 1rem; }
.plate-title span { color: var(--teal-bright); font-size: .86rem; font-weight: 600; }
.plate dl { margin: 0; display: grid; grid-template-columns: minmax(130px, auto) 1fr; }
.plate dt, .plate dd { margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.plate dt { color: var(--muted); font-size: .92rem; background: #faf9f9; }
.plate dd { font-weight: 650; }
.plate dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about-grid p { max-width: 64ch; color: #3f4243; }
.about-grid ul { padding-left: 20px; }
.about-grid li { margin-bottom: 6px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 24px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--white); }
.timeline b { display: block; font-stretch: var(--wide); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.values div { background: var(--charcoal-2); color: #c4c1c1; border-radius: var(--radius-m); padding: 28px; border-top: 4px solid var(--teal); }
.values p { color: #c4c1c1; margin: 0; }
@media (max-width: 860px) { .about-grid, .values { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=url], input[type=search], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 13px; border: 1px solid #c9c5c5; border-radius: var(--radius-s); background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
textarea { min-height: 130px; resize: vertical; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { color: #b3261e; font-size: .86rem; margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--teal); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 30px; }
.panel--dark { background: var(--charcoal); border-color: var(--charcoal); color: #ddd; }
.panel--dark h2 { color: #fff; }
.panel--dark .contact-line { border-color: #3d3d3d; }
.panel--dark .contact-line small { color: #a7a4a4; }
.panel--dark .contact-line a { color: #fff; }
.panel--dark .contact-line a:hover { color: var(--teal-bright); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line svg { width: 22px; height: 22px; color: var(--teal-bright); flex: none; margin-top: 3px; }
.contact-line small { display: block; color: var(--muted); }
.contact-line a { font-weight: 650; text-decoration: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.alert { padding: 14px 16px; border-radius: var(--radius-s); margin-bottom: 20px; font-weight: 600; }
.alert--ok { background: var(--teal-tint); color: #045c60; border: 1px solid #b4dfe0; }
.alert--err { background: #f9e6e4; color: #8f2219; border: 1px solid #ecc1bc; }

/* ---------- Pagination ---------- */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; padding: 9px 13px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; }
.pager a:hover { border-color: var(--teal); }
.pager .is-current { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.pager .is-disabled { color: #aaa6a6; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal-3); color: #b9b6b6; padding: 64px 0 0; font-size: .94rem; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; position: relative; z-index: 1; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; }
.footer a { color: #e3e1e1; text-decoration: none; }
.footer a:hover { color: var(--teal-bright); }
.footer .tagline { color: var(--teal-bright); font-weight: 600; margin-top: 14px; }
.footer-call { display: block; font-weight: 700; letter-spacing: .1em; font-size: 1.05rem; }
.footer-base { border-top: 1px solid #353535; margin-top: 52px; padding: 20px 0; font-size: .84rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  background: var(--wa); color: #fff; border-radius: 99px; text-decoration: none; font-weight: 650;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
.wa-float:hover { background: #178c43; color: #fff; }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* =========================================================
   Added: language switch, tools, calculators, parts, booking
   ========================================================= */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 14px; border-radius: var(--radius-s); }
.skip-link:focus { left: 8px; color: #fff; }
.hint { color: var(--muted); font-size: .84rem; margin-top: 5px; }

.lang { display: flex; align-items: center; gap: 4px; }
.lang svg { width: 15px; height: 15px; margin-right: 4px; color: var(--teal-bright); }
.lang a { color: #b7b4b4; padding: 0 6px; }
.lang a + a { border-left: 1px solid #4a4a4a; }
.lang a.is-active { color: #fff; font-weight: 650; }
@media (max-width: 520px) { .topbar .wrap > div.lang { display: flex; } .topbar .wrap { justify-content: space-between; flex-wrap: nowrap; } }

.section--tight { padding: 56px 0; }

/* Quick tools on the home page */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px 24px 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.tool:hover { border-color: var(--teal); box-shadow: 0 10px 28px rgba(20,20,20,.08); color: var(--ink); }
.tool svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--charcoal); color: var(--teal-bright); margin-bottom: 16px; }
.tool h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tool p { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }
.tool span { margin-top: auto; color: var(--teal-dark); font-weight: 650; font-size: .93rem; border-bottom: 2px solid currentColor; align-self: flex-start; }
@media (max-width: 960px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tools { grid-template-columns: 1fr; } }

/* Tabs in the sizing guide header */
.tabs { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--radius-s); border: 2px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; font-weight: 650; }
.tab svg { width: 18px; height: 18px; color: var(--teal-bright); }
.tab:hover { border-color: #fff; color: #fff; }
.tab.is-active { background: var(--teal); border-color: var(--teal); }
.tab.is-active svg { color: #fff; }

/* Calculators */
.calc-section { scroll-margin-top: 90px; }
.calc { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.calc .lead { margin-bottom: 24px; }
.appliances { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-bottom: 26px; }
.appliance { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 9px 10px 9px 14px; transition: border-color .15s, background .15s; }
.appliance.is-on { border-color: var(--teal); background: var(--teal-tint); }
.appliance label { margin: 0; font-size: .9rem; line-height: 1.25; }
.appliance small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; }
.stepper { display: flex; align-items: center; flex: none; }
.stepper button { width: 32px; height: 34px; border: 1px solid #c9c5c5; background: #fff; font: inherit; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.stepper button:first-child { border-radius: var(--radius-s) 0 0 var(--radius-s); }
.stepper button:last-child { border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.stepper button:hover { background: var(--mist); }
.stepper input { width: 46px; height: 34px; padding: 0 4px; text-align: center; border-radius: 0; border-left: 0; border-right: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.custom-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 12px; align-items: start; background: #fff; border: 1px dashed #c9c5c5; border-radius: var(--radius-s); padding: 16px 16px 0; margin-bottom: 24px; }
@media (max-width: 640px) { .custom-row { grid-template-columns: 1fr 1fr; } }

.result { position: sticky; top: 104px; background: var(--charcoal); color: #e6e4e4; border-radius: var(--radius-m); overflow: hidden; }
.result-head { padding: 14px 22px; background: var(--charcoal-3); font-weight: 650; color: #fff; border-bottom: 3px solid var(--teal); }
.result-body { padding: 22px; }
.result-big b { display: block; font-size: 2.8rem; font-stretch: 118%; font-weight: 750; line-height: 1; color: var(--teal-bright); }
.result-big span { color: #a9a6a6; font-size: .9rem; }
.result-list { display: grid; grid-template-columns: auto 1fr; margin: 18px 0 14px; font-size: .93rem; }
.result-list dt, .result-list dd { margin: 0; padding: 8px 0; border-bottom: 1px solid #3c3c3c; }
.result-list dt { color: #a9a6a6; padding-right: 14px; }
.result-list dd { color: #fff; font-weight: 650; text-align: right; }
.result-note { color: #cfcccc; font-size: .9rem; }
.result-note:empty { display: none; }
.result-fine { color: #8f8c8c; font-size: .8rem; margin: 12px 0 0; }
.matches { display: grid; gap: 8px; margin-bottom: 14px; }
.match { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: var(--radius-s); padding: 8px 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .88rem; line-height: 1.25; }
.match:hover { outline: 2px solid var(--teal-bright); color: var(--ink); }
.match img { width: 64px; height: 48px; object-fit: contain; background: var(--mist); border-radius: 3px; flex: none; }
.match small { display: block; color: var(--petrol); font-weight: 650; margin-top: 2px; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .result { position: static; } }

/* Spare parts */
.searchbar--hero { max-width: 720px; margin: 26px 0 0; }
.searchbar--hero input { padding: 15px 16px; border: 0; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { padding: 7px 14px; border: 1px solid #c9c5c5; border-radius: 99px; text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 600; background: #fff; }
.chip:hover { border-color: var(--teal); color: var(--ink); }
.chip.is-active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.parts { display: grid; gap: 10px; }
.part { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px 20px 14px 14px; }
.part img { width: 96px; height: 72px; object-fit: contain; background: var(--mist); border-radius: var(--radius-s); padding: 4px; }
.part h2 { font-size: 1.05rem; margin: 0 0 4px; font-stretch: 104%; }
.part p { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.part p strong { color: var(--ink); }
.part-side { text-align: right; }
.part-side .price { margin: 0 0 4px; }
.part-side .btn-row { margin-top: 10px; justify-content: flex-end; }
@media (max-width: 720px) { .part { grid-template-columns: 72px 1fr; } .part img { width: 72px; height: 54px; } .part-side { grid-column: 1 / -1; text-align: left; } .part-side .btn-row { justify-content: flex-start; } }
.help-band { margin-top: 32px; background: var(--charcoal); color: #ddd; border-radius: var(--radius-m); padding: 30px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-left: 6px solid var(--teal); }
.help-band h2 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.help-band p { margin: 0; color: #bdbaba; max-width: 60ch; }
.help-band .btn--outline { border-color: rgba(255,255,255,.5); color: #fff; }
.help-band .btn--outline:hover { background: #fff; color: var(--charcoal); }

/* Service booking */
.contact-grid--wide { grid-template-columns: 1.5fr 1fr; }
@media (max-width: 860px) { .contact-grid--wide { grid-template-columns: 1fr; } }
.types { border: 0; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.types legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.type { margin: 0; cursor: pointer; }
.type input { position: absolute; opacity: 0; }
.type span { display: block; padding: 13px 14px; border: 1px solid #c9c5c5; border-radius: var(--radius-s); font-weight: 600; font-size: .94rem; transition: border-color .15s, background .15s; }
.type:hover span { border-color: var(--teal); }
.type input:checked + span { border-color: var(--teal); background: var(--teal-tint); box-shadow: inset 0 0 0 1px var(--teal); }
.type input:focus-visible + span { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
@media (max-width: 520px) { .types { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 18px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 46px; color: #bdbaba; font-size: .94rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.steps b { display: block; color: #fff; }

/* Product page extras */
.doc-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.product-help { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .95rem; }
.product-help a { font-weight: 600; }
.filters-title { font-size: .95rem; margin: 0 0 8px; font-stretch: 100%; }
.print-head { display: none; }

/* Printed spec sheet (Print or save spec sheet button) */
@media print {
  @page { margin: 14mm; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .topbar, .header, .footer, .wa-float, .no-print, .page-head, .stripes, .skip-link { display: none !important; }
  .section { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .print-head { display: flex; gap: 16px; align-items: center; border-bottom: 3px solid var(--teal); padding-bottom: 12px; margin-bottom: 18px; font-size: 10pt; }
  .print-head img { border-radius: 4px; }
  .product { grid-template-columns: 1fr 1.2fr; gap: 24px; }
  .product-img { border: 1px solid #ccc; }
  .product-info h1 { font-size: 20pt; }
  .plate-title { background: #282828 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .product-desc { margin-top: 20px; }
  a { color: #000; text-decoration: none; }
}

/* =========================================================
   Countrywide, gallery, related products, mobile polish
   ========================================================= */
.topbar-delivery svg { width: 15px; height: 15px; color: var(--teal-bright); vertical-align: -3px; margin-right: 3px; }
.footer-reach svg { width: 16px; height: 16px; color: var(--teal-bright); vertical-align: -3px; margin-right: 4px; }

.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #dedcdc; font-size: .95rem; font-weight: 550; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--teal-bright); }
.hero-call { margin-top: 22px; }

/* Ordering steps – a real sequence, so numbered */
.steps-row { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps-row li { counter-increment: st; position: relative; padding: 52px 24px 0 0; color: var(--muted); font-size: .95rem; }
.steps-row li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--charcoal); color: #fff; font-weight: 700; display: grid; place-items: center; z-index: 1; }
.steps-row li::after { content: ""; position: absolute; left: 36px; right: 0; top: 17px; height: 2px; background: linear-gradient(90deg, var(--teal) 0 40%, var(--line) 40%); }
.steps-row li:last-child::after { display: none; }
.steps-row b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; font-stretch: 104%; }
.steps-row--light li::before { background: var(--teal); }
@media (max-width: 860px) {
  .steps-row { grid-template-columns: 1fr; gap: 22px; }
  .steps-row li { padding: 0 0 0 54px; min-height: 36px; }
  .steps-row li::after { left: 17px; right: auto; top: 40px; bottom: -18px; width: 2px; height: auto; background: var(--line); }
}

/* About */
.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
@media (max-width: 900px) { .capabilities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .capabilities { grid-template-columns: 1fr; } }
.sectors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #3a3a3a; border: 2px solid #3a3a3a; border-radius: var(--radius-m); overflow: hidden; }
.sectors li { background: var(--charcoal); padding: 26px 26px 24px; color: #b5b2b2; font-size: .94rem; }
.sectors b { display: block; color: #fff; font-size: 1.08rem; margin-bottom: 6px; padding-top: 14px; border-top: 3px solid var(--teal); width: fit-content; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } }
.figures--wide { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .figures--wide { grid-template-columns: 1fr 1fr; } }
.values div h3 { color: #fff; }
.section:not(.section--dark) .values div { background: var(--charcoal); }
.range-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.range-grid a { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px; text-decoration: none; color: var(--muted); font-size: .9rem; transition: border-color .15s; }
.range-grid a:hover { border-color: var(--teal); color: var(--muted); }
.range-grid img { width: 96px; height: 72px; object-fit: contain; background: var(--mist); border-radius: var(--radius-s); flex: none; }
.range-grid b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }

/* Delivery page */
.delivery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.delivery-grid .panel > svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--charcoal); color: var(--teal-bright); margin-bottom: 14px; }
.delivery-grid p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .delivery-grid { grid-template-columns: 1fr; } }
.counties { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.counties li { background: var(--mist); border-radius: var(--radius-s); padding: 9px 12px 9px 30px; font-weight: 550; font-size: .93rem; position: relative; }
.counties li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--teal); }
.faq-wrap { max-width: 820px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Product gallery */
.gallery { min-width: 0; }
.gallery-stage { position: relative; background: var(--mist); border-radius: var(--radius-m); overflow: hidden; }
.gallery-stage .stripes { right: -30px; bottom: -40px; width: 200px; height: 200px; opacity: .35; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; z-index: 1; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4/3; border: 0; padding: 0; background: none; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; padding: 26px; }
.gallery-nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.14); transition: background .15s, transform .15s; }
.gallery-nav:hover { background: #fff; transform: scale(1.06); }
.gallery-nav--prev { left: 12px; } .gallery-nav--next { right: 12px; }
.gallery-count { position: absolute; z-index: 2; left: 14px; bottom: 12px; background: rgba(40,40,40,.82); color: #fff; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery-thumbs button { flex: 0 0 84px; aspect-ratio: 4/3; border: 2px solid transparent; border-radius: var(--radius-s); padding: 0; background: var(--mist); cursor: pointer; overflow: hidden; transition: border-color .15s; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs button:hover { border-color: #b9b5b5; }
.gallery-thumbs button.is-active { border-color: var(--teal); }
@media (max-width: 640px) { .gallery-nav { display: none; } .gallery-slide img { padding: 16px; } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20,20,20,.96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox-close, .lightbox-nav { position: fixed; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.24); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav { top: 50%; margin-top: -24px; }
.lightbox-nav--prev { left: 16px; } .lightbox-nav--next { right: 16px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge--plain { background: var(--mist); color: var(--ink); display: inline-flex; align-items: center; gap: 5px; }
.badge--plain svg { width: 14px; height: 14px; color: var(--teal-dark); }

/* Spare parts on product pages */
.part-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.part-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 12px 16px 12px 12px; transition: border-color .15s; }
.part-card:hover { border-color: #c4c0c0; }
.part-card img { width: 80px; height: 60px; object-fit: contain; background: var(--mist); border-radius: var(--radius-s); flex: none; padding: 3px; }
.part-card h3 { font-size: .98rem; margin: 0 0 3px; font-stretch: 102%; }
.part-card .card-meta { margin-bottom: 6px; }
.part-ask { display: inline-flex; align-items: center; gap: 5px; font-size: .86rem; font-weight: 650; color: #178c43; text-decoration: none; }
.part-ask:hover { color: #0f6a31; }
.part-ask svg { width: 15px; height: 15px; }

/* Sticky order bar on phones (product pages) */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .has-mobile-bar { padding-bottom: 76px; }
  .has-mobile-bar .wa-float { display: none; }
  .mobile-bar {
    display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(0,0,0,.10);
  }
  .mobile-bar-price { flex: 1; min-width: 0; }
  .mobile-bar-price small { display: block; color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar-price b { font-stretch: 106%; color: var(--petrol); }
  .mobile-bar .btn { padding: 12px 14px; }
}

/* Smoother phone browsing: two products per row, swipeable related rows */
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-img img { padding: 10px; }
  .card-body { padding: 12px 12px 14px; }
  .card h3 { font-size: .92rem; }
  .card p { display: none; }
  .card-meta { font-size: .74rem; }
  .card-meta b + span { display: none; }
  .price { font-size: .92rem; margin-bottom: 10px; }
  .card .btn-row { flex-direction: column; gap: 6px; }
  .card .btn-row .btn { padding: 9px 6px; font-size: .84rem; }
  .grid--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 0 24px 8px; scrollbar-width: none; }
  .grid--scroll::-webkit-scrollbar { display: none; }
  .grid--scroll > .card { flex: 0 0 62%; scroll-snap-align: start; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 26px; }
}

/* Gentle menu reveal on phones */
@media (max-width: 1000px) {
  .nav.is-open { animation: nav-in .18s ease-out; }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

@media print {
  .gallery-thumbs, .gallery-nav, .gallery-count, .mobile-bar, .lightbox, .stripes { display: none !important; }
  .gallery-track { overflow: visible; }
  .gallery-slide:not(:first-child) { display: none; }
  .about-grid { grid-template-columns: 1.2fr 1fr; gap: 24px; }
  .section--mist, .section--dark { background: #fff !important; color: #000; }
  .sectors li, .values div { background: #fff !important; color: #000; border: 1px solid #ccc; }
  .sectors b, .values h3 { color: #000 !important; }
}

/* =========================================================
   Premium polish & motion (Nov 2026)
   All motion is switched off for visitors who ask for reduced motion.
   ========================================================= */
:root { --ease: cubic-bezier(.2, .7, .2, 1); --shadow-lg: 0 24px 60px rgba(20,20,20,.14); --shadow-md: 0 12px 30px rgba(20,20,20,.10); }

/* Header: glassy and compact once the page scrolls */
.header { transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.header .wrap { transition: min-height .3s var(--ease); }
.header .brand img { transition: width .3s var(--ease), height .3s var(--ease); }
.header.is-scrolled { background: rgba(32,32,32,.88); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.header.is-scrolled .wrap { min-height: 68px; }
.header.is-scrolled .brand img { width: 52px; height: 52px; }
.nav a:not(.btn)::before { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover::before { transform: scaleX(1); }
.quote-link { position: relative; }
.quote-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #fff; color: var(--teal-dark); font-size: .75rem; font-weight: 800; margin-left: 2px; }
.quote-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Hero: richer light and an orchestrated entrance */
.hero { background: radial-gradient(900px 520px at 78% 38%, rgba(3,152,158,.20), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(0,85,114,.25), transparent 60%), var(--charcoal); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); letter-spacing: -0.025em; }
.showcase { box-shadow: 0 40px 80px rgba(0,0,0,.35); }
html.js .hero-tag, html.js .hero h1, html.js .hero .lead, html.js .hero .btn-row, html.js .hero-points, html.js .hero-call { animation: rise .9s var(--ease) both; }
html.js .hero h1 { animation-delay: .08s; }
html.js .hero .lead { animation-delay: .2s; }
html.js .hero .btn-row { animation-delay: .32s; }
html.js .hero-points { animation-delay: .42s; }
html.js .hero-call { animation-delay: .5s; }
html.js .hero .rule::after { animation: grow 1s var(--ease) .45s both; transform-origin: left; }
html.js .hero .showcase { animation: showcase-in 1.1s var(--ease) .15s both, float 7s ease-in-out 1.4s infinite; }
html.js .hero .stripes { animation: stripes-in 1.4s var(--ease) .25s both; }
html.js .rail-inner { animation: rise .9s var(--ease) .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes showcase-in { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes stripes-in { from { opacity: 0; transform: translate(80px, 80px); } to { opacity: 1; transform: none; } }
html.js .page-head h1, html.js .page-head p, html.js .page-head .crumbs { animation: rise .8s var(--ease) both; }
html.js .page-head p { animation-delay: .12s; }
html.js .page-head .stripes { animation: stripes-in 1.2s var(--ease) .1s both; }

/* Reveal on scroll */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease) var(--d, 0ms), transform .75s var(--ease) var(--d, 0ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js .section-head[data-reveal] .rule::after { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .25s; }
html.js .section-head[data-reveal].is-in .rule::after { transform: scaleX(1); }

/* Cards: lift and gentle zoom */
.card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d2cece; }
.card-img { position: relative; overflow: hidden; }
.card-img img { transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.btn { transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary:hover, .btn--call:hover { box-shadow: 0 8px 20px rgba(3,152,158,.30); }
.btn--wa:hover { box-shadow: 0 8px 20px rgba(31,174,84,.30); }
.btn:active { transform: translateY(0); }
.tool, .industry, .range-grid a, .brand-tile, .part-card, .rail a { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s, background .2s; }
.tool:hover, .range-grid a:hover, .part-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tool svg, .industry img { transition: transform .4s var(--ease); }
.tool:hover svg { transform: rotate(-8deg) scale(1.08); }
.industry:hover img { transform: scale(1.05); }

/* Offer flag and was-price */
.card-flag { position: absolute; left: 10px; top: 10px; background: #c0392b; color: #fff; font-size: .74rem; font-weight: 800; padding: 4px 9px; border-radius: 99px; letter-spacing: .01em; }
.price-was { color: #8d8a8a; font-weight: 500; font-size: .85em; margin-left: 6px; }
.badge--offer { background: #fbe4e1; color: #a12a1e; font-size: .8rem; vertical-align: middle; }
.section--offers { background: linear-gradient(180deg, #fff 0, var(--mist) 100%); }

/* Add-to-quote button */
.card .btn-row .btn--quote { flex: 0 0 44px; padding: 9px 0; }
.btn--quote { background: var(--mist); color: var(--ink); border-color: transparent; }
.btn--quote:hover { background: var(--charcoal); color: #fff; }
.btn--quote .q-added, .btn--quote-wide .q-added { display: none; }
.btn--quote.is-added, .btn--quote-wide.is-added { background: var(--teal-tint); color: var(--teal-dark); border-color: var(--teal); }
.btn--quote.is-added .q-add, .btn--quote-wide.is-added .q-add { display: none; }
.btn--quote.is-added .q-added, .btn--quote-wide.is-added .q-added { display: inline-flex; }
.btn--quote-wide span { display: inline-flex; align-items: center; gap: 8px; }
.product-actions .btn--quote-wide { flex: 1 1 100%; }
@media (max-width: 560px) { .hide-sm { display: none; } .card .btn-row { flex-direction: row !important; flex-wrap: wrap; } .card .btn-row .btn--wa { flex: 1 1 100%; order: -1; } .card .btn-row .btn--call, .card .btn-row .btn--quote { flex: 1 1 40%; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; background: var(--charcoal); color: #fff; padding: 12px 18px; border-radius: 99px; font-weight: 600; font-size: .93rem; box-shadow: var(--shadow-lg); transition: opacity .3s var(--ease), transform .3s var(--ease); white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--teal-bright); margin-left: 10px; }
.has-mobile-bar .toast { bottom: 92px; }

/* Brand marquee */
.brand-strip.is-marquee { display: block; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track > * { flex: 0 0 170px; }
.brand-strip.is-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.guide-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.guide-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--teal) 0 58%, var(--mist-2) 58%); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.guide-card:hover::before { transform: scaleX(1); }
.guide-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; margin-bottom: 12px; }
.guide-meta svg { width: 16px; height: 16px; color: var(--teal); }
.guide-meta span + span { padding-left: 8px; border-left: 1px solid var(--line); }
.guide-card b { font-size: 1.12rem; line-height: 1.3; font-stretch: 104%; margin-bottom: 8px; }
.guide-sum { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }
.guide-more { margin-top: auto; color: var(--teal-dark); font-weight: 650; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.guide-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.guide-card:hover .guide-more svg { transform: translateX(4px); }

.page-head--article h1 { max-width: 24ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 0; color: #bdbaba !important; font-size: .92rem; }
.article-meta > * + * { margin-left: 12px; padding-left: 12px; border-left: 1px solid #555; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article { max-width: 760px; }
.article-cover { width: 100%; border-radius: var(--radius-m); margin-bottom: 28px; }
.quick-answer { background: var(--teal-tint); border-left: 5px solid var(--teal); border-radius: var(--radius-s); padding: 18px 22px; margin-bottom: 32px; }
.quick-answer b { display: block; color: var(--teal-dark); font-size: .92rem; margin-bottom: 4px; }
.quick-answer p { margin: 0; font-size: 1.08rem; line-height: 1.6; }
.prose { font-size: 1.06rem; line-height: 1.75; color: #33373a; }
.prose h2 { font-size: 1.55rem; margin: 1.8em 0 .55em; color: var(--ink); }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .5em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--teal); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { color: var(--teal-dark); font-weight: 600; }
.prose--page { max-width: 760px; }
.article .faq-wrap { margin-top: 44px; }
.article-note { margin-top: 36px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.article-aside { position: sticky; top: 100px; display: grid; gap: 14px; }
.aside-box { background: var(--charcoal); color: #d6d3d3; border-radius: var(--radius-m); padding: 22px; }
.aside-box h2 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.aside-box p { font-size: .92rem; color: #bdbaba; }
.aside-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.aside-link svg { width: 16px; height: 16px; }
.aside-product { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: var(--radius-s); padding: 8px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: .92rem; }
.aside-product img { width: 72px; height: 54px; object-fit: contain; background: var(--mist); border-radius: 3px; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } .article-aside { position: static; } }

/* Product page: description + FAQs + guides */
.product-more { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; margin-top: 56px; align-items: start; }
.product-more .product-desc { margin-top: 0; }
.product-more .faq-wrap { margin-top: 40px; }
.product-guides h2 { font-size: 1.15rem; margin-bottom: 12px; }
.product-guides .guide-card { margin-bottom: 12px; padding: 18px; }
@media (max-width: 900px) { .product-more { grid-template-columns: 1fr; gap: 32px; } }

/* Installations */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.project-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.project-img { aspect-ratio: 4/3; background: var(--mist); overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-img img { transform: scale(1.05); }
.project-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.project-meta { font-size: .82rem; color: var(--teal-dark); font-weight: 650; }
.project-meta span { color: var(--muted); font-weight: 500; margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line); }
.project-sum { color: var(--muted); font-size: .92rem; }
.project-photos { display: grid; gap: 10px; margin-bottom: 28px; }
.project-photos img { width: 100%; border-radius: var(--radius-m); }
.testimonial { margin: 32px 0 0; padding: 26px 28px; background: var(--charcoal); color: #fff; border-radius: var(--radius-m); position: relative; }
.testimonial::before { content: "“"; position: absolute; left: 18px; top: -6px; font-size: 5rem; line-height: 1; color: var(--teal-bright); font-family: Georgia, serif; }
.testimonial p { font-size: 1.15rem; line-height: 1.6; margin: 10px 0 12px; }
.testimonial cite { color: var(--teal-bright); font-style: normal; font-weight: 600; font-size: .92rem; }

/* Credentials */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cert { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.cert[href]:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.cert-img { aspect-ratio: 4/3; background: var(--mist); border-radius: var(--radius-s); display: grid; place-items: center; margin-bottom: 10px; overflow: hidden; }
.cert-img img { width: 100%; height: 100%; object-fit: contain; }
.cert-img svg { width: 48px; height: 48px; color: var(--teal); }
.cert small { color: var(--muted); }

/* Quote list page */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.quote-grid form { position: sticky; top: 100px; }
.quote-title { font-size: 1.3rem; }
.quote-title span { color: var(--muted); font-weight: 500; }
.quote-row { display: grid; grid-template-columns: 88px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: rise .4s var(--ease) both; }
.quote-row:last-child { border-bottom: 0; }
.quote-row img { width: 88px; height: 66px; object-fit: contain; background: var(--mist); border-radius: var(--radius-s); }
.quote-name { display: block; font-weight: 650; color: var(--ink); text-decoration: none; line-height: 1.3; }
.quote-name:hover { color: var(--teal-dark); }
.quote-price { font-size: .86rem; color: var(--petrol); font-weight: 600; }
.quote-remove { border: 0; background: none; color: #a3261c; cursor: pointer; padding: 8px; border-radius: var(--radius-s); }
.quote-remove:hover { background: #fbeceb; }
.quote-remove svg { width: 18px; height: 18px; }
.quote-empty { text-align: center; padding: 30px 10px; }
.quote-empty svg { width: 48px; height: 48px; color: var(--teal); margin-bottom: 10px; }
.quote-loading { color: var(--muted); }
form.is-disabled .field, form.is-disabled .field-row { opacity: .55; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } .quote-grid form { position: static; } .quote-row { grid-template-columns: 64px 1fr; } .quote-row img { width: 64px; height: 48px; } .quote-row .stepper { grid-column: 2; } .quote-row .quote-remove { grid-column: 2; justify-self: start; } }

/* Footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: #bdbaba; }

/* Empty state */
.empty h2 { font-size: 1.4rem; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Card action row: icon-only Call and Add-to-quote, WhatsApp takes the space */
.quote-count[hidden] { display: none; }
.card .btn-row { flex-wrap: nowrap; }
.card .btn-row .btn--call { flex: 0 0 44px; padding: 10px 0; }
.card .btn-row .btn--wa { flex: 1 1 auto; }
.card .hide-sm { display: none; }
@media (max-width: 560px) {
  .card .btn-row { flex-wrap: wrap; }
  .card .btn-row .btn--wa { flex: 1 1 100%; }
  .card .btn-row .btn--call, .card .btn-row .btn--quote { flex: 1 1 40%; }
}
.product-more .faq-wrap h2, .article .faq-wrap h2 { font-size: 1.6rem; }
.aside-box .btn--outline { border-color: rgba(255,255,255,.45); color: #fff; }
.aside-box .btn--outline:hover { background: #fff; color: var(--charcoal); }
.filters-summary { display: none; }
.filters > summary::-webkit-details-marker { display: none; }
.quote-mini { display: none; position: relative; color: #fff; padding: 9px; border: 2px solid #555; border-radius: var(--radius-s); margin-left: auto; }
.quote-mini svg { width: 20px; height: 20px; display: block; }
.quote-mini .quote-count { position: absolute; top: -8px; right: -8px; background: var(--teal); color: #fff; }
@media (max-width: 1000px) {
  .quote-mini { display: block; }
  .quote-mini + .nav-toggle { margin-left: 8px; }
}
@media (max-width: 860px) {
  .filters { padding: 0; }
  .filters-summary { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 650; cursor: pointer; list-style: none; }
  .filters-summary svg { width: 18px; height: 18px; color: var(--teal); }
  .filters-summary .badge { margin-left: auto; }
  .filters[open] .filters-summary { border-bottom: 1px solid var(--line); }
  .filters > :not(summary) { margin-left: 18px; margin-right: 18px; }
  .filters > .filters-title:first-of-type { margin-top: 16px; }
}
@media (max-width: 420px) {
  .header .wrap { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 48px; height: 48px; }
  .brand strong { font-size: .9rem; white-space: nowrap; }
  .nav-toggle { padding: 8px 10px; }
}
