
:root {
  --bg: #f5f7f2;
  --bg-soft: #ffffff;
  --primary: #6b8f71;
  --primary-soft: #e0eedf;
  --accent: #c4b28f;
  --text-main: #283129;
  --text-muted: #6f776f;
  --border-subtle: #dde3d8;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 60px rgba(0,0,0,0.08);
}

*,
*::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, #f8faf5 0, var(--bg) 40%, #eef2ea 100%);
  color: var(--text-main);
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(245,247,242,0.92);
  border-bottom: 1px solid rgba(221,227,216,0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text-main);
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.nav a {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}

.nav a:hover {
  border-color: var(--border-subtle);
  background: rgba(255,255,255,0.7);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  font-size: 0.9rem;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 2.5rem;
  padding: 3rem 1.5rem 3.5rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.hero-text p + p {
  margin-top: 0.6rem;
}

.hero-image {
  align-self: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at top left, #e6f0e7, #f5f7f2);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(61,99,69,0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(61,99,69,0.35);
}

.btn-secondary {
  background: var(--primary-soft);
  color: var(--text-main);
  border-color: rgba(107,143,113,0.25);
}

.btn-secondary:hover {
  background: #d3e4d2;
}

/* Generic layout */

.page {
  padding: 2.5rem 1.5rem 3rem;
}

.page-head h1 {
  margin-bottom: 0.5rem;
}

.page-head p {
  max-width: 620px;
  color: var(--text-muted);
  line-height: 1.6;
}

.page-content {
  margin-top: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.page-content p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.5rem;
  padding: 0 1.5rem 3rem;
}

.feature-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Grid utils */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

/* Catalog cards */

.product-grid {
  margin-top: 2rem;
}

.product-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product-title {
  margin: 0.3rem 0 0.2rem;
  font-size: 1.1rem;
}

.product-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.product-price {
  font-weight: 600;
  margin: 0.2rem 0 0.4rem;
}

.product-link {
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.product-card .btn {
  margin-top: 0.3rem;
}

/* Product page */

.product-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.2fr);
  gap: 2.25rem;
  align-items: center;
}

.product-gallery {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.product-info p {
  color: var(--text-muted);
  line-height: 1.7;
}

.product-lead {
  font-weight: 500;
}

/* Cart */

.cart-section {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(0,1.1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.cart-items {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  min-height: 160px;
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr auto auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px dashed #e2e6dc;
  font-size: 0.95rem;
}

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

.cart-item-title {
  font-weight: 500;
}

.cart-summary {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.cart-summary h2 {
  margin-top: 0;
}

.quantity-input {
  width: 3rem;
  padding: 0.2rem 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

/* Forms */

.lead-form {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.75rem;
}

.lead-form label {
  font-size: 0.9rem;
  display: grid;
  gap: 0.35rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #f9faf7;
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(107,143,113,0.35);
  outline-offset: 1px;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1.1fr);
  gap: 2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-list li + li {
  margin-top: 0.25rem;
}

/* Legal */

.legal {
  font-size: 0.95rem;
}

/* Success */

.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 2.5rem 1.5rem;
}

.success-card {
  max-width: 520px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.1rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  border: 1px solid var(--border-subtle);
}

.success-card h1 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.success-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Footer */

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 1.5rem 2rem;
  background: rgba(248,250,245,0.95);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.footer-grid p {
  margin: 0.1rem 0;
  color: var(--text-muted);
}

.footer-bottom {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
  }
  .product-layout,
  .cart-section,
  .contact-layout,
  .footer-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .hero {
    padding-top: 2.2rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .features {
    grid-template-columns: minmax(0,1fr);
  }
  .grid-3 {
    grid-template-columns: minmax(0,1fr);
  }
}
