@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700&display=swap');

:root {
  --red: #e31e24;
  --red-2: #ff4d52;
  --blue: #0055a4;
  --blue-2: #1a73c7;
  --ink: #0b1220;
  --muted: #5b6475;
  --line: #e4eaf2;
  --bg: #f3f6fb;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(11, 18, 32, .08);
  --shadow-lg: 0 28px 70px rgba(11, 18, 32, .16);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Manrope, system-ui, sans-serif; color: var(--ink);
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(227,30,36,.06), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 20%, rgba(0,85,164,.07), transparent 45%),
    var(--bg);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(255,255,255,.82); border-bottom: 1px solid rgba(228,234,242,.85);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img {
  width: 52px; height: 52px; object-fit: contain; border-radius: 14px;
  background: #fff; box-shadow: 0 6px 18px rgba(0,85,164,.12);
}
.logo-img-only img {
  width: auto; height: 48px; max-width: 170px; border-radius: 0; background: transparent; box-shadow: none;
  object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-family: Unbounded, Manrope, sans-serif; font-size: 18px; letter-spacing: .02em; }
.logo-text b i { font-style: normal; color: var(--red); }
.logo-text b span { color: var(--blue); }
.logo-text small { color: var(--muted); font-size: 11px; font-weight: 600; margin-top: 3px; }
.nav-links { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  padding: 9px 13px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted);
  transition: .2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: #eef2f8; }
.nav-phone {
  padding: 9px 12px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--blue) !important;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #ff5a5f); color: #fff !important; font-weight: 700;
  box-shadow: 0 10px 24px rgba(227,30,36,.28);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; place-items: center; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 0; font-weight: 700; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--red), #ff5a5f); color: #fff; box-shadow: 0 12px 28px rgba(227,30,36,.28); }
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 12px 28px rgba(0,85,164,.28); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-light {
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255,255,255,.22); }

.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 70% 55% at 88% 12%, rgba(227,30,36,.5), transparent 55%),
    radial-gradient(ellipse 55% 45% at 8% 88%, rgba(0,85,164,.55), transparent 50%),
    linear-gradient(145deg, #061426 0%, #0a2a54 48%, #7a1420 100%);
  min-height: min(94vh, 860px); display: grid; align-items: end;
}
.hero-home {
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.hero-aurora {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 40% at 75% 30%, rgba(227,30,36,.55), transparent 60%),
    radial-gradient(ellipse 40% 38% at 18% 70%, rgba(0,85,164,.6), transparent 58%),
    radial-gradient(ellipse 30% 28% at 50% 10%, rgba(255,255,255,.12), transparent 55%);
  animation: aurora 14s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .18;
  background-image:
    linear-gradient(28deg, transparent 40%, rgba(255,255,255,.08) 41%, transparent 42%),
    repeating-linear-gradient(-34deg, transparent, transparent 28px, rgba(255,255,255,.05) 29px, transparent 30px);
  mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
}
.hero-roof {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  pointer-events: none; opacity: .92;
  transform-origin: 70% 60%;
}
@media (min-width: 961px) {
  .hero-roof { transform: translate(8%, 4%) scale(1.08); }
}
.hero-roof-group { transform-origin: 720px 360px; animation: roofFloat 7s ease-in-out infinite; }
.hr-face-a, .hr-face-b, .hr-wall, .hr-ridge, .hr-peak, .hr-slats, .hr-shine, .hr-shadow {
  opacity: 0; animation: roofIn 1.1s var(--ease) forwards;
}
.hr-wall { animation-delay: .15s; }
.hr-slats { animation-delay: .28s; }
.hr-face-a { animation-delay: .35s; }
.hr-face-b { animation-delay: .48s; }
.hr-ridge, .hr-peak { animation-delay: .62s; }
.hr-shine { animation-delay: .7s; animation-name: shineIn; }
.hr-shadow { animation-delay: .4s; }
.hr-shine { transform-origin: 640px 280px; animation: shineIn .9s .7s var(--ease) forwards, shineSweep 5s 1.6s ease-in-out infinite; }
.hero-home::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,20,38,.82) 0%, rgba(6,20,38,.45) 42%, transparent 68%),
    linear-gradient(180deg, transparent 55%, rgba(6,20,38,.55) 100%);
}
.hero-copy {
  position: relative; z-index: 2; padding: 72px 0 96px; max-width: 720px;
}
.brand-mark {
  font-family: Unbounded, Manrope, sans-serif; font-size: clamp(48px, 9vw, 104px);
  line-height: .88; letter-spacing: -.04em; margin: 0 0 22px;
  display: flex; flex-wrap: wrap;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.35));
}
.brand-mark i, .brand-mark span {
  display: inline-block; font-style: normal;
  opacity: 0; transform: translateY(28px) rotate(-4deg);
  animation: charIn .65s var(--ease) forwards;
}
.brand-mark i { color: #ff7a7e; }
.brand-mark span { color: #8ec2ff; }
.brand-mark [data-reveal-char]:nth-child(1) { animation-delay: .05s; }
.brand-mark [data-reveal-char]:nth-child(2) { animation-delay: .09s; }
.brand-mark [data-reveal-char]:nth-child(3) { animation-delay: .13s; }
.brand-mark [data-reveal-char]:nth-child(4) { animation-delay: .17s; }
.brand-mark [data-reveal-char]:nth-child(5) { animation-delay: .22s; }
.brand-mark [data-reveal-char]:nth-child(6) { animation-delay: .26s; }
.brand-mark [data-reveal-char]:nth-child(7) { animation-delay: .3s; }
.brand-mark [data-reveal-char]:nth-child(8) { animation-delay: .34s; }
.brand-mark [data-reveal-char]:nth-child(9) { animation-delay: .38s; }
.hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-lead {
  font-size: clamp(17px, 2.2vw, 22px); max-width: 34ch; color: rgba(255,255,255,.9);
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy [data-reveal] {
  opacity: 0; transform: translateY(18px);
  animation: up .75s var(--ease) forwards;
}
.hero-copy .hero-lead { animation-delay: .45s; }
.hero-copy .hero-actions { animation-delay: .58s; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
}
.hero-scroll span {
  display: block; width: 4px; height: 8px; margin: 8px auto 0; border-radius: 4px;
  background: #fff; animation: scrollDot 1.6s ease-in-out infinite;
}
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: btnShine 4.5s ease-in-out infinite;
}
.trust-strip {
  position: relative; z-index: 2; margin-top: -36px; padding: 0 0 8px;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-lg); padding: 10px;
}
.trust-item {
  padding: 18px 20px; border-radius: 18px; transition: background .25s var(--ease);
}
.trust-item:hover { background: #f5f8fc; }
.trust-item b {
  display: block; font-family: Unbounded, sans-serif; font-size: 22px;
  color: var(--blue); margin-bottom: 4px;
}
.trust-item:first-child b { color: var(--red); }
.trust-item span { color: var(--muted); font-size: 13px; font-weight: 600; }

.feature-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 26px 24px 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-visual {
  width: 100%; aspect-ratio: 1.6; border-radius: 16px; margin-bottom: 18px;
  background:
    linear-gradient(145deg, #edf4fb, #fafbfd),
    repeating-linear-gradient(-32deg, transparent, transparent 12px, rgba(0,85,164,.04) 13px);
  display: grid; place-items: center; overflow: hidden;
}
.feature-visual svg { width: 72%; height: auto; transition: transform .45s var(--ease); }
.feature:hover .feature-visual svg { transform: scale(1.06) translateY(-2px); }
.feature h3 { margin: 0 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); }

.journey {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.journey-line {
  display: none;
}
.section-steps .journey-line {
  display: block; position: absolute; left: 4%; right: 4%; top: 38px; height: 2px;
  background: #e4eaf2; border-radius: 2px; z-index: 0; pointer-events: none;
}
.journey-line i {
  display: block; height: 100%; width: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transition: width .2s linear;
}
.section-steps .step { position: relative; z-index: 1; background: #fff; }
.section-steps .step b {
  box-shadow: 0 0 0 6px #fff;
  transition: transform .3s var(--ease);
}
.section-steps .step:hover b { transform: scale(1.08); }

.cta-band-live { position: relative; overflow: hidden; }
.cta-orb {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  right: -60px; top: -100px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%);
  animation: orbDrift 8s ease-in-out infinite alternate;
}

[data-reveal-section] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal-section].is-in {
  opacity: 1; transform: none;
}
.feature-rail [data-reveal-section]:nth-child(2) { transition-delay: .08s; }
.feature-rail [data-reveal-section]:nth-child(3) { transition-delay: .16s; }
.journey [data-reveal-section]:nth-child(2) { transition-delay: .06s; }
.journey [data-reveal-section]:nth-child(3) { transition-delay: .12s; }
.journey [data-reveal-section]:nth-child(4) { transition-delay: .18s; }
.journey [data-reveal-section]:nth-child(5) { transition-delay: .24s; }

.section { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 {
  margin: 0; font-family: Unbounded, Manrope, sans-serif; font-size: clamp(26px, 4vw, 42px); letter-spacing: -.02em;
}
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 48ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--red); border-radius: 2px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .28s var(--ease), box-shadow .28s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,85,164,.08), transparent 70%);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); font-size: 22px; position: relative; z-index: 1;
}
.card .ico.red { background: linear-gradient(135deg, var(--red), #ff5a5f); }
.card h3 { margin: 0 0 8px; font-size: 20px; position: relative; z-index: 1; }
.card p { margin: 0; color: var(--muted); position: relative; z-index: 1; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px;
  box-shadow: var(--shadow); position: relative;
}
.step b {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--red), #ff5a5f); color: #fff; font-family: Unbounded, sans-serif; font-size: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px;
  font-weight: 700; color: var(--muted); cursor: pointer; transition: .2s;
}
.chip.active, .chip:hover { border-color: var(--blue); color: var(--blue); background: #eef5fc; }
.search-box {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 16px; flex: 1; min-width: 220px;
}
.search-box input { border: 0; outline: 0; width: 100%; background: transparent; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); display: flex; flex-direction: column; animation: up .5s var(--ease) both;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img {
  aspect-ratio: 4/3; background:
    linear-gradient(145deg, #d7e6f7, #f4f7fb 55%),
    repeating-linear-gradient(-35deg, transparent, transparent 14px, rgba(0,85,164,.05) 15px);
  position: relative; overflow: hidden;
}
.product-img img, .product-img svg { width: 100%; height: 100%; object-fit: cover; }
.product-img .placeholder-svg { padding: 18% 16%; object-fit: contain; }
.product-img .badge {
  position: absolute; left: 12px; top: 12px; background: rgba(11,18,32,.82); color: #fff;
  font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px);
}
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { margin: 0; font-size: 18px; }
.product-body h3 a:hover { color: var(--blue); }
.product-meta { color: var(--muted); font-size: 13px; min-height: 1.4em; }
.product-desc { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.product-price { font-weight: 800; color: var(--red); font-size: 15px; }
.product-price.lg { font-size: 22px; font-family: Unbounded, sans-serif; margin: 8px 0 14px; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.product-actions .btn { width: 100%; }
.product-img { display: block; }
.feature-num {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), #ff5a5f); color: #fff;
  font-family: Unbounded, sans-serif; font-size: 18px;
}
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.faq-q {
  width: 100%; text-align: left; background: #fff; border: 0; padding: 16px 18px;
  font-weight: 800; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px;
}
.faq-q span { color: var(--blue); font-size: 20px; line-height: 1; }
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow);
}
.review-card p { margin: 0 0 16px; color: var(--ink); line-height: 1.5; }
.review-card footer { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; }
.review-card footer b { color: var(--blue); }
.product-detail {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.product-detail-media {
  border-radius: 18px; overflow: hidden; background: #f3f6fb; aspect-ratio: 1;
  display: grid; place-items: center;
}
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-ph { width: 70%; }
.product-detail-body h1 { margin: 0 0 8px; font-family: Unbounded, sans-serif; font-size: clamp(24px, 3vw, 34px); }
.product-detail-desc { color: var(--muted); white-space: pre-line; }
.product-specs { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.product-specs li {
  background: #f5f8fc; border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--ink);
}
.empty-state {
  text-align: center; padding: 64px 20px; color: var(--muted); background: #fff;
  border-radius: var(--radius); border: 1px dashed var(--line); grid-column: 1 / -1;
}

.calc-layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: 22px; align-items: start; }
.calc-panel, .viz-panel {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 24px;
}
.calc-panel h3, .viz-panel h3 { margin: 0 0 8px; font-family: Unbounded, sans-serif; font-size: 18px; }
.viz-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.viz-meta { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.rm-axo { display: flex; gap: 6px; }
.rm-axo button {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: 18px; font-weight: 700; color: var(--blue); cursor: pointer; line-height: 1;
}
.rm-axo button:hover { border-color: var(--blue); background: #eef5fc; }
.rm-views {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.rm-views button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px;
  font-size: 12px; font-weight: 800; color: var(--muted); cursor: pointer;
}
.rm-views button.active, .rm-views button:hover {
  border-color: var(--blue); color: var(--blue); background: #eef5fc;
}
.roof-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.roof-type {
  border: 1px solid var(--line); border-radius: 16px; padding: 12px; text-align: center; cursor: pointer;
  background: #fff; transition: .2s; font-weight: 700; font-size: 13px; color: var(--muted);
}
.roof-type.active {
  border-color: var(--blue); color: var(--blue); background: #eef5fc;
  box-shadow: inset 0 0 0 1px var(--blue), 0 8px 20px rgba(0,85,164,.12);
}
.roof-type svg { width: 64px; height: 40px; margin: 0 auto 8px; display: block; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fbfcfe; outline: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(0,85,164,.12);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.viz-stage, .roofmaster-svg-wrap {
  position: relative;
  background: linear-gradient(145deg, #f7fafd, #eef3f8);
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  min-height: 430px;
  overflow: hidden;
  user-select: none;
}
.viz-stage:before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,85,164,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,85,164,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}
.viz-stage svg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 430px;
  touch-action: none;
  cursor: grab;
}
.viz-stage svg.is-dragging { cursor: grabbing; }
.rm-face { stroke: #0055a4; stroke-width: 1.4; fill: rgba(227,30,36,.16); }
.rm-face.alt { fill: rgba(0,85,164,.22); }
.rm-face.hip { fill: rgba(227,30,36,.28); stroke: #b8181d; stroke-width: 2.2; }
.rm-face.alt.hip { fill: rgba(0,85,164,.32); stroke: #043f7a; }
.rm-face.section { fill: rgba(227,30,36,.12); stroke: #0055a4; stroke-width: 0; }
.rm-building { fill: rgba(90,105,120,.10); stroke: rgba(70,90,110,.35); stroke-width: 1; }
.rm-edge { fill: none; stroke: #043f7a; stroke-width: 3; stroke-linecap: round; }
.rm-ridge { stroke: #c45a1a; stroke-width: 5; }
.rm-rafter { stroke: #1a4a70; stroke-width: 2.4; stroke-linecap: round; }
.rm-rafter.hip { stroke: #a85a20; stroke-width: 4; }
.rm-lath { stroke: rgba(0,85,164,.65); stroke-width: 1.3; }
.rm-cover-line { stroke: rgba(227,30,36,.45); stroke-width: 1; }
.rm-gutter { stroke: #3d8aa8; stroke-width: 5; stroke-linecap: round; }
.rm-dim { stroke: #8a9aa8; stroke-width: 1.1; stroke-dasharray: 5 5; }
.rm-load-snow { stroke: #3e8fb1; fill: #3e8fb1; stroke-width: 2; }
.rm-load-wind { stroke: #bd5b55; fill: #bd5b55; stroke-width: 2; }
.rm-svg-title { font-size: 18px; font-weight: 900; fill: #123a5c; font-family: Manrope, sans-serif; }
.rm-svg-sub { font-size: 12px; font-weight: 700; fill: #6b7c8c; font-family: Manrope, sans-serif; }
.rm-svg-label { font-size: 12px; font-weight: 900; fill: #1a4a70; font-family: Manrope, sans-serif; }
.rm-svg-small { font-size: 10px; font-weight: 700; fill: #6b7c8c; font-family: Manrope, sans-serif; }
.results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.result { background: #f5f8fc; border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line); }
.result b { display: block; font-size: 22px; font-family: Unbounded, sans-serif; color: var(--blue); }
.result span { font-size: 12px; color: var(--muted); font-weight: 700; }
.result.accent { background: linear-gradient(135deg, #fff1f1, #fff); border-color: #ffd0d2; }
.result.accent b { color: var(--red); }

.lead-form, .contact-form { display: grid; gap: 12px; }
.modal {
  position: fixed; inset: 0; background: rgba(11,18,32,.58); display: none; place-items: center;
  z-index: 100; padding: 20px; backdrop-filter: blur(4px);
}
.modal.open { display: grid; animation: fade .2s; }
.modal-box {
  background: #fff; border-radius: 24px; width: min(460px, 100%); padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28); animation: up .35s var(--ease);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-head h3 { margin: 0; font-family: Unbounded, sans-serif; }
.icon-x {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 120; background: #0f172a; color: #fff;
  padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); transform: translateY(20px); opacity: 0;
  transition: .3s var(--ease); max-width: 320px;
}
.toast.show { transform: none; opacity: 1; }
.toast.ok { background: #0f5132; }
.toast.err { background: #7f1d1d; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.about-panel {
  background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.about-panel h3 { margin-top: 0; font-family: Unbounded, sans-serif; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list strong { display: block; }
.cta-band {
  margin: 20px 0 0; padding: 40px; border-radius: 30px; color: #fff;
  background:
    radial-gradient(ellipse 40% 80% at 100% 0%, rgba(255,255,255,.12), transparent),
    linear-gradient(120deg, var(--blue), #073a6e 55%, var(--red));
  display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(0,85,164,.25);
}
.cta-band h2 { margin: 0; font-family: Unbounded, sans-serif; font-size: clamp(22px, 3vw, 34px); }
.cta-band p { margin: 8px 0 0; opacity: .92; }

.site-footer { background: #061426; color: rgba(255,255,255,.78); padding: 52px 0 28px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.site-footer a { color: #fff; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-family: Unbounded, sans-serif; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: 13px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-copy a { color: rgba(255,255,255,.7); }

.page-hero {
  padding: 48px 0 20px; background:
    linear-gradient(180deg, rgba(0,85,164,.06), transparent);
}
.page-hero h1 {
  margin: 0; font-family: Unbounded, sans-serif; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em;
}
.page-hero p { margin: 10px 0 0; color: var(--muted); max-width: 50ch; }

@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes charIn {
  to { opacity: 1; transform: none; }
}
@keyframes roofIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shineIn {
  from { opacity: 0; }
  to { opacity: .14; }
}
@keyframes shineSweep {
  0%, 100% { transform: translateX(0); opacity: .1; }
  50% { transform: translateX(18px); opacity: .2; }
}
@keyframes heroKen {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.2%, -0.8%); }
}
@keyframes roofFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.01); }
}
@keyframes aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.05); }
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(0); }
}
@keyframes btnShine {
  0%, 55% { transform: translateX(-120%) skewX(-18deg); }
  75%, 100% { transform: translateX(140%) skewX(-18deg); }
}
@keyframes orbDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(-40px, 30px); }
}

@media (max-width: 960px) {
  .calc-layout, .about-grid, .footer-grid, .cards, .catalog-grid, .steps,
  .feature-rail, .journey, .trust-grid, .reviews-grid, .product-detail { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex; position: absolute; left: 16px; right: 16px; top: 76px; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-lg);
  }
  .nav-toggle { display: grid; }
  .hero-home { min-height: auto; }
  .hero-copy { padding: 48px 0 72px; }
  .hero-roof { opacity: .55; transform: translateY(8%); }
  .section-steps .journey-line { display: none; }
}
@media (max-width: 640px) {
  .catalog-grid, .roof-types, .form-grid-2, .trust-grid, .feature-rail, .journey,
  .reviews-grid, .product-detail, .product-actions { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr; }
  .brand-mark { font-size: clamp(42px, 14vw, 64px); }
  .nav-phone { display: none; }
}
/* ========== HOME v2 ========== */
.page-home { background: #f4f6f9; }
.header-float {
  background: rgba(255,255,255,.78);
  border-bottom-color: transparent;
}
.btn-ghost-light {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.home-hero {
  position: relative; min-height: min(72svh, 620px); display: grid; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.home-hero-media { position: absolute; inset: 0; z-index: 0; }
.home-hero-photo {
  position: absolute; inset: 0;
  background:
    url('/assets/site/img/hero-bg.jpg') center / cover no-repeat;
  transform: scale(1.04);
  animation: heroKen 22s ease-in-out infinite alternate;
  will-change: transform;
}
.home-hero-steel {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 82% 28%, rgba(227,30,36,.38), transparent 58%),
    radial-gradient(ellipse 48% 42% at 10% 85%, rgba(0,85,164,.42), transparent 55%),
    linear-gradient(155deg, rgba(5,13,24,.55) 0%, rgba(11,31,61,.28) 45%, rgba(74,16,24,.35) 100%);
  mix-blend-mode: multiply;
  opacity: .85;
}
.home-hero-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(5,13,24,.9) 0%, rgba(5,13,24,.52) 36%, rgba(5,13,24,.14) 58%, transparent 76%),
    linear-gradient(180deg, rgba(5,13,24,.28) 0%, transparent 26%, transparent 55%, rgba(5,13,24,.78) 100%);
}
.home-hero-roof {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .95;
}
.hh-float { transform-origin: 600px 360px; animation: roofFloat 8s ease-in-out infinite; }
.home-hero-copy {
  position: relative; z-index: 3; padding: 88px 0 72px;
  max-width: 640px;
}
.home-h1 {
  margin: 0 0 14px; font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(22px, 3.2vw, 34px); font-weight: 600; letter-spacing: -.02em;
  color: rgba(255,255,255,.95); max-width: 18ch;
  animation: up .8s .1s var(--ease) both;
}
.home-lead {
  margin: 0 0 28px; font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.84);
  max-width: 34ch; animation: up .8s .16s var(--ease) both;
}
.home-cta { display: flex; flex-wrap: wrap; gap: 12px; animation: up .8s .22s var(--ease) both; }
.home-scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 3; transform: translateX(-50%);
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
}
.home-scroll span {
  display: block; width: 4px; height: 8px; margin: 8px auto 0; border-radius: 4px;
  background: #fff; animation: scrollDot 1.6s ease-in-out infinite;
}

.home-strip { padding: 56px 0 28px; background: #fff; }
.home-strip-inner {
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.home-strip h2, .home-flow h2, .home-split-copy h2, .home-faq-wrap h2, .home-contact-band h2 {
  margin: 0; font-family: Unbounded, Manrope, sans-serif; font-size: clamp(26px, 4vw, 40px); letter-spacing: -.02em;
}
.home-rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.home-rail-track {
  display: flex; gap: 16px; width: max-content; padding: 8px 4vw 28px;
  animation: railMove 48s linear infinite;
}
.home-rail-track:hover { animation-play-state: paused; }
.home-rail-card {
  width: min(280px, 72vw); background: #f4f6f9; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s;
}
.home-rail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.home-rail-img { aspect-ratio: 1.15; background: #e8eef5; overflow: hidden; }
.home-rail-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-rail-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #c5d6ea, #eef3f8); }
.home-rail-meta { padding: 14px 16px 16px; }
.home-rail-meta b {
  display: block; font-size: 14px; line-height: 1.35; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.home-rail-meta span { color: var(--red); font-size: 13px; font-weight: 800; }

.home-flow { padding: 64px 0; background: #f4f6f9; }
.home-flow-head { margin-bottom: 28px; }
.home-flow-list {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid #d7dee8;
}
.home-flow-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 28px 22px 8px 0;
  border-right: 1px solid #d7dee8;
}
.home-flow-list li:last-child { border-right: 0; padding-right: 0; }
.home-flow-list span {
  font-family: Unbounded, sans-serif; font-size: 28px; color: var(--red); line-height: 1;
}
.home-flow-list h3 { margin: 0 0 8px; font-size: 18px; }
.home-flow-list p { margin: 0; color: var(--muted); font-size: 15px; max-width: 28ch; }

.home-split {
  display: grid; grid-template-columns: 1.05fr .95fr; min-height: 520px;
  background: #fff;
}
.home-split-visual {
  position: relative; background:
    linear-gradient(145deg, #0b1f3d, #1a3a66 50%, #6b1520);
  display: grid; place-items: end start; padding: 36px; color: rgba(255,255,255,.7);
  overflow: hidden;
}
.home-split-grid {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: rotate(-8deg) scale(1.2);
  animation: aurora 16s ease-in-out infinite alternate;
}
.home-split-visual p { position: relative; z-index: 1; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.home-split-copy { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.home-about-text { color: var(--muted); max-width: 42ch; }
.home-about-text p { margin: 0 0 10px; }
.home-points { margin: 12px 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.home-points li {
  position: relative; padding-left: 22px; font-weight: 650; color: var(--ink);
}
.home-points li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.home-faq-wrap { padding: 72px 0; background: #f4f6f9; }
.home-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.home-faq-note { color: var(--muted); margin: 12px 0 22px; max-width: 28ch; }

.home-contact-band {
  background: linear-gradient(120deg, #061426, #0a2a54 55%, #7a1420); color: #fff; padding: 56px 0;
}
.home-contact-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.home-contact-band p { margin: 8px 0 0; opacity: .85; }
.home-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@keyframes railMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 960px) {
  .home-flow-list, .home-split, .home-faq-grid { grid-template-columns: 1fr; }
  .home-flow-list li { border-right: 0; border-bottom: 1px solid #d7dee8; padding: 22px 0; }
  .home-split-visual { min-height: 220px; }
  .home-split-copy { padding: 36px 20px 48px; }
  .home-hero { min-height: min(64svh, 520px); }
  .home-hero-copy { padding: 72px 0 56px; }
}
@media (max-width: 960px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: none; }
  .nav-links,
  .nav.open .nav-links {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    z-index: 80;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 2px;
    margin: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 -10px 28px rgba(11,18,32,.08);
    backdrop-filter: blur(16px);
  }
  .nav-links a {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 2px 6px;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }
  .nav-links .nav-cta {
    padding: 8px 4px;
    font-size: 11px;
    box-shadow: none;
  }
  .nav-phone { display: none; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .home-contact-actions { width: 100%; }
  .home-contact-actions .btn { flex: 1; justify-content: center; }
  .logo-img-only img { height: 44px; max-width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal-section] { opacity: 1; transform: none; }
  .brand-mark i, .brand-mark span, .hero-copy [data-reveal] { opacity: 1; transform: none; animation: none; }
  .home-rail-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}
