/* =========================================================
   JYOTI SUPPLIERS - PUBLIC WEBSITE STYLES
========================================================= */
*{box-sizing:border-box}
:root{--primary:#10233d;--primary-dark:#071322;--accent:#f47a20;--text:#172033;--muted:#687386;--bg:#f7f8fa;--line:#e6e8ed;--white:#fff}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.55}
a{text-decoration:none;color:inherit}
img{max-width:100%}
.container{width:min(1200px,100%);margin:auto;padding:0 20px}

/* Header */
.header{background:var(--primary);color:#fff;position:sticky;top:0;z-index:100}
.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:flex;align-items:center;justify-content:flex-start;gap:12px;font-size:21px;font-weight:800;white-space:nowrap;margin-right:auto}
.brand img{width:auto;height:48px;max-width:72px;object-fit:contain;flex-shrink:0}
.menu{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:24px;flex-wrap:wrap}
.menu a{color:#fff;padding:7px 0}
.menu a:hover{color:#ffb477}

/* Hero */
.hero{min-height:500px;display:grid;align-items:center;color:#fff;background-position:center;background-size:cover;background-repeat:no-repeat}
.hero h1{font-size:clamp(40px,6vw,72px);line-height:1.05;max-width:850px;margin:0 0 20px}
.hero p{font-size:clamp(17px,2vw,21px);max-width:700px;margin:0 0 24px}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:12px 19px;background:var(--accent);color:#fff;font-weight:750;cursor:pointer}
.btn:hover{filter:brightness(.96)}

/* Sections */
.section{padding:64px 0}
.section h2{font-size:34px;margin:0 0 25px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 7px 22px rgba(16,35,61,.05);overflow:hidden}
.card img{display:block;width:100%;height:205px;object-fit:contain;border-radius:10px;background:#fff}
.card h3{margin:15px 0 7px}
.muted{color:var(--muted)}
.notice{border-left:5px solid var(--accent)}

/* Product/contact controls */
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
input,select,textarea{padding:11px;border:1px solid #cfd5df;border-radius:8px;max-width:100%;font:inherit}
.formgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.wide{grid-column:1/-1}

/* Footer */
.footer{background:#0b1728;color:#cbd5e1;padding:48px 0}
.footer h3{color:#fff}

/* Large Festival / Promotion Popup */
.popupbg{position:fixed;inset:0;width:100vw;height:100vh;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;padding:2vh 2vw;z-index:9999;overflow:hidden}
.popup{position:relative;width:auto;max-width:84vw;max-height:94vh;background:#fff;padding:10px;border-radius:15px;box-shadow:0 28px 90px rgba(0,0,0,.5);overflow-y:auto;text-align:center}
.popup>img{display:block;width:auto;height:auto;max-width:82vw;max-height:80vh;object-fit:contain;margin:0 auto;border-radius:9px;background:#fff}
.popup .x{position:absolute;top:12px;right:12px;width:44px;height:44px;border:2px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(0,0,0,.88);color:#fff;font-size:25px;line-height:38px;cursor:pointer;z-index:10;box-shadow:0 3px 14px rgba(0,0,0,.35)}
.popup .x:hover{background:var(--accent)}
.popup h2{font-size:25px;line-height:1.25;color:var(--text);margin:14px 12px 5px}
.popup p{color:#607080;line-height:1.6;margin:7px 15px 13px}
.popup .btn{margin:4px 0 8px}
.popup>img:first-of-type:last-of-type{margin-left:auto;margin-right:auto}

/* Tablet */
@media(max-width:900px){
  .popupbg{padding:1.5vh 1.5vw}
  .popup{max-width:94vw;max-height:95vh}
  .popup>img{max-width:92vw;max-height:80vh}
}

/* Mobile */
@media(max-width:760px){
  .nav{align-items:flex-start;padding:15px 0;flex-direction:column;gap:12px}
  .brand{margin-right:0;width:100%;justify-content:flex-start}
  .brand img{height:44px;max-width:66px}
  .menu{margin-left:0;width:100%;justify-content:flex-start;gap:12px;font-size:14px}
  .hero{min-height:400px}
  .section{padding:44px 0}
  .section h2{font-size:28px}
  .formgrid{grid-template-columns:1fr}
  .wide{grid-column:auto}
  .popupbg{padding:8px;align-items:center}
  .popup{width:auto;max-width:97vw;max-height:96vh;padding:6px;border-radius:12px}
  .popup>img{width:auto;max-width:95vw;height:auto;max-height:82vh;object-fit:contain}
  .popup .x{top:9px;right:9px;width:40px;height:40px;font-size:22px;line-height:35px}
  .popup h2{font-size:20px;margin-top:11px}
  .popup p{font-size:14px;margin:6px 9px 10px}
}

@media(max-width:480px){
  .container{padding:0 15px}
  .hero h1{font-size:38px}
  .grid{grid-template-columns:1fr}
  .popup>img{max-width:94vw;max-height:80vh}
}
