/* =====================================================================
   Expresslab — main stylesheet
   Brand colours live in :root; change them here to rebrand everything.
   ===================================================================== */
:root {
  --navy: #0a2540;
  --navy-2: #0f3460;
  --primary: #1463ff;
  --primary-d: #0b4fd6;
  --accent: #ffb020;
  --accent-d: #f29b00;
  --wa: #25d366;
  --wa-d: #1ebe5a;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --ok: #16a34a;
  --warn: #d97706;
  --danger: #dc2626;
  --info: #2563eb;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, .12);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-d); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2, .h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3, .h3 { font-size: 1.3rem; }
.h4 { font-size: 1.1rem; }
.h5 { font-size: 1rem; }
p { margin: 0 0 1em; }
code { background: var(--bg-alt); padding: .1em .35em; border-radius: 5px; font-size: .9em; }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid rgba(20, 99, 255, .45); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.text-danger { color: var(--danger); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.stack { display: grid; gap: 1.25rem; align-content: start; }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: -4px; }
.icon-sm { width: 16px; height: 16px; vertical-align: -3px; }
.icon-xl { width: 48px; height: 48px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 10px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; text-align: center; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); color: #fff; box-shadow: 0 6px 20px rgba(20, 99, 255, .3); }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-d); color: var(--navy); box-shadow: 0 6px 20px rgba(255, 176, 32, .35); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-d); color: #fff; }
.btn-sm { padding: .5rem .9rem; font-size: .875rem; border-radius: 8px; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--navy); color: #cbd5e1; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--navy-2)); color: #fff; font-size: .95rem; }
.logo-text b { color: var(--primary); }
.logo-light, .logo-light:hover { color: #fff; }
.logo-light .logo-text b { color: var(--accent); }
.main-nav { display: flex; gap: .25rem; margin-left: auto; }
.main-nav a { padding: .5rem .7rem; border-radius: 8px; color: var(--text); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: #eef4ff; }
.nav-cta-mobile { display: none !important; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-search { display: flex; align-items: center; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 0 .3rem 0 .9rem; }
.header-search input { border: 0; background: transparent; width: 150px; padding: .5rem 0; outline: none; font-size: .9rem; }
.header-search button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: .4rem; display: grid; }
.cart-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--ink); }
.cart-link:hover { background: var(--bg-alt); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--navy); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 42px; height: 42px; cursor: pointer; color: var(--ink); place-items: center; }
.flash-wrap { padding-top: 1rem; }

/* ---------- Alerts & pills ---------- */
.alert { padding: .85rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; border: 1px solid; font-weight: 500; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.pill { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.pill-ok { background: #dcfce7; color: #166534; }
.pill-warn { background: #fef3c7; color: #92400e; }
.pill-info { background: #dbeafe; color: #1e40af; }
.pill-danger { background: #fee2e2; color: #991b1b; }
.pill-muted { background: #f1f5f9; color: #475569; }
.badge { position: absolute; top: 10px; left: 10px; padding: .2rem .55rem; border-radius: 6px; font-size: .75rem; font-weight: 800; }
.badge-sale { background: var(--danger); color: #fff; }
.badge-muted { background: #334155; color: #fff; left: auto; right: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% -10%, rgba(20, 99, 255, .45), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #071a2f 100%); color: #cbd5e1; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-top: 5rem; padding-bottom: 5rem; }
.hero h1 { color: #fff; }
.hero .hl { color: var(--accent); }
.hero .lead { font-size: 1.15rem; max-width: 560px; color: #cbd5e1; }
.hero-kicker { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; margin-bottom: 1.25rem; border-radius: 999px; background: rgba(255, 176, 32, .12); color: var(--accent); font-size: .85rem; font-weight: 700; border: 1px solid rgba(255, 176, 32, .3); }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.75rem 0 1.25rem; }
.hero-note { font-size: .9rem; }
.hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 1.25rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.hero-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.hero-tile { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.hero-tile .icon { width: 30px; height: 30px; color: var(--accent); }
.hero-tile:nth-child(3n+2) .icon { color: #7ab0ff; }

.highlights { background: #fff; border-bottom: 1px solid var(--line); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.highlight { display: flex; align-items: center; gap: .65rem; font-weight: 700; color: var(--ink); font-size: .95rem; }
.highlight .icon { color: var(--primary); width: 26px; height: 26px; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-tight { padding: 2.5rem 0 4rem; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; max-width: none; text-align: left; gap: 1rem; flex-wrap: wrap; }
.eyebrow { display: block; color: var(--primary); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.lead { font-size: 1.1rem; }
.lead-sm { font-size: 1.05rem; color: var(--muted); }
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #cbd5e1; padding: 3rem 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .3em; }
.page-hero .lead { max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; margin-bottom: .9rem; color: #94a3b8; }
.crumbs a { color: #cbd5e1; }
.crumbs-dark, .crumbs-dark a { color: var(--muted); }

.grid { display: grid; gap: 1.5rem; }
/* Let grid/flex children shrink below their content width (prevents sideways scroll on phones). */
.grid > *, .split > *, .shop-layout > *, .cart-layout > *, .product-detail > *, .hero-inner > *, .cart-name { min-width: 0; }
body { overflow-x: clip; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2-1 { grid-template-columns: 2fr 1fr; align-items: start; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-wide { grid-template-columns: 1.4fr 1fr; align-items: start; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }

/* ---------- Service cards ---------- */
.service-card { display: flex; flex-direction: column; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d7fe; color: var(--text); }
.service-card h3 { font-size: 1.1rem; margin: 1rem 0 .5rem; }
.service-card p { font-size: .93rem; color: var(--muted); flex: 1; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: linear-gradient(135deg, #eef4ff, #dbe7ff); color: var(--primary); }
.service-icon .icon { width: 26px; height: 26px; }
.service-icon-lg { width: 64px; height: 64px; }
.service-icon-lg .icon { width: 32px; height: 32px; }
.service-list { display: grid; gap: 1.25rem; }
.service-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: start; }
.service-row h2 { font-size: 1.35rem; }
.service-row h2 a { color: var(--ink); }
.service-row-cta { display: grid; gap: .5rem; min-width: 160px; text-align: center; }
.service-row-cta p { margin: 0; }
.price-lg { font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .5rem; align-items: start; font-size: .95rem; }
.ticks .icon { color: var(--ok); margin-top: 4px; }
.ticks-cols { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.prose p { font-size: 1.03rem; }
.prose h2 { margin-top: 1.5rem; font-size: 1.5rem; }
.info-box { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: #eef4ff; border: 1px solid #c7d7fe; margin: 1.5rem 0; }
.info-box > .icon { color: var(--primary); width: 28px; height: 28px; }
.info-box div { flex: 1; display: grid; }
.info-box span { font-size: .9rem; color: var(--muted); }

/* ---------- Products ---------- */
.cat-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .875rem; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #f8fafc; }
.thumb { width: 100%; height: 100%; object-fit: contain; }
.product-media .thumb { padding: 1rem; }
.thumb-ph { display: grid; place-items: center; width: 100%; height: 100%; color: #94a3b8; background: linear-gradient(135deg, #f1f5f9, #e2e8f0); }
.product-media .thumb-ph { padding: 0; }
.thumb-lg { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); }
.thumb-lg .icon-xl, .thumb-lg.thumb-ph .icon { width: 96px; height: 96px; }
.thumb-xs { width: 48px; height: 48px; border-radius: 8px; padding: 0; }
.thumb-xs .icon { width: 22px; height: 22px; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.2rem; }
.product-body .eyebrow { font-size: .7rem; margin-bottom: .3rem; }
.product-title { font-size: .98rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .6rem; flex: 1; }
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--primary); }
.price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-bottom: .9rem; }
.price strong { color: var(--ink); font-size: 1.1rem; font-weight: 800; }
.price s { color: var(--muted); font-size: .875rem; }
.price-xl strong { font-size: 1.9rem; }
.price-xl .badge { position: static; }

.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.shop-sidebar { position: sticky; top: 96px; display: grid; gap: 1.25rem; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.cat-list a { display: flex; align-items: center; gap: .55rem; padding: .55rem .75rem; border-radius: 8px; color: var(--text); font-weight: 600; font-size: .93rem; }
.cat-list a:hover, .cat-list a.active { background: #eef4ff; color: var(--primary); }
.side-promo { padding: 1.1rem; background: linear-gradient(160deg, #fff8e8, #fff); border-color: #fde3a7; }
.side-promo p { margin: .3rem 0 .8rem; }
.shop-toolbar { display: flex; gap: .6rem; margin-bottom: .75rem; flex-wrap: wrap; }
.shop-toolbar input { flex: 1; min-width: 180px; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin: 1rem 0 2.5rem; }
.product-gallery { padding: 1.5rem; }
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.stock { font-weight: 700; display: flex; align-items: center; gap: .35rem; }
.stock.in { color: var(--ok); }
.stock.out { color: var(--danger); }
.buy-box { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 .75rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: var(--bg-alt); cursor: pointer; font-size: 1.2rem; color: var(--ink); }
.qty button:hover { background: #e2e8f0; }
.qty input { width: 52px; height: 44px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.assurances { list-style: none; padding: 1.25rem 0 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .6rem; font-size: .93rem; }
.assurances .icon { color: var(--primary); margin-right: .35rem; }
.product-desc { margin-top: 1rem; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.cart-items { padding: .5rem 1.5rem; }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto 110px 36px; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #f8fafc; }
.cart-thumb .thumb-ph .icon-xl { width: 30px; height: 30px; }
.cart-name { display: grid; }
.cart-name a { color: var(--ink); font-weight: 700; }
.cart-line { text-align: right; color: var(--ink); }
.cart-actions { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.summary { position: sticky; top: 96px; }
.summary dl { margin: 0 0 1.25rem; }
.summary dl div { display: flex; justify-content: space-between; padding: .45rem 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 700; color: var(--ink); }
.summary .total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .9rem; }
.summary .total dt, .summary .total dd { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.summary-items { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; font-size: .93rem; }
.summary-items li { display: flex; justify-content: space-between; gap: 1rem; }
.pay-options { display: grid; gap: .75rem; }
.pay-option { display: flex; gap: .85rem; align-items: start; padding: 1rem; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--primary); background: #f5f8ff; }
.pay-option input { margin-top: .3rem; accent-color: var(--primary); width: 18px; height: 18px; }
.pay-option span { display: grid; }
.pay-option small { color: var(--muted); font-size: .85rem; }
.pay-instructions { margin: 1.25rem 0; border-color: #fde3a7; background: #fffbf0; }
.pay-instructions ol { padding-left: 1.2rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field > span, .label { font-weight: 700; font-size: .875rem; color: var(--ink); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { width: 100%; padding: .7rem .85rem; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(20, 99, 255, .12); }
textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.preview { max-width: 180px; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- Misc blocks ---------- */
.why-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.why-list li { display: flex; gap: .9rem; }
.why-list li > .icon { color: #fff; background: var(--ok); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 2px; }
.why-list div { display: grid; }
.why-list strong { color: var(--ink); }
.why-list span { color: var(--muted); font-size: .95rem; }
.steps ol { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 1.1rem; }
.steps li { display: flex; gap: 1rem; }
.steps b { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--navy); color: var(--accent); }
.steps li div { display: grid; }
.steps li span { color: var(--muted); font-size: .93rem; }
.mini-steps { padding-left: 1.2rem; margin: 0; display: grid; gap: .5rem; font-size: .95rem; }
.testimonial { margin: 0; display: flex; flex-direction: column; }
.testimonial blockquote { margin: .75rem 0 1rem; font-size: 1rem; color: var(--ink); flex: 1; }
.testimonial figcaption { display: grid; font-size: .9rem; }
.testimonial figcaption span { color: var(--muted); }
.stars { display: flex; gap: 2px; }
.star { color: var(--accent); fill: var(--accent); }
.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-media { aspect-ratio: 16 / 10; background: #f1f5f9; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 1.25rem 1.4rem 1.5rem; }
.project-body h3 { font-size: 1.15rem; }
.values .value .icon { color: var(--primary); width: 30px; height: 30px; margin-bottom: .75rem; }
.values .value h3 { font-size: 1.1rem; }
.values .value p { margin: 0; font-size: .93rem; color: var(--muted); }
.contact-card { display: grid; justify-items: start; gap: .3rem; color: var(--text); transition: border-color .2s, transform .2s; }
a.contact-card:hover { border-color: var(--primary); transform: translateY(-2px); color: var(--text); }
.contact-card .icon { color: var(--primary); width: 28px; height: 28px; margin-bottom: .4rem; }
.contact-card strong { color: var(--ink); }
.contact-card span { font-size: .9rem; word-break: break-word; }
.map { padding: .75rem; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: 10px; }
.map p { margin: .6rem .25rem 0; }
.empty { text-align: center; padding: 3rem 1.5rem; display: grid; justify-items: center; }
.empty > .icon { color: #94a3b8; margin-bottom: 1rem; }
.success-card { text-align: center; display: grid; justify-items: center; margin-bottom: 1.25rem; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: var(--ok); margin-bottom: 1rem; }
.success-icon .icon { width: 32px; height: 32px; }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line); font-weight: 700; color: var(--ink); background: #fff; }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- CTA, newsletter, footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--navy-2)); color: #dbeafe; padding: 3.5rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.newsletter { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 2.5rem 0; }
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.newsletter h2 { font-size: 1.35rem; margin-bottom: .25em; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter-form { display: flex; gap: .5rem; flex: 0 1 440px; }
.site-footer { background: var(--navy); color: #94a3b8; padding: 3.5rem 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-about { margin: 1rem 0; }
.social { display: flex; gap: .5rem; flex-wrap: wrap; }
.social a { padding: .3rem .7rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; font-size: .8rem; }
.contact-list li { display: flex; gap: .5rem; align-items: start; }
.contact-list .icon { margin-top: 4px; color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; padding-bottom: 1.5rem; margin-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(37, 211, 102, .4); }
.wa-float:hover { background: var(--wa-d); color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 22px; height: 22px; }

/* ---------- Auth & admin ---------- */
.auth-page { min-height: 100vh; display: grid; place-items: center; background: var(--bg-alt); padding: 16px; }
.auth-card { width: 100%; max-width: 420px; display: grid; gap: 1rem; }
.admin { background: var(--bg-alt); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--navy); padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 2rem; position: sticky; top: 0; height: 100vh; }
.admin-side nav { display: grid; gap: .2rem; }
.admin-side a { display: flex; align-items: center; gap: .65rem; padding: .65rem .8rem; border-radius: 9px; color: #cbd5e1; font-weight: 600; font-size: .93rem; }
.admin-side a:hover, .admin-side a.active { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-side a.active .icon { color: var(--accent); }
.admin-side .logo { padding: 0 .5rem; }
.nav-badge { margin-left: auto; background: var(--accent); color: var(--navy); border-radius: 999px; font-size: .72rem; font-weight: 800; padding: .05rem .5rem; }
.admin-side-foot { margin-top: auto; display: grid; gap: .2rem; }
.admin-main { min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 2rem; background: #fff; border-bottom: 1px solid var(--line); }
.admin-top h1 { font-size: 1.35rem; margin: 0; flex: 1; }
.admin-content { padding: 2rem; }
.stat { display: grid; gap: .2rem; color: var(--text); }
.stat:hover { border-color: var(--primary); color: var(--text); }
.stat-icon { color: var(--primary); }
.stat-value { font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.stat-label { color: var(--muted); font-size: .875rem; }
.table-wrap { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f8fafc; }
.table tfoot td, .table tfoot th { background: none; font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.card .table th:first-child, .card .table td:first-child { padding-left: 1.25rem; }
.td-thumb { width: 64px; }
.td-actions { display: flex; gap: .4rem; justify-content: flex-end; }
.toolbar { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.25rem; padding: .9rem 1rem; justify-content: space-between; }
.toolbar input[type=search] { max-width: 260px; }
.toolbar select { width: auto; }
.toolbar-form { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.lead-list { display: grid; gap: 1rem; }
.lead-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: .6rem; }
.lead-msg { background: var(--bg-alt); padding: .85rem 1rem; border-radius: 10px; font-size: .93rem; }
.lead-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.inline-form { display: inline-flex; }
.inline-form select { width: auto; padding: .45rem .7rem; }
.row-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; }

/* ---------- Customer account & support ---------- */
.auth-wrap { max-width: 520px; }
.account-dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); border: 2px solid #fff; }
.account-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2rem; align-items: start; }
.account-nav { position: sticky; top: 96px; padding: 1rem; }
.account-nav nav { display: grid; gap: .15rem; margin-top: 1rem; }
.account-nav nav a { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: 8px; color: var(--text); font-weight: 600; font-size: .93rem; }
.account-nav nav a:hover, .account-nav nav a.active { background: #eef4ff; color: var(--primary); }
.account-who { display: flex; align-items: center; gap: .75rem; padding: .25rem .25rem 1rem; border-bottom: 1px solid var(--line); min-width: 0; }
.account-who div { display: grid; min-width: 0; }
.account-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--navy-2)); color: #fff; font-weight: 800; }
.quick-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.ticket-mini { list-style: none; margin: 0; padding: 0; }
.ticket-mini li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.ticket-mini li:last-child { border-bottom: 0; }
.ticket-mini a { color: var(--ink); }
.order-card summary { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; cursor: pointer; list-style: none; }
.order-card summary::-webkit-details-marker { display: none; }
.order-card summary > div:first-child { display: grid; }
.order-card[open] summary { margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.progress-steps { display: flex; list-style: none; padding: 0; margin: 0 0 1.25rem; counter-reset: s; }
.progress-steps li { flex: 1; position: relative; text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); padding-top: 30px; }
.progress-steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--muted); display: grid; place-items: center; font-size: .75rem; z-index: 1; }
.progress-steps li + li::after { content: ''; position: absolute; top: 11px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.progress-steps li.done { color: var(--ok); }
.progress-steps li.done::before { background: var(--ok); color: #fff; content: '✓'; }
.progress-steps li.done::after { background: var(--ok); }
.ticket-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.ticket-head h1, .ticket-head h2 { margin-bottom: .25rem; }
.ticket-head p { margin: 0; }
.ticket-badges { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.thread { display: grid; gap: 1rem; }
.msg { max-width: 85%; padding: 1rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.msg-mine { justify-self: end; background: #f5f8ff; border-color: #c7d7fe; }
.msg-staff:not(.msg-mine) { border-left: 4px solid var(--primary); }
.msg header { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.msg header time { margin-left: auto; }
.msg-body { color: var(--ink); overflow-wrap: anywhere; }
.attachment { display: inline-flex; align-items: center; gap: .35rem; margin-top: .75rem; padding: .35rem .7rem; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.contract-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1rem 0; }
.contract-facts div { display: grid; padding: .8rem; border-radius: 10px; background: var(--bg-alt); }
.meter { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--ok)); }
.meter + p { margin-top: .4rem; }
.visit-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .75rem; }
.visit-list li { display: grid; grid-template-columns: 130px 1fr auto; gap: 1rem; align-items: start; padding: .75rem; border-radius: 10px; background: var(--bg-alt); font-size: .93rem; }
.visit-date { font-weight: 700; color: var(--ink); white-space: nowrap; }
.row-alert td { background: #fef2f2; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; font-size: .93rem; }
.nowrap { white-space: nowrap; }
.mb { margin-bottom: 1.25rem; }
details > summary.btn { list-style: none; }
details > summary.btn::-webkit-details-marker { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .header-search { display: none; }
}
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 1rem 16px 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-cta-mobile { display: flex !important; margin-top: .5rem; color: var(--navy) !important; background: var(--accent) !important; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-inner, .split, .split-wide, .product-detail, .cart-layout, .shop-layout, .grid-2-1 { grid-template-columns: minmax(0, 1fr); }
  .shop-toolbar select { width: auto; flex: 1; }
  .hero-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; gap: 2rem; }
  .hero-panel { display: none; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .shop-sidebar, .summary { position: static; }
  .cat-list { display: flex; flex-wrap: wrap; gap: .4rem; }
  .cat-list a { border: 1px solid var(--line); background: #fff; padding: .4rem .75rem; font-size: .85rem; }
  .side-promo { display: none; }
  .service-row { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: minmax(0, 1fr); }
  .account-nav { position: static; }
  .account-nav nav { grid-template-columns: 1fr 1fr; }
  .contract-facts { grid-template-columns: 1fr 1fr; }
  .msg { max-width: 100%; }
  .service-row-cta { grid-template-columns: 1fr 1fr; text-align: left; }
  .service-row-cta p { grid-column: 1 / -1; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 70; transform: translateX(-100%); transition: transform .25s; }
  .admin-side.open { transform: none; box-shadow: var(--shadow-lg); }
  .admin-top { padding: 1rem 16px; }
  .admin-content { padding: 1.25rem 16px; }
  .section { padding: 3.25rem 0; }
}
@media (max-width: 600px) {
  .topbar-inner > span:first-child { display: none; }
  .topbar-links { gap: .9rem; font-size: .75rem; }
  .topbar-links a:nth-child(2) { display: none; }
  .grid-2, .grid-3, .grid-4, .form-row, .ticks-cols, .footer-grid { grid-template-columns: 1fr; }
  .grid-4.contact-cards, .grid-4.stat-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout .grid-3, .section .grid-4:has(.product-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .product-card .btn { padding-left: .5rem; padding-right: .5rem; }
  .product-body { padding: .8rem; }
  .product-title { font-size: .88rem; }
  .price strong { font-size: 1rem; }
  .highlight { font-size: .85rem; }
  .cart-row { grid-template-columns: 60px 1fr 36px; grid-template-areas: "img name del" "img qty line"; row-gap: .6rem; }
  .cart-thumb { grid-area: img; width: 60px; height: 60px; }
  .cart-name { grid-area: name; }
  .cart-row .qty { grid-area: qty; justify-self: start; }
  .cart-line { grid-area: line; }
  .cart-row .icon-btn { grid-area: del; }
  .cart-items { padding: .25rem 1rem; }
  .newsletter-form { flex-direction: column; flex-basis: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
  .buy-box .btn { flex: 1; }
  .card { padding: 1.15rem; }
  .table-wrap .table { min-width: 640px; }
  .order-card summary { grid-template-columns: 1fr auto; }
  .order-card summary > div:last-child { grid-column: 1 / -1; }
  .visit-list li { grid-template-columns: 1fr auto; }
  .visit-list li > div { grid-column: 1 / -1; grid-row: 2; }
  .ticket-head { flex-direction: column; }
}
