/* Home page (v3). */
.hm-hero{padding:clamp(32px,4.5vw,64px) 0 clamp(48px,6vw,88px);background:#fff}
.hm-hero-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(28px,5vw,64px);align-items:center}
.hm-hero-copy{display:flex;flex-direction:column;gap:24px}
.hm-hero-copy h1{font-size:clamp(36px,4.8vw,60px);font-weight:800;letter-spacing:-.03em;line-height:1.08}
.hm-hero-copy h1 span{display:block}
.hm-actions{display:flex;flex-wrap:wrap;gap:12px}
.hm-checks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 22px;font-weight:600;color:var(--ink);font-size:15.5px}
.hm-checks li{display:flex;align-items:center;gap:8px}
.hm-checks svg{color:var(--ok)}
.hm-hero-media{position:relative;padding:0 0 clamp(40px,5vw,64px) clamp(40px,5vw,64px)}
.hm-hero-main{width:100%;aspect-ratio:5/4;max-height:540px;object-fit:cover;object-position:50% 72%;border-radius:var(--r-lg);box-shadow:0 24px 60px rgba(13,27,46,.14)}
.hm-hero-card{position:absolute;left:0;bottom:0;display:flex;align-items:center;gap:14px;padding:16px 22px 16px 16px;background:#fff;border-radius:16px;box-shadow:0 16px 40px rgba(13,27,46,.14);color:var(--ink)}
.hm-hero-card>span:last-child{display:flex;flex-direction:column;line-height:1.35}
.hm-hero-card-ic{width:46px;height:46px;border-radius:12px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center}

/* products */
.hm-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:20px}
.hm-product{display:flex;flex-direction:column;overflow:hidden;color:var(--ink)}
.hm-product-vis{position:relative;height:220px;background:var(--bg-blue);display:flex;align-items:center;justify-content:center}
.hm-badge{position:absolute;top:14px;left:14px;padding:5px 10px;border-radius:8px;background:#fff;color:var(--blue);font-size:12.5px;font-weight:700}
.hm-product-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:6px;flex:1}
.hm-brand{font-size:13px;font-weight:800;letter-spacing:.06em;color:var(--blue)}
.hm-product-body h3{font-size:22px}
.hm-specs{list-style:none;margin:10px 0 4px;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:14px;color:var(--mute)}
.hm-specs b{color:var(--ink);font-weight:700}
.hm-product-foot{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:var(--mute);font-size:15px}
.hm-product-foot b{color:var(--blue);font-size:17px}
.hm-product-foot svg{color:var(--blue);transition:transform .2s ease}
.hm-product:hover .hm-product-foot svg{transform:translateX(4px)}

/* quick price */
.hm-calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:center}
.hm-calc-copy{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.hm-calc-card{padding:clamp(22px,3vw,34px);display:grid;gap:18px;box-shadow:0 24px 60px rgba(15,70,165,.12)}
.hm-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:5px;border-radius:14px;background:var(--bg-2)}
.hm-seg label{cursor:pointer}
.hm-seg span{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:10px;font-weight:700;font-size:15px;color:var(--ink);text-align:center;padding:0 6px}
.hm-seg input:checked+span{background:#fff;color:var(--blue);box-shadow:0 2px 8px rgba(13,27,46,.1)}
.hm-seg input:focus-visible+span{outline:3px solid var(--blue-l)}
.hm-sizes{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hm-num{height:58px;font-size:22px;font-weight:700}
.hm-price p{font-size:clamp(30px,3.6vw,42px);font-weight:800;color:var(--blue);letter-spacing:-.02em;line-height:1.1;margin-top:4px}
.hm-full{width:100%}

/* problems */
.hm-needs{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:14px}
.hm-need{display:flex;flex-direction:column;gap:10px;padding:22px;color:var(--ink);min-height:170px}
.hm-need-ic{color:var(--blue);display:flex}
.hm-need b{font-size:17px;line-height:1.3;margin-top:auto}

/* brands */
.hm-brands{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.hm-brand{overflow:hidden;display:flex;flex-direction:column;color:var(--ink)}
.hm-brand-img{aspect-ratio:16/8;overflow:hidden}
.hm-brand-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.hm-brand:hover .hm-brand-img img{transform:scale(1.03)}
.hm-brand-body{padding:24px 26px 26px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.hm-brand-name{font-size:34px;font-weight:800;letter-spacing:.04em;color:var(--blue)}
.hm-brand-logo{height:68px;width:auto;max-width:100%;object-fit:contain;margin:-8px 0}
.hm-brand-body p{color:var(--mute)}

/* steps: a measuring ruler (fine ticks every 1/40, major tick at each step) */
.hm-steps{list-style:none;margin:0;padding:34px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative;
  background:
    repeating-linear-gradient(90deg,var(--blue) 0 1px,transparent 1px calc(100%/40)) 0 0/100% 9px no-repeat,
    repeating-linear-gradient(90deg,var(--blue) 0 1.5px,transparent 1.5px calc(100%/8)) 0 0/100% 16px no-repeat;
  border-top:2px solid var(--blue)}
.hm-steps::after{content:"";position:absolute;right:0;top:-2px;width:2px;height:24px;background:var(--blue)}
.hm-steps li{position:relative;display:flex;flex-direction:column;gap:10px;padding:0 24px 0 0}
.hm-steps li::before{content:"";position:absolute;left:0;top:-36px;width:2px;height:24px;background:var(--blue)}
.hm-steps li span{width:48px;height:48px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;font-size:19px;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px var(--bg-blue)}
.hm-steps b{font-size:19px;color:var(--ink);margin-top:8px}
.hm-steps p{color:var(--mute);font-size:15.5px}

/* projects */
.hm-projects{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.hm-project{overflow:hidden}
.hm-project img{width:100%;aspect-ratio:16/9;object-fit:cover}
.hm-project-body{padding:22px 24px 24px;display:flex;flex-direction:column;gap:8px}
.hm-project-body h3{font-size:21px}
.hm-project-body p:last-child{font-size:15.5px}

/* reviews */
.hm-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hm-review{margin:0;padding:26px;display:flex;flex-direction:column;gap:20px}
.hm-review blockquote{margin:0;font-size:17px;line-height:1.6;color:var(--ink)}
.hm-review figcaption{display:flex;align-items:center;gap:12px;margin-top:auto}
.hm-review figcaption>span:last-child{display:flex;flex-direction:column}
.hm-ava{width:44px;height:44px;border-radius:50%;background:var(--bg-blue);color:var(--blue);font-weight:800;display:flex;align-items:center;justify-content:center}

/* faq */
.hm-faq-wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:clamp(24px,5vw,64px)}
.hm-faq{display:flex;flex-direction:column;gap:10px}
.hm-faq-item{background:#fff;border:1px solid var(--line);border-radius:14px}
.hm-faq-item button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:66px;padding:16px 20px;background:none;border:0;cursor:pointer;text-align:left;font:700 17px/1.35 var(--f);color:var(--ink)}
.hm-faq-item button svg{flex:none;color:var(--blue);transition:transform .2s ease}
.hm-faq-item button[aria-expanded="true"] svg{transform:rotate(180deg)}
.hm-faq-item p{padding:0 20px 20px;color:var(--mute);font-size:16px;line-height:1.65}

/* CTA */
.hm-cta{background:var(--blue);color:#fff}
.hm-cta-in{padding-top:clamp(48px,6vw,80px);padding-bottom:clamp(48px,6vw,80px);display:flex;justify-content:space-between;align-items:center;gap:28px;flex-wrap:wrap}
.hm-cta h2{color:#fff;font-size:clamp(28px,3.4vw,44px);max-width:16em}
.hm-cta p{color:rgba(255,255,255,.82);margin-top:8px;font-size:17px}
.hm-cta-ghost{background:transparent;border-color:rgba(255,255,255,.6)}
.hm-cta-ghost:hover{background:rgba(255,255,255,.12);border-color:#fff;box-shadow:none}

@media (max-width:960px){
  .hm-hero-in,.hm-calc,.hm-faq-wrap{grid-template-columns:1fr}
  .hm-brands,.hm-projects{grid-template-columns:1fr}
  .hm-reviews{grid-template-columns:1fr}
  .hm-steps{grid-template-columns:1fr;gap:28px;padding:0 0 0 34px;border-top:0;border-left:2px solid var(--blue);
    background:repeating-linear-gradient(180deg,var(--blue) 0 1px,transparent 1px 14px) 0 0/9px 100% no-repeat}
  .hm-steps::after{top:auto;bottom:0;right:auto;left:-2px;width:24px;height:2px}
  .hm-steps li{padding:0}
  .hm-steps li::before{left:-36px;top:23px;width:24px;height:2px}
}
@media (max-width:560px){
  .hm-hero-media{padding:0 0 28px 12px}
  .hm-hero-card{padding:12px 16px 12px 12px}
  .hm-actions .w-btn{flex:1 1 100%}
  .hm-needs{grid-template-columns:1fr 1fr;gap:10px}
  .hm-need{min-height:140px;padding:16px}
  .hm-need b{font-size:15.5px}
}

.hm-product-vis--photo{padding:0;overflow:hidden;background:#fff;border-bottom:1px solid var(--line)}
.hm-product-photo{position:absolute;inset:14px;width:calc(100% - 28px);height:calc(100% - 28px);object-fit:contain;transition:transform .4s ease}
.hm-product:hover .hm-product-photo{transform:scale(1.03)}
