/* ============================================================
   Performance Fiberglass Products — site stylesheet
   Modern, responsive, dependency-free (system font stack)
   ============================================================ */

:root {
  --clr-ink: #141a22;
  --clr-body: #3d4753;
  --clr-muted: #6a7684;
  --clr-red: #c8102e;
  --clr-red-dark: #9d0c23;
  --clr-red-soft: #fdeef0;
  --clr-bg: #f5f6f8;
  --clr-surface: #ffffff;
  --clr-line: #e2e6eb;
  --clr-dark: #10151c;
  --clr-dark-2: #1a222c;
  --clr-gold: #f5b301;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 21, 28, .06), 0 8px 24px rgba(16, 21, 28, .07);
  --shadow-lg: 0 2px 6px rgba(16, 21, 28, .08), 0 16px 40px rgba(16, 21, 28, .12);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--clr-body);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--clr-ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { color: var(--clr-ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 3.5rem; }
.section--tight { padding-block: 2.25rem; }

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: .5rem; top: -3rem; z-index: 100;
  background: var(--clr-red); color: #fff; padding: .55rem 1rem; border-radius: 0 0 6px 6px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .8rem 1.6rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; border: 2px solid transparent;
  cursor: pointer; transition: background .18s ease, color .18s ease, transform .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--clr-red); color: #fff; }
.btn--primary:hover { background: var(--clr-red-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { border-color: var(--clr-red); color: var(--clr-red); background: transparent; }
.btn--outline:hover { background: var(--clr-red-soft); color: var(--clr-red-dark); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--clr-dark); color: #b9c2cc; font-size: .82rem;
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: .45rem; flex-wrap: wrap;
}
.topbar a { color: #d7dde4; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar__links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.topbar__phone { white-space: nowrap; }
.topbar__phone strong { color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--clr-dark); color: #fff; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: .9rem;
}
.brand { display: flex; align-items: center; gap: .85rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 58px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 1.28rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.brand__tag { font-size: .78rem; color: #9fb2c5; letter-spacing: .02em; }
.header__cta { display: flex; align-items: center; gap: .8rem; }
.header__phone { text-align: right; line-height: 1.3; }
.header__phone .label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #9fb2c5; }
.header__phone .num { font-weight: 700; font-size: 1.06rem; color: #fff; white-space: nowrap; }

/* ---------- Navigation ---------- */
.nav {
  background: var(--clr-dark-2);
  border-top: 1px solid rgba(255,255,255,.08);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__list {
  display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 0;
}
.nav__list a {
  display: block; padding: .85rem 1.05rem; color: #cfd8e1; font-weight: 600; font-size: .94rem;
  text-decoration: none; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s, background .15s;
  white-space: nowrap;
}
.nav__list a:hover { color: #fff; background: rgba(255,255,255,.05); text-decoration: none; }
.nav__list a[aria-current="page"] {
  color: #fff; border-bottom-color: var(--clr-red);
}
.nav__toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: .5rem .9rem; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer;
  margin-block: .5rem;
}
.nav__toggle:hover { background: rgba(255,255,255,.08); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-block; }
  .nav__list { display: none; width: 100%; flex-direction: column; }
  .nav__list.is-open { display: flex; }
  .nav__list a { border-bottom: 1px solid rgba(255,255,255,.06); border-left: 3px solid transparent; }
  .nav__list a[aria-current="page"] { border-left-color: var(--clr-red); border-bottom-color: rgba(255,255,255,.06); }
  .header__phone { display: none; }
  .brand__text { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(200, 16, 46, .28), transparent 60%),
    linear-gradient(160deg, #10151c 0%, #1a222c 55%, #232e3b 100%);
  color: #dfe5ec;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image:
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%),
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%);
  background-size: 44px 44px;
  background-position: 0 0, 22px 22px;
}
.hero__inner { padding-block: 4.25rem 4.5rem; position: relative; }
.hero__kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #ff8fa2; margin-bottom: 1rem;
}
.hero h1 { color: #fff; max-width: 21ch; margin-bottom: .5em; }
.hero h1 .accent { color: #ff4d63; }
.hero p { max-width: 62ch; font-size: 1.08rem; color: #c3ccd6; }
.hero__actions { display: flex; gap: .9rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero__badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2.1rem; }
.hero__badges span {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: #d7dde4;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .35rem .85rem;
  background: rgba(255,255,255,.04);
}

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(160deg, #10151c 0%, #1a222c 60%, #232e3b 100%);
  color: #dfe5ec; padding-block: 3rem 2.6rem;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; max-width: 24ch; }
.page-hero p { color: #b7c1cc; max-width: 70ch; margin: 0; font-size: 1.05rem; }
.page-hero .crumbs { margin-bottom: 1.4rem; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .85rem; color: var(--clr-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.crumbs li { display: flex; gap: .35rem; margin: 0; }
.crumbs li + li::before { content: "›"; color: #9aa4b0; }
.crumbs a { color: var(--clr-muted); text-decoration: none; }
.crumbs a:hover { color: var(--clr-red); text-decoration: underline; }
.page-hero .crumbs, .page-hero .crumbs a { color: #9aa7b4; }
.page-hero .crumbs a:hover { color: #fff; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: #e9edf1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__body h3 { margin: 0; }
.card__body h3 a { color: var(--clr-ink); }
.card__body h3 a:hover { color: var(--clr-red); text-decoration: none; }
.card__body p { margin: 0; font-size: .95rem; }
.card__more { margin-top: auto; padding-top: .8rem; font-weight: 600; font-size: .92rem; }
.card__more a { color: var(--clr-red); }

/* Feature cards (icon-free, number/text driven) */
.feature {
  background: var(--clr-surface); border: 1px solid var(--clr-line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.35rem; box-shadow: var(--shadow);
}
.feature h3 { margin-bottom: .45rem; }
.feature p { margin: 0; font-size: .95rem; }
.feature__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.3rem; height: 2.3rem; border-radius: 8px; margin-bottom: .9rem;
  background: var(--clr-red-soft); color: var(--clr-red); font-weight: 800; font-size: 1.05rem;
}

/* ---------- Split sections (text + image) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.split--rev { direction: rtl; }
.split--rev > * { direction: ltr; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 1.8rem; }
  .split--rev { direction: ltr; }
}

/* ---------- Specs table ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--clr-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--clr-line); font-size: .95rem; }
.spec-table thead th { background: var(--clr-dark); color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.spec-table tbody tr:nth-child(even) { background: #fafbfc; }
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table td:first-child { font-weight: 600; color: var(--clr-ink); }

/* ---------- Product spec cards ---------- */
.spec-card { background: var(--clr-surface); border: 1px solid var(--clr-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.spec-card__media { background: #e9edf1; }
.spec-card__media img { width: 100%; height: auto; }
.spec-card__body { padding: 1.1rem 1.2rem 1.25rem; }
.spec-card__body h3 { margin: 0 0 .5rem; font-size: 1.12rem; }
.spec-card__body ul { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.spec-card__body li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--clr-line); padding-block: .32rem; }
.spec-card__body li:last-child { border-bottom: 0; }
.spec-card__body li span:first-child { color: var(--clr-muted); }
.spec-card__body li span:last-child { font-weight: 600; color: var(--clr-ink); text-align: right; }

/* ---------- Resource list (resources page) ---------- */
.res-list { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: .9rem; }
.res-list li {
  background: var(--clr-surface); border: 1px solid var(--clr-line); border-radius: var(--radius-lg);
  padding: 1.05rem 1.3rem; box-shadow: var(--shadow); font-size: .95rem;
}
.res-list a { font-weight: 700; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li {
  position: relative; padding-left: 2rem; margin-bottom: .65rem; 
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.05em; height: 1.05em;
  background: var(--clr-red); border-radius: 3px; 
  clip-path: polygon(0 45%, 12% 45%, 40% 70%, 88% 18%, 100% 30%, 40% 96%);
}

/* ---------- Series chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips span {
  background: var(--clr-surface); border: 1px solid var(--clr-line); color: var(--clr-ink);
  font-weight: 600; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; box-shadow: var(--shadow);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 340px at 12% -20%, rgba(200,16,46,.35), transparent 55%),
    linear-gradient(150deg, #10151c, #1c2530);
  color: #dfe5ec; border-radius: var(--radius-lg); padding: 2.6rem 2.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; color: #b7c1cc; max-width: 58ch; }

/* ---------- FAQ ---------- */
.faq { background: var(--clr-surface); border: 1px solid var(--clr-line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: .9rem; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.05rem 3.2rem 1.05rem 1.3rem;
  font-weight: 700; color: var(--clr-ink); position: relative; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--clr-red); line-height: 1;
  transition: transform .18s ease;
}
.faq[open] summary::after { content: "−"; }
.faq[open] summary { border-bottom: 1px solid var(--clr-line); border-radius: var(--radius) var(--radius) 0 0; }
.faq__body { padding: 1rem 1.3rem 1.25rem; }
.faq__body p { margin: 0 0 .6em; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure {
  margin: 0; background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.gallery a { display: block; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { padding: .75rem .95rem .9rem; font-size: .88rem; color: var(--clr-muted); }
.gallery figcaption strong { display: block; color: var(--clr-ink); font-size: .95rem; margin-bottom: .15rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10, 13, 18, .92); padding: 2rem; cursor: zoom-out;
}
.lightbox.is-open { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__close {
  position: absolute; top: 1rem; right: 1.4rem; color: #fff; font-size: 2.4rem;
  line-height: 1; background: none; border: 0; cursor: pointer;
}
.lightbox__caption { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: #cdd5dd; font-size: .95rem; }

/* ---------- Article / prose ---------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose table { margin-block: 1.2em; }

/* ---------- Page sections ---------- */
.page-body { padding-block: 3.2rem 3.8rem; }
.page-body .crumbs { margin-bottom: 1.6rem; }
.section-head { max-width: 70ch; margin-bottom: 2.2rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--clr-muted); margin: 0; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--clr-red); margin-bottom: .6rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--clr-dark); color: #aeb9c4; margin-top: 0; }
.footer__main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.2rem 2.4rem;
}
.footer__main h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__main p { font-size: .92rem; margin-bottom: .8em; }
.footer__main a { color: #c3ccd6; }
.footer__main a:hover { color: #fff; text-decoration: none; }
.footer__list { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.footer__list li { margin-bottom: .55rem; }
.footer__brandline { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer__brandline img { height: 42px; width: auto; background: #fff; border-radius: 6px; padding: 2px; }
.footer__brandline strong { color: #fff; font-size: 1.05rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem;
}
.footer__bottom p { margin: 0; color: #8b98a5; }
@media (max-width: 900px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer__main { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Misc ---------- */
.note {
  background: var(--clr-red-soft); border-left: 4px solid var(--clr-red);
  border-radius: 0 8px 8px 0; padding: 1rem 1.2rem; font-size: .95rem; color: #6d2430;
}
.note--info { background: #eef3fa; border-color: #2b5e9e; color: #2c4a6e; }
.muted { color: var(--clr-muted); font-size: .92rem; }
.img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.lead { font-size: 1.12rem; color: var(--clr-ink-soft, #3c4653); }
.two-col { columns: 2; column-gap: 2.5rem; }
@media (max-width: 800px) { .two-col { columns: 1; } }
address { font-style: normal; line-height: 1.7; }
.tel { white-space: nowrap; }

/* Back to top */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--clr-red); color: #fff; font-size: 1.25rem; font-weight: 700;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--clr-red-dark); }