/* =====================================================
   Anwar Cement Sheet – theme
   Colours derived from the logo: red #EB1D27, black #111
   ===================================================== */
:root {
  --red: #eb1d27;
  --red-dark: #b8121b;
  --red-deep: #7f0c14;
  --ink: #111111;
  --ink-2: #1c1f1e;
  --muted: #5f6763;
  --cream: #f7f4ee;
  --sand: #efe9df;
  --line: #e4e1da;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(17, 17, 17, .10);
  --radius: 10px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-bn: "Hind Siliguri", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; }
h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
h4 { font-size: 20px; font-weight: 700; }
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
section { padding: 90px 0; }
.bn { font-family: var(--font-bn); }

/* ---------- utilities ---------- */
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800;
  color: #ffd0d3; margin: 0 0 12px;
}
.eyebrow-red { color: var(--red); }
.section-head {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 48px;
}
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.muted-light { color: #c9cfcc; }
.link { color: var(--red); font-weight: 700; }
.link:hover { text-decoration: underline; }
.link-light { color: #ffd0d3; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid transparent; border-radius: 6px; padding: 14px 24px;
  font-weight: 800; font-size: 15px; transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(235, 29, 39, .30); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-light { background: #fff; color: var(--red); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.topbar { background: var(--ink); color: #d9d9d9; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a:hover { color: #fff; }
.nav { height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 56px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { color: var(--red); font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.brand-text small { color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .22em; margin-top: 3px; }
.navlinks { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 700; }
.navlinks a { position: relative; padding: 6px 0; }
.navlinks a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .25s;
}
.navlinks a:hover::after, .navlinks a.is-current::after { width: 100%; }
.nav-cta { padding: 12px 20px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .25s; }
.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); }

/* ---------- hero carousel ---------- */
.hero {
  position: relative; min-height: min(720px, 88vh); overflow: hidden; background: var(--ink); padding: 0;
  color: #fff;
}
.hero-track { position: relative; min-height: inherit; }
.hero-slide {
  position: absolute; inset: 0; display: grid; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.22); transition: transform 6s cubic-bezier(.16,.6,.3,1);
}
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,12,.86) 0%, rgba(10,10,12,.55) 42%, rgba(10,10,12,.08) 75%),
              linear-gradient(0deg, rgba(10,10,12,.55) 0%, transparent 40%);
}
.hero-slide--dark .hero-bg::after {
  background: linear-gradient(90deg, rgba(10,10,12,.82) 0%, rgba(10,10,12,.55) 32%, rgba(10,10,12,.12) 55%, rgba(10,10,12,0) 70%),
              linear-gradient(0deg, rgba(10,10,12,.35) 0%, transparent 30%);
}
.hero-slide--dark .hero-copy { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero-copy {
  position: relative; padding: 110px 20px 120px clamp(20px, 6vw, 120px); max-width: calc(680px + clamp(20px, 6vw, 120px));
}
.hero h1 { font-size: clamp(34px, 6vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.hero-tag {
  display: inline-block; font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--red); padding: 7px 14px; border-radius: 4px; margin: 20px 0 8px;
}
.hero .lead { font-size: 19px; max-width: 540px; color: #e8eae9; margin: 6px 0 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-slide.is-active .hero-copy > * { animation: slideIn .6s cubic-bezier(.2,.7,.2,1) both; }
.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: .07s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: .14s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: .21s; }
.hero-slide.is-active .hero-copy > *:nth-child(5) { animation-delay: .28s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-90px); } to { opacity: 1; transform: none; } }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.35); color: #fff; font-size: 18px; backdrop-filter: blur(6px); transition: .2s;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow.prev { left: 22px; } .hero-arrow.next { right: 22px; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button {
  width: 36px; height: 5px; border-radius: 3px; border: 0; background: rgba(255,255,255,.4); padding: 0; transition: .3s;
}
.hero-dots button.is-active { background: var(--red); width: 56px; }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.15); z-index: 5; }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--red); }
.hero-progress span.run { animation: progress var(--dur, 6s) linear forwards; }
@keyframes progress { from { width: 0 } to { width: 100% } }

/* ---------- trust strip ---------- */
.trust { padding: 0; background: var(--red); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.25); }
.trust-grid > div:first-child { border-left: 0; }
.trust-grid strong { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.trust-grid span { font-size: 14px; color: #ffe1e3; }

/* ---------- why ---------- */
.why { background: var(--cream); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: stretch; perspective: 1400px; }

/* entrance: header from top, left card from left, right cards from right */
.why .section-head { opacity: 0; transform: translateY(-24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.why.in-view .section-head { opacity: 1; transform: none; }
.climate-card { opacity: 0; transform: translateX(-110px) rotateY(10deg); }
.why.in-view .climate-card { animation: whyLeft 1s cubic-bezier(.2,.7,.2,1) .1s forwards; }
.why .benefit { opacity: 0; transform: translateX(110px) rotateY(-10deg); }
.why.in-view .benefit { animation: whyRight .9s cubic-bezier(.2,.7,.2,1) forwards; }
.why.in-view .benefit:nth-child(1) { animation-delay: .25s; }
.why.in-view .benefit:nth-child(2) { animation-delay: .38s; }
.why.in-view .benefit:nth-child(3) { animation-delay: .51s; }
.why.in-view .benefit:nth-child(4) { animation-delay: .64s; }
@keyframes whyLeft  { from { opacity: 0; transform: translateX(-110px) rotateY(10deg); }  to { opacity: 1; transform: none; } }
@keyframes whyRight { from { opacity: 0; transform: translateX(110px) rotateY(-10deg); }  to { opacity: 1; transform: none; } }

/* weather tiles pop in after the red card lands */
.weather > div { opacity: 0; transform: translateY(18px) scale(.94); }
.why.in-view .weather > div { animation: tilePop .6s cubic-bezier(.2,.8,.2,1.2) forwards; }
.why.in-view .weather > div:nth-child(1) { animation-delay: .75s; }
.why.in-view .weather > div:nth-child(2) { animation-delay: .87s; }
.why.in-view .weather > div:nth-child(3) { animation-delay: .99s; }
.why.in-view .weather > div:nth-child(4) { animation-delay: 1.11s; }
@keyframes tilePop { to { opacity: 1; transform: none; } }

/* red climate card with floating orb + mouse tilt */
.climate-card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%); color: #fff;
  padding: 44px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden;
  transform-style: preserve-3d; will-change: transform;
}
.why.in-view .climate-card.is-done { animation: none; opacity: 1; transform: none; transition: transform .35s ease, box-shadow .35s ease; }
.why.in-view .climate-card.is-done:hover {
  transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(1.02); box-shadow: 0 30px 70px rgba(127,12,20,.35);
}
.climate-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.10); animation: orb 9s ease-in-out infinite; pointer-events: none;
}
.climate-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255,255,255,.14), transparent 60%);
}
.climate-card:hover::after { opacity: 1; }
@keyframes orb { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 40px) scale(1.15); } }
.climate-card > * { position: relative; z-index: 1; }
.climate-card h3 { margin-bottom: 26px; }
.weather { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.weather > div {
  background: rgba(0,0,0,.18); border-radius: 8px; padding: 18px; border: 1px solid transparent;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s, border-color .3s;
}
.why.in-view .weather > div.is-done { animation: none; opacity: 1; transform: none; }
.why.in-view .weather > div.is-done:hover { transform: translateY(-4px) scale(1.04); background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.22); }
.weather .wx {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.14); color: #fff; margin-bottom: 12px; transition: transform .4s cubic-bezier(.2,.8,.2,1.4), background .3s;
}
.weather > div:hover .wx { transform: rotate(-8deg) scale(1.12); background: rgba(255,255,255,.26); }
.weather .wx svg { width: 26px; height: 26px; }
.weather strong { display: block; font-size: 20px; margin-bottom: 4px; }
.weather span:not(.wx) { font-size: 13.5px; color: #ffd8da; }

/* benefit cards: lift + zoom on hover, glowing top border, icon bounce */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.benefit {
  position: relative; background: #fff; border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--red);
  box-shadow: 0 4px 14px rgba(0,0,0,.05); overflow: hidden;
}
.why.in-view .benefit.is-done { animation: none; opacity: 1; transform: none; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.benefit::before {
  content: ""; position: absolute; left: 0; right: 0; top: -4px; height: 4px; background: linear-gradient(90deg, var(--red), #ff8b91, var(--red));
  background-size: 200% 100%; opacity: 0; transition: opacity .3s;
}
.benefit::after {
  content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at 20% 0%, rgba(235,29,39,.08), transparent 60%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.why.in-view .benefit.is-done:hover { transform: translateY(-8px) scale(1.04); box-shadow: 0 24px 50px rgba(17,17,17,.14); }
.benefit.is-done:hover::before { opacity: 1; animation: shimmer 1.6s linear infinite; }
.benefit.is-done:hover::after { opacity: 1; }
@keyframes shimmer { to { background-position: 200% 0; } }
.benefit-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: #fdecec; color: var(--red); margin-bottom: 14px; position: relative; transition: background .3s, color .3s, transform .3s;
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit.is-done:hover .benefit-icon { background: var(--red); color: #fff; animation: iconBounce .6s cubic-bezier(.2,.8,.2,1.4); }
@keyframes iconBounce { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-6deg); } 100% { transform: scale(1.06); } }
.benefit h4 { margin-bottom: 8px; position: relative; }
.benefit p { margin: 0; color: var(--muted); font-size: 15px; position: relative; }

@media (prefers-reduced-motion: reduce) {
  .why .section-head, .climate-card, .benefit, .weather > div { opacity: 1 !important; transform: none !important; animation: none !important; }
  .climate-card::before { animation: none; }
}

/* ---------- products ---------- */
.products { background: var(--ink-2); color: #fff; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.products h2 { margin: 6px 0 16px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 30px; }
.chip { border: 1px solid #4b5350; border-radius: 99px; padding: 8px 16px; color: #dfe5e1; font-size: 14px; }
.swatches { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 3px solid #fff; padding: 0;
  box-shadow: 0 0 0 1px #777; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active { box-shadow: 0 0 0 3px var(--red); transform: scale(1.1); }
.swatch-label { font-size: 13px; color: #aab1ae; margin-left: 6px; }
.swatch-label strong { color: #fff; }
/* --- all sheet visuals are driven by --roof on #products --- */
.roof-visual, .pcard-visual {
  --r-hi: color-mix(in srgb, var(--roof), #fff 34%);
  --r-lt: color-mix(in srgb, var(--roof), #fff 14%);
  --r-md: var(--roof);
  --r-dk: color-mix(in srgb, var(--roof), #000 28%);
  --r-dp: color-mix(in srgb, var(--roof), #000 45%);
}
.pcard:nth-child(1) .pcard-visual { --cd: .12s; }
.pcard:nth-child(2) .pcard-visual { --cd: .24s; }
.pcard:nth-child(3) .pcard-visual { --cd: .36s; }
/* swatch click ripple */
.swatch { position: relative; }
.swatch::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; transform: scale(1); pointer-events: none; }
.swatch.is-active.rippling::after { animation: swatchRipple .7s ease-out; }
@keyframes swatchRipple { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }
.roof-visual {
  height: 340px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: repeating-linear-gradient(100deg, var(--r-dk) 0, var(--r-hi) 18px, var(--r-dp) 36px, var(--r-lt) 52px);
  box-shadow: inset 0 0 80px rgba(0,0,0,.25), var(--shadow);
}
.roof-visual span em { font-style: normal; font-weight: 600; opacity: .85; transition: opacity .3s; }
.roof-visual span { z-index: 2; }
.roof-visual::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5));
}
.roof-visual span { position: absolute; left: 26px; bottom: 22px; color: #fff; font-weight: 800; font-size: 26px; }
.pcard-visual { height: 150px; border-radius: 8px; margin-bottom: 18px; position: relative; overflow: hidden; background: #1a1d1c; }
.pcard-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 40%, rgba(0,0,0,.35)); pointer-events: none; }
/* 1. sheet – front view, vertical corrugations in perspective */
.pv-sheet { background: linear-gradient(180deg, #2a2e2d, #171a19); }
.pv-sheet i {
  position: absolute; left: -4%; right: -4%; top: -40%; bottom: 10%;
  background: repeating-linear-gradient(90deg, var(--r-dp) 0, var(--r-md) 9px, var(--r-hi) 18px, var(--r-lt) 27px, var(--r-dp) 38px);
  transform: perspective(380px) rotateX(52deg); transform-origin: 50% 100%; border-radius: 4px;
  box-shadow: 0 -14px 34px rgba(0,0,0,.45);
}
/* 2. ridge – apex view: two slopes meeting under a ridge cap */
.pv-ridge { background: linear-gradient(180deg, #2a2e2d, #171a19); }
.pv-ridge i {
  position: absolute; inset: 14% 8% -20% 8%;
  background:
    repeating-linear-gradient(118deg, var(--r-dp) 0, var(--r-lt) 10px, var(--r-hi) 16px, var(--r-md) 24px, var(--r-dp) 30px) left / 50% 100% no-repeat,
    repeating-linear-gradient(62deg,  var(--r-dp) 0, var(--r-md) 10px, var(--r-lt) 16px, var(--r-dk) 24px, var(--r-dp) 30px) right / 50% 100% no-repeat;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.pv-ridge::before {
  content: ""; position: absolute; left: 50%; top: 10%; width: 20%; height: 78%; transform: translateX(-50%) perspective(300px) rotateX(58deg);
  transform-origin: 50% 0; border-radius: 40% 40% 0 0 / 100% 100% 0 0; z-index: 2;
  background: linear-gradient(90deg, var(--r-dk), var(--r-hi) 50%, var(--r-dk)); box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
/* 3. accessories – close-up crests with hook bolts + washers */
.pv-acc { background: repeating-linear-gradient(100deg, var(--r-dp) 0, var(--r-hi) 34px, var(--r-dp) 68px, var(--r-lt) 96px); }
.pv-acc b {
  position: absolute; width: 26px; height: 26px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 40% 35%, #f2f3f0 0 5px, #9aa0a0 6px 8px, #4a4f4e 9px 11px, #2b2f2e 12px);
  box-shadow: 0 4px 10px rgba(0,0,0,.5), 0 0 0 5px rgba(0,0,0,.18);
}
.pv-acc b:nth-child(1) { left: 22%; top: 26%; }
.pv-acc b:nth-child(2) { left: 55%; top: 48%; transform: scale(.9); }
.pv-acc b:nth-child(3) { left: 82%; top: 22%; transform: scale(.8); }
.pv-acc::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 70%; height: 3px; border-radius: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, #cfd3d1, transparent); opacity: .7;
}
.product-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.pcard { background: #262a29; border-radius: var(--radius); padding: 22px; border: 1px solid #333937; transition: transform .25s, border-color .25s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--red); }
.pcard h4 { margin-bottom: 8px; }
.pcard p { color: #c1c7c4; font-size: 14.5px; margin: 0 0 14px; }
.pcard .link { color: #ff8b91; }

/* ---------- finder ---------- */
.section-head--center { display: block; text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head--center h2 { margin-bottom: 14px; }
.tabs {
  display: flex; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; margin: 0 auto 40px; width: max-content; max-width: 100%;
  box-shadow: 0 6px 24px rgba(17,17,17,.08);
}
.tab {
  display: inline-flex; align-items: center; justify-content: center; min-width: 210px; padding: 15px 30px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: .16em; white-space: nowrap;
  transition: color .25s, background .3s, box-shadow .3s;
}
.tab:hover { color: var(--ink); background: var(--cream); }
.tab.is-active { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(235,29,39,.30); }
.tab .ci { display: none; }
/* coverflow carousel */
.cf { position: relative; padding: 10px 0 20px; }
.cf::before {
  content: ""; position: absolute; left: 50%; top: 8%; width: 420px; height: 420px; transform: translateX(-10%);
  background: radial-gradient(circle at 40% 40%, rgba(235,29,39,.55), rgba(235,29,39,.15) 55%, transparent 72%);
  filter: blur(40px); pointer-events: none; z-index: 0;
}
.cf-stage { position: relative; height: 700px; perspective: 1600px; z-index: 1; }
.cf-card {
  position: absolute; top: 50%; left: 50%; width: min(440px, 80vw); margin-left: calc(min(440px, 80vw) / -2);
  background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(17,17,17,.14);
  transform-style: preserve-3d; cursor: pointer;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s, box-shadow .7s, filter .7s;
  will-change: transform;
}
.cf-card.is-center { z-index: 3; transform: translateY(-50%) translateX(0) scale(1) rotateY(0); opacity: 1; cursor: default; }
.cf-card.is-left  { z-index: 2; transform: translateY(-50%) translateX(-78%) scale(.82) rotateY(22deg); opacity: .55; filter: saturate(.7); }
.cf-card.is-right { z-index: 2; transform: translateY(-50%) translateX(78%) scale(.82) rotateY(-22deg); opacity: .55; filter: saturate(.7); }
.cf-card.is-left:hover, .cf-card.is-right:hover { opacity: .8; }
.cf-img { aspect-ratio: 1 / 1; background-size: cover; background-position: center; }
.cf-body { padding: 26px 28px 28px; text-align: center; }
.cf-body h3 { font-size: 22px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.cf-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cf-body .actions { justify-content: center; margin-top: 20px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .5s .15s; }
.cf-card.is-center .cf-body .actions { max-height: 160px; opacity: 1; }
.cf-body .btn { padding: 13px 24px; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.cf-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--red); background: var(--ink); color: #fff; font-size: 18px; transition: .2s;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.cf-arrow:hover { background: var(--red); }
.cf-arrow.prev { left: 0; } .cf-arrow.next { right: 0; }
.finder-img {
  aspect-ratio: 1 / 1; width: 100%; border-radius: 10px; background-size: cover; background-position: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- solutions ---------- */
.solutions { background: var(--sand); }
.applications { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.appcard {
  min-height: 420px; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; border-radius: var(--radius); background-size: cover; background-position: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s;
}
.appcard:hover { transform: translateY(-4px); }
.appcard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,10,.88), transparent 65%); }
.appcard > * { position: relative; }
.appcard h3 { font-size: 30px; margin-bottom: 8px; }
.appcard p { max-width: 460px; margin: 0 0 14px; color: #e6e9e7; }

/* ---------- impact ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.story-img { min-height: 480px; background-size: cover; background-position: center; }
.story-copy { padding: 54px; }
.story-copy h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 16px; }
.story-copy > p { color: var(--muted); }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.metrics > div { border-top: 2px solid var(--line); padding-top: 14px; }
.metrics strong { display: block; font-size: 26px; color: var(--red); letter-spacing: -.02em; }
.metrics span { font-size: 14px; color: var(--muted); }

/* ---------- support ---------- */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.support-grid > div { padding: 26px 0 0; border-top: 3px solid var(--ink); }

.support-grid strong { display: block; font-size: 20px; margin-bottom: 6px; }
.support-grid span:not(.sup-icon) { color: var(--muted); font-size: 15px; }

/* ---------- contact ---------- */
.contact { background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy > p { color: #ffd8da; font-size: 17px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-weight: 600; }
.contact-form { background: #fff; color: var(--ink); padding: 36px; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.25); display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fbfaf8; color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--red); border-color: var(--red); }
.form-note { margin: 0; font-size: 14px; color: #1f7a3f; min-height: 1.2em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9cdcb; padding: 60px 0 0; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.foot h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.foot a { display: block; margin: 8px 0; font-size: 15px; }
.foot a:hover { color: var(--red); }
.brand-light { margin: 0 0 14px; }
.brand-light .brand-text small { color: #c9cdcb; }
.foot .bn { color: #ff8b91; }
.copyright { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid #2b302e; margin-top: 40px; padding: 22px 0; font-size: 13px; color: #8a918e; }

.to-top {
  border: 0; cursor: pointer; font: inherit;
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--red);
  color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); z-index: 40;
  opacity: 0; transform: translateY(12px); transition: .3s; pointer-events: none;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .trust-grid, .support-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(3) { border-left: 0; }
  .product-cards { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .topbar-right { display: none; }
  .navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .navlinks.is-open { display: flex; }
  .navlinks li a { display: block; padding: 16px 20px; border-top: 1px solid var(--line); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section-head, .why-grid, .products-grid, .applications, .story, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 600px; }
  .hero-copy { padding: 80px 20px 100px; }
  .hero-bg { background-position: 72% center; }
  .hero-arrow { display: none; }
  .story-img { min-height: 300px; }
  .story-copy, .finder-result, .climate-card { padding: 30px; }
  .tabs { display: flex; flex-direction: column; border-radius: 22px; width: 100%; }
  .tab { min-width: 0; padding: 14px 18px; letter-spacing: .12em; }
  .cf-stage { height: 760px; }
  .cf-body .actions { flex-direction: column; }
  .cf-body .btn { justify-content: center; }
  .cf-card.is-left, .cf-card.is-right { opacity: 0; pointer-events: none; }
  .cf::before { display: none; }
  .cf-arrow { width: 44px; height: 44px; }
  .weather, .benefits, .contact-form .row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .trust-grid, .support-grid, .foot { grid-template-columns: 1fr; }
  .trust-grid > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .brand-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-slide, .reveal { transition: none; animation: none !important; }
  .hero-slide.is-active .hero-copy > * { animation: none; }
}

/* ---------- inline SVG icons ---------- */
.ico { display: inline-flex; vertical-align: -3px; margin-right: 4px; }
.ico svg { width: 15px; height: 15px; }
.contact-list .ico svg { width: 18px; height: 18px; }
.sup-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--ink); color: #fff; margin-bottom: 14px;
}
.sup-icon svg { width: 26px; height: 26px; }

/* ---------- detail pages ---------- */
.detail-hero {
  position: relative; min-height: 520px; display: grid; align-items: end; background-size: cover; background-position: center 30%; color: #fff;
  padding: 0;
}
.detail-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.55) 50%, rgba(10,10,12,.25) 100%);
}
.detail-hero-copy { position: relative; padding: 140px 0 64px; max-width: 760px; }
.detail-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.detail-hero .lead { font-size: 18px; color: #e8eae9; max-width: 640px; margin-top: 16px; }
.crumb { display: inline-block; font-size: 13px; font-weight: 700; color: #ffd0d3; margin-bottom: 18px; }
.crumb:hover { color: #fff; }
.detail-body { background: #fff; }
.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.detail-grid h2 { margin: 6px 0 28px; }
.detail-grid h3 { margin: 6px 0 18px; }
.detail-benefits { display: grid; gap: 18px; }
.detail-benefits .benefit { display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; align-items: start; }
.detail-benefits .benefit .benefit-icon { grid-row: 1 / 3; margin: 0; }
.detail-benefits .benefit p { grid-column: 2; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks.small li { font-size: 14.5px; }
.tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #fdecec; color: var(--red); display: grid; place-items: center; margin-top: 1px; }
.tick svg { width: 14px; height: 14px; }
.detail-side {
  position: sticky; top: 130px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: grid; gap: 16px;
}
.detail-side h4 { margin-top: 6px; }
.detail-side .btn { justify-content: center; }
.detail-cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.detail-cta-inner h2 { margin: 6px 0 12px; }
.detail-cta-inner > div > p:last-child { color: #ffd8da; }
.detail-cta .actions { justify-content: flex-end; margin-top: 0; }
@media (max-width: 860px) {
  .detail-grid, .detail-cta-inner { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .detail-cta .actions { justify-content: flex-start; }
  .detail-hero-copy { padding: 90px 0 48px; }
}

/* =====================================================
   Modals: product detail + quotation
   ===================================================== */
html.modal-open { overflow: hidden; }
.modal-root { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; pointer-events: none; }
.modal-root.is-open { pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,10,12,.62); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal-root.is-open .modal-backdrop { opacity: 1; }
.modal {
  position: relative; width: min(1120px, 100%); max-height: calc(100vh - 48px); background: #fff; border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0,0,0,.35); display: grid; grid-template-rows: 1fr auto; overflow: hidden;
  opacity: 0; transform: translateY(28px) scale(.96); transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.2,1);
}
.modal-root.is-open .modal { opacity: 1; transform: none; }
.modal.is-swapping { opacity: 0; transform: translateY(10px) scale(.98); transition-duration: .2s; }
.modal-body { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(17,17,17,.08); color: var(--ink); display: grid; place-items: center; transition: .2s;
}
.modal-close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.modal-close svg { width: 20px; height: 20px; }
.modal-foot {
  display: flex; justify-content: flex-end; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--line);
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
}
.modal-foot .btn svg, .qf-head .btn svg, .qf-success .btn svg { width: 18px; height: 18px; }

/* staggered content entrance */
.modal-root.is-open .pd-main > *, .modal-root.is-open .qf-form > * { animation: mIn .5s cubic-bezier(.2,.7,.2,1) both; }
.modal-root.is-open .pd-main > *:nth-child(2), .modal-root.is-open .qf-form > *:nth-child(2) { animation-delay: .06s; }
.modal-root.is-open .pd-main > *:nth-child(3), .modal-root.is-open .qf-form > *:nth-child(3) { animation-delay: .12s; }
.modal-root.is-open .pd-main > *:nth-child(4), .modal-root.is-open .qf-form > *:nth-child(4) { animation-delay: .18s; }
.modal-root.is-open .pd-main > *:nth-child(5) { animation-delay: .24s; }
.modal-root.is-open .pd-main > *:nth-child(6) { animation-delay: .30s; }
.modal-root.is-open .pd-main > *:nth-child(7) { animation-delay: .36s; }
.modal-root.is-open .pd-main > *:nth-child(8) { animation-delay: .42s; }
@keyframes mIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- product detail ---- */
.pd { display: grid; grid-template-columns: 380px 1fr; gap: 0; align-items: stretch; background: linear-gradient(90deg, var(--cream) 0 380px, #fff 380px); }
.pd-side { position: sticky; top: 0; align-self: start; padding: 28px; background: var(--cream); display: flex; flex-direction: column; gap: 16px; }
.pd-img { aspect-ratio: 1 / 1; border-radius: 14px; background-size: cover; background-position: center; box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.pd-chips { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.pd-chips span { font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.pd-hotline { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--ink); color: #fff; }
.pd-hotline small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #aab1ae; }
.pd-hotline b { font-size: 16px; }
.pd-hot-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.pd-hot-ico svg { width: 20px; height: 20px; }
.pd-main { padding: 40px 44px 36px; }
.pd-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fdecec; color: var(--red-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.pd-badge-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.pd-badge-ico svg { width: 15px; height: 15px; }
.pd-main h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.pd-lead { color: var(--muted); font-size: 16.5px; margin: 0 0 28px; }
.pd-h { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 26px 0 14px; }
.pd-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pd-spec { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.pd-spec-ico { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 11px; background: var(--cream); color: var(--red); display: grid; place-items: center; }
.pd-spec-ico svg { width: 22px; height: 22px; }
.pd-spec small { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.pd-spec b { font-size: 15px; }
.pd-adv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pd-adv-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--cream); transition: .2s; }
.pd-adv-item:hover { background: #fff; box-shadow: 0 8px 22px rgba(17,17,17,.08); }
.pd-adv-ico { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--red); display: grid; place-items: center; border: 1px solid var(--line); }
.pd-adv-ico svg { width: 18px; height: 18px; }
.pd-adv-item strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.pd-adv-item span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.pd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pd-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.tick-pin { background: var(--ink); color: #fff; }

/* ---- quotation ---- */
.qf { display: grid; grid-template-columns: 360px 1fr; align-items: stretch; background: linear-gradient(90deg, var(--ink) 0 360px, #fff 360px); }
.qf-side { position: sticky; top: 0; align-self: start; background: var(--ink); color: #fff; }
.qf-img { aspect-ratio: 1 / 1; background-size: cover; background-position: center; }
.qf-side-body { padding: 24px 26px 28px; display: grid; gap: 14px; }
.qf-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #ff8b91; font-weight: 800; }
.qf-side h3 { font-size: 22px; }
.qf-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qf-trust li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #d9dedb; }
.qf-trust .tick { background: rgba(255,255,255,.12); color: #fff; }
.qf-side .pd-hotline { background: var(--red); }
.qf-side .pd-hotline small { color: #ffd0d3; }
.qf-side .pd-hot-ico { background: rgba(0,0,0,.25); }
.qf-form { padding: 40px 44px 36px; display: grid; gap: 28px; }
.qf-head h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: .04em; text-transform: uppercase; }
.qf-head h2 em { font-style: normal; color: var(--red); }
.qf-head p { color: var(--muted); letter-spacing: .06em; margin: 6px 0 16px; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.qf-sec { border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 24px; position: relative; background: #fff; }
.qf-sec::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 4px; border-radius: 4px; background: var(--red); }
.qf-sec h3 { font-size: 20px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.qf-sec h3 b { color: var(--red); margin-right: 6px; }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qf-field { display: grid; gap: 6px; }
.qf-field.full { grid-column: 1 / -1; }
.qf-field > span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.qf-field i { color: var(--red); font-style: normal; }
.qf-field input, .qf-field select, .qf-field textarea {
  font: inherit; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf8; color: var(--ink); transition: .2s; width: 100%;
}
.qf-field input:focus, .qf-field select:focus, .qf-field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(235,29,39,.15); background: #fff; }
.qf-field.is-invalid input, .qf-field.is-invalid select { border-color: var(--red); background: #fff5f5; }
.qf-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.qf-note { margin: 0; font-size: 14px; color: var(--red-dark); min-height: 1.2em; }

/* ---- success ---- */
.qf-success { padding: 70px 40px; text-align: center; display: grid; gap: 14px; justify-items: center; max-width: 560px; margin: 0 auto; }
.qf-success h2 { font-size: 32px; }
.qf-success p { color: var(--muted); margin: 0; }
.qf-success .actions { margin-top: 14px; }
.qf-success small { color: var(--muted); font-size: 12px; margin-top: 10px; }
.qf-check { width: 96px; height: 96px; }
.qf-check svg { width: 100%; height: 100%; fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.qf-check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: dash .8s ease forwards; }
.qf-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: dash .5s .6s ease forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* clickable center card image */
.cf-card.is-center .cf-img { cursor: pointer; position: relative; }
.cf-card.is-center .cf-img::after {
  content: "View details"; position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 8px); padding: 8px 14px; border-radius: 999px;
  background: rgba(17,17,17,.75); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transition: .25s; backdrop-filter: blur(6px);
}
.cf-card.is-center .cf-img:hover::after { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .qf, .pd { background: #fff; }
  .modal-root { padding: 0; }
  .modal { width: 100%; max-height: 100vh; border-radius: 0; }
  .pd, .qf { grid-template-columns: 1fr; }
  .pd-side, .qf-side { position: static; }
  .pd-img { max-width: 320px; }
  .qf-img { aspect-ratio: 16 / 9; }
  .pd-main, .qf-form { padding: 26px 20px; }
  .pd-specs, .pd-adv, .pd-two, .qf-grid { grid-template-columns: 1fr; }
  .modal-foot { padding: 12px 16px; }
  .modal-foot .btn { flex: 1; justify-content: center; }
}

/* =====================================================
   Site-wide directional reveal + hover zoom
   ===================================================== */
[data-anim-scope] { overflow: hidden; }
[data-anim] { opacity: 0; --dist: 110px; }
.in-view [data-anim="left"]  { animation: aLeft  .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
.in-view [data-anim="right"] { animation: aRight .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
.in-view [data-anim="up"]    { animation: aUp    .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
.in-view [data-anim="down"]  { animation: aDown  .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
.in-view [data-anim="pop"]   { animation: aPop   .6s cubic-bezier(.2,.8,.2,1.2) var(--d, 0s) both; }
@keyframes aLeft  { from { opacity: 0; transform: translateX(calc(var(--dist) * -1)) rotateY(8deg); }  to { opacity: 1; transform: none; } }
@keyframes aRight { from { opacity: 0; transform: translateX(var(--dist)) rotateY(-8deg); }            to { opacity: 1; transform: none; } }
@keyframes aUp    { from { opacity: 0; transform: translateY(40px); }                                   to { opacity: 1; transform: none; } }
@keyframes aDown  { from { opacity: 0; transform: translateY(-24px); }                                  to { opacity: 1; transform: none; } }
@keyframes aPop   { from { opacity: 0; transform: scale(.88); }                                         to { opacity: 1; transform: none; } }
/* frozen state after the entrance: hover effects use transitions only */
[data-anim].is-done { animation: none; opacity: 1; transform: none; }
.hover-zoom.is-done { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .25s; }
.hover-zoom.is-done:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 24px 50px rgba(17,17,17,.16); }
.appcard.hover-zoom.is-done:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.pcard.hover-zoom.is-done:hover { border-color: var(--red); }
.support-grid > .hover-zoom { padding-left: 4px; padding-right: 4px; border-radius: 8px; }
.support-grid > .hover-zoom.is-done:hover { box-shadow: none; transform: translateY(-6px) scale(1.04); }
.support-grid > .hover-zoom.is-done:hover .sup-icon { background: var(--red); transform: rotate(-8deg) scale(1.1); }
.sup-icon { transition: background .3s, transform .4s cubic-bezier(.2,.8,.2,1.4); }
.metrics > .hover-zoom.is-done:hover { transform: translateX(6px); box-shadow: none; }
.metrics > .hover-zoom.is-done:hover strong { color: var(--red-dark); }
.chip.is-done { transition: transform .25s, border-color .25s, background .25s; }
.chip.is-done:hover { transform: translateY(-2px) scale(1.06); border-color: var(--red); background: rgba(235,29,39,.12); }
.trust-grid > .is-done { transition: transform .3s; }
.trust-grid > .is-done:hover { transform: scale(1.06); }
.trust-grid > .is-done:hover strong { text-shadow: 0 0 24px rgba(255,255,255,.6); }
.contact-form.is-done:hover { box-shadow: 0 30px 70px rgba(0,0,0,.35); }
@media (max-width: 860px) { [data-anim] { --dist: 48px; } }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- WhatsApp widget ---------- */
.wa-widget {
  position: fixed; right: 22px; bottom: 22px; z-index: 41; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), bottom .3s;
}
.wa-widget.is-lifted { bottom: 82px; }
.wa-widget svg { width: 30px; height: 30px; }
.wa-widget::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-widget:hover { transform: scale(1.08); }
.wa-tip {
  position: absolute; right: 68px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: .25s;
}
.wa-tip::after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: var(--ink); }
.wa-widget:hover .wa-tip { opacity: 1; transform: translate(0, -50%); }

/* =====================================================
   Section pages (why / products / find / solutions / support / contact)
   ===================================================== */
.page-hero { min-height: 460px; }
.page-hero .detail-hero-copy { padding: 120px 0 56px; }
.detail-body.alt { background: var(--cream); }
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.two-col .section-head { grid-template-columns: 1fr; margin-bottom: 24px; }
.two-col .section-head p:last-child { margin-top: 10px; }
.two-col > div > p { color: var(--muted); font-size: 16.5px; }
.fact-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; position: sticky; top: 130px; }
.fact-card h4 { font-size: 18px; }
.fact-card .btn { justify-content: center; }
.fact-card p { margin: 0; color: var(--muted); font-size: 15px; }
.fact-card .small { font-size: 14px; }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.note.center { text-align: center; }
.adv-page { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.adv-page .pd-adv-item { background: #fff; border: 1px solid var(--line); padding: 18px; }
.detail-body.alt .adv-page .pd-adv-item { background: #fff; }
.spec-page { grid-template-columns: 1fr 1fr; margin: 18px 0 22px; }
/* comparison / size tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
.cmp th.hi, .cmp td.hi { background: #fdecec; color: var(--ink); font-weight: 700; }
.cmp thead th.hi { color: var(--red-dark); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 700; }
.cmp.sizes td:first-child { color: var(--red-dark); }
/* products page */
.prod-list { display: grid; gap: 28px; }
.prod { display: grid; grid-template-columns: 380px 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.prod-img { aspect-ratio: 1 / 1; border-radius: 12px; background-size: cover; background-position: center; }
.prod-body h3 { margin: 6px 0 10px; }
.prod-body > p { color: var(--muted); }
.prod-body .actions { margin-top: 4px; }
/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px 22px; }
.step b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-size: 17px; margin-bottom: 14px; }
.step h4 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
/* estimator */
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.estimator label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.estimator label small { font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: 0; }
.estimator input, .estimator select { font: inherit; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf8; }
.estimator input:focus, .estimator select:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(235,29,39,.15); background: #fff; }
.est-card { background: var(--ink); color: #fff; border-color: var(--ink); }
.est-card h4 { color: #fff; }
.est-num { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.est-num b { font-size: 30px; color: #ff8b91; letter-spacing: -.02em; }
.est-num span { font-size: 14px; color: #cfd5d2; }
.est-hint { font-size: 13px; color: #aab1ae; margin: 10px 0 0; }
.est-card .btn { margin-top: 6px; }
/* solutions page */
.app3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app3 .appcard { min-height: 380px; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.use-ico { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--red); display: grid; place-items: center; border: 1px solid var(--line); }
.use-ico svg { width: 24px; height: 24px; }
.use strong { font-size: 16px; }
.use span:not(.use-ico) { font-size: 13.5px; color: var(--muted); }
/* support page */
.div-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.div-chip { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; }
.div-chip .ico { color: var(--red); }
.div-chip .ico svg { width: 18px; height: 18px; }
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 18px 20px; border: 0; background: none; font-weight: 700; font-size: 16px; color: var(--ink); }
.faq-q svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--red); transition: transform .3s; }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.is-open .faq-a { max-height: 300px; }
.faq-a p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
/* contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ccard { display: grid; gap: 4px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.ccard-ico { width: 46px; height: 46px; border-radius: 12px; background: #fdecec; color: var(--red); display: grid; place-items: center; margin-bottom: 8px; }
.ccard-ico.wa { background: #e6f9ee; color: #1aa04b; }
.ccard-ico svg { width: 22px; height: 22px; }
.ccard small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.ccard b { font-size: 17px; word-break: break-all; }
.ccard span:last-child { font-size: 13px; color: var(--muted); }
.contact-copy > p { color: #ffd8da; }
.contact-form h3 { margin-bottom: 4px; }
.map { margin-top: 26px; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.25); aspect-ratio: 16 / 10; background: #fff; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 1024px) { .adv-page, .app3, .use-grid { grid-template-columns: 1fr 1fr; } .contact-cards, .div-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .two-col, .prod, .adv-page, .app3, .use-grid, .estimator, .spec-page { grid-template-columns: 1fr; }
  .fact-card { position: static; }
  .prod { padding: 18px; }
  .prod-img { max-width: 360px; }
  .page-hero .detail-hero-copy { padding: 90px 0 44px; }
}
@media (max-width: 520px) { .contact-cards, .div-grid { grid-template-columns: 1fr; } }
/* icon sizing inside any button + tidier step grid */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.steps { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.page-hero::before { background: linear-gradient(0deg, rgba(10,10,12,.94) 0%, rgba(10,10,12,.62) 55%, rgba(10,10,12,.35) 100%); }

/* =====================================================
   Preloader
   ===================================================== */
html.is-loading { overflow: hidden; }
#preloader { position: fixed; inset: 0; z-index: 1000; background: transparent; overflow: hidden; }
/* the two curtains ARE the backdrop: closed from the first frame, they only ever open */
#preloader::before, #preloader::after { content: ""; position: absolute; top: 0; bottom: 0; width: 50.5%; background: #0b0c0c; z-index: 1; transform: scaleX(1); }
#preloader::before { left: 0; transform-origin: left; }
#preloader::after { right: 0; transform-origin: right; }
#preloader canvas { position: absolute; inset: 0; display: block; z-index: 2; }
#preloader.is-shake canvas { animation: plShake .35s ease-out; }
@keyframes plShake { 0%,100% { transform: none; } 20% { transform: translate(-6px, 4px); } 40% { transform: translate(5px, -3px); } 60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, -1px); } }
.pl-ui { position: absolute; z-index: 3; left: 50%; bottom: clamp(36px, 8vh, 80px); transform: translateX(-50%); width: min(320px, 70vw); color: #8f9793; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; display: grid; gap: 10px; text-align: center; }
.pl-bar { height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.pl-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7f0c14, #eb1d27, #ff8b91); box-shadow: 0 0 14px rgba(235,29,39,.7); }
.pl-meta { display: flex; justify-content: space-between; }
.pl-skip { position: absolute; z-index: 3; right: 22px; top: 18px; color: #8f9793; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; cursor: pointer; }
/* finish: scene fades, then the curtains part to reveal the page underneath */
#preloader.is-done { pointer-events: none; }
#preloader.is-done canvas, #preloader.is-done .pl-ui, #preloader.is-done .pl-skip { opacity: 0; transition: opacity .3s ease; }
#preloader.is-done::before { animation: curtainOpen .9s cubic-bezier(.77,0,.18,1) .3s forwards; }
#preloader.is-done::after  { animation: curtainOpen .9s cubic-bezier(.77,0,.18,1) .3s forwards; }
@keyframes curtainOpen { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* hold hero entrance until the preloader has finished */
html.is-loading .hero-slide.is-active .hero-copy > * { animation-play-state: paused; }

/* =====================================================
   Anwar DuraRoof content (v2)
   ===================================================== */
/* --- shared atoms --- */
.h-stack { margin: 0 0 14px; }
.lede { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.two-col.even { grid-template-columns: 1fr 1fr; align-items: center; }
.two-col.even.top { align-items: start; }
.sticky-col { position: sticky; top: 140px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.head-row .h-stack { margin-bottom: 0; }
.dr-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: #fdecec; color: var(--red); display: grid; place-items: center; }
.dr-ico svg { width: 20px; height: 20px; }
.dr-logo { width: 200px; max-width: 60%; height: auto; margin-bottom: 14px; mix-blend-mode: multiply; }
.dr-logo-chip { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 16px; margin-bottom: 22px; line-height: 0; }
.dr-logo-chip img { height: 42px; width: auto; }
.dr-logo-chip.sm { padding: 7px 12px; margin-bottom: 14px; } .dr-logo-chip.sm img { height: 30px; }
.frame { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.frame.tall img { aspect-ratio: 4 / 3; }
.frame figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--muted); }
.diagram { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: zoom-in; transition: box-shadow .25s, transform .25s; }
.diagram:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cmp.compact th, .cmp.compact td { padding: 10px 14px; font-size: 13.5px; }
.cmp.tds td:nth-child(n+2) { white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
/* quote block */
.qm { width: 28px; height: 28px; color: var(--red); flex-shrink: 0; }
.qblock { margin: 6px 0 0; padding: 2px 0 2px 22px; border-left: 3px solid var(--red); }
.qblock p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.qblock p:last-child { margin-bottom: 0; }
.qby { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.qby img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 60% 12%; border: 2px solid var(--red); background: var(--cream); }
.qby strong { display: block; font-size: 16px; }
.qby small { color: var(--muted); font-size: 13px; }
/* KPI tiles */
.kpis { display: grid; gap: 14px; }
.kpi { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.kpi b { font-size: 38px; letter-spacing: -.03em; color: var(--red); line-height: 1; }
.kpi span { color: var(--muted); font-size: 14.5px; }
.kpis.sm .kpi { grid-template-columns: 110px 1fr; padding: 14px 18px; background: var(--cream); }
.kpis.sm .kpi b { font-size: 24px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 18px 0 22px; }
.kpi-row div { padding: 14px 10px 14px 0; }
.kpi-row b { display: block; font-size: 21px; letter-spacing: -.02em; }
.kpi-row span { font-size: 12.5px; color: var(--muted); }
/* tabs */
.xtabs-bar { display: flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; box-shadow: 0 4px 16px rgba(17,17,17,.05); }
.xtab { padding: 11px 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; font-size: 13.5px; color: var(--muted); white-space: nowrap; transition: .25s; }
.xtab:hover { color: var(--ink); }
.xtab.is-active { background: var(--ink); color: #fff; }
.xpanel { display: none; }
.xpanel.is-active { display: block; animation: mIn .45s cubic-bezier(.2,.7,.2,1) both; }
.profile-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.tds-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.cta-stack { display: grid; gap: 10px; } .cta-stack .btn { justify-content: center; }
.len-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.len { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: center; transition: .2s; }
.len:hover { border-color: var(--red); transform: translateY(-2px); }
.len b { display: block; font-size: 22px; color: var(--red); }
.len span { font-size: 12.5px; color: var(--muted); }
.fig { margin: 0; } .fig figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.pull { font-size: 18px; font-weight: 600; max-width: 760px; margin: 26px 0 0; padding-left: 20px; border-left: 3px solid var(--red); }
/* rails */
.rail-ctrl { display: flex; gap: 10px; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: .2s; }
.rail-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.rail-btn svg { width: 20px; height: 20px; }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail::-webkit-scrollbar, .xtabs-bar::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 clamp(260px, 26vw, 330px); scroll-snap-align: start; }
.rail-bar { height: 3px; background: var(--line); border-radius: 3px; margin-top: 18px; overflow: hidden; }
.rail-bar span { display: block; height: 100%; width: 25%; background: var(--red); border-radius: 3px; transition: transform .15s linear; transform-origin: left; }
.pj { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background-size: cover; background-position: center; color: #fff; display: flex; align-items: flex-end; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.pj::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.9) 0%, rgba(10,10,12,.25) 55%, transparent 75%); transition: .3s; }
.pj:hover { transform: translateY(-6px); }
.pj-n { position: absolute; top: 16px; left: 16px; font-size: 12px; font-weight: 800; letter-spacing: .12em; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); }
.pj figcaption { position: relative; padding: 20px; display: grid; gap: 4px; }
.pj small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: #ff9aa0; }
.pj strong { font-size: 18px; line-height: 1.2; }
.pj figcaption span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #d9dedb; }
.pj figcaption svg { width: 14px; height: 14px; }
/* --- home: DuraRoof dark band --- */
.dr-band { background: var(--ink-2); color: #fff; position: relative; }
.dr-band::before { content: ""; position: absolute; right: -12%; top: -35%; width: 62%; aspect-ratio: 1; background: radial-gradient(circle, rgba(235,29,39,.24), transparent 65%); pointer-events: none; }
.dr-band .wrap { position: relative; }
.dr-band-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.dr-band h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 16px; }
.lede-d { color: #c9cfcc; font-size: 17px; max-width: 520px; }
.dr-visual { position: relative; }
.dr-visual > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.dr-float { position: absolute; padding: 12px 16px; border-radius: 14px; background: rgba(20,22,21,.62); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.22); animation: floaty 6s ease-in-out infinite; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.dr-float b { display: block; font-size: 19px; line-height: 1.1; }
.dr-float span { font-size: 12px; color: #c9cfcc; }
.dr-float.a { left: -24px; top: 12%; }
.dr-float.b { right: -18px; top: 44%; animation-delay: -2s; }
.dr-float.c { left: 12%; bottom: -20px; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-9px); } }
.dr-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid rgba(255,255,255,.14); }
.dr-facts div { padding: 24px 20px 0 0; }
.dr-facts b { display: block; font-size: 28px; letter-spacing: -.02em; color: #ff8b91; }
.dr-facts span { font-size: 13.5px; color: #aab1ae; }
/* --- home: client logo marquee --- */
.clients { background: #fff; }
.clients .section-head { margin-bottom: 30px; }
.logo-marquee { overflow: hidden; padding: 7px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.logo-marquee.rev .logo-track { animation-direction: reverse; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 74px; width: auto; margin-right: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; transition: transform .3s, box-shadow .3s; }
.logo-track img:hover { transform: scale(1.08); box-shadow: var(--shadow); }
@keyframes marquee { to { transform: translateX(-50%); } }
/* --- testimonial spotlight slider --- */
.tslides { display: grid; }
.tslide { grid-area: 1 / 1; display: grid; grid-template-columns: .85fr 1.15fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateX(28px) scale(.985); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), visibility .6s; }
.tslide.is-active { opacity: 1; visibility: visible; transform: none; }
.tslide-media { position: relative; min-height: 360px; background-size: cover; background-position: center; }
.tslide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.55), transparent 55%); }
.tslide-tag { position: absolute; left: 18px; bottom: 18px; z-index: 1; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tslide-body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.tslide-body h3 { font-size: clamp(22px, 2.3vw, 30px); }
.tslide-body p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.tslide-body footer { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.tslide-body footer img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--red); }
.tslide-body footer strong { display: block; }
.tslide-body footer small { color: var(--muted); font-size: 13px; }
.tslider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.tdots { display: flex; gap: 8px; }
.tdots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: #d9d5cc; transition: .3s; }
.tdots button.is-active { width: 48px; background: var(--red); }
/* --- products: feature card + benefits --- */
.dr-feature { display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.dr-feature-media { background: #fbfbfa; display: grid; place-items: center; padding: 28px; }
.dr-feature-media img { width: 100%; mix-blend-mode: multiply; }
.dr-feature-body { padding: 40px 44px; }
.dr-feature-body h3 { margin-bottom: 10px; }
.dr-feature-body > p { color: var(--muted); margin: 0; }
.dr-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.dr-benefits.cols-3 { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.dr-benefit { display: flex; align-items: center; gap: 12px; padding: 13px 15px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.dr-benefit strong { font-size: 14px; line-height: 1.3; }
.dr-benefit.is-done:hover .dr-ico { background: var(--red); color: #fff; }
.dr-ico { transition: background .25s, color .25s; }
/* --- bento --- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.b-3 { grid-column: span 3; } .b-4 { grid-column: span 4; } .b-5 { grid-column: span 5; } .b-7 { grid-column: span 7; } .b-8 { grid-column: span 8; }
.b-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.b-card h4 { margin-bottom: 16px; }
.b-card .tbl-wrap { box-shadow: none; }
.b-plain { align-self: center; padding-left: 12px; }
.b-photo { position: relative; min-height: 280px; border-radius: 18px; overflow: hidden; background-size: cover; background-position: center; color: #fff; display: flex; align-items: flex-end; }
.b-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.82) 0%, rgba(10,10,12,.1) 60%); }
.b-photo > div { position: relative; padding: 24px; }
.b-photo small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: #ff9aa0; }
.b-photo h3 { font-size: 22px; margin-top: 4px; }
.b-photo p { margin: 6px 0 10px; color: #e3e6e4; font-size: 14.5px; }
.b-tall { min-height: 420px; }
.num-list { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 13px; }
.num-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 14.5px; color: var(--muted); }
.num-list li::before { counter-increment: n; content: counter(n, decimal-leading-zero); color: var(--red); font-weight: 800; font-size: 13px; padding-top: 1px; }
.num-list strong { color: var(--ink); }
/* --- BUET certificate fan --- */
.cert-fan { position: relative; height: 400px; max-width: 520px; margin: 0 auto 8px; }
.cert-fan a { position: absolute; top: 34px; width: 46%; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 22px 50px rgba(17,17,17,.18); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; cursor: zoom-in; }
.cert-fan img { width: 100%; display: block; }
.cert-fan a:nth-child(1) { left: 0; transform: rotate(-8deg); }
.cert-fan a:nth-child(2) { left: 27%; top: 8px; z-index: 2; }
.cert-fan a:nth-child(3) { right: 0; transform: rotate(8deg); }
.cert-fan a:hover { transform: rotate(0) translateY(-12px) scale(1.05); z-index: 3; box-shadow: 0 30px 70px rgba(17,17,17,.28); }
.mini-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mini-chips span { font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
/* --- milestones media cards --- */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.media { display: grid; grid-template-columns: 200px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.media > div { padding: 22px 24px; }
.media small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--red); }
.media h4 { margin: 4px 0 8px; }
.media p { margin: 0; color: var(--muted); font-size: 14.5px; }
/* --- disclosure --- */
.disclose { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.disclose summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.disclose summary::-webkit-details-marker { display: none; }
.disclose summary svg { width: 20px; height: 20px; color: var(--red); transition: transform .3s; }
.disclose[open] summary svg { transform: rotate(180deg); }
.disclose img { width: min(860px, 100%); margin: 0 auto; padding: 0 22px 22px; }
/* --- sustainability panels --- */
.leed-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.leed { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 24px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: .25s; }
.leed:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.leed strong { font-size: 14.5px; }
.sdg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sdg { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: .25s; }
.sdg:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sdg-n { width: 52px; height: 52px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 19px; display: grid; place-items: center; }
.sdg strong { display: block; font-size: 15px; margin-bottom: 3px; }
.sdg span:not(.sdg-n) { font-size: 13.5px; color: var(--muted); }
.csr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.csr { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-top: 3px solid var(--red); }
.csr strong { display: block; margin-bottom: 6px; }
.csr span { font-size: 14px; color: var(--muted); }
/* --- solutions --- */
.ind-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-chip { padding: 9px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 13.5px; transition: .2s; }
.ind-chip:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.live { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.live-media { position: relative; aspect-ratio: 5 / 2; background-size: cover; background-position: center 30%; display: flex; align-items: flex-end; }
.live-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.75), transparent 60%); }
.live-media h3 { position: relative; color: #fff; padding: 18px 24px; font-size: 26px; }
.live-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.live-kpis div { padding: 18px 12px 16px 24px; border-left: 1px solid var(--line); }
.live-kpis div:first-child { border-left: 0; }
.live-kpis b { display: block; font-size: 28px; color: var(--red); letter-spacing: -.03em; line-height: 1; }
.live-kpis span { font-size: 12.5px; color: var(--muted); }
.live-body { padding: 20px 24px 24px; }
.glist { display: grid; gap: 12px; }
.grow { display: grid; grid-template-columns: 150px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.grow img { width: 100%; height: 100%; min-height: 104px; object-fit: cover; }
.grow > div { padding: 14px 18px; }
.grow small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--red); }
.grow h4 { font-size: 17px; margin: 2px 0 4px; }
.grow p { margin: 0; font-size: 13.5px; color: var(--muted); }
.map-img { width: 100%; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 10px; cursor: zoom-in; }
/* --- support --- */
.onestop { margin-top: 56px; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.svc { display: grid; gap: 6px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc strong { margin-top: 6px; }
.svc span:not(.dr-ico) { font-size: 13.5px; color: var(--muted); }
/* --- lightbox --- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,12,.9); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 28px; opacity: 0; pointer-events: none; transition: opacity .25s; cursor: zoom-out; }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb img { max-width: min(1100px, 100%); max-height: 90vh; border-radius: 10px; background: #fff; transform: scale(.96); transition: transform .3s cubic-bezier(.2,.7,.2,1); box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.lb.is-open img { transform: none; }
.lb-x { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; }
/* --- responsive --- */
@media (max-width: 1024px) {
  .dr-benefits, .dr-benefits.cols-3 { grid-template-columns: 1fr 1fr; }
  .leed-grid { grid-template-columns: repeat(3, 1fr); }
  .sdg-grid, .csr-grid { grid-template-columns: 1fr 1fr; }
  .bento > * { grid-column: span 6; } .bento > .b-8, .bento > .b-tall { grid-column: span 12; }
  .b-plain { padding-left: 0; }
  .media { grid-template-columns: 140px 1fr; }
}
@media (max-width: 860px) {
  .two-col.even, .dr-band-grid, .tslide, .dr-feature, .profile-split, .tds-split, .media-grid, .live-grid { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .dr-band-grid { gap: 40px; }
  .dr-float.a { left: 8px; } .dr-float.b { right: 8px; }
  .dr-facts { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .tslide-media { min-height: 200px; } .tslide-body { padding: 26px 22px; }
  .dr-feature-body { padding: 26px 22px; }
  .bento > * { grid-column: span 12; }
  .cert-fan { height: 300px; }
  .head-row { align-items: flex-start; flex-direction: column; }
  .kpi { grid-template-columns: 90px 1fr; } .kpi b { font-size: 30px; }
}
@media (max-width: 520px) {
  .dr-benefits, .dr-benefits.cols-3, .sdg-grid, .csr-grid, .svc-grid { grid-template-columns: 1fr; }
  .leed-grid, .kpi-row { grid-template-columns: 1fr 1fr; }
  .len-grid { grid-template-columns: repeat(3, 1fr); }
  .grow { grid-template-columns: 110px 1fr; }
  .media { grid-template-columns: 1fr; } .media img { aspect-ratio: 16 / 9; }
  .live-kpis div { padding-left: 14px; } .live-kpis b { font-size: 22px; }
  .rail > * { flex-basis: 78vw; }
}
@media (prefers-reduced-motion: reduce) { .logo-track, .dr-float { animation: none; } }
/* polish */
p.eyebrow.eyebrow-red { color: var(--red); }
.h-stack + .qblock { margin-top: 24px; }
.h-stack + .lede { margin-top: 0; }
.dr-logo { mix-blend-mode: normal; }
.two-col > div > .lede { font-size: 17px; }
.media img { object-position: center 20%; }

/* =====================================================
   Responsive layer v2: height-aware sizing
   Everything below adapts to viewport HEIGHT as well as width, so short
   laptops (≈600–800px tall) and landscape phones are first-class.
   ===================================================== */
:root { --header-h: 79px; }
html { scroll-padding-top: calc(var(--header-h) + 10px); }

/* ---- fluid section rhythm and headings ---- */
section { padding: clamp(44px, 8.5vh, 90px) 0; }
h2 { font-size: clamp(30px, min(4vw, 6vh), 50px); }
h3 { font-size: clamp(22px, min(3vw, 4.4vh), 34px); }
.section-head { margin-bottom: clamp(22px, 5vh, 48px); }
.section-head p { font-size: clamp(15.5px, 2.3vh, 18px); }
.sub-h { margin-top: clamp(28px, 6vh, 56px); }

/* ---- header ---- */
.fact-card, .detail-side { top: calc(var(--header-h) + 16px); }
.sticky-col { top: calc(var(--header-h) + 24px); }
@media (min-width: 981px) and (max-width: 1120px) { .navlinks { gap: 18px; font-size: 13.5px; } .nav { gap: 20px; } }
@media (max-width: 980px) {
  .navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .navlinks.is-open { display: flex; }
  .navlinks li a { display: block; padding: 14px 20px; border-top: 1px solid var(--line); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 860px) { :root { --header-h: 65px; } .nav { height: 64px; } .brand img { width: 48px; } }
@media (max-height: 820px) {
  :root { --header-h: 63px; }
  .nav { height: 62px; } .brand img { width: 46px; }
  .brand-text strong { font-size: 18px; } .nav-cta { padding: 10px 18px; }
}
@media (max-height: 520px) {
  :root { --header-h: 55px; }
  .nav { height: 54px; } .brand img { width: 40px; }
  .navlinks li a { padding: 10px 20px; }
}

/* ---- home hero: always fits under the header ---- */
.hero { min-height: clamp(220px, calc(100vh - var(--header-h)), 720px); min-height: clamp(220px, calc(100svh - var(--header-h)), 720px); }
.hero-copy { padding-top: clamp(22px, 9vh, 110px); padding-bottom: clamp(40px, 11vh, 120px); }
.hero h1 { font-size: clamp(30px, min(6vw, 9.2vh), 76px); }
.hero .lead { font-size: clamp(15px, 2.4vh, 19px); }
.hero-tag { margin-top: clamp(10px, 2.4vh, 20px); }
.hero .actions { margin-top: clamp(14px, 3.6vh, 32px); }
.hero-dots { bottom: clamp(14px, 4vh, 34px); }
.hero-arrow { width: clamp(38px, 6vh, 50px); height: clamp(38px, 6vh, 50px); }
@media (max-height: 480px) { .hero .lead { display: none; } .hero .eyebrow { margin-bottom: 6px; } .hero .btn { padding: 10px 18px; font-size: 14px; } }

/* ---- inner page heroes ---- */
.detail-hero { min-height: clamp(260px, 62vh, 520px); }
.page-hero { min-height: clamp(240px, 56vh, 460px); }
.detail-hero-copy, .page-hero .detail-hero-copy { padding-top: clamp(36px, 13vh, 130px); padding-bottom: clamp(28px, 7vh, 64px); }
.detail-hero h1 { font-size: clamp(28px, min(5vw, 8vh), 60px); }
.detail-hero .lead { font-size: clamp(15px, 2.3vh, 18px); }

/* ---- trust strip ---- */
.trust-grid > div { padding-top: clamp(16px, 3.4vh, 28px); padding-bottom: clamp(16px, 3.4vh, 28px); }
.trust-grid strong { font-size: clamp(28px, 4.6vh, 38px); }

/* ---- Why Anwar grid ---- */
.climate-card { padding: clamp(20px, 3.8vh, 44px); }
.climate-card h3 { margin-bottom: clamp(14px, 3vh, 26px); }
.weather { gap: clamp(8px, 1.6vh, 14px); }
.weather > div { padding: clamp(11px, 1.8vh, 18px); }
.weather .wx { width: clamp(38px, 5.6vh, 48px); height: clamp(38px, 5.6vh, 48px); margin-bottom: clamp(6px, 1.4vh, 12px); }
.weather strong { font-size: clamp(17px, 2.5vh, 20px); }
.benefits { gap: clamp(12px, 2.4vh, 22px); }
.why .benefit, .benefit { padding: clamp(16px, 3.1vh, 26px); }
.benefit-icon { width: clamp(42px, 6.2vh, 52px); height: clamp(42px, 6.2vh, 52px); margin-bottom: clamp(8px, 1.7vh, 14px); }
@media (max-width: 1024px) { .why-grid { grid-template-columns: 1fr; gap: 22px; } .tds-split { grid-template-columns: 1fr; } }

/* ---- products band ---- */
.roof-visual { height: clamp(200px, 40vh, 340px); }
.product-cards { margin-top: clamp(26px, 6vh, 60px); }
.pcard-visual { height: clamp(96px, 17vh, 150px); }
.chips { margin: clamp(14px, 2.8vh, 24px) 0 clamp(16px, 3.4vh, 30px); }
.pcard { padding: clamp(16px, 2.6vh, 22px); }

/* ---- Find Your Roof coverflow: card sized to the visible height ---- */
.tabs { margin-bottom: clamp(16px, 4vh, 40px); }
.tab { padding-top: clamp(11px, 1.9vh, 15px); padding-bottom: clamp(11px, 1.9vh, 15px); }
.cf { --cfw: min(440px, 80vw); padding: 6px 0 12px; }
.cf-card { width: var(--cfw); margin-left: calc(var(--cfw) / -2); }
.cf-stage { height: calc(var(--cfw) + 270px); }
@media (max-height: 900px) and (min-width: 861px) {
  /* landscape image + width capped so image + text + buttons fit under the header */
  .cf { --cfw: clamp(280px, calc((100vh - var(--header-h) - 340px) / .75), 440px); --cfw: clamp(280px, calc((100svh - var(--header-h) - 340px) / .75), 440px); }
  .cf-img { aspect-ratio: 4 / 3; }
  .cf-body { padding: 18px 22px 20px; }
  .cf-body h3 { font-size: 19px; margin-bottom: 6px; }
  .cf-body p { font-size: 14px; line-height: 1.5; }
  .cf-body .actions { margin-top: 14px; }
  .cf-body .btn { padding: 11px 20px; }
  .cf-stage { height: calc(var(--cfw) * .75 + 262px); }
  .cf::before { width: 300px; height: 300px; }
}
@media (max-width: 860px) and (max-height: 760px) and (orientation: portrait) {
  .cf-img { aspect-ratio: 4 / 3; } .cf-body { padding: 16px 18px 18px; }
  .cf-body h3 { font-size: 18px; margin-bottom: 6px; } .cf-body p { font-size: 14px; line-height: 1.5; }
  .cf-body .actions { flex-direction: row; gap: 8px; margin-top: 14px; }
  .cf-body .btn { flex: 1; padding: 11px 6px; font-size: 11.5px; letter-spacing: .04em; }
}
@media (max-width: 860px) and (max-height: 600px) and (orientation: portrait) { .cf-img { aspect-ratio: 16 / 10; } }
@media (max-height: 520px) and (orientation: landscape) {
  /* landscape phones: horizontal card */
  .cf { --cfw: min(620px, 86vw); }
  .cf-card { display: grid; grid-template-columns: 40% 1fr; }
  .cf-img { aspect-ratio: auto; min-height: 100%; }
  .cf-body { text-align: left; padding: 16px 18px; align-self: center; }
  .cf-body h3 { font-size: 17px; } .cf-body p { font-size: 13.5px; }
  .cf-body .actions { flex-direction: row; justify-content: flex-start; margin-top: 12px; }
  .cf-body .btn { padding: 9px 14px; font-size: 12px; }
  .cf-card.is-left, .cf-card.is-right { opacity: 0; pointer-events: none; }
  .cf::before { display: none; }
}

/* ---- DuraRoof band, testimonials, rails, bento ---- */
.dr-band h2 { font-size: clamp(26px, min(3.6vw, 6vh), 46px); }
.dr-visual > img { max-height: clamp(220px, 52vh, 460px); }
.dr-facts { margin-top: clamp(26px, 6.5vh, 64px); }
.dr-facts div { padding-top: clamp(14px, 2.8vh, 24px); }
.dr-facts b { font-size: clamp(22px, 3.4vh, 28px); }
.tslide-media { min-height: clamp(200px, 44vh, 360px); }
.tslide-body { padding-top: clamp(22px, 5vh, 44px); padding-bottom: clamp(22px, 5vh, 44px); }
.tslide-body p { font-size: clamp(14.5px, 2.1vh, 16px); }
.rail > * { flex-basis: clamp(220px, min(26vw, calc((100vh - var(--header-h) - 240px) * .8)), 330px); }
.b-photo { min-height: clamp(190px, 34vh, 280px); }
.b-tall { min-height: clamp(260px, 52vh, 420px); }
.cert-fan { max-width: min(520px, 68vh); height: auto; aspect-ratio: 13 / 10; }
.dr-feature-body { padding-top: clamp(24px, 5vh, 40px); padding-bottom: clamp(24px, 5vh, 40px); }
.kpi { padding-top: clamp(14px, 2.5vh, 20px); padding-bottom: clamp(14px, 2.5vh, 20px); }
.kpi b { font-size: clamp(28px, 4.6vh, 38px); }
.frame img { max-height: 62vh; }
.onestop { margin-top: clamp(28px, 6vh, 56px); }
.story-img { min-height: clamp(260px, 60vh, 480px); }
.story-copy { padding: clamp(26px, 6vh, 54px) clamp(24px, 4vw, 54px); }
.appcard { min-height: clamp(260px, 52vh, 420px); }
.app3 .appcard { min-height: clamp(240px, 48vh, 380px); }
.map { max-height: 50vh; }

/* ---- modals on short screens: let the side column scroll with the content ---- */
@media (max-height: 760px) { .pd-side, .qf-side { position: static; } .pd-main, .qf-form { padding-top: 28px; } }
@media (max-height: 560px) { .modal-root { padding: 0; } .modal { max-height: 100vh; max-height: 100svh; border-radius: 0; width: 100%; } .qf-img { aspect-ratio: 16 / 7; } .pd-img { max-width: 240px; } }

/* ---- short AND narrow-ish desktops: tighter headings ---- */
@media (max-height: 700px) {
  h2 { font-size: clamp(24px, min(4vw, 6vh), 50px); }
  h3 { font-size: clamp(19px, min(3vw, 4.4vh), 34px); }
  .eyebrow { margin-bottom: 8px; }
  .btn { padding: 12px 20px; }
}

/* ---- preloader UI ---- */
.pl-ui { bottom: clamp(18px, 8vh, 80px); }

/* ---- very wide screens ---- */
@media (min-width: 1800px) { .wrap { width: min(1320px, calc(100% - 40px)); } }

/* ---- fixes after visual review ---- */
.hero-slide { min-height: inherit; }                       /* photo always fills the hero */
.why { padding-top: clamp(36px, 6.5vh, 90px); padding-bottom: clamp(36px, 6.5vh, 90px); }
@media (max-height: 820px) and (min-width: 1025px) {
  .weather span:not(.wx) { font-size: 12.5px; line-height: 1.45; display: block; }
  .benefit p { font-size: 14px; } .benefit h4 { font-size: 18px; margin-bottom: 5px; }
  .why .section-head { margin-bottom: clamp(16px, 3.4vh, 48px); }
}
@media (max-height: 520px) and (orientation: landscape) {
  .tabs { flex-direction: row; border-radius: 999px; width: max-content; max-width: 100%; }
  .tab { min-width: 0; padding: 9px 16px; font-size: 11.5px; letter-spacing: .1em; }
  .xtab { padding: 9px 14px; }
  .wa-widget { width: 46px; height: 46px; } .wa-widget svg { width: 24px; height: 24px; }
  .wa-widget.is-lifted { bottom: 72px; } .to-top { width: 40px; height: 40px; }
}
@media (max-height: 360px) { .hero .eyebrow { display: none; } .hero-copy { padding-top: 16px; padding-bottom: 34px; } }
@media (max-height: 900px) and (min-width: 861px) {
  .cf-body .actions { flex-wrap: nowrap; gap: 8px; }
  .cf-body .btn { padding: 10px 14px; font-size: 12px; white-space: nowrap; }
  .cf-card.is-center .cf-body .actions { max-height: 60px; }
}
/* modal action bar stays pinned while the content scrolls */
.modal-foot { position: sticky; bottom: 0; z-index: 4; }
/* very short desktop/laptop screens: horizontal finder card (same as landscape phones) */
@media (max-height: 640px) and (min-width: 861px) {
  .cf { --cfw: min(640px, 70vw); }
  .cf-card { display: grid; grid-template-columns: 42% 1fr; }
  .cf-img { aspect-ratio: auto; min-height: 100%; }
  .cf-body { text-align: left; padding: 20px 22px; align-self: center; }
  .cf-body .actions { justify-content: flex-start; }
  .cf-card.is-left  { transform: translateY(-50%) translateX(-62%) scale(.8) rotateY(18deg); opacity: .35; }
  .cf-card.is-right { transform: translateY(-50%) translateX(62%) scale(.8) rotateY(-18deg); opacity: .35; }
}
/* DuraRoof exposure on the home page */
a.chip-dr { border-color: var(--red); color: #fff; background: rgba(235,29,39,.18); font-weight: 700; }
.dr-strip { display: flex; align-items: center; gap: 20px; margin-top: clamp(18px, 3.4vh, 28px); padding: 16px 20px; background: #262a29; border: 1px solid #3a403e; border-radius: 14px; color: #fff; }
.dr-strip.is-done { transition: border-color .25s, transform .25s, background .25s; }
.dr-strip.is-done:hover { border-color: var(--red); background: #2c3130; transform: translateY(-3px); }
.dr-strip .dr-logo-chip { margin: 0; flex-shrink: 0; }
.dr-strip-text { flex: 1; display: grid; gap: 2px; }
.dr-strip-text strong { font-size: 16.5px; }
.dr-strip-text span { font-size: 14px; color: #c1c7c4; }
.dr-strip-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #ff8b91; white-space: nowrap; }
.dr-strip-cta svg { width: 18px; height: 18px; transition: transform .25s; }
.dr-strip:hover .dr-strip-cta svg { transform: translateX(4px); }
@media (max-width: 760px) { .dr-strip { flex-direction: column; align-items: flex-start; gap: 12px; } }
/* DuraRoof hero slide: bright factory photo needs a stronger text scrim */
.hero-slide[data-slide="3"] .hero-bg::after {
  background: linear-gradient(90deg, rgba(10,10,12,.9) 0%, rgba(10,10,12,.66) 44%, rgba(10,10,12,.2) 82%),
              linear-gradient(0deg, rgba(10,10,12,.55) 0%, transparent 40%);
}
@media (max-width: 860px) { .hero-slide[data-slide="3"] .hero-bg::after { background: linear-gradient(90deg, rgba(10,10,12,.86), rgba(10,10,12,.6)); } }

/* ===== CMS additions: background videos, form states, embeds ===== */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: 0; }
div.bg-video { overflow: hidden; }
div.bg-video iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; transform: translate(-50%, -50%); border: 0; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg::after { z-index: 1; }
.detail-hero { overflow: hidden; }
.detail-hero::before { z-index: 1; }
.detail-hero-copy { z-index: 2; }
.story-img, .finder-img, .live-media, .tslide-media, .b-photo, .pj, .appcard, .prod-img, .dr-feature-media { position: relative; overflow: hidden; }
.b-photo > div, .pj > *, .live-media > h3, .tslide-media > .tslide-tag, .appcard > * { position: relative; z-index: 2; }
.tslide-media::after, .pj::after, .appcard::after, .live-media::after, .b-photo::after { z-index: 1; }
.frame video, .frame .video-embed { display: block; width: 100%; }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-form .hp, .qf-form .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note.is-error, .qf-note.is-error { color: #c0181f; }
.form-note.is-ok { color: #1f7a3f; }
