:root {
  --ink: #071a33;
  --muted: #5f6875;
  --line: #e5e9f0;
  --paper: #ffffff;
  --mist: #f6f8fc;
  --emerald: #08244a;
  --emerald-dark: #041832;
  --gold: #c9a227;
  --clay: #b98a2f;
  --shadow: 0 20px 50px rgba(7, 26, 51, .09);
  --radius: 8px;
  --max: 1160px;

  /* type */
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 840px); }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--ink); color: white; padding: 8px 12px; z-index: 20; border-radius: 0 0 6px 0; }
.skip-link:focus { left: 12px; }
.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;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(160%);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; font-size: 17px; width: 209px;}
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: white; background: var(--emerald); border-radius: 9px; font-size: 13px; font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 6px 14px rgba(7,26,51,.22);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 3px; border: 1.5px dashed rgba(255,255,255,.4); border-radius: 6px;
}
.main-nav { margin-left: auto; display: flex; gap: 26px; align-items: center; color: #2e3438; font-size: 15px; font-weight: 500; }
.main-nav a,
.nav-link { position: relative; padding: 6px 0; transition: color .2s ease; }
.nav-link { border: 0; background: transparent; color: inherit; cursor: pointer; }
.nav-search {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.nav-search:hover { border-color: var(--gold); background: var(--mist); transform: translateY(-1px); }
.nav-search::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-1px, -1px);
}
.nav-search::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(8px, 8px) rotate(45deg);
}
.main-nav a::after,
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .25s ease; }
.main-nav a:hover,
.nav-mega:hover .nav-link,
.nav-mega:focus-within .nav-link,
.nav-link[aria-expanded="true"] { color: var(--emerald); }
.main-nav a:hover::after,
.nav-mega:hover .nav-link::after,
.nav-mega:focus-within .nav-link::after,
.nav-link[aria-expanded="true"]::after { right: 0; }
.nav-mega { position: static; }
.mega-menu {
  position: absolute; left: 50%; top: 76px; width: min(calc(100vw - 32px), var(--max)); transform: translateX(-50%) translateY(12px);
  padding-top: 16px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.nav-mega:hover .mega-menu,
.nav-mega:focus-within .mega-menu,
.nav-mega.open .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden;
  background: var(--line); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px rgba(7,26,51,.16);
}
.mega-group { min-width: 0; padding: 22px 24px 24px; background: white; }
.mega-heading {
  width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: transparent; color: var(--emerald);
  text-align: left; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: default;
}
.mega-links { display: grid; gap: 8px; }
.mega-links a {
  display: block; padding: 4px 0; color: #394044; font-size: 14px; font-weight: 600; transition: color .18s ease, transform .18s ease;
}
.mega-links a::after { display: none; }
.mega-links a:hover,
.mega-links a:focus-visible { color: var(--clay); transform: translateX(3px); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; margin-left: auto; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius);
  border: 1px solid var(--emerald); background: var(--emerald); color: white;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; cursor: pointer;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, background .22s ease, border-color .22s ease;
  box-shadow: 0 1px 2px rgba(7,26,51,.06);
}
.btn:hover { transform: translateY(-2px); background: var(--emerald-dark); border-color: var(--emerald-dark); box-shadow: 0 14px 28px rgba(7,26,51,.22); }
.btn:active { transform: translateY(0); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-ghost { background: white; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--mist); border-color: #d7deea; box-shadow: 0 10px 22px rgba(7,26,51,.08); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #04101f; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 48px; background: radial-gradient(ellipse 80% 60% at 18% 0%, #eef2fb, transparent), linear-gradient(180deg, #f8faff, #fff 70%); overflow: hidden; }
.hero-slider {
  position: relative; min-height: clamp(540px, calc(100svh - 76px), 680px); padding: 0; background: var(--ink); color: white; isolation: isolate;
}
.hero-track { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden;
  transform: scale(1.02); transition: opacity .7s ease, transform 1s ease, visibility .7s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); z-index: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(4,24,50,.16), rgba(4,24,50,.08) 46%, rgba(4,24,50,.06)),
    linear-gradient(180deg, rgba(4,24,50,.04), rgba(4,24,50,.18));
}
.hero-slide-content {
  position: relative; z-index: 2; width: min(100% - 32px, 560px); margin-inline: max(32px, calc((100vw - var(--max)) / 2)) auto;
  padding: clamp(34px, 4.2vw, 54px) clamp(34px, 4vw, 48px); background: rgba(8,36,74,.86); box-shadow: 0 22px 56px rgba(4,24,50,.28);
  backdrop-filter: blur(2px); border: 1px solid rgba(255,255,255,.08);
}
.hero-slide-content .eyebrow { color: #5ee7f0; }
.hero-slide-content .eyebrow::before { background: #5ee7f0; }
.hero-slide-content h1 { color: white; text-shadow: 0 10px 28px rgba(0,0,0,.2); }
.hero-slide-content h1 { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.14; }
.hero-slide-content .hero-text { color: #eef2f8; max-width: 650px; }
.hero-slide-content .btn-ghost { background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.92); color: var(--ink); }
.hero-slide-content .btn-ghost:hover { background: white; border-color: white; }
.hero-arrow {
  position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: rgba(7,26,51,.28); color: white; font-size: 34px; line-height: 1;
  cursor: pointer; backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.hero-arrow:hover { background: rgba(7,26,51,.62); border-color: white; transform: translateY(-2px); }
.hero-prev { left: max(18px, calc((100vw - var(--max)) / 2)); }
.hero-next { right: max(18px, calc((100vw - var(--max)) / 2)); }
.hero-dots {
  position: absolute; left: 50%; bottom: 30px; z-index: 3; display: flex; gap: 12px; transform: translateX(-50%);
}
.hero-dots button {
  width: 14px; height: 14px; padding: 0; border: 2px solid white; border-radius: 50%;
  background: white; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.28); transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.hero-dots button.active { background: var(--gold); border-color: white; transform: scale(1.08); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--emerald); font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 14px; height: 2px; background: var(--gold); display: inline-block; border-radius: 2px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }
h1 { margin: 0; font-size: clamp(40px, 6.4vw, 70px); line-height: 1.0; letter-spacing: -.015em; max-width: 760px; }
h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -.01em; }
h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; font-weight: 600; }
.hero-text { color: var(--muted); font-size: 18px; max-width: 600px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: #394044; font-size: 13.5px; font-weight: 600; }
.trust-row span { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; box-shadow: 0 4px 10px rgba(7,26,51,.04); }

.hero-visual { min-height: 500px; position: relative; display: grid; place-items: center; }
.patch-board {
  width: min(100%, 520px); min-height: 460px; border-radius: 18px; background:
    linear-gradient(135deg, rgba(8,36,74,.12), rgba(201,162,39,.16)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(7,26,51,.05) 24px);
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.patch-board::before {
  content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(7,26,51,.1); border-radius: 12px; pointer-events: none;
}
.patch {
  position: absolute; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; font-size: 13px; color: white;
  box-shadow: 0 18px 34px rgba(0,0,0,.18), inset 0 0 0 3px rgba(255,255,255,.22);
}
.patch::after {
  content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(255,255,255,.55); border-radius: inherit; pointer-events: none;
}
.patch-round { width: 170px; height: 170px; border-radius: 50%; background: var(--emerald); left: 45px; top: 54px; }
.patch-shield { width: 150px; height: 170px; background: var(--clay); right: 62px; top: 82px; clip-path: polygon(50% 0, 100% 18%, 88% 78%, 50% 100%, 12% 78%, 0 18%); }
.patch-label { width: 230px; height: 76px; background: var(--ink); left: 74px; bottom: 84px; border-radius: 7px; }
.patch-square { width: 118px; height: 118px; background: var(--gold); right: 86px; bottom: 70px; border-radius: 22px; transform: rotate(-8deg); }
.patch-square::after { transform: rotate(0deg); }
.float-slow { animation: floaty 7s ease-in-out infinite; }
.patch-square.float-slow { animation-delay: -2.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
.patch-square { --r: -8deg; }

/* ---------- generic section rhythm ---------- */
.section { padding: 92px 0; }
.section-tint { background: var(--mist); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { max-width: 720px; }
.section-head a { color: var(--emerald); font-weight: 700; white-space: nowrap; transition: color .2s ease; }
.section-head a:hover { color: var(--clay); }
.section-head.vertical { display: block; }
.section-head.vertical p:not(.eyebrow) { color: var(--muted); max-width: 560px; }
.section-head.center { text-align: center; }
.compact { align-items: center; margin-bottom: 22px; }

.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- home mosaic ---------- */
.home-mosaic {
  background: var(--ink);
  padding: 72px 0 80px;
}
.mosaic-eyebrow { color: var(--gold) !important; }
.mosaic-heading { color: #fff; }
.home-mosaic .section-head { margin-bottom: 36px; }
.mosaic-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 290px 230px 260px;
  gap: 12px;
}
.mosaic-item { border-radius: 10px; overflow: hidden; position: relative; }
.mosaic-item-1 { grid-column: 1; grid-row: 1 / 3; }
.mosaic-item-2 { grid-column: 2; grid-row: 1; }
.mosaic-item-3 { grid-column: 3; grid-row: 1; }
.mosaic-item-4 { grid-column: 2 / 4; grid-row: 2; }
.mosaic-item-5 { grid-column: 1 / 4; grid-row: 3; }
.mosaic-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.mosaic-item:hover img { transform: scale(1.07); }
.mosaic-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,26,51,.55) 0%, transparent 55%);
  opacity: 0; transition: opacity .35s ease; border-radius: 10px;
}
.mosaic-item:hover::after { opacity: 1; }
.mosaic-item::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  border: 2px solid transparent; border-radius: 10px;
  transition: border-color .3s ease;
}
.mosaic-item:hover::before { border-color: var(--gold); }

/* ---------- products directory ---------- */
.products-directory { padding-top: 0; }
.prod-group { margin-bottom: 56px; }
.prod-group:last-child { margin-bottom: 0; }
.prod-group > .eyebrow { margin-bottom: 18px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }

/* ---------- legal / policy content ---------- */
.content-list { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.content-list li { padding-left: 22px; position: relative; }
.content-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.notice { margin: 24px 0 28px; padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--mist); border-radius: 0 var(--radius) var(--radius) 0; }
.notice p { margin: 0; }
.notice strong { color: var(--clay); }
.contact-card { padding: 26px 30px; margin-top: 18px; max-width: 420px; }
.contact-card p { margin: 8px 0; }
.contact-card a { color: var(--emerald); font-weight: 700; }
.contact-card a:hover { color: var(--clay); }

/* ---------- quick pricing ---------- */
.quick-pricing {
  padding: 88px 0;
  background: linear-gradient(180deg, #f3f6fb, #eef2f9);
  border-block: 1px solid #e2e7f0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: .95fr 1.10fr;
  gap: 56px;
  align-items: center;
}
.pricing-copy {
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
}
.pricing-copy .eyebrow { margin-bottom: 18px; }
.pricing-copy p:not(.eyebrow) { margin: 0 0 24px; color: #2c3645; }
.pricing-copy p:last-child { margin-bottom: 0; }
.quick-price-form {
  padding: clamp(30px, 4vw, 44px);
  border-radius: 18px;
  background: white;
  box-shadow: 0 30px 70px rgba(7, 26, 51, .14);
  border: 1px solid rgba(7,26,51,.05);
  position: relative;
}
.quick-price-form::before {
  content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(7,26,51,.06); border-radius: 13px; pointer-events: none;
}
.quick-price-form h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 30px);
}
.quick-price-form > p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 15px;
}
.quick-form-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.quick-form-grid input,
.quick-form-grid select,
.quick-form-grid textarea,
.file-field {
  min-height: 52px;
  border: 1px solid #d6dce6;
  border-radius: 10px;
  background: var(--mist);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(7,26,51,.03);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.quick-form-grid input,
.quick-form-grid select,
.quick-form-grid textarea {
  padding: 13px 15px;
  font-size: 15px;
}
.quick-form-grid input:hover, .quick-form-grid select:hover, .quick-form-grid textarea:hover,
.file-field:hover { border-color: #b9c3d6; }
.quick-form-grid input:focus, .quick-form-grid select:focus, .quick-form-grid textarea:focus {
  outline: none; border-color: var(--emerald); background: white; box-shadow: 0 0 0 3px rgba(8,36,74,.1);
}
.quick-form-grid input::placeholder,
.quick-form-grid textarea::placeholder { color: #8b93a0; opacity: 1; }
.quick-form-grid input:nth-of-type(1),
.quick-form-grid input:nth-of-type(2),
.quick-form-grid input:nth-of-type(3) { grid-column: span 2; }
.quick-form-grid select,
.quick-form-grid input:nth-of-type(4),
.quick-form-grid input:nth-of-type(5),
.quick-form-grid input:nth-of-type(6),
.file-field { grid-column: span 3; }
.quick-form-grid textarea {
  grid-column: 1 / -1;
  resize: vertical;
}
.file-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  overflow: hidden;
  font-size: 14px;
  color: var(--muted);
}
.file-field span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.file-field input {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  box-shadow: none;
}
.price-submit {
  min-width: 170px;
  margin-top: 28px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}
.price-submit:hover { background: #b88e12; border-color: #b88e12; box-shadow: 0 16px 30px rgba(201,162,39,.32); }
.quote-form { padding: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
label { display: grid; gap: 7px; color: #2e3438; font-weight: 700; font-size: 14px; }
input, select, textarea {
  width: 100%; min-height: 48px; border: 1px solid #dfe5e1; border-radius: 8px;
  padding: 10px 12px; color: var(--ink); background: white;
}
textarea { resize: vertical; }
.quote-form .btn { margin-top: 16px; }
.form-note { min-height: 24px; margin: 12px 0 0; color: var(--emerald); font-weight: 700; }
.form-note.success { color: var(--emerald); }
.form-note.error { color: #b42318; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-tile-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card, .feature, .testimonial, .product-list article, .blog-grid article {
  border: 1px solid var(--line); border-radius: 12px; padding: 26px; background: white;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover, .feature:hover {
  transform: translateY(-4px); box-shadow: 0 20px 42px rgba(7,26,51,.1); border-color: #dde3ee;
}
.product-card p, .feature p, .testimonial blockquote, .product-list p, .blog-grid p { color: var(--muted); margin-bottom: 0; }
.category-tile {
  min-height: 238px; padding: 0; border: 0; border-radius: 0; overflow: hidden; position: relative;
  display: flex; align-items: flex-end; justify-content: center; color: white;
  box-shadow: none; background: transparent;
}

.category-tile:hover {
  transform: translateY(-4px); box-shadow: 0 20px 42px rgba(7,26,51,.18); border-color: transparent;
}
.category-tile-image {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.category-tile:hover .category-tile-image { transform: scale(1.04); }
.category-tile h3 {
  position: relative; z-index: 1; width: 100%; min-height: 58px; margin: 0; padding: 18px 12px 20px; display: grid; place-items: center;
  background: rgba(7,26,51,.46); color: white; text-align: center; text-transform: uppercase;
  font-size: clamp(13px, 1.3vw, 16px); line-height: 1.25; letter-spacing: .08em;
}
.tile-art {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(var(--tile-rotate, 0deg));
  display: grid; place-items: center; min-width: 118px; min-height: 86px; padding: 16px 22px;
  color: var(--tile-art-color, white); font-family: var(--font-display); font-size: var(--tile-font, 68px);
  font-weight: 800; line-height: 1; text-align: center; text-shadow:
    -3px -3px 0 var(--tile-stroke, var(--gold)),
    3px -3px 0 var(--tile-stroke, var(--gold)),
    -3px 3px 0 var(--tile-stroke, var(--gold)),
    3px 3px 0 var(--tile-stroke, var(--gold)),
    0 16px 24px rgba(0,0,0,.28);
}
.tile-letters { --tile-art-color: #1f3977; --tile-stroke: #d2a62a; --tile-font: 112px; }
.tile-name { --tile-art-color: #f5b62c; --tile-stroke: #244269; --tile-font: 56px; }
.tile-year { --tile-art-color: #f7f8f0; --tile-stroke: #8a1f2f; --tile-font: 66px; }
.tile-activity { --tile-art-color: #f3f0e9; --tile-stroke: #111936; --tile-font: 36px; }
.tile-number { --tile-art-color: #f4b23f; --tile-stroke: #064c28; --tile-font: 42px; }
.tile-state { --tile-art-color: #f5f5ee; --tile-stroke: #8b0c0c; --tile-font: 86px; }
.tile-custom { --tile-art-color: #f4bd23; --tile-stroke: #071a33; --tile-font: 52px; }
.tile-jackets { --tile-art-color: #e63946; --tile-stroke: #ffffff; --tile-font: 50px; }
.mini-patch { width: 54px; height: 42px; display: block; margin-bottom: 20px; border-radius: 9px; position: relative; box-shadow: inset 0 0 0 3px rgba(255,255,255,.5), 0 10px 22px rgba(7,26,51,.1); }
.mini-patch::after { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(255,255,255,.6); border-radius: 6px; }
.embroidered { background: repeating-linear-gradient(90deg, #08244a 0 5px, #123b73 6px 10px); }
.woven { background: repeating-linear-gradient(45deg, #071a33 0 4px, #243c5f 5px 8px); }
.pvc { background: #c7a34d; border-radius: 50%; }
.chenille { background: radial-gradient(circle, #a96242 35%, #c97b58 36% 60%, #a96242 61%); }
.leather { background: #70452f; }
.printed { background: linear-gradient(135deg, #08244a, #c9a227, #ffffff); }
.iron { background: linear-gradient(180deg, #ffffff, #08244a); }
.velcro { background: repeating-radial-gradient(circle, #071a33 0 2px, #243c5f 3px 6px); }
.label { background: #e7e0ce; }

/* ---------- video ---------- */
.video-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.video-feature, .video-card {
  border: 0; border-radius: 14px; background: #071a33; color: white; cursor: pointer; position: relative;
  min-height: 360px; padding: 28px; display: flex; flex-direction: column; justify-content: end; align-items: start;
  overflow: hidden; isolation: isolate; transition: transform .3s ease, box-shadow .3s ease;
}
.video-feature:hover, .video-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(7,26,51,.32); }
.video-feature::before, .video-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(7,26,51,.95) 30%, rgba(7,26,51,.55) 65%, rgba(7,26,51,.22) 100%);
}
.video-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; transition: transform .4s ease;
}
.video-feature:hover .video-thumb,
.video-card:hover .video-thumb { transform: scale(1.06); }
.video-feature > span:last-child, .video-card > span:not(.play-icon) { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.play-icon { width: 60px; height: 60px; border-radius: 50%; background: white; position: relative; margin-bottom: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .25s ease; }
.video-feature:hover .play-icon { transform: scale(1.08); }
.play-icon::after { content: ""; position: absolute; left: 24px; top: 19px; border-left: 17px solid var(--emerald); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-mark { display: inline-block; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 8px; background: linear-gradient(135deg, var(--emerald), var(--emerald-dark)); position: relative; }
.feature-mark::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(255,255,255,.5); border-radius: 4px; }

/* ---------- process ---------- */
.process { background: linear-gradient(160deg, #071a33, #04101f); color: white; }
.process .eyebrow { color: var(--gold); }
.process .eyebrow::before { background: var(--gold); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden; }
.steps li { background: #071a33; padding: 30px 26px; min-height: 210px; transition: background .25s ease; }
.steps li:hover { background: #0b2747; }
.steps span { color: var(--gold); font-weight: 700; font-family: var(--font-display); font-size: 14px; letter-spacing: .08em; }
.steps h3 { margin-top: 14px; }
.steps p { color: #aab4c4; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid.large { grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  min-height: 260px; border: 0; border-radius: 12px; color: white; cursor: pointer; padding: 20px;
  display: flex; align-items: end; background: var(--emerald); overflow: hidden; position: relative; isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item:hover { transform: translateY(-5px) scale(1.015); box-shadow: 0 22px 44px rgba(7,26,51,.3); }
.gallery-item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 36% 35%, rgba(255,255,255,.32), transparent 32%), repeating-linear-gradient(135deg, rgba(255,255,255,.16) 0 10px, transparent 11px 20px); }
.gallery-item span { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.g2 { background: #b98a2f; }.g3 { background: #071a33; }.g4 { background: #c9a227; }.g5 { background: #173f73; }.g6 { background: #46566f; }

/* ---------- gallery page (photo grid) ---------- */
.gallery-page { padding-top: 0; }
.gallery-filters { margin-bottom: 48px; }
.gallery-section { margin-bottom: 56px; }
.gallery-section:last-child { margin-bottom: 0; }
.gallery-section-title {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--ink); margin: 0 0 22px; padding-bottom: 12px;
  border-bottom: 2px solid var(--gold); display: inline-block;
}
.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-photo-item {
  border: 0; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  position: relative; aspect-ratio: 1 / 1; background: var(--mist);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-photo-item:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 40px rgba(7,26,51,.22); }
.gallery-photo-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.gallery-photo-item:hover img { transform: scale(1.06); }
.gallery-photo-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(7,26,51,.7));
  color: white; font-size: 12px; font-weight: 600; padding: 24px 10px 9px;
  opacity: 0; transition: opacity .25s ease;
}
.gallery-photo-item:hover .gallery-photo-label { opacity: 1; }

/* lightbox image modal */
.lightbox-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-img { max-width: 100%; max-height: 70vh; border-radius: 8px; display: block; object-fit: contain; }
.lightbox-caption { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }

/* ---------- reviews infinite scroll ---------- */
.reviews-section { padding: 90px 0; background: var(--paper); overflow: hidden; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--ink); margin-bottom: 10px; font-family: var(--font-display); }
.section-title p { color: var(--muted); font-size: 18px; }
.reviews-slider { overflow: hidden; position: relative; }
.reviews-track {
  display: flex; gap: 25px; width: max-content;
  animation: reviews-scroll 35s linear infinite;
}
.reviews-slider:hover .reviews-track { animation-play-state: paused; }
.review-card {
  width: 360px; background: var(--paper); padding: 30px;
  border-radius: 18px; box-shadow: 0 10px 35px rgba(0,0,0,.08);
  border: 1px solid var(--line); flex-shrink: 0; transition: transform .3s, box-shadow .3s;
}
.review-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(0,0,0,.12); }
.review-card .stars { color: var(--gold); font-size: 22px; margin-bottom: 20px; }
.review-card .user { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.review-card .avatar {
  width: 55px; height: 55px; border-radius: 50%; flex-shrink: 0;
  background: var(--emerald); color: #fff;
  display: flex; justify-content: center; align-items: center;
  font-size: 22px; font-weight: 700; font-family: var(--font-display);
}
.review-card .user h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.review-card .user span { font-size: 13px; color: #00a651; }
.review-card p { color: var(--muted); line-height: 1.8; font-size: 15px; margin: 0; }
@keyframes reviews-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .review-card { width: 300px; }
}

/* ---------- stats ---------- */
.stats { padding: 60px 0; border-block: 1px solid var(--line); background: var(--mist); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-grid > div { padding: 0 16px; border-right: 1px solid var(--line); }
.stat-grid > div:last-child { border-right: 0; }
.stat-grid strong { display: block; font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); line-height: 1; color: var(--emerald); }
.stat-grid span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- FAQ ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion button { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font-weight: 700; font-size: 16px; cursor: pointer; transition: color .2s ease; }
.accordion button:hover { color: var(--emerald); }
.accordion button span { width: 18px; height: 18px; position: relative; flex: 0 0 18px; }
.accordion button span::before, .accordion button span::after { content: ""; position: absolute; background: var(--emerald); inset: 8px 0 auto 0; height: 2px; border-radius: 2px; transition: transform .25s ease; }
.accordion button span::after { transform: rotate(90deg); }
.accordion button.active span::after { transform: rotate(0); }
.accordion div { max-height: 0; overflow: hidden; color: var(--muted); border-bottom: 1px solid var(--line); transition: max-height .3s ease; }
.accordion div.open { max-height: 240px; }
.accordion div p { margin: 0; padding: 0 4px 20px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 68px 0; background: linear-gradient(135deg, var(--emerald), var(--emerald-dark)); color: white; }
.cta-band .eyebrow { color: #e3cd8a; }
.cta-band .eyebrow::before { background: #e3cd8a; }
.cta-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.cta-inner h2 { max-width: 740px; }
.cta-band .btn { background: white; color: var(--ink); border-color: white; }
.cta-band .btn:hover { background: #f1f3f8; transform: translateY(-2px); }

/* ---------- footer ---------- */
.site-footer { background: #071a33; color: white; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-grid p, .footer-bottom { color: #9aa4b5; }
.footer-grid a { color: #d4dae6; transition: color .18s ease; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid h3 { font-family: var(--font-display); font-size: 13px; color: white; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.footer-brand { display: inline-flex; margin-bottom: 18px; }
.footer-col p { margin: 0 0 18px; color: #9aa4b5; }
.footer-links { display: flex; flex-direction: column; gap: 10px; margin: 0 0 26px; }
.footer-links a { display: block; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); color: #d4dae6; transition: all .2s ease;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,162,39,.1); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-payment { display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; list-style: none; }
.footer-payment li { display: flex; align-items: center; gap: 10px; color: #9aa4b5; font-size: 14px; }
.footer-payment svg { width: 22px; height: 22px; flex-shrink: 0; color: #d4dae6; }
.footer-contact address { font-style: normal; color: #9aa4b5; line-height: 1.7; }
.footer-contact p { margin: 0 0 14px; }
.footer-bottom { display: flex; justify-content: center; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: 13.5px; text-align: center; }

/* ---------- inner page bits ---------- */
.page-hero { padding: 76px 0; background: var(--mist); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 58px); }
.page-hero p:not(.eyebrow) { color: var(--muted); max-width: 760px; font-size: 18px; }
.product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-list h2, .blog-grid h2 { font-size: 24px; }
.product-list a, .blog-grid a { color: var(--emerald); font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filters button { border: 1px solid var(--line); background: white; padding: 10px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; transition: all .2s ease; }
.filters button:hover { border-color: var(--emerald); color: var(--emerald); }
.filters button.active { background: var(--emerald); color: white; border-color: var(--emerald); }
.before-after, .split, .form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.ba-card, .factory-panel, .map-box {
  min-height: 320px; border: 1px solid var(--line); border-radius: 12px; background: white; display: grid; place-items: center; overflow: hidden;
}
.ba-card { grid-template-columns: 1fr 1fr; }
.ba-card span { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.ba-card span:first-child { background: #e7e1d2; }
.ba-card span:last-child { background: var(--emerald); color: white; }
.factory-panel { grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.factory-panel span { width: 100%; height: 100%; display: grid; place-items: center; background: white; font-weight: 700; font-family: var(--font-display); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { min-height: 250px; }
.video-card.reel { min-height: 360px; }
.video-card small { color: #aab4c4; }
.advanced .form-grid { grid-template-columns: repeat(2, 1fr); }
.quote-aside { padding: 30px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); position: sticky; top: 96px; }
.quote-aside ol { padding-left: 22px; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-grid span { color: var(--emerald); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-display); }

/* ---------- reusable category template ---------- */
.category-hero {
  padding: 82px 0 70px;
  background: radial-gradient(ellipse 80% 60% at 18% 0%, #eef2fb, transparent), linear-gradient(180deg, #f8faff, #fff 72%);
  overflow: hidden;
}
.category-title-hero {
  padding: 0;
  background: var(--emerald);
}
.category-title-panel {
  min-height: 190px;
  padding-block: clamp(36px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  background: var(--emerald);
  color: white;
  position: relative;
  isolation: isolate;
}
.category-title-panel::before,
.category-title-panel::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 100vw;
  background: inherit;
  z-index: -1;
}
.category-title-panel::before { right: 100%; }
.category-title-panel::after { left: 100%; }
.category-title-panel .eyebrow { color: #e3cd8a; }
.category-title-panel .eyebrow::before { background: #e3cd8a; }
.category-title-panel h1 {
  max-width: 720px;
  color: white;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.04;
}
.category-title-panel p:not(.eyebrow) {
  color: #dce5f1;
  max-width: 680px;
  margin: 18px 0 0;
}
.category-title-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.category-title-actions .btn {
  border-radius: 999px;
  min-width: 168px;
}
.category-title-actions .btn:first-child {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.category-title-actions .btn:first-child:hover {
  background: #b88e12;
  border-color: #b88e12;
  box-shadow: 0 16px 30px rgba(201,162,39,.32);
}
.category-title-actions .btn-ghost {
  background: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.96);
}
.category-hero-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 52px;
  align-items: center;
}
.category-hero-copy p:not(.eyebrow) { color: var(--muted); max-width: 640px; font-size: 18px; margin: 22px 0 0; }
.category-hero-image,
.category-feature img,
.category-gallery img {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: white;
}
.category-hero-image { overflow: hidden; }
.category-hero-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.category-feature {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 52px;
  align-items: center;
}
.category-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.category-feature p:not(.eyebrow) { color: var(--muted); margin: 20px 0 28px; }
.category-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-detail-gallery { margin-top: 36px; }
.category-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease, box-shadow .25s ease; }
.category-gallery img:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(7,26,51,.14); }
.category-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.category-form-grid label { color: var(--ink); }
.category-form-grid input,
.category-form-grid textarea {
  min-height: 52px;
  border: 1px solid #d6dce6;
  border-radius: 10px;
  background: var(--mist);
  padding: 13px 15px;
}
.category-form-grid input:focus,
.category-form-grid textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: white;
  box-shadow: 0 0 0 3px rgba(8,36,74,.1);
}
.category-file-field,
.category-notes { grid-column: 1 / -1; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-grid a { color: inherit; }
.related-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  background: var(--mist);
}

/* ---------- floating bits / modal ---------- */
.whatsapp {
  position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1fae64; color: white; font-weight: 700; box-shadow: 0 14px 32px rgba(0,0,0,.24); z-index: 8;
  transition: transform .2s ease;
}
.whatsapp:hover { transform: scale(1.08); }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,13,25,.72); backdrop-filter: blur(2px); }
.modal-panel { position: relative; background: white; width: min(920px, 100%); border-radius: 14px; padding: 24px; box-shadow: 0 36px 90px rgba(0,0,0,.35); }
.modal-close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; font-size: 32px; cursor: pointer; color: var(--muted); transition: color .2s ease; }
.modal-close:hover { color: var(--ink); }
.modal-preview { min-height: 340px; display: grid; place-items: center; text-align: center; border-radius: 10px; background: var(--mist); padding: 24px; }
.video-embed { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 10px; }
.search-modal-panel { width: min(720px, 100%); padding: clamp(24px, 4vw, 34px); }
.search-modal-panel h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 18px 0 18px;
}
.search-form input {
  min-height: 54px;
  border-color: #d6dce6;
  background: var(--mist);
}
.search-results {
  display: grid;
  gap: 10px;
  max-height: min(48vh, 390px);
  overflow: auto;
  padding-right: 4px;
}
.search-result {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.search-result:hover,
.search-result:focus-visible {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7,26,51,.08);
}
.search-result strong { font-family: var(--font-display); }
.search-result span { color: var(--muted); font-size: 14px; }
.search-empty {
  padding: 18px;
  border: 1px dashed #cbd3df;
  border-radius: 10px;
  color: var(--muted);
  background: var(--mist);
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100svh - 76px); overflow-y: auto; padding: 10px 16px 16px; background: white; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav > a,
  .nav-link { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .main-nav a::after,
  .nav-link::after { display: none; }
  .nav-mega { width: 100%; }
  .nav-mega-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; }
  .nav-mega-trigger::before {
    content: ""; order: 2; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .22s ease;
  }
  .nav-mega.open .nav-mega-trigger::before { transform: rotate(225deg); }
  .mega-menu {
    position: static; width: 100%; padding-top: 0; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    display: none; transition: none;
  }
  .nav-mega.open .mega-menu,
  .nav-mega:hover .mega-menu,
  .nav-mega:focus-within .mega-menu { display: block; transform: none; }
  .nav-mega > .mega-menu > .mega-links {
    display: grid; gap: 0; padding: 0 0 12px 12px; border: 0; border-radius: 0; box-shadow: none; background: transparent;
  }
  .mega-grid { display: block; border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; }
  .mega-group { padding: 0; border-bottom: 1px solid var(--line); }
  .mega-heading {
    display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 14px 0; cursor: pointer;
  }
  .mega-heading::after {
    content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .22s ease;
  }
  .mega-heading[aria-expanded="true"]::after { transform: rotate(225deg); }
  .mega-links { display: none; gap: 0; padding: 0 0 12px 12px; }
  .mega-group.open .mega-links { display: grid; }
  .mega-links a { padding: 8px 0; font-size: 14px; }
  .nav-wrap > .btn-small { display: none; }
  .nav-search { margin: 10px 0 0; }
  .hero-grid, .pricing-grid, .video-layout, .before-after, .split, .form-layout, .category-hero-grid, .category-feature { grid-template-columns: 1fr; }
  .category-title-panel { grid-template-columns: 1fr; }
  .category-title-actions { justify-content: flex-start; }
  .pricing-grid { gap: 36px; }
  .pricing-copy { max-width: none; }
  .hero-slider { min-height: 620px; }
  .hero-slide-content { width: min(100% - 44px, 540px); margin-inline: 22px auto; padding: 38px 34px; }
  .hero-arrow { top: auto; bottom: 24px; width: 42px; height: 42px; font-size: 30px; }
  .hero-prev { left: 16px; }
  .hero-next { right: 16px; }
  .hero-visual { min-height: 390px; }
  .patch-board { min-height: 380px; }
  .patch-round { width: 135px; height: 135px; left: 28px; }
  .patch-shield { width: 120px; height: 140px; right: 34px; }
  .patch-label { width: 190px; left: 40px; }
  .patch-square { right: 42px; }
  .form-grid, .product-grid, .feature-grid, .steps, .gallery-grid, .gallery-grid.large, .stat-grid, .product-list, .video-grid, .blog-grid, .footer-grid, .category-gallery, .related-grid, .gallery-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px 200px 200px; }
  .mosaic-item-1 { grid-column: 1; grid-row: 1; }
  .mosaic-item-2 { grid-column: 2; grid-row: 1; }
  .mosaic-item-3 { grid-column: 1; grid-row: 2; }
  .mosaic-item-4 { grid-column: 2; grid-row: 2; }
  .mosaic-item-5 { grid-column: 1 / 3; grid-row: 3; }
  .stat-grid > div { border-right: none; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .stat-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .quote-aside { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 22px, var(--max)); }
  .hero { padding-top: 52px; }
  .hero-slider { min-height: 570px; padding-top: 0; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,24,50,.24), rgba(4,24,50,.12)), linear-gradient(180deg, rgba(4,24,50,.08), rgba(4,24,50,.3)); }
  .hero-slide-content { width: min(100% - 24px, 540px); margin-inline: 12px; padding: 30px 24px; }
  .hero-slide-content h1 { font-size: clamp(28px, 9vw, 36px); line-height: 1.16; }
  .hero-slide-content .hero-text { font-size: 16px; }
  .hero-dots { bottom: 38px; }
  .section { padding: 60px 0; }
  .quick-pricing { padding: 56px 0; }
  .category-hero { padding: 56px 0; }
  .category-title-hero { padding: 0; }
  .category-title-panel { padding-block: 34px; }
  .category-title-panel h1 { font-size: clamp(36px, 12vw, 48px); }
  .category-title-actions .btn { width: 100%; }
  .quick-price-form { border-radius: 16px; }
  .quick-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .quick-form-grid input:nth-of-type(1),
  .quick-form-grid input:nth-of-type(2),
  .quick-form-grid input:nth-of-type(3),
  .quick-form-grid input:nth-of-type(4),
  .quick-form-grid input:nth-of-type(5),
  .quick-form-grid input:nth-of-type(6),
  .quick-form-grid select,
  .file-field,
  .quick-form-grid textarea { grid-column: 1 / -1; }
  .pricing-copy { font-size: 16px; line-height: 1.75; }
  .section-head, .cta-inner, .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
  .hero-actions .btn { width: 100%; }
  .search-form { grid-template-columns: 1fr; }
  .search-form .btn { width: 100%; }
  .form-grid, .advanced .form-grid, .product-grid, .feature-grid, .steps, .gallery-grid, .gallery-grid.large, .stat-grid, .product-list, .video-grid, .blog-grid, .footer-grid, .category-gallery, .related-grid, .category-form-grid, .gallery-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .mosaic-item-1 { grid-column: 1; grid-row: 1; }
  .mosaic-item-2 { grid-column: 2; grid-row: 1; }
  .mosaic-item-3 { grid-column: 1; grid-row: 2; }
  .mosaic-item-4 { grid-column: 2; grid-row: 2; }
  .mosaic-item-5 { grid-column: 1 / 3; grid-row: 3; }
  .stat-grid > div, .stat-grid > div:nth-child(odd) { border-right: none; }
  .hero-visual { min-height: 330px; }
  .patch-board { min-height: 320px; }
  .patch-round { width: 116px; height: 116px; }
  .patch-shield { width: 100px; height: 118px; top: 66px; }
  .patch-label { width: 170px; height: 62px; bottom: 70px; }
  .patch-square { width: 92px; height: 92px; bottom: 58px; }
  .video-feature, .video-card, .gallery-item { min-height: 230px; }
  .whatsapp { width: 50px; height: 50px; }
}
