/* ==========================================================================
   Ehrle's Party & Carnival Supply, Inc. - site stylesheet
   Tulsa, Oklahoma - Family owned since 1956
   Mobile-first, system fonts only (fully offline capable)
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  --brand-900: #171b45;
  --brand-800: #212760;
  --brand-700: #2b3480;
  --brand-600: #3a45a8;
  --brand-500: #4f5bd5;
  --brand-100: #e9ebfb;
  --brand-50: #f3f4fd;

  --accent: #e5326e;
  --accent-dark: #c01f57;
  --accent-soft: #fdeaf1;
  --gold: #f2a412;
  --gold-soft: #fff4e0;
  --teal: #0f9d8b;
  --teal-soft: #e3f7f4;

  --ink: #16192e;
  --ink-2: #414869;
  --muted: #6d7490;
  --line: #e4e7f3;
  --line-strong: #cfd4e8;
  --bg: #f6f7fc;
  --surface: #ffffff;
  --surface-alt: #fbfbfe;

  --ok: #10795f;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-xs: 0 1px 2px rgba(23, 27, 69, .06);
  --shadow-sm: 0 2px 8px rgba(23, 27, 69, .07);
  --shadow: 0 8px 26px rgba(23, 27, 69, .09);
  --shadow-lg: 0 20px 50px rgba(23, 27, 69, .14);

  --container: 1200px;
  --gutter: 20px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-display: "Segoe UI Semibold", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; }
img { border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.22;
  color: var(--brand-900);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: underline; text-underline-offset: .18em; }
a:hover { color: var(--accent-dark); }

ul, ol { margin: 0 0 1.05em; padding-left: 1.35em; }
li { margin-bottom: .35em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); color: var(--brand-900); }

/* ------------------------------------------------------------ utilities -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  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: 12px; top: -60px;
  z-index: 999;
  background: var(--brand-900);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.section { padding: clamp(2.4rem, 1.5rem + 3vw, 4.2rem) 0; }
.section--tight { padding: clamp(1.6rem, 1rem + 2vw, 2.6rem) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { max-width: 760px; margin: 0 auto clamp(1.4rem, 1rem + 1.5vw, 2.4rem); text-align: center; }
.section-head p { color: var(--ink-2); margin-bottom: 0; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: .3rem .75rem;
  border-radius: 100px;
  margin-bottom: .85rem;
}

.lead { font-size: 1.1rem; color: var(--ink-2); }

/* --------------------------------------------------------------- header -- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--surface); box-shadow: var(--shadow-xs); }

.topbar { background: var(--brand-900); color: #d9dcf2; font-size: .86rem; }
.topbar .container {
  display: flex; flex-wrap: wrap; gap: .35rem 1.4rem;
  align-items: center; justify-content: center;
  padding-block: .5rem; text-align: center;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); text-decoration: underline; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; }

.masthead { border-bottom: 1px solid var(--line); }
.masthead .container { display: flex; align-items: center; gap: 1rem; padding-block: .8rem; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: auto; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
  line-height: 1.15; color: var(--brand-900); letter-spacing: -.01em;
  overflow-wrap: break-word;
}
.brand-tag { font-size: .76rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.header-tools { display: flex; align-items: center; gap: .5rem; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  padding: .68rem 1.15rem; border-radius: 100px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: var(--surface); color: var(--brand-800); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--brand-50); color: var(--brand-900); border-color: var(--brand-500); }
.btn--dark { background: var(--brand-900); color: #fff; }
.btn--dark:hover { background: var(--brand-700); color: #fff; }
.btn--sm { padding: .5rem .9rem; font-size: .87rem; }
.btn--block { width: 100%; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px;
  background: var(--brand-50); border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--brand-800); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------ main nav -- */
.site-nav { background: var(--brand-800); }
.site-nav .container { display: flex; align-items: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; width: 100%; }
.nav-list > li { position: relative; margin: 0; }
.nav-list > li.has-sub { position: relative; }

.nav-list > li > a,
.nav-list > li > button {
  display: block; font: inherit; font-size: .92rem; font-weight: 600;
  color: #e7e9f8; background: none; border: 0;
  padding: .8rem .82rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > button:hover,
.nav-list > li > a[aria-current="page"] { background: var(--brand-700); color: #fff; }
.nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
.nav-caret { font-size: .68em; margin-left: .3rem; opacity: .8; }

.subnav {
  list-style: none; margin: 0; padding: .5rem;
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: none; z-index: 120; max-height: min(70vh, 560px); overflow-y: auto;
}
.subnav--wide { min-width: 430px; columns: 2; column-gap: .4rem; }
.nav-list > li.is-open > .subnav,
.nav-list > li:hover > .subnav { display: block; }
.subnav li { break-inside: avoid; margin: 0; }
.subnav a { display: block; padding: .42rem .7rem; font-size: .9rem; color: var(--ink-2); text-decoration: none; border-radius: var(--radius-sm); }
.subnav a:hover { background: var(--brand-50); color: var(--brand-700); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .09); }
  .subnav {
    position: static; display: block; columns: 1; border: 0; border-radius: 0;
    box-shadow: none; background: rgba(255, 255, 255, .05);
    padding: .3rem .5rem .6rem 1rem; max-height: none;
  }
  .subnav a { color: #d5d9f2; }
  .subnav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
}
@media (min-width: 1081px) { .nav-toggle { display: none; } }

/* On narrow screens the masthead has to give the brand room: the wordmark is
   dropped in favour of the logo, and the click-to-call button is dropped too
   because the top bar already carries the phone number. */
@media (max-width: 780px) {
  .masthead .container { padding-block: .6rem; gap: .6rem; }
  .brand img { height: 40px; }
  .brand-text { display: none; }
  .header-tools > .btn { display: none; }
}
@media (max-width: 380px) {
  .brand img { height: 34px; }
  .search-toggle, .nav-toggle { width: 42px; height: 42px; }
}

/* --------------------------------------------------------- search panel -- */
.search-wrap { position: relative; }
.search-toggle {
  background: var(--brand-50); border: 1px solid var(--line); border-radius: 100px;
  width: 46px; height: 46px; font-size: 1.05rem; cursor: pointer; color: var(--brand-800);
  display: inline-flex; align-items: center; justify-content: center;
}
.search-toggle:hover { background: var(--brand-100); }
.search-panel {
  position: absolute; right: 0; top: calc(100% + .55rem);
  width: min(94vw, 420px); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .85rem; display: none; z-index: 140;
}
.search-panel.is-open { display: block; }
.search-panel input[type="search"] {
  width: 100%; font: inherit; padding: .62rem .85rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface-alt); color: var(--ink);
}
.search-results { list-style: none; margin: .6rem 0 0; padding: 0; max-height: 330px; overflow-y: auto; }
.search-results li { margin: 0; }
.search-results a { display: block; padding: .5rem .6rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.search-results a:hover { background: var(--brand-50); }
.search-results .r-title { display: block; font-weight: 600; font-size: .93rem; color: var(--brand-700); }
.search-results .r-cat { display: block; font-size: .76rem; color: var(--muted); }
.search-empty { font-size: .9rem; color: var(--muted); margin: .6rem .2rem 0; }

/* ---------------------------------------------------------- breadcrumbs -- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .85rem; }
.breadcrumbs ol {
  list-style: none; margin: 0; padding: .7rem 0;
  display: flex; flex-wrap: wrap; gap: .35rem; color: var(--muted);
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .35rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-600); text-decoration: underline; }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 12% -10%, rgba(229, 50, 110, .30), transparent 62%),
    radial-gradient(900px 420px at 92% 8%, rgba(242, 164, 18, .26), transparent 60%),
    linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 58%, var(--brand-600) 100%);
  color: #fff; overflow: hidden;
}
.hero .container { position: relative; z-index: 1; padding-block: clamp(2.6rem, 2rem + 4vw, 4.8rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.8rem, 1rem + 3vw, 3rem); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
/* Grid and flex items default to min-width:auto, which lets their min-content
   width push a track wider than the viewport. Reset it so tracks always shrink. */
.hero-grid > *, .grid > *, .product-grid > *, .tile > * { min-width: 0; }
.hero h1 { color: #fff; margin-bottom: .5rem; }
.hero .eyebrow { background: rgba(255, 255, 255, .16); color: #ffe6b8; }
.hero-sub { font-size: clamp(1rem, .95rem + .35vw, 1.16rem); color: #dfe2f6; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.hero .btn--ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); color: #fff; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: #fff; }

.hero-stats {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: .9rem 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); max-width: 640px;
}
.hero-stats li { margin: 0; }
.hero-stats b { display: block; font-size: 1.2rem; color: #fff; font-family: var(--font-display); }
.hero-stats span { font-size: .85rem; color: #c8cdec; }

.hero-card { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.hero-card h2 { font-size: 1.15rem; margin-bottom: .75rem; }
.hero-card dl { margin: 0; }
.hero-card dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-top: .85rem; }
.hero-card dt:first-child { margin-top: 0; }
.hero-card dd { margin: .1rem 0 0; font-weight: 600; color: var(--ink); }
.hero-card dd a { text-decoration: none; }
.hero-card dd a:hover { text-decoration: underline; }
.hero-card .hours { color: var(--ok); }

/* ------------------------------------------------------------ card grid -- */
.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow-xs); height: 100%;
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card { display: block; text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-2); font-size: .95rem; margin-bottom: 0; }
.card-icon { font-size: 1.6rem; line-height: 1; margin-bottom: .6rem; }

.tile {
  display: flex; align-items: center; gap: .75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .95rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 600;
  box-shadow: var(--shadow-xs); height: 100%;
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-500); }
.tile .tile-emoji { font-size: 1.4rem; }
.tile small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }

/* -------------------------------------------------------------- content -- */
.main-wrap { padding: clamp(1.6rem, 1rem + 2.5vw, 3rem) 0 clamp(2.4rem, 2rem + 2vw, 3.6rem); }
.page-header { margin-bottom: 1.6rem; }
.page-header h1 { margin-bottom: .4rem; }
.page-header .intro { color: var(--ink-2); max-width: 74ch; font-size: 1.04rem; }

.prose { max-width: 84ch; }
.prose--wide { max-width: none; }
.prose h2 { margin-top: 2.1rem; }
.prose h3 { margin-top: 1.6rem; }
.prose > p > img, .prose img { max-width: 100%; height: auto; }

.callout {
  border-left: 4px solid var(--brand-500); background: var(--brand-50);
  padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout--accent { border-left-color: var(--accent); background: var(--accent-soft); }
.callout--gold { border-left-color: var(--gold); background: var(--gold-soft); }
.callout--teal { border-left-color: var(--teal); background: var(--teal-soft); }
.callout strong { color: var(--brand-900); }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.pill-row li { margin: 0; }
.pill {
  display: inline-block; padding: .4rem .85rem; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: .86rem; font-weight: 600; color: var(--brand-700); text-decoration: none;
}
.pill:hover { background: var(--brand-50); border-color: var(--brand-500); color: var(--brand-900); }
.pill--current { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

/* -------------------------------------------------------- product cards -- */
.product-grid {
  list-style: none; margin: 0 0 1.6rem; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}
.product-card {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .9rem;
  display: flex; flex-direction: column; gap: .5rem; box-shadow: var(--shadow-xs);
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.product-media {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-alt); border-radius: var(--radius-sm); min-height: 150px; padding: .5rem;
}
.product-media a { display: block; line-height: 0; }
.product-media img { max-height: 145px; width: auto; object-fit: contain; }
a.js-lightbox { cursor: zoom-in; }
a.js-lightbox:focus-visible { outline-offset: 4px; }
.product-name { font-weight: 700; color: var(--brand-900); font-size: .95rem; line-height: 1.35; margin: 0; }
.product-meta { font-size: .82rem; color: var(--muted); margin: 0; }
.product-meta p { margin: 0; }
.product-price { margin: auto 0 0; font-weight: 700; color: var(--accent-dark); font-size: 1rem; }
.product-hint { font-size: .88rem; color: var(--muted); margin: .1rem 0 1rem; }

/* ----------------------------------------------------------- data table -- */
.table-scroll { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.data-table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.data-table th, .data-table td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th, .data-table th { background: var(--brand-50); color: var(--brand-900); font-weight: 700; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: var(--surface-alt); }

/* ------------------------------------------------------- article blocks -- */
.feature {
  display: grid; gap: 1.4rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.2rem, 1rem + 1.5vw, 2rem);
  box-shadow: var(--shadow-xs); margin-bottom: 1.6rem;
}
@media (min-width: 820px) { .feature { grid-template-columns: 1fr 1fr; } }
.feature img { border-radius: var(--radius); width: 100%; }

.faq-list { display: grid; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 1rem 1.15rem; font-weight: 700; color: var(--brand-900);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--brand-500); line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); background: var(--brand-50); }
.faq-body { padding: 1rem 1.15rem; color: var(--ink-2); font-size: .96rem; }
.faq-body p:last-child { margin-bottom: 0; }

.trust-row {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.6rem 2.4rem;
}
.trust-row li { margin: 0; display: flex; align-items: center; gap: .6rem; }
.trust-row img { height: 52px; width: auto; filter: grayscale(1); opacity: .78; transition: filter .2s ease, opacity .2s ease; }
.trust-row li:hover img { filter: none; opacity: 1; }
.trust-row .trust-label { font-size: .82rem; color: var(--muted); max-width: 15ch; line-height: 1.3; }

.cta-band {
  background: linear-gradient(140deg, var(--brand-800), var(--brand-600));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.6rem); text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9dcf2; max-width: 62ch; margin-inline: auto; }
.cta-band .btn { margin: .35rem; }

.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat-grid li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; text-align: center; }
.stat-grid b { display: block; font-size: 1.6rem; color: var(--brand-600); font-family: var(--font-display); }
.stat-grid span { font-size: .87rem; color: var(--muted); }

/* ---------------------------------------------------------------- forms -- */
.form-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 600; color: var(--brand-900); }
.field input, .field select, .field textarea {
  font: inherit; padding: .6rem .75rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }

/* -------------------------------------------------------------- footer -- */
.site-footer { background: var(--brand-900); color: #c3c8e6; font-size: .92rem; }
.site-footer a { color: #dfe2f6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-main { padding: clamp(2rem, 1.5rem + 2vw, 3.2rem) 0 1.6rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-col h2 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .45rem; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-note { border-top: 1px solid rgba(255, 255, 255, .13); padding: 1.1rem 0 1.6rem; font-size: .84rem; color: #a9b0d6; }
.footer-note .container { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.footer-badges img { height: 34px; width: auto; background: #fff; border-radius: 6px; padding: 3px 6px; }

/* ------------------------------------------------------------- lightbox -- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(12, 14, 34, .82); }
.lightbox-inner { background: var(--surface); border-radius: var(--radius); padding: .6rem; box-shadow: var(--shadow-lg); }
.lightbox img { display: block; max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .5rem .2rem; }
.lightbox-caption { font-size: .88rem; color: var(--ink-2); font-weight: 600; margin: 0; }
.lightbox-close {
  font: inherit; font-size: .87rem; font-weight: 600; background: var(--brand-50);
  border: 1px solid var(--line-strong); border-radius: 100px; padding: .4rem .9rem;
  cursor: pointer; color: var(--brand-800);
}
.lightbox-close:hover { background: var(--brand-100); }

/* ---------------------------------------------------------- back to top -- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--brand-700);
  font-size: 1.15rem; cursor: pointer; box-shadow: var(--shadow); display: none;
}
.to-top.is-visible { display: block; }
.to-top:hover { background: var(--brand-50); }

/* ------------------------------------------------------------ home bits -- */
.guide-card { display: flex; flex-direction: column; gap: .5rem; }
.guide-card .tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--teal); background: var(--teal-soft);
  padding: .25rem .6rem; border-radius: 100px;
}
.guide-card a.card-link { font-weight: 700; text-decoration: none; color: var(--brand-600); }
.guide-card a.card-link:hover { text-decoration: underline; }

.checklist { list-style: none; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checklist li { margin: 0; padding: .55rem .8rem .55rem 2.1rem; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .95rem; }
.checklist li::before { content: "\2713"; position: absolute; left: .75rem; color: var(--teal); font-weight: 700; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding-left: 3rem; margin-bottom: 1.1rem; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--brand-600); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.steps h3 { margin-bottom: .3rem; }

/* ------------------------------------------------- layout micro-utilities -- */
/* Used instead of inline style attributes so the site can ship a strict CSP. */
.mt-07 { margin-top: .7rem; }
.mt-08 { margin-top: .8rem; }
.mt-1  { margin-top: 1rem; }
.mt-16 { margin-top: 1.6rem; }
.mb-035 { margin-bottom: .35rem; }
.mb-16 { margin-bottom: 1.6rem; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.text-center { text-align: center; }
.d-block { display: block; }
.decor-frame { border-radius: var(--radius); border: 1px solid var(--line); }

/* --------------------------------------------------------------- print -- */
@media print {
  .site-header, .site-footer, .to-top, .breadcrumbs, .hero-actions, .search-wrap { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  a { color: #000; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
