:root {
  --primary: #d97706;
  --primary-dark: #b45309;
  --bg: #fffbf5;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #f3e8d9;
  --shadow: 0 4px 16px rgba(31, 41, 55, .06);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -.02em;
}
.logo span { color: var(--primary); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s;
}
.main-nav.open { max-height: 400px; }

.tabs {
  list-style: none;
  margin: 0;
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tab {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s;
}
.tab:hover { background: var(--border); }
.tab.active { color: var(--primary); background: var(--border); }

/* PANELS */
.panel { display: none; padding: 32px 0; }
.panel.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from {opacity:0; transform: translateY(6px);} to {opacity:1; transform: none;} }

h1, h2, h3 { letter-spacing: -.02em; margin-top: 0; }
h1 { font-size: 2rem; line-height: 1.15; }
h2 { font-size: 1.5rem; margin-bottom: 12px; }
h3 { font-size: 1.1rem; }
.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.muted { color: var(--muted); }

/* HERO */
.hero {
  background: linear-gradient(135deg, #fff4e6, #fde8c8);
  padding: 32px 24px;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.hero h1 { margin-bottom: 12px; }
.hero p { margin-bottom: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s, background .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, .25);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-small { padding: 8px 16px; font-size: .9rem; }

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.feature {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.feature-icon { font-size: 2rem; margin-bottom: 8px; }
.feature h3 { margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); }

/* PRODUCT GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-img {
  background: linear-gradient(135deg, #fff4e6, #fde8c8);
  border-radius: var(--radius-sm);
  height: 140px;
  display: grid;
  place-items: center;
  font-size: 3rem;
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0 0 12px; flex: 1; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.price { font-weight: 700; font-size: 1.1rem; color: var(--primary); }

/* INFO BLOCKS */
.info-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.info-block {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.info-block p { margin: 0; color: var(--muted); }

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .15s, box-shadow .15s;
}
.contact-card:hover:not(.static) {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.contact-icon { font-size: 1.8rem; }
.contact-card h3 { margin: 0 0 2px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* FOOTER */
.site-footer {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 41, 55, .55);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 100;
  animation: fadeIn .15s;
}
.modal[hidden] { display: none; }
.modal-content {
  background: var(--surface);
  padding: 28px 24px;
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.modal-content h3 { margin: 0 0 12px; color: var(--primary); }
.modal-content p { margin: 0 0 20px; }

/* TABLET / DESKTOP */
@media (min-width: 720px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    background: transparent;
    border: none;
    max-height: none;
    overflow: visible;
    width: auto;
  }
  .tabs {
    flex-direction: row;
    padding: 0;
    gap: 4px;
  }
  .tab { width: auto; padding: 10px 16px; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }
  .panel { padding: 48px 0; }
  .hero { padding: 56px 48px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .info-blocks { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
}
