/* Baywood Technologies — site styles */
:root{
  --navy:#1f2466;
  --blue:#005fa3;
  --blue-dark:#004777;
  --sky:#2aa7ff;
  --ink:#1d2433;
  --muted:#5b6475;
  --line:#e5e9f0;
  --soft:#f5f8fc;
  --white:#fff;
  --radius:12px;
  --shadow:0 6px 20px rgba(16,24,40,.06);
  --shadow-lg:0 14px 34px rgba(16,24,40,.12);
  --max:1180px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:"Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;color:var(--ink);background:var(--white);line-height:1.6;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue)}
a:hover{color:var(--blue-dark)}
:focus-visible{outline:3px solid var(--sky);outline-offset:2px}
.skip{position:absolute;left:-999px;top:0;background:var(--blue);color:#fff;padding:10px 14px;z-index:999}
.skip:focus{left:10px;top:10px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}

/* HEADER */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:72px;gap:16px}
.brand img{height:42px;width:auto}
.nav{display:flex;align-items:center;gap:4px}
.nav a{color:var(--ink);text-decoration:none;font-weight:600;font-size:15px;padding:8px 12px;border-radius:8px}
.nav a:hover{background:var(--soft);color:var(--blue)}
.nav a[aria-current="page"]{color:var(--blue);background:#eaf4fd}
.nav .btn{margin-left:8px;color:#fff}
.nav a[href="specials.html"]{color:#ff5a00;font-weight:800}
.nav a[href="specials.html"]:hover,.nav a[href="specials.html"][aria-current="page"]{color:#fff;background:linear-gradient(135deg,#ffb300,#ff3d00)}
.nav .btn:hover{color:#fff}
.menu-toggle{display:none;background:none;border:1px solid var(--line);border-radius:8px;width:44px;height:44px;cursor:pointer;color:var(--ink)}
.menu-toggle span,.menu-toggle span::before,.menu-toggle span::after{display:block;width:20px;height:2px;background:currentColor;margin:0 auto;position:relative;transition:.2s}
.menu-toggle span::before,.menu-toggle span::after{content:"";position:absolute;left:0}
.menu-toggle span::before{top:-6px}.menu-toggle span::after{top:6px}
.menu-open .menu-toggle span{background:transparent}
.menu-open .menu-toggle span::before{top:0;transform:rotate(45deg)}
.menu-open .menu-toggle span::after{top:0;transform:rotate(-45deg)}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--blue);color:#fff;border:0;border-radius:8px;padding:12px 22px;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s}
.btn:hover{background:var(--blue-dark);color:#fff;transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,95,163,.25)}
.btn.light{background:#fff;color:var(--blue)}
.btn.light:hover{background:#eaf4fd;color:var(--blue-dark)}
.btn.ghost{background:transparent;color:var(--blue);border:1.5px solid var(--blue)}
.btn.ghost:hover{background:var(--blue);color:#fff}
.btn.ghost-light{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.7)}
.btn.ghost-light:hover{background:rgba(255,255,255,.12)}
.btn[disabled]{opacity:.6;cursor:wait;transform:none}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* HERO */
.hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(135deg,var(--navy) 0%,var(--blue) 55%,var(--sky) 100%)}
.hero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.14) 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(90deg,transparent,#000 60%)}
.hero .wrap{position:relative;padding:96px 24px 88px}
.hero.small .wrap{padding:64px 24px 56px}
.eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:rgba(255,255,255,.15);padding:6px 12px;border-radius:999px;margin-bottom:18px}
.hero h1{font-size:clamp(30px,4.6vw,50px);line-height:1.15;max-width:820px;margin-bottom:18px}
.hero p.lead{font-size:clamp(17px,2vw,20px);max-width:680px;opacity:.92;margin-bottom:30px}
.hero.small h1{font-size:clamp(28px,4vw,40px)}
.hero.small p.lead{margin-bottom:0}

/* HOME SPECIALS BADGE */
.hero .wrap{position:relative}
.hero-special{position:absolute;right:24px;top:84px;width:290px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;text-decoration:none;color:#fff;
  background:linear-gradient(145deg,#ffb300 0%,#ff7a00 45%,#ff3d00 100%);border:3px solid #fff;border-radius:20px;padding:16px 16px 18px;
  box-shadow:0 14px 34px rgba(255,90,0,.45),0 0 0 6px rgba(255,179,0,.25);transform:rotate(2deg);transition:transform .25s,box-shadow .25s;animation:hsGlow 2.4s ease-in-out infinite;z-index:2}
.hero-special:hover{color:#fff;transform:rotate(0deg) scale(1.04);box-shadow:0 18px 40px rgba(255,90,0,.6),0 0 0 8px rgba(255,179,0,.35)}
.hs-tag{background:#fff;color:#ff3d00;font-weight:800;font-size:12px;letter-spacing:.12em;text-transform:uppercase;padding:4px 12px;border-radius:999px}
.hs-title{font-size:40px;line-height:1;font-weight:900;letter-spacing:.04em;text-shadow:0 3px 0 rgba(150,40,0,.45)}
.hs-img{display:block;width:100%;border-radius:10px;overflow:hidden;border:2px solid rgba(255,255,255,.85);box-shadow:0 6px 14px rgba(0,0,0,.25)}
.hs-img img{width:100%;height:auto;display:block}
.hs-sub{font-size:14px;font-weight:600;line-height:1.35}
.hs-cta{background:#1f2466;color:#fff;font-weight:800;font-size:15px;padding:9px 16px;border-radius:999px;box-shadow:0 4px 0 rgba(0,0,0,.25)}
@keyframes hsGlow{0%,100%{box-shadow:0 14px 34px rgba(255,90,0,.45),0 0 0 6px rgba(255,179,0,.25)}50%{box-shadow:0 14px 40px rgba(255,90,0,.7),0 0 0 12px rgba(255,179,0,.18)}}
@media (min-width:1001px){.hero .wrap:has(.hero-special) h1,.hero .wrap:has(.hero-special) .lead{max-width:calc(100% - 340px)}}
@media (max-width:1000px){.hero-special{position:relative;right:auto;top:auto;transform:none;margin:0 0 28px;width:100%;max-width:420px;flex-direction:column}}

/* FACT STRIP */
.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.18);border-radius:var(--radius);overflow:hidden;margin-top:56px}
.fact{background:rgba(10,20,70,.25);padding:22px 20px}
.fact strong{display:block;font-size:28px;line-height:1.1;margin-bottom:4px}
.fact span{font-size:14px;opacity:.9}

/* SECTIONS */
.section{padding:80px 0}
.section.alt{background:var(--soft)}
.section-head{max-width:720px;margin-bottom:40px}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.section h2{font-size:clamp(26px,3vw,34px);line-height:1.2;color:var(--navy);margin-bottom:12px}
.section-head p{color:var(--muted);font-size:17px}
h3{color:var(--navy);line-height:1.3}
.prose p{margin-bottom:14px}
.prose h3{margin:28px 0 10px}

/* GRIDS & CARDS */
.grid{display:grid;gap:24px}
.grid.c2{grid-template-columns:repeat(2,1fr)}
.grid.c3{grid-template-columns:repeat(3,1fr)}
.grid.c4{grid-template-columns:repeat(4,1fr)}
.split{grid-template-columns:1fr 1fr;gap:48px}
.split-l{grid-template-columns:1fr 1.3fr;gap:48px}
.split-r{grid-template-columns:1.3fr 1fr;gap:48px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.card h3{font-size:19px;margin-bottom:8px}
.card p{color:var(--muted)}
.card .icon{width:48px;height:48px;border-radius:12px;background:#eaf4fd;color:var(--blue);display:grid;place-items:center;margin-bottom:16px}
.card .icon svg{width:26px;height:26px}
.card .more{margin-top:auto;padding-top:18px}
.card ul{margin:12px 0 0 18px;color:var(--muted)}
.card ul li{margin-bottom:4px}

/* PRODUCTS */
.product{display:grid;grid-template-columns:120px 1fr;gap:24px;align-items:start}
.product img{width:120px;height:auto}
.ptile{width:120px;height:120px;border-radius:24px;background:linear-gradient(135deg,var(--navy),var(--blue) 60%,var(--sky));color:#fff;display:grid;place-items:center}
.ptile svg{width:56px;height:56px}
.product .tag{display:inline-block;font-size:12px;font-weight:700;color:var(--blue);background:#eaf4fd;border-radius:999px;padding:3px 10px;margin-bottom:8px}
.product .btn-row{margin-top:16px}
.product .btn{padding:10px 16px;font-size:15px}

/* STYLEMASTER DETAIL */
.ticks{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px 24px}
.ticks li{position:relative;padding-left:28px;color:var(--ink)}
.ticks li::before{content:"";position:absolute;left:0;top:3px;width:18px;height:18px;border-radius:50%;background:#eaf4fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005fa3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat}
.sm-screen{border-radius:var(--radius);box-shadow:var(--shadow-lg);margin:0 auto 24px;width:100%;max-width:314px}
.downloads h3{font-size:18px;margin-bottom:12px}
.downloads a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0 12px 34px;border-top:1px solid var(--line);text-decoration:none;font-weight:600;position:relative}
.downloads a::before{content:"PDF";position:absolute;left:0;top:50%;transform:translateY(-50%);font-size:9px;font-weight:800;color:#fff;background:#c62828;border-radius:4px;padding:3px 4px}
.downloads a small{color:var(--muted);font-weight:400;font-size:13px;text-align:right;flex:0 0 auto}
.downloads a:hover span{text-decoration:underline}

/* LOGO WALLS */
.logos{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
.logo{background:#fff;border:1px solid var(--line);border-radius:10px;height:104px;display:grid;place-items:center;padding:18px}
.logo img{max-height:60px;max-width:100%;width:auto;object-fit:contain}

/* TESTIMONIALS */
.quote{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px;box-shadow:var(--shadow);position:relative}
.quote::before{content:"\201C";position:absolute;top:6px;left:22px;font-size:80px;line-height:1;color:#d6e9f8;font-family:Georgia,serif}
.quote blockquote{position:relative;padding-top:18px;font-size:17px;color:var(--ink);margin-bottom:20px}
.quote figcaption{display:flex;align-items:center;gap:14px}
.quote figcaption img{height:36px;width:auto}
.quote figcaption strong{display:block;color:var(--navy)}
.quote figcaption span{font-size:14px;color:var(--muted)}

/* CTA BAND */
.cta{background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;border-radius:16px;padding:48px;display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.cta h2{color:#fff;margin-bottom:6px}
.cta p{opacity:.9;max-width:560px}

/* CHIPS */
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 16px;font-weight:600;font-size:15px;color:var(--ink)}

/* FORMS */
.form{display:grid;gap:16px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
label{font-weight:600;font-size:14px;display:block;margin-bottom:6px}
label .opt{font-weight:400;color:var(--muted)}
input,select,textarea{width:100%;font:inherit;padding:12px 14px;border:1.5px solid #d5dbe5;border-radius:8px;background:#fff;color:var(--ink);transition:border-color .2s,box-shadow .2s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--sky);box-shadow:0 0 0 3px rgba(42,167,255,.18)}
textarea{min-height:140px;resize:vertical}
input[type=file]{padding:10px;background:var(--soft)}
.hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.consent{font-size:13px;color:var(--muted)}
.notice{border-radius:8px;padding:14px 16px;font-weight:500;display:none}
.notice.show{display:block}
.notice.ok{background:#e8f7ee;color:#11643a;border:1px solid #b9e6cb}
.notice.err{background:#fdecec;color:#9b1c1c;border:1px solid #f5c2c2}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px;box-shadow:var(--shadow)}

/* PIN GENERATOR */
.pins{display:grid;gap:14px;margin-top:8px}
.pins[hidden]{display:none}
.pinbox{border:1px solid var(--line);border-left:5px solid var(--sky);border-radius:10px;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fff}
.pin-label{display:block;color:var(--muted);font-size:14px;font-weight:600;margin-bottom:6px}
.pin-value{display:block;font:700 34px/1.1 ui-monospace,Consolas,"Courier New",monospace;letter-spacing:.06em;color:var(--navy)}
.pinbox.main{border-left-color:var(--blue);background:#f0f7fe;padding:20px 18px}
.pinbox.main .pin-value{font-size:48px}
.pinbox .btn{padding:9px 16px;font-size:15px;flex:0 0 auto}

/* CONTACT LIST */
.contact-list{list-style:none;display:grid;gap:18px}
.contact-list li{display:flex;gap:14px;align-items:flex-start}
.contact-list .icon{flex:0 0 42px;height:42px;border-radius:10px;background:#eaf4fd;color:var(--blue);display:grid;place-items:center}
.contact-list .icon svg{width:22px;height:22px}
.contact-list strong{display:block;font-size:14px;color:var(--muted);font-weight:600}
.contact-list a{font-weight:600;text-decoration:none;font-size:17px}

/* SPECIALS */
.flyer{margin-bottom:48px}
.flyer header{margin-bottom:16px;display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.btn.wa{background:#25d366;color:#fff}
.btn.wa:hover{background:#1ebe5b;color:#fff}
.flyer{scroll-margin-top:90px}
.flyer h2{font-size:26px;color:var(--navy);margin-bottom:4px}
.flyer header p{color:var(--muted)}
.flyer-img{position:relative;margin-bottom:6px;border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}
.flyer-img img{width:100%;height:auto;display:block}
.hot{position:absolute;display:block;border-radius:6px;transition:background .2s,box-shadow .2s}
.hot span{position:absolute;right:10px;bottom:10px;background:var(--blue);color:#fff;font-weight:700;font-size:13px;padding:6px 12px;border-radius:999px;opacity:0;transform:translateY(4px);transition:.2s}
.hot:hover,.hot:focus-visible{background:rgba(42,167,255,.10);box-shadow:inset 0 0 0 3px var(--sky)}
.hot:hover span,.hot:focus-visible span{opacity:1;transform:none}
.specials-strip{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:linear-gradient(90deg,#f39200,#f36523);color:#fff;text-decoration:none;border-radius:var(--radius);padding:14px 20px;margin-bottom:20px;box-shadow:var(--shadow)}
.specials-strip strong{font-size:18px}
.specials-strip:hover{color:#fff;filter:brightness(1.05)}

/* SHOP */
.stores{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}
.store{background:#fff;border:2px solid var(--line);border-radius:var(--radius);padding:18px 16px 14px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;cursor:pointer;font:inherit;color:var(--muted);transition:border-color .2s,box-shadow .2s,transform .2s}
.store:hover{border-color:#b9d9f5;transform:translateY(-2px)}
.store img{height:44px;width:auto;max-width:100%;object-fit:contain}
.store span{font-size:14px;line-height:1.4}
.store em{font-style:normal;font-size:12px;font-weight:700;color:var(--blue)}
.store[aria-selected="true"]{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,95,163,.12),var(--shadow);color:var(--ink)}
.store[aria-selected="true"] em{color:#fff;background:var(--blue);border-radius:999px;padding:2px 10px}
.shop-bar{display:grid;grid-template-columns:1fr 220px 200px;gap:12px;margin-bottom:20px}
.shop-meta{color:var(--muted);font-size:14px;margin-bottom:16px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.items{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}
.item{background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:8px}
.item .thumb{height:140px;display:grid;place-items:center;background:#fff}
.item .thumb img{max-height:140px;width:auto;object-fit:contain}
.item .thumb.none{background:var(--soft);border-radius:8px;color:#9aa4b5;font-size:13px}
.item h3{font-size:15px;font-weight:600;color:var(--ink);line-height:1.4}
.item .code{font-size:12px;color:var(--muted)}
.item .price{font-size:20px;font-weight:700;color:var(--navy);margin-top:auto}
.item .price small{font-size:12px;font-weight:500;color:var(--muted)}
.item .stock{font-size:13px;font-weight:600}
.item .stock.in{color:#11643a}.item .stock.out{color:#9b1c1c}
.item .btn{padding:9px 12px;font-size:14px}
.pager{display:flex;justify-content:center;gap:8px;margin-top:28px;flex-wrap:wrap}
.pager button{min-width:42px;padding:8px 12px;border:1px solid var(--line);background:#fff;border-radius:8px;cursor:pointer;font:inherit}
.pager button[aria-current="true"]{background:var(--blue);color:#fff;border-color:var(--blue)}
.empty{padding:40px;text-align:center;color:var(--muted);background:var(--soft);border-radius:var(--radius)}

/* FOOTER */
.site-footer{background:#0f1430;color:#c5cbe0;padding:56px 0 28px;margin-top:0}
.site-footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:32px;margin-bottom:36px}
.site-footer h4{color:#fff;font-size:15px;margin-bottom:12px}
.site-footer a{color:#c5cbe0;text-decoration:none}
.site-footer a:hover{color:#fff}
.site-footer ul{list-style:none;display:grid;gap:6px;font-size:15px}
.footer-brand{display:inline-block;background:#fff;border-radius:10px;padding:10px 14px;margin-bottom:14px}
.footer-brand img{height:34px;width:auto}
.site-footer .legal{border-top:1px solid rgba(255,255,255,.1);padding-top:20px;font-size:13px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* RESPONSIVE */
@media (max-width:1000px){
  .grid.c4{grid-template-columns:repeat(2,1fr)}
  .grid.c3{grid-template-columns:repeat(2,1fr)}
  .site-footer .cols{grid-template-columns:1fr 1fr}
  .facts{grid-template-columns:repeat(2,1fr)}
  .shop-bar{grid-template-columns:1fr 1fr}
  .shop-bar input{grid-column:1/-1}
}
@media (max-width:860px){
  .menu-toggle{display:block}
  .nav{position:absolute;top:72px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:12px 16px 18px;gap:2px;display:none;box-shadow:var(--shadow-lg)}
  .menu-open .nav{display:flex}
  .nav a{padding:12px}
  .nav .btn{margin:8px 0 0}
}
@media (max-width:700px){
  .wrap{padding:0 16px}
  .section{padding:56px 0}
  .hero .wrap{padding:64px 16px 56px}
  .hero.small .wrap{padding:48px 16px 40px}
  .grid.c2,.grid.c3,.grid.c4,.split,.split-l,.split-r{grid-template-columns:1fr;gap:32px}
  .form .row{grid-template-columns:1fr}
  .product{grid-template-columns:80px 1fr;gap:16px}
  .product img{width:80px}
  .pinbox.main .pin-value{font-size:40px}
  .ticks{grid-template-columns:1fr}
  .downloads a{flex-direction:column;align-items:flex-start;gap:2px}
  .downloads a small{text-align:left}
  .pin-value{font-size:30px}
  .logos{grid-template-columns:repeat(2,1fr);gap:10px}
  .logo{height:88px;padding:14px}
  .cta{padding:32px 24px}
  .fact{padding:16px 14px}
  .fact strong{font-size:21px}
  .panel{padding:22px}
  .site-footer .cols{grid-template-columns:1fr}
  .shop-bar{grid-template-columns:1fr}
  .stores{grid-template-columns:1fr;gap:8px}
  .store{flex-direction:row;text-align:left;padding:12px 14px;gap:12px}
  .store img{height:30px;width:92px;flex:0 0 92px}
  .store span{font-size:13px;flex:1}
  .items{grid-template-columns:repeat(2,1fr);gap:10px}
  .item{padding:12px}
  .item .thumb{height:100px}.item .thumb img{max-height:100px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.hero-special{animation:none}}
