
:root {
  --bg: #f3faf7;
  --bg-alt: #e2f0eb;
  --primary: #1a9d7a;
  --primary-soft: rgba(26, 157, 122, 0.08);
  --text: #18323a;
  --muted: #5f7c86;
  --border: #d0e3dc;
  --card-bg: #ffffff;
  --danger: #c0392b;
  --radius-s: 8px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-soft: 0 18px 40px rgba(7, 41, 34, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #f8fffd 0, #f3faf7 40%, #edf4f1 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 250, 247, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(208, 227, 220, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, #1a9d7a, #48c9b0);
  color: #ffffff;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav-cart-link {
  background: var(--primary-soft);
  color: var(--text);
}

.nav-cart-link span {
  font-weight: 600;
  margin-left: 4px;
}

main {
  padding-bottom: 48px;
}

/* Hero */

.hero {
  padding: 40px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-text p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 10px;
}

.hero-note {
  font-size: 0.86rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-m);
  padding: 10px 14px;
  border: 1px dashed var(--border);
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-img {
  max-width: 420px;
  border-radius: 40% 60% 52% 48%;
  box-shadow: var(--shadow-soft);
}

/* Sections */

.section {
  padding: 32px 0;
}

.section-intro {
  text-align: left;
  max-width: 720px;
}

.section-intro h1,
.section-intro h2 {
  margin-bottom: 8px;
}

.section-intro p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-l);
  padding: 18px 18px 16px;
  box-shadow: 0 12px 30px rgba(8, 37, 29, 0.08);
  border: 1px solid rgba(208, 227, 220, 0.7);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-highlight {
  background: radial-gradient(circle at top left, #e2f0eb 0, #f3faf7 50%, #f3faf7 100%);
}

.highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}

.highlight-media img {
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #1a9d7a, #1abc9c);
  border-color: #14946f;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(26, 157, 122, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: #ffffff;
}

/* Lead form */

.section-lead {
  padding-top: 8px;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 32px;
  margin-top: 24px;
  padding: 20px 24px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(208, 227, 220, 0.9);
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form label {
  font-size: 0.9rem;
  color: var(--text);
  display: grid;
  gap: 5px;
}

.lead-form input,
.lead-form textarea {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 8px 11px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #f9fdfb;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(26, 157, 122, 0.22);
  border-color: #1a9d7a;
}

.lead-form-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Lists & narrow container */

.narrow {
  max-width: 760px;
}

.list {
  padding-left: 18px;
}

.list li {
  margin-bottom: 4px;
}

/* Catalog & product */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(208, 227, 220, 0.9);
  box-shadow: 0 18px 40px rgba(7, 41, 34, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card img {
  border-radius: 18px;
}

.product-card-title {
  font-weight: 600;
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-price {
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
}

.product-detail-info h1 {
  margin-top: 0;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  font-size: 0.78rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--muted);
  margin-bottom: 8px;
}

/* Cart */

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: flex-start;
}

.cart-box {
  background: #ffffff;
  border-radius: 26px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 0.8fr) minmax(0, 0.9fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(208, 227, 220, 0.8);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-title {
  font-size: 0.95rem;
}

.cart-qty-input {
  width: 70px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-align: center;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.85rem;
}

.cart-summary {
  margin-top: 10px;
  text-align: right;
  font-weight: 600;
}

.cart-form-box {
  background: #ffffff;
  border-radius: 26px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(208, 227, 220, 0.8);
  background: #f6fbf8;
  padding: 22px 0 16px;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.4fr;
  gap: 16px;
}

.footer h4 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text);
}

.footer-bottom {
  margin-top: 10px;
  border-top: 1px solid rgba(208, 227, 220, 0.8);
  padding-top: 8px;
  text-align: left;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .highlight-grid,
  .lead-grid,
  .product-detail-grid,
  .cart-layout,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media {
    order: -1;
  }
  .nav {
    gap: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .feature-grid,
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lead-grid {
    padding: 16px 16px 18px;
  }
  .hero {
    padding-top: 26px;
  }
}

@media (max-width: 520px) {
  .cart-item {
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .cart-item-qty,
  .cart-item-sum {
    font-size: 0.85rem;
  }
}
