
:root{
  --blue:#0b66d8;
  --blue2:#0758c0;
  --ink:#0d1830;
  --muted:#536079;
  --line:#e7edf6;
  --pale:#eff7ff;
  --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:min(1240px,92%);margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #edf0f5}
.nav-wrap{height:82px;display:flex;align-items:center;gap:28px}
.brand{display:flex;flex-direction:column;line-height:.9;margin-right:auto}
.brand-main{font-size:34px;font-weight:900;letter-spacing:-2px;color:var(--blue)}
.brand-sub{font-size:11px;font-weight:800;letter-spacing:4px;color:var(--blue);margin-top:8px}
.nav{display:flex;gap:32px;align-items:center;font-size:13px;font-weight:800}
.nav a{padding:31px 0 25px;border-bottom:3px solid transparent}
.nav a:hover,.nav a.active{color:var(--blue);border-color:var(--blue)}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:15px 23px;font-weight:800}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 8px 22px rgba(11,102,216,.15)}
.btn-primary:hover{background:var(--blue2)}
.btn-light{background:#fff;color:var(--blue);border:1px solid #e5e9ef}
.menu-toggle{display:none;background:none;border:0;font-size:27px}

.hero{background:linear-gradient(90deg,#f3f8ff 0%,#f8fbff 43%,#fff 100%)}
.hero-grid{min-height:570px;display:grid;grid-template-columns:43% 57%;align-items:stretch}
.hero-copy{padding:70px 0 48px;position:relative;z-index:2}
.hero h1{font-size:56px;line-height:1.05;color:var(--blue);margin:0 0 26px;letter-spacing:-2px}
.hero p{max-width:520px;font-size:18px;line-height:1.65;margin:0 0 24px}
.hero-actions{display:flex;gap:14px;margin:20px 0 36px}
.hero-photo{background-image:linear-gradient(90deg,rgba(255,255,255,.92),rgba(255,255,255,.18) 20%,rgba(255,255,255,0) 35%),url('assets/hero-laundry.jpg');background-size:cover;background-position:center;border-bottom-left-radius:44px}
.mini-features{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:630px}
.mini-features div{display:flex;gap:9px;align-items:center;color:var(--blue);font-size:26px}
.mini-features span{font-size:12px;line-height:1.35;color:var(--ink);font-weight:800}

.benefit-strip{margin-top:-36px;position:relative;z-index:4}
.benefit-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 32px rgba(22,45,83,.08);display:grid;grid-template-columns:repeat(4,1fr);padding:25px 20px}
.benefit-card article{display:flex;gap:15px;padding:8px 20px;border-right:1px solid var(--line)}
.benefit-card article:last-child{border-right:0}
.round-icon{width:50px;height:50px;flex:0 0 50px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:23px}
.benefit-card h3{margin:0 0 7px;color:var(--blue);font-size:14px}
.benefit-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}

.section{padding:74px 0}
.section-title{text-align:center;margin-bottom:35px}
.section-title span,.eyebrow{color:var(--blue);font-weight:900;font-size:14px}
.section-title h2,.two-col h2,.contact h2{font-size:34px;margin:7px 0 0;letter-spacing:-1px}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:18px;display:grid;grid-template-columns:42% 58%;gap:14px;cursor:pointer;transition:.2s}
.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(24,45,80,.1)}
.product-card img{width:100%;height:170px;object-fit:contain;background:#f7f9fc;border-radius:10px}
.product-card h3{margin:10px 0 8px;font-size:16px}
.product-card p{font-size:13px;line-height:1.55;color:var(--muted)}
.product-card button{border:0;background:none;padding:0;color:var(--blue);font-weight:900;cursor:pointer}

.alt{background:#f7fbff}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.two-col p{font-size:18px;line-height:1.7;color:var(--muted)}
.gallery-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}
.gallery-grid img{width:100%;height:300px;object-fit:cover;border-radius:16px}
.contact-card{background:linear-gradient(135deg,#eef7ff,#fff);border:1px solid var(--line);border-radius:22px;padding:38px 42px;display:flex;justify-content:space-between;align-items:center;gap:30px}
.contact-card p{max-width:700px;line-height:1.6;color:var(--muted)}
footer{border-top:1px solid var(--line);padding:28px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.footer-inner strong{font-size:25px;color:var(--blue);display:block}
.footer-inner span{font-size:9px;letter-spacing:3px;color:var(--blue)}
.footer-inner p{color:var(--muted);font-size:13px}

.modal{position:fixed;inset:0;background:rgba(4,13,30,.56);display:none;place-items:center;padding:20px;z-index:100}
.modal.show{display:grid}
.modal-card{background:#fff;border-radius:18px;width:min(520px,96vw);padding:24px;position:relative;box-shadow:0 24px 70px rgba(0,0,0,.25)}
.modal-card img{height:220px;width:100%;object-fit:contain;background:#f7f9fc;border-radius:12px}
.modal-card h2{margin:18px 0 8px}
.modal-card p{color:var(--muted);line-height:1.6}
.spec-box{background:#f3f8ff;border-radius:12px;padding:15px;margin:16px 0}
.modal-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border-radius:50%;border:0;background:#fff;font-size:25px;box-shadow:0 5px 15px rgba(0,0,0,.12);cursor:pointer}

@media(max-width:1000px){
  .nav,.header-wa{display:none}
  .menu-toggle{display:block}
  body.menu-open .nav{display:flex;position:absolute;top:82px;left:0;right:0;background:#fff;flex-direction:column;gap:0;padding:12px 7%;box-shadow:0 10px 20px rgba(0,0,0,.08)}
  body.menu-open .nav a{width:100%;padding:14px 0;border-bottom:1px solid var(--line)}
  .hero-grid{grid-template-columns:1fr}
  .hero-copy{padding:48px 0 26px}
  .hero h1{font-size:44px}
  .hero-photo{height:390px;border-radius:24px;margin-bottom:25px;background-image:url('assets/hero-laundry.jpg')}
  .mini-features{grid-template-columns:repeat(2,1fr)}
  .benefit-strip{margin-top:0}
  .benefit-card{grid-template-columns:1fr 1fr}
  .benefit-card article{border-right:0;border-bottom:1px solid var(--line)}
  .product-grid{grid-template-columns:1fr 1fr}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .gallery-grid img:first-child{grid-column:1/-1}
}
@media(max-width:640px){
  .nav-wrap{height:72px}
  .brand-main{font-size:29px}
  .brand-sub{font-size:8px;letter-spacing:3px}
  body.menu-open .nav{top:72px}
  .hero-copy{padding-top:36px}
  .hero h1{font-size:38px}
  .hero p{font-size:16px}
  .hero-actions{flex-direction:column}
  .hero-actions .btn{width:100%}
  .hero-photo{height:310px}
  .mini-features{grid-template-columns:1fr 1fr}
  .benefit-card{grid-template-columns:1fr;padding:12px}
  .benefit-card article{padding:16px 8px}
  .section{padding:54px 0}
  .section-title h2,.two-col h2,.contact h2{font-size:28px}
  .product-grid{grid-template-columns:1fr}
  .product-card{grid-template-columns:35% 65%}
  .product-card img{height:150px}
  .two-col{grid-template-columns:1fr;gap:20px}
  .gallery-grid{grid-template-columns:1fr}
  .gallery-grid img,.gallery-grid img:first-child{grid-column:auto;height:240px}
  .contact-card{padding:28px 22px;flex-direction:column;align-items:flex-start}
  .contact-card .btn{width:100%}
  .footer-inner{flex-direction:column;gap:16px;text-align:center}
}

.brand{display:flex;align-items:center;margin-right:auto;line-height:normal}
.brand-logo{display:block;width:235px;max-height:64px;object-fit:contain;object-position:left center}
@media(max-width:640px){
  .brand-logo{width:190px;max-height:54px}
}

/* === V4 Mobile readability & hero fixes === */
@media(max-width:640px){
  .container{width:min(94%, 1240px)}
  .nav-wrap{height:78px}
  .brand-logo{
    width:240px;
    max-width:72vw;
    max-height:62px;
    object-fit:contain;
    object-position:left center;
  }
  .menu-toggle{
    font-size:32px;
    padding:6px 4px;
  }

  .hero-grid{
    display:flex;
    flex-direction:column;
    min-height:auto;
  }
  .hero-copy{
    padding:30px 0 18px;
  }
  .hero h1{
    font-size:44px;
    line-height:1.07;
    letter-spacing:-1.5px;
    margin-bottom:22px;
  }
  .hero p{
    font-size:19px;
    line-height:1.55;
    margin-bottom:22px;
  }
  .hero-actions{
    flex-direction:row;
    gap:12px;
    margin:18px 0 24px;
  }
  .hero-actions .btn{
    width:auto;
    flex:1;
    min-height:58px;
    padding:16px 14px;
    font-size:17px;
  }

  .mini-features{
    grid-template-columns:1fr 1fr;
    gap:14px 18px;
    margin-bottom:20px;
  }
  .mini-features div{
    font-size:29px;
    gap:10px;
  }
  .mini-features span{
    font-size:15px;
    line-height:1.35;
  }

  .hero-photo{
    order:2;
    height:330px;
    margin:0 0 18px;
    border-radius:22px;
    background-position:center 35%;
    background-size:cover;
  }

  .benefit-card h3{font-size:16px}
  .benefit-card p{font-size:14px;line-height:1.55}
  .round-icon{width:54px;height:54px;flex-basis:54px;font-size:24px}

  .section-title span,.eyebrow{font-size:15px}
  .section-title h2,.two-col h2,.contact h2{
    font-size:31px;
    line-height:1.15;
  }
  .product-card h3{font-size:18px}
  .product-card p{font-size:15px;line-height:1.5}
  .product-card button{font-size:15px}

  .contact-card p,.two-col p{font-size:17px}
}

/* Extra-small phones */
@media(max-width:390px){
  .brand-logo{width:210px;max-width:70vw}
  .hero h1{font-size:39px}
  .hero p{font-size:18px}
  .hero-actions{
    flex-direction:column;
  }
  .hero-actions .btn{width:100%;font-size:16px}
  .mini-features span{font-size:14px}
  .hero-photo{height:290px}
}

/* Approved LionIX logo sizing */
.brand-logo{
  width:310px !important;
  height:auto !important;
  max-height:68px !important;
  object-fit:contain !important;
  object-position:left center !important;
}
@media(max-width:640px){
  .nav-wrap{height:82px !important}
  .brand-logo{
    width:285px !important;
    max-width:78vw !important;
    max-height:66px !important;
  }
}

/* Product families: Washer + Washer Barrier */
.category-block{margin-top:20px}
.category-block + .category-block{margin-top:58px}
.category-heading{text-align:left;margin-bottom:22px}
.category-heading h3{font-size:30px;margin:6px 0 7px;color:var(--ink)}
.category-heading p{margin:0;color:var(--muted);font-size:16px}
.product-grid-3{grid-template-columns:repeat(3,1fr)}
.product-card-vertical{display:flex;flex-direction:column;gap:10px;padding:18px}
.product-card-vertical img{width:100%;height:260px;object-fit:contain;background:#f7f9fc;border-radius:12px}
.product-card-vertical div{display:flex;flex-direction:column;flex:1}
.product-card-vertical h3{font-size:20px;margin:6px 0}
.product-card-vertical p{font-size:14px;line-height:1.55;margin:0 0 14px}
.product-card-vertical button{margin-top:auto;text-align:left}
.product-detail-modal{width:min(760px,96vw);max-height:92vh;overflow:auto}
.product-detail-modal img{height:360px}
.spec-table-wrap{margin-top:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.spec-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}
.spec-table td{padding:10px 12px;border-top:1px solid var(--line);vertical-align:top}
.spec-table tr:first-child td{border-top:0}
.spec-table td:first-child{color:var(--muted);font-weight:700;width:62%}
.spec-table td:last-child{text-align:right;font-weight:800;color:var(--ink)}
.barrier-block{padding-top:8px}

@media(max-width:1000px){
  .product-grid-3{grid-template-columns:1fr 1fr}
  .product-card-vertical img{height:240px}
}
@media(max-width:640px){
  .category-heading h3{font-size:27px}
  .category-heading p{font-size:15px}
  .product-grid-3,.product-grid{grid-template-columns:1fr}
  .product-card-vertical img{height:280px}
  .product-card-vertical h3{font-size:21px}
  .product-card-vertical p{font-size:15px}
  .product-detail-modal{padding:18px}
  .product-detail-modal img{height:290px}
  .spec-table{font-size:14px}
  .spec-table td{padding:10px 8px}
  .spec-table td:first-child{width:58%}
}

/* LIONIX contact details */
.contact-card-detail{align-items:stretch}
.contact-copy{flex:1}
.contact-info{display:grid;gap:12px;margin-top:20px}
.contact-info div{display:grid;grid-template-columns:105px 1fr;gap:12px;align-items:start}
.contact-info strong{color:var(--ink)}
.contact-info span,.contact-info a{color:var(--muted);line-height:1.55;text-decoration:none}
.contact-info a:hover{color:var(--blue)}
.contact-actions{min-width:220px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.contact-map{border:1px solid var(--blue);color:var(--blue);background:#fff;text-align:center}
@media(max-width:640px){
  .contact-info div{grid-template-columns:1fr;gap:3px}
  .contact-actions{width:100%;min-width:0}
  .contact-actions .btn{width:100%;text-align:center}
}
