@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --yellow: #FFD100;
  --yellow-soft: #FFF3C4;
  --black: #0C0C0C;
  --ink: #1A1A1A;
  --muted: #6B7280;
  --line: #EDEDED;
  --card: #FFFFFF;
  --bg: #FAFAF8;
  --green: #0C9F3F;
  --green-dark: #08792F;
  --pink: #FF3D57;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 2px 10px rgba(12,12,12,0.05);
  --shadow-hover: 0 10px 26px rgba(12,12,12,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; margin: 0; color: var(--black); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Top utility bar ---------- */
.top-bar {
  background: var(--black);
  color: #fff;
  font-size: 12.5px;
  padding: 7px 0;
  text-align: center;
  letter-spacing: 0.2px;
}
.top-bar b { color: var(--yellow); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 21px;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.location-chip {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  padding-right: 18px;
  white-space: nowrap;
}
.location-chip b { color: var(--black); font-size: 14px; }
.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 11px 18px;
  color: var(--muted);
  font-size: 14px;
  max-width: 460px;
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin-left: auto;
}
.nav-cta {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Category chip strip ---------- */
.chip-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  overflow-x: auto;
}
.chip-strip .wrap {
  display: flex;
  gap: 12px;
  height: auto;
}
.chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s;
}
.chip:hover { background: var(--yellow-soft); border-color: var(--yellow); }

/* ---------- Hero banner ---------- */
.hero {
  padding: 44px 0;
}
.hero-banner {
  background: linear-gradient(120deg, var(--yellow) 0%, #FFE566 100%);
  border-radius: 28px;
  padding: 54px 50px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.hero-banner::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  top: -100px;
  right: -60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--black);
  color: var(--yellow);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 14ch;
  line-height: 1.1;
}
.hero p {
  font-size: 16px;
  color: var(--ink);
  opacity: 0.75;
  max-width: 42ch;
  margin: 16px 0 26px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 2; }
.btn-primary, .btn-secondary {
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  display: inline-block;
}
.btn-primary { background: var(--black); color: var(--yellow); }
.btn-secondary { background: #fff; color: var(--black); border: 1px solid rgba(12,12,12,0.15); }

.hero-visual {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-tile {
  background: rgba(255,255,255,0.55);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  font-size: 30px;
}
.hero-tile span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  margin-top: 8px;
}

/* ---------- Section shared ---------- */
.section { padding: 54px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 27px; font-weight: 800; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 14.5px; max-width: 50ch; margin: 6px 0 0; }

/* ---------- Services ---------- */
.service-group { margin-bottom: 44px; }
.service-group:last-child { margin-bottom: 0; }
.service-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 18px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: left;
  transition: box-shadow 0.15s, transform 0.15s;
  color: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
}
.service-card h3 { font-size: 16.5px; font-weight: 700; }
.service-card p { color: var(--muted); font-size: 13.5px; margin: 4px 0 14px; }
.service-card .card-link {
  align-self: flex-start;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: visible;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s, transform 0.15s;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.product-media {
  height: 140px;
  background: var(--bg);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12.5px;
  position: relative;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--pink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
}
.product-body { padding: 14px 14px 20px; flex: 1; display: flex; flex-direction: column; position: relative; }
.product-category { font-size: 11px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 4px; }
.product-body h3 { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.product-body p { font-size: 12.5px; color: var(--muted); margin: 4px 0 12px; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-now { font-size: 17px; font-weight: 800; font-family: 'Poppins', sans-serif; }
.price-old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.add-btn {
  position: absolute;
  right: 14px;
  bottom: -16px;
  background: var(--green);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 12.5px;
  padding: 9px 20px;
  border-radius: 9px;
  box-shadow: 0 4px 10px rgba(12,159,63,0.35);
}
.empty-note { color: var(--muted); font-size: 14px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}
.trust-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.trust-item .emoji { font-size: 26px; margin-bottom: 8px; }
.trust-item b { display: block; font-size: 14px; margin-bottom: 3px; }
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-panel {
  background: var(--black);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.contact-item { font-size: 15px; }
.contact-item span { display: block; color: #ffffffa8; font-size: 12.5px; margin-bottom: 5px; }
.contact-item b { color: var(--yellow); }

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  background: #fff;
}
footer a { color: var(--green); font-weight: 600; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 12, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 22px;
  max-width: 460px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg);
  border: none;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.modal h3 { font-size: 21px; font-weight: 800; margin-bottom: 4px; }
.modal .modal-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.form-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  margin-top: 6px;
}
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: center; }
.success-box { text-align: center; padding: 20px 0; }
.success-box .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

@media (max-width: 900px) {
  .hero-banner { grid-template-columns: 1fr; padding: 36px 26px; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 32px; }
  .contact-panel { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .nav-links, .location-chip { display: none; }
  .nav .wrap { gap: 12px; }
}
