:root {
  --ink: #172033;
  --muted: #687086;
  --line: #e6e8ee;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --brand: #0f8b6f;
  --brand-dark: #09624f;
  --accent: #e0413d;
  --gold: #f4a51c;
  --blue: #2563eb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: #101827; color: #fff; font-size: 14px; }
.topbar .container, .header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar .container { padding: 8px 0; flex-wrap: wrap; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header .container { padding: 14px 0; }
.brand { font-weight: 800; font-size: 22px; color: var(--brand); }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-weight: 700; font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border-radius: 6px; border: 1px solid transparent; font-weight: 800; cursor: pointer; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.secondary { background: #fff; border-color: var(--line); }
.btn.danger { background: var(--accent); color: #fff; }
.hero { background: linear-gradient(135deg, #fff 0%, #ecfff8 52%, #fff0ef 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; padding: 48px 0; }
.kicker { color: var(--accent); font-weight: 800; text-transform: uppercase; font-size: 13px; }
h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; margin: 10px 0 14px; }
h2 { font-size: 30px; margin: 0 0 18px; }
h3 { margin: 0 0 8px; }
.lead { color: var(--muted); font-size: 18px; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; box-shadow: 0 18px 50px rgba(23, 32, 51, .10); }
.deal-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.deal-row:last-child { border-bottom: 0; }
.price { color: var(--accent); font-weight: 900; }
.old-price { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.section { padding: 42px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split-grid { grid-template-columns: 1.2fr .8fr; }
.contact-grid { grid-template-columns: .9fr 1.1fr; }
.admin-two-col { grid-template-columns: 1fr 1fr; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.project-card { display: flex; flex-direction: column; min-height: 100%; }
.badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border-radius: 999px; background: #fff5db; color: #8c5700; font-size: 12px; font-weight: 800; }
.category-tile { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.category-tile span { color: var(--brand); }
.coupon-band { background: #111827; color: #fff; padding: 28px 0; }
.coupon-band .container { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.stars { color: var(--gold); letter-spacing: 1px; }
.footer { background: #101827; color: #d7dbe6; padding: 38px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; margin: 0 0 12px; }
.footer a { display: block; margin: 7px 0; color: #d7dbe6; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 16px; font-size: 14px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; background: #25d366; color: #fff; padding: 12px 16px; border-radius: 999px; font-weight: 900; box-shadow: 0 10px 30px rgba(0,0,0,.18); z-index: 20; }
.page-title { padding: 34px 0; background: #fff; border-bottom: 1px solid var(--line); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filter { border: 1px solid var(--line); background: #fff; padding: 8px 12px; border-radius: 999px; font-weight: 700; }
.filter.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-weight: 800; display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.notice { background: #e9fff6; color: #07523f; border: 1px solid #b9f2dc; padding: 12px; border-radius: 6px; margin-bottom: 16px; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #0f8b6f, #172033); }
.login-card { width: min(420px, 100%); background: #fff; border-radius: 8px; padding: 28px; }
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { background: #101827; color: #fff; padding: 22px; }
.admin-sidebar .brand { display: block; margin-bottom: 24px; color: #fff; }
.admin-sidebar nav { display: grid; gap: 8px; }
.admin-sidebar a { padding: 10px 12px; border-radius: 6px; color: #d7dbe6; }
.admin-sidebar a.active, .admin-sidebar a:hover { background: rgba(255,255,255,.12); color: #fff; }
.admin-main { padding: 26px; overflow-x: auto; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.stat strong { display: block; font-size: 30px; }
.toolbar { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f0f3f8; font-size: 13px; text-transform: uppercase; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-btn { padding: 6px 9px; border-radius: 5px; border: 1px solid var(--line); background: #fff; font-weight: 800; cursor: pointer; }
.chart { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 150px 1fr 42px; align-items: center; gap: 10px; }
.bar-fill { height: 12px; border-radius: 999px; background: var(--brand); min-width: 8px; }
@media (max-width: 860px) {
  .hero-grid, .footer-grid, .grid.cols-3, .grid.cols-4, .form-row, .stats, .admin-layout, .split-grid, .contact-grid, .admin-two-col { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
  .header .container { align-items: flex-start; flex-direction: column; }
  .section-head { align-items: flex-start; flex-direction: column; }
}
