/* M&T Transmissions demo — shared styles */
:root {
  --carbon: #14181d;
  --carbon2: #1c2229;
  --carbon3: #242c35;
  --steel: #8a97a5;
  --line: #2e3842;
  --amber: #f5a623;
  --amber2: #ffbe4d;
  --white: #f4f6f8;
  --green: #2ecc71;
  --red: #e74c3c;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --radius: 14px;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--carbon);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; }
a { color: var(--amber); text-decoration:none; }

/* ============ header ============ */
.topbar {
  background:#0d1013; font-size:.82rem; color:var(--steel);
  display:flex; justify-content:center; gap:1.6rem; flex-wrap:wrap;
  padding:.45rem 1rem; border-bottom:1px solid #1a2027;
}
.topbar b { color:var(--amber); font-weight:600; }
header.site {
  position:sticky; top:0; z-index:50;
  background:rgba(20,24,29,.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner {
  max-width:1160px; margin:0 auto; padding:.7rem 1.2rem;
  display:flex; align-items:center; gap:1rem;
}
.logo { display:flex; align-items:center; gap:.65rem; color:var(--white); font-weight:800; font-size:1.15rem; letter-spacing:.5px; }
.logo svg { width:38px; height:38px; }
.logo .amp { color:var(--amber); }
.logo small { display:block; font-size:.62rem; font-weight:600; letter-spacing:2.5px; color:var(--steel); text-transform:uppercase; }
nav.main { margin-left:auto; display:flex; gap:1.4rem; align-items:center; }
nav.main a { color:var(--white); font-size:.92rem; font-weight:500; opacity:.85; }
nav.main a:hover { opacity:1; color:var(--amber2); }
.btn {
  display:inline-block; background:var(--amber); color:#161207; font-weight:700;
  padding:.7rem 1.5rem; border-radius:999px; border:none; cursor:pointer;
  font-size:.95rem; transition:transform .15s, box-shadow .15s;
  box-shadow:0 6px 20px rgba(245,166,35,.28);
}
.btn:hover { transform:translateY(-2px); box-shadow:0 10px 28px rgba(245,166,35,.4); color:#161207; }
.btn.ghost { background:transparent; color:var(--white); border:1.5px solid var(--line); box-shadow:none; }
.btn.ghost:hover { border-color:var(--amber); color:var(--amber2); }
.btn.big { padding:.95rem 2.2rem; font-size:1.05rem; }
.btn:disabled { opacity:.45; cursor:not-allowed; transform:none; }
@media (max-width:840px){ nav.main a.hideM { display:none; } }

/* ============ hero ============ */
.hero {
  position:relative; overflow:hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(245,166,35,.14), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(46,90,140,.18), transparent 60%),
    linear-gradient(180deg, #171c22 0%, #14181d 100%);
  border-bottom:1px solid var(--line);
}
.hero-inner { max-width:1160px; margin:0 auto; padding:4.2rem 1.2rem 3.4rem; display:grid; grid-template-columns:1.15fr .85fr; gap:2.5rem; align-items:center; }
.kicker {
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(245,166,35,.12); color:var(--amber2);
  font-size:.78rem; font-weight:700; letter-spacing:1.5px; text-transform:uppercase;
  padding:.35rem 1rem; border-radius:999px; border:1px solid rgba(245,166,35,.3);
  margin-bottom:1.1rem;
}
.hero h1 { font-size:clamp(2rem, 4.4vw, 3.3rem); line-height:1.12; font-weight:800; letter-spacing:-.5px; }
.hero h1 em { font-style:normal; color:var(--amber); }
.hero p.lead { color:var(--steel); font-size:1.12rem; margin:1.2rem 0 1.8rem; max-width:34rem; }
.hero-ctas { display:flex; gap:.9rem; flex-wrap:wrap; align-items:center; }
.stars { color:var(--amber); letter-spacing:2px; }
.hero-trust { margin-top:1.6rem; display:flex; gap:1.6rem; flex-wrap:wrap; color:var(--steel); font-size:.86rem; }
.hero-trust b { color:var(--white); }
.gearcard {
  background:linear-gradient(160deg, var(--carbon2), #10141a);
  border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:1.6rem; text-align:center;
}
.gearcard svg.biggear { width:170px; height:170px; margin:0 auto 1rem; display:block; animation:spin 22s linear infinite; }
@keyframes spin { to { transform:rotate(360deg);} }
.gearcard h3 { font-size:1.05rem; }
.gearcard p { color:var(--steel); font-size:.88rem; }
.pillrow { display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; margin-top:1rem; }
.pill {
  background:var(--carbon3); border:1px solid var(--line); color:var(--white);
  font-size:.76rem; font-weight:600; padding:.32rem .85rem; border-radius:999px;
}
.pill.gold { background:rgba(245,166,35,.13); border-color:rgba(245,166,35,.4); color:var(--amber2); }
@media (max-width:900px){ .hero-inner { grid-template-columns:1fr; } .gearcard{max-width:420px;margin:0 auto;} }

/* ============ sections ============ */
section.block { max-width:1160px; margin:0 auto; padding:3.6rem 1.2rem; }
.sec-head { text-align:center; max-width:640px; margin:0 auto 2.4rem; }
.sec-head h2 { font-size:clamp(1.5rem,3vw,2.2rem); font-weight:800; letter-spacing:-.3px; }
.sec-head h2 span { color:var(--amber); }
.sec-head p { color:var(--steel); margin-top:.6rem; }

/* stats band */
.statband { background:linear-gradient(90deg, rgba(245,166,35,.12), rgba(245,166,35,.04)); border-block:1px solid rgba(245,166,35,.25); }
.statband .inner { max-width:1160px; margin:0 auto; padding:1.6rem 1.2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; text-align:center; }
.stat b { display:block; font-size:1.9rem; font-weight:800; color:var(--amber); }
.stat span { color:var(--steel); font-size:.85rem; }
@media (max-width:760px){ .statband .inner { grid-template-columns:repeat(2,1fr);} }

/* services grid */
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(255px,1fr)); gap:1.1rem; }
.card {
  background:var(--carbon2); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.5rem 1.4rem; transition:transform .18s, border-color .18s;
}
.card:hover { transform:translateY(-4px); border-color:rgba(245,166,35,.5); }
.card .ic { width:46px; height:46px; border-radius:12px; background:rgba(245,166,35,.12); display:flex; align-items:center; justify-content:center; margin-bottom:.9rem; }
.card .ic svg { width:26px; height:26px; stroke:var(--amber); }
.card h3 { font-size:1.06rem; margin-bottom:.35rem; }
.card p { color:var(--steel); font-size:.89rem; }
.card a.more { font-size:.85rem; font-weight:600; display:inline-block; margin-top:.7rem; }

/* reviews */
.rev-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.1rem; }
.review {
  background:var(--carbon2); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.4rem; font-size:.93rem;
}
.review .stars { font-size:.9rem; margin-bottom:.5rem; display:block; }
.review p { color:#cdd6de; }
.review footer { margin-top:.8rem; color:var(--steel); font-size:.83rem; font-weight:600; }
.review footer b { color:var(--white); }

/* why us / steps */
.steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1.1rem; counter-reset:step; }
.step { background:var(--carbon2); border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem; position:relative; }
.step::before {
  counter-increment:step; content:counter(step);
  position:absolute; top:-14px; left:1.2rem;
  background:var(--amber); color:#161207; font-weight:800; font-size:.9rem;
  width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center;
}
.step h4 { margin:.4rem 0 .3rem; }
.step p { color:var(--steel); font-size:.88rem; }

/* CTA band */
.ctaband {
  background:linear-gradient(120deg, #b97708, #f5a623);
  color:#161207; text-align:center; padding:3rem 1.2rem;
}
.ctaband h2 { font-size:clamp(1.4rem,3vw,2rem); font-weight:800; }
.ctaband p { margin:.5rem 0 1.4rem; font-weight:500; opacity:.85; }
.ctaband .btn { background:#14181d; color:var(--white); box-shadow:0 8px 26px rgba(0,0,0,.3); }

/* contact / footer */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.4rem; align-items:stretch; }
.contact-card { background:var(--carbon2); border:1px solid var(--line); border-radius:var(--radius); padding:1.6rem; }
.contact-card h3 { margin-bottom:.9rem; }
.contact-card table { width:100%; border-collapse:collapse; font-size:.92rem; }
.contact-card td { padding:.34rem 0; color:var(--steel); }
.contact-card td:last-child { text-align:right; color:var(--white); font-weight:600; }
.mapwrap { border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); min-height:320px; }
.mapwrap iframe { width:100%; height:100%; min-height:320px; border:0; filter:grayscale(.25) contrast(1.05); }
@media (max-width:840px){ .contact-grid { grid-template-columns:1fr; } }
footer.site {
  border-top:1px solid var(--line); background:#0d1013;
  text-align:center; padding:2rem 1.2rem; color:var(--steel); font-size:.85rem;
}
footer.site .demo-note { margin-top:.8rem; font-size:.75rem; opacity:.55; }

/* floating actions */
.fab-call, .fab-wa {
  position:fixed; bottom:1.2rem; z-index:60; width:54px; height:54px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(0,0,0,.45);
}
.fab-call { right:1.2rem; background:var(--amber); }
.fab-wa { right:5.4rem; background:#25d366; }
.fab-call svg, .fab-wa svg { width:26px; height:26px; fill:#fff; }
.fab-call svg { fill:#161207; }

/* ============ wizard (booking + quote) ============ */
.wizard-wrap { max-width:760px; margin:0 auto; padding:2.6rem 1.2rem 4rem; }
.progress { display:flex; gap:.4rem; margin:1.6rem 0 2rem; }
.progress i { flex:1; height:5px; border-radius:99px; background:var(--carbon3); }
.progress i.on { background:var(--amber); }
.panel {
  background:var(--carbon2); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.8rem; box-shadow:var(--shadow);
}
.panel h2 { font-size:1.35rem; margin-bottom:.3rem; }
.panel .sub { color:var(--steel); font-size:.92rem; margin-bottom:1.4rem; }
.svc-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:.8rem; }
.svc {
  background:var(--carbon3); border:1.5px solid var(--line); border-radius:12px;
  padding:1rem .9rem; cursor:pointer; text-align:center; transition:.15s;
}
.svc:hover { border-color:var(--amber); }
.svc.sel { border-color:var(--amber); background:rgba(245,166,35,.1); }
.svc svg { width:30px; height:30px; stroke:var(--amber); margin-bottom:.4rem; }
.svc b { display:block; font-size:.9rem; }
.svc span { font-size:.75rem; color:var(--steel); }
label.f { display:block; font-size:.85rem; font-weight:600; margin:1rem 0 .3rem; color:#cdd6de; }
input.f, select.f, textarea.f {
  width:100%; background:#10141a; color:var(--white); border:1.5px solid var(--line);
  border-radius:10px; padding:.75rem .9rem; font-size:1rem; outline:none; font-family:inherit;
}
input.f:focus, select.f:focus, textarea.f:focus { border-color:var(--amber); }
.reg-row { display:flex; gap:.7rem; }
.reg-plate {
  flex:1; min-width:0; background:#f7c531; color:#111; font-weight:800; font-size:1.5rem; letter-spacing:2px;
  text-transform:uppercase; text-align:center; border:2px solid #111; border-radius:8px; padding:.55rem;
  font-family:"Segoe UI", Arial, sans-serif; outline:none;
}
.reg-row .btn { white-space:nowrap; }
@media (max-width:520px){
  .reg-row { flex-direction:column; }
  .reg-row .btn { width:100%; }
}
.reg-plate::placeholder { color:#8a7a1e; }
.vcard {
  margin-top:1.1rem; background:#10141a; border:1px solid var(--green); border-radius:12px;
  padding:1rem 1.1rem; display:none; animation:pop .3s ease;
}
@keyframes pop { from { transform:scale(.96); opacity:0;} to {transform:scale(1); opacity:1;} }
.vcard.show { display:block; }
.vcard h4 { color:var(--green); font-size:.82rem; text-transform:uppercase; letter-spacing:1px; }
.vcard .vname { font-size:1.15rem; font-weight:800; margin:.15rem 0 .4rem; }
.vcard ul { list-style:none; display:flex; flex-wrap:wrap; gap:.4rem .9rem; font-size:.83rem; color:var(--steel); }
.slot-days { display:flex; gap:.5rem; overflow-x:auto; padding-bottom:.4rem; }
.day {
  min-width:74px; text-align:center; background:var(--carbon3); border:1.5px solid var(--line);
  border-radius:10px; padding:.55rem .3rem; cursor:pointer; font-size:.8rem;
}
.day.sel { border-color:var(--amber); background:rgba(245,166,35,.1); }
.day.off { opacity:.35; cursor:not-allowed; }
.day b { display:block; font-size:1.05rem; }
.slot-times { display:grid; grid-template-columns:repeat(auto-fill,minmax(90px,1fr)); gap:.5rem; margin-top:1rem; }
.slot { background:var(--carbon3); border:1.5px solid var(--line); border-radius:9px; padding:.5rem; text-align:center; cursor:pointer; font-size:.88rem; font-weight:600; }
.slot.sel { border-color:var(--amber); background:rgba(245,166,35,.12); color:var(--amber2); }
.slot.gone { opacity:.3; cursor:not-allowed; text-decoration:line-through; }
.wiz-nav { display:flex; justify-content:space-between; margin-top:1.6rem; }
.confirm-box { text-align:center; padding:1rem 0; }
.confirm-box .tick { width:76px; height:76px; margin:0 auto 1rem; border-radius:50%; background:rgba(46,204,113,.14); border:2px solid var(--green); display:flex; align-items:center; justify-content:center; }
.confirm-box .tick svg { width:38px; height:38px; stroke:var(--green); }
.bref { font-size:1.5rem; font-weight:800; color:var(--amber); letter-spacing:1px; }
.summary { text-align:left; background:#10141a; border:1px solid var(--line); border-radius:12px; padding:1rem 1.2rem; margin:1.2rem 0; font-size:.92rem; }
.summary td { padding:.28rem 0; color:var(--steel); }
.summary td:last-child { text-align:right; color:var(--white); font-weight:600; }
.checks { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:.6rem; }
.chk { display:flex; gap:.6rem; align-items:center; background:var(--carbon3); border:1.5px solid var(--line); border-radius:10px; padding:.65rem .8rem; cursor:pointer; font-size:.88rem; }
.chk.sel { border-color:var(--amber); background:rgba(245,166,35,.1); }
.chk input { accent-color:var(--amber); }

/* ============ admin ============ */
.admin-wrap { max-width:1160px; margin:0 auto; padding:2rem 1.2rem 4rem; }
.kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1rem; margin:1.4rem 0 2rem; }
.kpi { background:var(--carbon2); border:1px solid var(--line); border-radius:var(--radius); padding:1.2rem 1.3rem; }
.kpi b { font-size:1.9rem; font-weight:800; color:var(--amber); display:block; }
.kpi span { color:var(--steel); font-size:.85rem; }
.tablecard { background:var(--carbon2); border:1px solid var(--line); border-radius:var(--radius); padding:1.3rem; margin-bottom:1.6rem; overflow-x:auto; }
.tablecard h3 { margin-bottom:.9rem; }
table.data { width:100%; border-collapse:collapse; font-size:.88rem; min-width:640px; }
table.data th { text-align:left; color:var(--steel); font-size:.75rem; text-transform:uppercase; letter-spacing:1px; padding:.5rem .6rem; border-bottom:1px solid var(--line); }
table.data td { padding:.6rem; border-bottom:1px solid #222a33; }
.tag { display:inline-block; padding:.15rem .6rem; border-radius:99px; font-size:.74rem; font-weight:700; }
.tag.new { background:rgba(245,166,35,.15); color:var(--amber2); }
.tag.ok { background:rgba(46,204,113,.14); color:var(--green); }
.tag.due { background:rgba(231,76,60,.14); color:#ff8a7a; }
.plate-sm { background:#f7c531; color:#111; font-weight:800; border-radius:4px; padding:.05rem .45rem; font-size:.8rem; letter-spacing:1px; }
