:root {
  --ink: #14213d;
  --muted: #667085;
  --line: #e6e1d8;
  --paper: #fffaf3;
  --surface: #ffffff;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --gold: #d97706;
  --orange: #f97316;
  --red: #dc2626;
  --green: #16a34a;
  --shadow: 0 18px 45px rgba(20, 33, 61, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 243, .93);
  border-bottom: 1px solid rgba(230, 225, 216, .85);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.08);
}
.site-nav { display: flex; align-items: center; gap: 22px; font-weight: 700; }
.site-nav a { color: #25324b; }
.site-nav a:hover { color: var(--teal); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; }
.btn, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover, button:hover, input[type="submit"]:hover { transform: translateY(-2px); }
.btn-primary, input[type="submit"] { background: var(--gold); color: #fff; box-shadow: 0 10px 24px rgba(217,119,6,.22); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-soft { background: #e6fffb; color: var(--teal-dark); }
.btn-danger { background: var(--red); color: #fff; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px) 34px;
}
.hero h1 { max-width: 720px; margin: 0 0 18px; font-size: clamp(42px, 7vw, 84px); line-height: .98; letter-spacing: 0; }
.hero p { max-width: 640px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-visual {
  min-height: 520px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15,118,110,.95), rgba(20,33,61,.94)), url('../img/og-cover.svg') center/cover;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.store-stack {
  position: absolute;
  inset: 8%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-content: center;
}
.mini-card {
  background: rgba(255,255,255,.94);
  border-radius: 8px;
  padding: 16px;
  min-height: 145px;
  transform: rotate(var(--r, 0deg));
}
.mini-card strong { display: block; margin-top: 8px; }
.mini-card span { color: var(--muted); font-size: 14px; }
.logo-dot { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--orange); font-weight: 900; }
.section { padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 72px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.section h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.05; margin: 0; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(20,33,61,.05);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.store-slider { display: flex; align-items: center; gap: 18px; overflow-x: auto; padding: 12px 0 18px; scrollbar-width: thin; }
.store-bubble {
  flex: 0 0 108px;
  text-align: center;
}
.store-bubble img {
  width: 94px;
  height: 94px;
  margin: 0 auto 8px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 10px 24px rgba(20,33,61,.14);
  background: #fff;
}
.store-bubble span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #f3f4f6; }
.price { color: var(--teal-dark); font-size: 20px; font-weight: 900; }
.form-wrap, .panel {
  width: min(100%, 980px);
  margin: 34px auto;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 7px; font-weight: 800; }
input, textarea, select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f7f3ec; font-size: 14px; }
.badge { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #e6fffb; color: var(--teal-dark); font-weight: 900; font-size: 12px; }
.badge.red { background: #fee2e2; color: #991b1b; }
.badge.gold { background: #fef3c7; color: #92400e; }
.flash { max-width: 980px; margin: 18px auto 0; padding: 14px 18px; border-radius: 8px; font-weight: 800; }
.flash.success { background: #dcfce7; color: #166534; }
.flash.error { background: #fee2e2; color: #991b1b; }
.store-hero {
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: 48px clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, rgba(20,33,61,.82), rgba(15,118,110,.75)), var(--cover, none) center/cover;
}
.store-identity { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.store-identity img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; background: #fff; }
.store-identity h1 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.socials a { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.16); color: inherit; font-weight: 800; }
.dashboard { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; padding: 28px clamp(18px, 5vw, 72px); }
.side-nav { align-self: start; display: grid; gap: 8px; position: sticky; top: 96px; }
.side-nav a { padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-weight: 800; }
.side-nav a:hover { color: var(--teal); border-color: var(--teal); }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}
.site-footer p { color: #d8dee9; max-width: 620px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; align-content: start; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 360px; }
  .grid-3, .grid-4, .product-grid, .form-grid, .dashboard { grid-template-columns: 1fr; }
  .side-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { display: grid; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 42px; }
  .hero-visual { min-height: 300px; }
  .mini-card { min-height: 122px; padding: 12px; }
  .store-stack { gap: 10px; }
  .side-nav { grid-template-columns: 1fr; }
}

