/* Miranda Plastics — single page site */
:root{
  --red:#c9161c;
  --red-dark:#a30f14;
  --gold:#f2a01c;
  --ink:#141414;
  --ink-soft:#3c3c3c;
  --muted:#6b6b6b;
  --line:#e4e4e4;
  --bg:#ffffff;
  --bg-alt:#faf7f5;
  --radius:10px;
  --wrap:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:104px}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--red);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}

/* ---------- header ---------- */
.topbar{background:var(--red);color:#fff;font-size:14px;letter-spacing:.04em}
.topbar .wrap{display:flex;gap:18px;justify-content:center;align-items:center;
  min-height:38px;text-align:center;flex-wrap:wrap}
.topbar strong{font-weight:700}
.topbar a{color:#fff;text-decoration:underline}

.site-header{position:sticky;top:0;z-index:50;background:var(--ink);
  box-shadow:0 2px 10px rgba(0,0,0,.18)}
.site-header .wrap{display:flex;align-items:center;gap:24px;
  min-height:76px;justify-content:space-between}
.brand{display:flex;align-items:center}
.brand img{width:250px}
.nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.nav a{color:#fff;font-size:15px;font-weight:600;letter-spacing:.02em;
  padding:9px 13px;border-radius:6px}
.nav a:hover{background:#2a2a2a;text-decoration:none}
.nav a.cta{background:var(--red);}
.nav a.cta:hover{background:var(--red-dark)}

/* ---------- hero ---------- */
.hero{background:#101010}
.hero-img{width:100%;height:auto;max-height:min(58vh,520px);object-fit:cover;object-position:center bottom;display:block}
.hero-card{background:linear-gradient(135deg,#1b1310 0%,#2b1a12 55%,#3d2013 100%);
  color:#fff;padding:34px 0 40px;border-bottom:5px solid var(--red)}
.hero-card h1{font-family:Georgia,"Times New Roman",serif;font-style:italic;
  margin:0 0 10px;font-size:clamp(28px,4.2vw,48px);line-height:1.1}
.hero-card p{margin:0;max-width:680px;font-size:clamp(15px,1.7vw,19px);color:#f1e3db}
.hero-actions{margin-top:22px;display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-block;background:var(--red);color:#fff;font-weight:700;
  padding:13px 24px;border-radius:6px;letter-spacing:.02em}
.btn:hover{background:var(--red-dark);text-decoration:none}
.btn.ghost{background:transparent;border:2px solid #fff;padding:11px 22px}
.btn.ghost:hover{background:#fff;color:var(--ink)}

/* ---------- sections ---------- */
section{padding:66px 0}
section.alt{background:var(--bg-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sec-head{max-width:720px;margin-bottom:34px}
.sec-head h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(25px,3.2vw,36px);
  margin:0 0 10px;line-height:1.2}
.sec-head h2 .bar{display:block;width:62px;height:5px;background:var(--red);
  border-radius:3px;margin-bottom:16px}
.sec-head p{margin:0;color:var(--muted)}

/* category grid */
.cats{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.cat{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:16px;transition:.18s;color:var(--ink)}
.cat:hover{border-color:var(--red);box-shadow:0 8px 20px rgba(0,0,0,.07);
  transform:translateY(-2px);text-decoration:none}
.cat img{width:66px;flex:0 0 66px}
.cat h3{margin:0 0 3px;font-size:16px}
.cat span{font-size:13.5px;color:var(--muted);line-height:1.45;display:block}

/* products */
.products{display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.product{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  display:flex;flex-direction:column;transition:.18s}
.product:hover{box-shadow:0 10px 24px rgba(0,0,0,.08);transform:translateY(-3px)}
.product img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#f4f4f4}
.product .body{padding:15px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.product h3{margin:0;font-size:15.5px;color:var(--red);line-height:1.35}
.product p{margin:0;font-size:13.5px;color:var(--muted);flex:1}
.product .tag{font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink-soft)}

/* feature strip */
.features{display:grid;gap:22px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));margin-top:6px}
.feature{background:#fff;border-left:4px solid var(--red);border-radius:6px;padding:18px 20px;
  box-shadow:0 2px 10px rgba(0,0,0,.04)}
.feature h3{margin:0 0 6px;font-size:17px}
.feature p{margin:0;font-size:14.5px;color:var(--muted)}

/* about */
.about{display:grid;gap:40px;grid-template-columns:1.15fr .85fr;align-items:center}
.about .motif{border-radius:var(--radius);overflow:hidden;background:#fff;border:1px solid var(--line);padding:14px}
.about h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(25px,3.2vw,36px);margin:0 0 14px}
.about .bar{display:block;width:62px;height:5px;background:var(--red);border-radius:3px;margin-bottom:16px}
.badge{display:inline-block;background:var(--ink);color:#fff;font-weight:700;font-size:13px;
  letter-spacing:.12em;text-transform:uppercase;padding:8px 14px;border-radius:5px;margin-bottom:18px}

/* contact */
.contact{display:grid;gap:34px;grid-template-columns:1fr 1fr}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.card h3{margin:0 0 14px;font-size:19px}
.card address{font-style:normal;color:var(--ink-soft);line-height:1.8}
.card .email{font-size:18px;font-weight:700;word-break:break-word}
.hours{list-style:none;margin:0;padding:0}
.hours li{display:flex;justify-content:space-between;gap:14px;padding:9px 0;
  border-bottom:1px dashed var(--line);font-size:15.5px}
.hours li:last-child{border-bottom:0}
.hours span:last-child{color:var(--muted)}
.map{border:0;width:100%;height:280px;border-radius:var(--radius);display:block;filter:saturate(.95)}

/* footer */
.motif-band{background:#fff;border-top:1px solid var(--line)}
.motif-band img{width:100%;max-height:150px;object-fit:cover;object-position:center}
.site-footer{background:var(--ink);color:#c9c9c9;padding:44px 0 26px;font-size:14.5px}
.site-footer .cols{display:grid;gap:30px;grid-template-columns:1.3fr 1fr 1fr}
.site-footer h4{color:#fff;margin:0 0 12px;font-size:15px;letter-spacing:.06em;text-transform:uppercase}
.site-footer a{color:#e9e9e9}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{padding:4px 0}
.site-footer img.logo{width:230px;margin-bottom:12px}
.legal{border-top:1px solid #2c2c2c;margin-top:30px;padding-top:18px;display:flex;
  justify-content:space-between;gap:16px;flex-wrap:wrap;color:#8f8f8f;font-size:13px}

@media (max-width:860px){
  .about,.contact{grid-template-columns:1fr}
  .site-footer .cols{grid-template-columns:1fr}
  .site-header .wrap{flex-direction:column;gap:10px;padding-top:12px;padding-bottom:12px}
  html{scroll-padding-top:150px}
  .nav{justify-content:center}
  .brand img{width:210px}
}
