/* ==========================================================================
   CANTER - Suvega Innovations
   Palette is taken from the brand logo: blue gradient + green accent on deep navy.
   ========================================================================== */

:root {
  --blue-500: #1388da;
  --blue-600: #0a5c9e;
  --blue-700: #0a4f86;
  --blue-800: #083c66;
  --green-400: #7cc24f;
  --green-600: #3f8a33;
  --navy-900: #0d1822;
  --navy-800: #14202a;
  --ink: #1f2a30;
  --muted: #5b6b77;
  --line: #e1e8ee;
  --soft: #f3f7fa;
  --white: #fff;
  --danger: #c0392b;

  --font-head: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(13, 24, 34, 0.08);
  --shadow: 0 10px 30px -12px rgba(13, 24, 34, 0.22);
  --shadow-lg: 0 24px 50px -20px rgba(13, 24, 34, 0.35);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 0.5em; letter-spacing: 0.005em; color: var(--navy-800); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.small { font-size: 0.875rem; color: var(--muted); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--blue-700); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2; cursor: pointer; text-decoration: none !important;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(10, 92, 158, 0.7); }
.btn--primary:hover { background: var(--blue-700); }
.btn--accent { background: var(--green-400); color: #0d2a0a; box-shadow: 0 8px 20px -8px rgba(124, 194, 79, 0.8); }
.btn--accent:hover { background: #8ed15f; }
.btn--outline { border-color: var(--blue-600); color: var(--blue-600); background: transparent; }
.btn--outline:hover { background: var(--blue-600); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--whatsapp { background: #25d366; color: #05361a; }
.btn--whatsapp:hover { background: #1fbd5a; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.link-arrow .ico { transition: transform 0.2s; }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-btn { background: none; border: 0; color: var(--blue-600); font-weight: 600; cursor: pointer; padding: 0.5rem; text-decoration: underline; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #cfdbe5; font-size: 0.825rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__group { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 0.45rem; color: inherit; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar .ico { color: var(--green-400); }
.topbar .topbar__parent { gap: 0.55rem; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9db3c5; }
.topbar .topbar__parent img { height: 22px; width: auto; }
.topbar .topbar__loc { display: none; }
@media (min-width: 1100px) {
  .topbar .topbar__parent { display: none; }
  .topbar .topbar__loc { display: inline-flex; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(13, 24, 34, 0.45); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 1rem; }
.header__brands { display: flex; align-items: center; min-width: 0; }
.brand { display: block; flex: none; }
.brand img { height: 64px; width: auto; }
.brand-parent {
  display: none; align-items: center; gap: 0.7rem; margin-left: 1.5rem; padding-left: 1.5rem; border-left: 1px solid var(--line);
  color: var(--muted); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2;
}
.brand-parent:hover { text-decoration: none; color: var(--blue-600); }
.brand-parent img { height: 44px; width: auto; }
@media (min-width: 1100px) { .brand-parent { display: flex; } }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a:not(.btn) {
  position: relative; padding: 0.55rem 0.95rem; color: var(--navy-800); font-weight: 600; font-size: 0.95rem; border-radius: 8px;
}
.nav a:not(.btn):hover { color: var(--blue-600); text-decoration: none; background: var(--soft); }
.nav a[aria-current='page']:not(.btn) { color: var(--blue-600); }
.nav a[aria-current='page']:not(.btn)::after {
  content: ''; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 2px; height: 3px; border-radius: 3px; background: var(--green-400);
}
.nav__cta { margin-left: 0.6rem; }

.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; border-radius: 8px; color: var(--navy-800); cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }
.nav-toggle .ico--close { display: none; }
.header.is-open .nav-toggle .ico--open { display: none; }
.header.is-open .nav-toggle .ico--close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(19, 136, 218, 0.42), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(124, 194, 79, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy-900), #0f2b44 60%, var(--blue-800));
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero__lead { font-size: 1.15rem; color: #c9d8e4; max-width: 38em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 2rem; color: #dce7f0; font-size: 0.925rem; }
.hero__chips li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__chips .ico { color: var(--green-400); }
.hero__art img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 0.9rem;
}
.eyebrow--light { color: var(--green-400); }

/* ---------- Stats ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2rem 1.25rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 3.2rem; line-height: 1; color: var(--blue-600); font-weight: 800; }
.stat strong small { font-size: 1.5rem; font-weight: 700; color: var(--green-600); }
.stat > span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- Parent company band ---------- */
.parent-band { background: var(--soft); border-bottom: 1px solid var(--line); }
.parent-band__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.parent-band__logo {
  display: grid; place-items: center; padding: 2rem 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.parent-band__logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.parent-band__logo img { width: min(320px, 100%); height: auto; }
.parent-band__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 0.4rem; }
.parent-band__copy p { color: var(--muted); max-width: 40rem; }
.parent-band__copy .eyebrow { margin-bottom: 0.4rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--soft { background: var(--soft); }
.section--dark { background: linear-gradient(135deg, var(--navy-900), #0f2b44); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.075rem; }
.section__head--light p { color: #b9cad8; }

.grid { display: grid; gap: 1.75rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }

/* ---------- Product cards ---------- */
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card__media { display: block; aspect-ratio: 400 / 260; background: var(--soft); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.product-card__body h3 { margin-bottom: 0.4rem; }
.product-card__body h3 a { color: inherit; }
.product-card__body h3 a:hover { color: var(--blue-600); text-decoration: none; }
.product-card__body > p { color: var(--muted); font-size: 0.95rem; }
.product-card__body > .btn, .product-card__body > .link-arrow { margin-top: auto; align-self: flex-start; }

.tag {
  align-self: flex-start; display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.tag--cpvc { background: #fbf1d4; color: #7a5b0c; }
.tag--upvc { background: #e0eefa; color: var(--blue-700); }
.tag--swr { background: #e4eef0; color: #35505b; }

.ticks { margin: 0.25rem 0 1.4rem; display: grid; gap: 0.4rem; font-size: 0.9rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.35em; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--green-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a0a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Features ---------- */
.feature { background: #fff; padding: 2rem 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.feature:hover { border-color: var(--blue-500); box-shadow: var(--shadow); transform: translateY(-3px); }
.feature h3 { margin-bottom: 0.35rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.feature__icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}
.feature__icon .ico { width: 26px; height: 26px; }

.apps .app {
  text-align: center; padding: 1.75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: all 0.2s;
}
.apps .app:hover { background: var(--blue-700); border-color: var(--blue-700); transform: translateY(-3px); }
.apps .app .ico { width: 36px; height: 36px; margin: 0 auto 0.8rem; color: var(--blue-600); transition: color 0.2s; }
.apps .app h3 { font-size: 1.35rem; margin-bottom: 0.15rem; transition: color 0.2s; }
.apps .app p { margin: 0; font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.apps .app:hover .ico { color: var(--green-400); }
.apps .app:hover h3 { color: #fff; }
.apps .app:hover p { color: #c6d6e3; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; counter-reset: s; margin-bottom: 3rem; }
.steps li { position: relative; padding: 2rem 1.75rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); }
.steps__n {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 50%;
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; background: var(--green-400); color: #0d2a0a;
}
.steps p { margin: 0; color: #b9cad8; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(100deg, var(--blue-700), var(--blue-500)); color: #fff; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 3rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 0.3rem; }
.cta-band p { margin: 0; color: #dcecf9; max-width: 40rem; }
.cta-band__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #aebccb; font-size: 0.925rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr; gap: 2.5rem; padding-block: 4rem 3rem; }
.footer h3 { color: #fff; font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: #aebccb; }
.footer a:hover { color: #fff; }
.footer ul { display: grid; gap: 0.6rem; }
.footer__canter { height: 64px; width: auto; margin-bottom: 1rem; }
.footer__parent {
  display: grid; justify-items: start; gap: 0.6rem; margin-top: 1.5rem; padding: 1.1rem 1.25rem; max-width: 20rem;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); color: #aebccb;
}
.footer__parent:hover { text-decoration: none; border-color: rgba(255, 255, 255, 0.35); }
.footer__parent-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-400); }
.footer__parent img { height: 53px; width: auto; }
.footer__parent-text { font-size: 0.8rem; line-height: 1.5; }
.footer__contact li { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer__contact .ico { margin-top: 0.2em; color: var(--green-400); }
.footer__contact strong { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; font-size: 0.825rem; }

.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px;
  border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.7); transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); text-decoration: none; }
.wa-float .ico { width: 30px; height: 30px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  color: #fff; padding-block: clamp(3rem, 6vw, 4.75rem);
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(19, 136, 218, 0.45), transparent 65%),
    linear-gradient(135deg, var(--navy-900), #0f2b44 70%, var(--blue-800));
}
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 0.3em; }
.page-hero p:last-child { margin: 0; color: #c0d0de; font-size: 1.1rem; max-width: 40rem; }

/* ---------- Products page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.5rem; }
.chip {
  padding: 0.55rem 1.25rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chip.is-active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.note { margin-top: 2.5rem; text-align: center; color: var(--muted); font-size: 0.9rem; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--blue-700); color: #fff; font-family: var(--font-head); font-size: 1.3rem; letter-spacing: 0.04em; border: 0; }
.compare tbody th { width: 22%; color: var(--navy-800); font-weight: 600; background: var(--soft); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.yes { color: var(--green-600); font-weight: 700; }
.no { color: var(--danger); font-weight: 700; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.logo-card {
  display: grid; justify-items: center; gap: 1rem; padding: 3rem 2rem; text-align: center; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, #fff, var(--soft)); box-shadow: var(--shadow);
}
.logo-card img { width: min(320px, 100%); height: auto; }
.logo-card p { margin: 0; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; }

.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: var(--shadow-sm); }
.person__avatar {
  display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 1rem; border-radius: 50%; color: #fff;
  font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--green-400);
}
.person h3 { margin-bottom: 0; }
.person__role { color: var(--green-600); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; }
.person > p:not(.person__role) { color: var(--muted); font-size: 0.95rem; }
.person a { font-size: 0.9rem; font-weight: 500; word-break: break-all; }

.locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: stretch; }
.location { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.location p { color: var(--muted); margin: 0; }
.location__cta { padding: 2rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); color: #fff; }
.location__cta h3 { color: #fff; }
.location__cta p { color: #dcecf9; }
.location__cta .btn { background: #fff; color: var(--blue-700); box-shadow: none; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr); gap: 2.5rem; align-items: start; }
.contact > * { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact__form { padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-head h2 { margin-bottom: 0.2rem; }
.form-head p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.req { color: var(--danger); }

.field { display: block; margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; margin-bottom: 0.4rem; padding: 0; font-weight: 600; font-size: 0.9rem; color: var(--navy-800); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1.25rem; }

input[type='text'], input[type='tel'], input[type='email'], input[type='number'], select, textarea {
  width: 100%; padding: 0.8rem 0.95rem; background: #fff; border: 1.5px solid #cfd9e1; border-radius: var(--radius-sm); transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; min-height: 130px; }
select { appearance: none; padding-right: 2.4rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b77' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1.1rem; }
input:hover, select:hover, textarea:hover { border-color: #a9bac7; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(19, 136, 218, 0.18); }
[aria-invalid='true'] { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.12) !important; }

.error { min-height: 1.1em; margin: 0.3rem 0 0; font-size: 0.8rem; color: var(--danger); }
.field__meta { display: flex; justify-content: space-between; gap: 1rem; }
.counter { margin-top: 0.3rem; font-size: 0.78rem; color: var(--muted); white-space: nowrap; }

.input-group { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0.5rem; }

.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.65rem; }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card span {
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem; height: 100%; padding: 0.95rem 0.5rem; text-align: center;
  border: 1.5px solid #cfd9e1; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all 0.2s;
}
.type-card .ico { width: 22px; height: 22px; color: var(--blue-600); }
.type-card span:hover { border-color: var(--blue-500); background: var(--soft); }
.type-card input:checked + span { border-color: var(--blue-600); background: #e9f3fb; color: var(--blue-700); box-shadow: 0 0 0 3px rgba(19, 136, 218, 0.18); }
.type-card input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-block; padding: 0.45rem 0.95rem; border: 1.5px solid #cfd9e1; border-radius: 999px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s; user-select: none; }
.chip-check span:hover { border-color: var(--blue-500); }
.chip-check input:checked + span { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 0.5rem; }
.form-note { margin: 0; color: var(--muted); font-size: 0.8rem; flex: 1; min-width: 200px; }
.btn.is-loading .ico { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.alert { margin-top: 1.25rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.9rem; }
.alert--error { background: #fdecea; border: 1px solid #f3b8b1; color: #86261b; }

.result { text-align: center; padding: 2rem 0.5rem; }
.result:focus { outline: none; }
.result__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--green-400); color: #0d2a0a; animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1); }
.result__icon .ico { width: 36px; height: 36px; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
.result p { max-width: 30rem; margin-inline: auto; color: var(--muted); }
.result__ref { font-size: 0.9rem; }
.result__ref strong { color: var(--navy-800); letter-spacing: 0.05em; }
.result__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0 0.75rem; }

.contact__info { display: grid; gap: 1rem; position: sticky; top: 96px; }
.status {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1.1rem; border-radius: var(--radius-sm); background: var(--soft);
  border: 1px solid var(--line); font-size: 0.875rem; font-weight: 500;
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa9b5; flex: none; }
.status[data-state='open'] { background: #eef8e8; border-color: #cfe8bf; color: #2b5d22; }
.status[data-state='open'] .status__dot { background: #34a024; box-shadow: 0 0 0 0 rgba(52, 160, 36, 0.6); animation: pulse 1.8s infinite; }
.status[data-state='closed'] { background: #fff6e6; border-color: #f2dcab; color: #7a5410; }
.status[data-state='closed'] .status__dot { background: #e0a021; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 160, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 160, 36, 0); } }

.info-card { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-card__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #e9f3fb; color: var(--blue-600); }
.info-card > div { min-width: 0; }
.info-card a, .info-card p { overflow-wrap: anywhere; }
.info-card h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.info-card p { margin: 0; color: var(--muted); font-size: 0.925rem; }
.info-card p + p { margin-top: 0.15rem; }
.info-card a { font-weight: 500; }

.map { height: 380px; background: var(--soft); border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.notfound__code { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--blue-500), var(--green-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Landing / detail pages ---------- */
.breadcrumb { margin-bottom: 1.25rem; font-size: 0.85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.35rem; opacity: 0.5; }
.breadcrumb a { color: #9fc4e3; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }
.page-hero .hero__actions { margin-top: 1.5rem; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.prose p, .prose li { color: #3d4c57; }
.prose .ticks { margin: 0.25rem 0 1rem; gap: 0.55rem; font-size: 1rem; }
.prose .ticks--lg { gap: 0.8rem; }
.prose .ticks li { padding-left: 1.9rem; }
.prose .ticks li::before { width: 1.15rem; height: 1.15rem; top: 0.3em; }
.prose .small { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.two-col > div { padding: 1.25rem 1.4rem; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.two-col p { margin: 0; font-size: 0.95rem; }
.numbered { counter-reset: n; display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.numbered li { position: relative; padding-left: 2.6rem; counter-increment: n; }
.numbered li::before {
  content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--blue-600); color: #fff; font-weight: 700; font-size: 0.85rem;
}
.callout { margin: 1.5rem 0; padding: 1.1rem 1.3rem; border-left: 4px solid var(--green-400); background: #f1f8ec; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #2f4a27; }
.callout a { font-weight: 600; }

.detail__aside { position: sticky; top: 96px; display: grid; gap: 1.25rem; }
.aside-card { display: grid; gap: 0.75rem; padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.aside-card h3 { margin: 0; }
.aside-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.aside-card--soft { background: var(--soft); box-shadow: none; }
.aside-links { display: grid; gap: 0.5rem; font-weight: 500; }

.faq-wrap { max-width: 52rem; }
.faq { display: grid; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.2s, box-shadow 0.2s; }
.faq details[open] { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.faq summary { position: relative; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 600; cursor: pointer; list-style: none; color: var(--navy-800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 1.2rem; top: 50%; width: 0.6rem; height: 0.6rem; margin-top: -0.45rem;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -0.15rem; }
.faq details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); }

.hero h1 .hl { color: var(--green-400); }
.hero h1 .kicker {
  display: block; margin-bottom: 0.6rem; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #9fc4e3;
}

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .detail__aside { position: static; grid-template-columns: 1fr 1fr; }
  .contact__info { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .status { grid-column: 1 / -1; }
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0.15rem; padding: 0.75rem 1.25rem 1.25rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(13, 24, 34, 0.4);
    transform-origin: top; transform: scaleY(0.96); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .header.is-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 0.85rem 0.5rem; }
  .nav a[aria-current='page']:not(.btn)::after { display: none; }
  .nav__cta { margin: 0.5rem 0 0; }
  .topbar .topbar__loc { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; margin-inline: auto; }
  .grid--3, .steps, .locations { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .grid--3, .steps, .locations, .row, .contact__info { grid-template-columns: minmax(0, 1fr); }
  .grid--5 { grid-template-columns: 1fr 1fr; }
  .two-col, .detail__aside { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem 2rem; }
  .topbar .topbar__email { display: none; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
  .brand img { height: 52px; }
  .header__inner { min-height: 76px; }
  .parent-band__inner { grid-template-columns: 1fr; }
  .parent-band__logo { padding: 1.5rem; }
  .map { height: 300px; }
}

/* ---------- Product photography ---------- */
.hero__art--photo img {
  aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 92%; border-radius: 22px; filter: none;
  /* The photo has fine lettering: a transform animation (the .hero__art img float) lands it on fractional
     pixels and re-samples/blurs it on every frame, so keep it static. */
  animation: none; transform: none;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.figure { margin: 0 0 1.75rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); box-shadow: var(--shadow-sm); }
.figure img { display: block; width: 100%; height: auto; }
.figure figcaption { padding: 0.6rem 1rem; font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- Extra grids ---------- */
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
/* Products listing: 8 cards -> two even rows of four on wide screens */
@media (min-width: 1025px) { .products.grid--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tag--elec { background: #e6f4dc; color: #2f5f1a; }

/* ---------- Spec tables ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.compare--spec { min-width: 0; }
.compare--spec tbody th { width: 38%; }
.compare--dims { min-width: 640px; }
.compare--dims th, .compare--dims td { padding: 0.8rem 1rem; text-align: center; font-size: 0.95rem; }
.compare--dims thead th { font-size: 1.1rem; }
.compare--dims tbody th { width: auto; background: var(--soft); }
.compare--dims .grp { background: var(--navy-800); color: #fff; font-family: var(--font-head); letter-spacing: 0.06em; font-size: 1.05rem; }
.prose .table-wrap { margin: 0.5rem 0 1.25rem; }
.table-note { margin-top: 0.75rem; color: var(--muted); font-size: 0.85rem; }

/* ---------- Electrical conduit ---------- */
.grade-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grade {
  position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.6rem 1.6rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.grade::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--g, var(--blue-500)); }
.grade:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.grade--l { --g: var(--blue-500); }
.grade--m { --g: var(--green-400); }
.grade--h { --g: var(--navy-800); }
.grade__code { font-family: var(--font-head); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--navy-800); letter-spacing: 0.04em; }
.grade__name { margin: 0.2rem 0 0.9rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.grade__meter { display: flex; gap: 4px; margin-bottom: 1rem; }
.grade__meter i { flex: 1; height: 8px; border-radius: 4px; background: #e3eaf0; }
.grade__meter i.on { background: var(--g); }
.grade p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.95rem; }
.grade .ticks { margin: auto 0 0; font-size: 0.9rem; }
.grade__link { margin-top: 1rem; }

.split--rev { grid-template-columns: 0.95fr 1.05fr; }
.mini-grades { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0 1.5rem; }
.mini-grades li {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.875rem; color: var(--muted); box-shadow: var(--shadow-sm);
}
.mini-grades strong { font-family: var(--font-head); font-size: 1.25rem; letter-spacing: 0.05em; color: var(--navy-800); }
.mini-grades li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--g, var(--blue-500)); }
.mini-grades .g-l { --g: var(--blue-500); }
.mini-grades .g-m { --g: var(--green-400); }
.mini-grades .g-h { --g: var(--navy-800); }

.small-note { color: var(--muted); font-size: 0.95rem; }
.range-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0.5rem 0 1.25rem; }
.range-list > div { padding: 1.1rem 1.25rem; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.range-list h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.range-list p { margin: 0; font-size: 0.92rem; }

/* ---------- Manufacturing process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: p; }
.process li { position: relative; padding: 1.75rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); counter-increment: p; }
.process li::before {
  content: '0' counter(p); display: block; margin-bottom: 0.6rem; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--blue-500);
}
.process li:not(:last-child)::after {
  content: ''; position: absolute; top: 2.2rem; right: -1.1rem; width: 0.8rem; height: 0.8rem; border-top: 2px solid var(--green-400); border-right: 2px solid var(--green-400); transform: rotate(45deg);
}
.process h3 { margin-bottom: 0.3rem; font-size: 1.35rem; }
.process p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- FAQ page ---------- */
.faq-group + .faq-group { margin-top: 2.75rem; }
.faq-group > h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.faq-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.faq-nav a { padding: 0.45rem 1rem; border: 1.5px solid #cfd9e1; border-radius: 999px; font-size: 0.875rem; font-weight: 600; color: var(--navy-800); background: #fff; }
.faq-nav a:hover { border-color: var(--blue-500); color: var(--blue-700); text-decoration: none; }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process li::after { display: none; }
}
@media (max-width: 899px) {
  .grade-grid { grid-template-columns: minmax(0, 1fr); }
  .split--rev { grid-template-columns: minmax(0, 1fr); }
  .hero__art--photo img { aspect-ratio: 4 / 3; object-position: 50% 85%; }
}
@media (max-width: 640px) {
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process, .range-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Market colours, size tables ---------- */
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.table-title { margin: 2.25rem 0 0.75rem; font-size: 1.35rem; }
.grid--2 > div > .table-title { margin-top: 0; }
.compare--narrow { min-width: 0; }
.compare--wide { min-width: 760px; }
.dot { display: inline-block; width: 0.85em; height: 0.85em; margin-right: 0.45rem; border-radius: 50%; vertical-align: -0.1em; background: var(--c, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.dot--tan { --c: #dcc59c; }
.dot--red { --c: #d63b2c; }
.dot--brown { --c: #7b4b2a; }
.dot--grey { --c: #b4bdc5; }
.mini-grades .g-tan { --g: #d4b985; }
.mini-grades .g-grey { --g: #a9b3bc; }
.compare--dims .dash { color: #9aa8b4; }
@media (max-width: 899px) {
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
