/* SoilPlant — landing, softened UI */
:root {
  --color-bg: #f7f8f6;
  --color-surface: #ffffff;
  --color-muted: #5c6560;
  --color-text: #1e2421;
  --color-forest: #1a3d2e;
  --color-forest-deep: #0f241a;
  --color-leaf: #2d6a4f;
  --color-leaf-hover: #23614a;
  --color-mint: #d8f3dc;
  --color-sky: #e0f0f7;
  --color-sand: #f0ebe3;
  --color-accent-wash: #e8f5e9;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 999px;
  --shadow-soft: 0 8px 32px rgba(26, 61, 46, 0.08);
  --shadow-card: 0 4px 24px rgba(26, 61, 46, 0.06);
  --shadow-hover: 0 12px 40px rgba(26, 61, 46, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --container: min(1180px, 92vw);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

a {
  color: var(--color-leaf);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-forest);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-leaf);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 61, 46, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--color-forest);
  text-decoration: none;
}

.logo--invert {
  color: #fff;
}

.logo__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-leaf), #40916c);
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.35);
  position: relative;
}

.logo__icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 2px 10px 4px 8px;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(-12deg);
}

.nav-main__list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav-main a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-muted);
  text-decoration: none;
}

.nav-main a:hover {
  color: var(--color-leaf);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-muted);
  cursor: not-allowed;
  opacity: 0.55;
}

.icon-btn:disabled {
  pointer-events: none;
}

.badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: #fff;
  background: var(--color-leaf);
  border-radius: var(--radius-full);
}

@media (max-width: 900px) {
  .nav-main {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: not-allowed;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:disabled {
  opacity: 0.85;
  pointer-events: none;
}

.btn--primary {
  background: linear-gradient(145deg, var(--color-leaf), #1b4332);
  color: #fff;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-forest);
  border: 2px solid rgba(26, 61, 46, 0.15);
  box-shadow: var(--shadow-soft);
}

.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-leaf);
}

.hero__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--color-forest);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Mini catalog grid */
.mini-catalog__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
}

.promo-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  min-height: 160px;
}

.promo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.promo-tile:hover img {
  transform: scale(1.04);
}

.promo-tile--large {
  grid-column: span 3;
  grid-row: span 1;
  min-height: 280px;
  background: var(--color-sky);
}

.promo-tile--small {
  grid-column: span 3;
  min-height: 280px;
  background: var(--color-sand);
}

.promo-tile--tall {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 360px;
}

.promo-tile--mid {
  grid-column: span 2;
  min-height: 200px;
}

.promo-tile--accent {
  background: var(--color-accent-wash);
}

.promo-tile__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
}

.promo-tile--large .promo-tile__body,
.promo-tile--accent .promo-tile__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.promo-tile__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-forest);
}

.promo-tile__label {
  margin: 0;
  font-weight: 600;
  color: var(--color-forest);
  max-width: 14rem;
}

.promo-tile__vertical {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-forest);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .mini-catalog__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .promo-tile--large,
  .promo-tile--small {
    grid-column: span 2;
    min-height: 220px;
  }

  .promo-tile--tall {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 260px;
  }

  .promo-tile--mid {
    grid-column: span 1;
    min-height: 180px;
  }
}

/* Section headings */
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-head__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--color-forest);
}

.section-head--row .section-head__title {
  margin-bottom: 0;
}

.filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  align-items: center;
}

.filter-tabs__btn {
  position: relative;
  padding: 0.35rem 0.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.filter-tabs__btn:hover,
.filter-tabs__btn:focus-visible {
  color: var(--color-leaf);
  outline: none;
}

.filter-tabs__btn.is-active {
  color: var(--color-forest);
  font-weight: 600;
}

.filter-tabs__btn.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 6px;
  height: 6px;
  background: var(--color-leaf);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(26, 61, 46, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.product-card__media {
  aspect-ratio: 1;
  background: linear-gradient(160deg, #eef2f0, #e2e8e4);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 1rem 1.1rem 1.25rem;
}

.stars {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #e9c46a;
  margin-bottom: 0.35rem;
}

.stars--sm {
  font-size: 0.75rem;
}

.product-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-forest);
}

.product-card__price {
  margin: 0;
  font-weight: 600;
  color: var(--color-leaf);
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Promo countdown */
.promo-countdown {
  position: relative;
  background: linear-gradient(120deg, #e8ece9 0%, #dfe8e3 50%, #e5ebe7 100%);
  border-radius: var(--radius-xl);
  margin-inline: max(1rem, calc((100vw - var(--container)) / 2));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.promo-countdown__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.promo-countdown__lead {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-forest);
}

.promo-countdown__decor {
  position: absolute;
  width: min(280px, 40vw);
  height: min(280px, 40vw);
  border-radius: var(--radius-full);
  border: 3px solid rgba(45, 106, 79, 0.12);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.promo-countdown__decor--left {
  left: -8%;
  box-shadow: inset 0 0 40px rgba(45, 106, 79, 0.06);
}

.promo-countdown__decor--right {
  right: -8%;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.countdown__unit {
  min-width: 4.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--color-forest-deep);
  color: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(15, 36, 26, 0.25);
}

.countdown__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.countdown__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* Best row */
.product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .product-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.slider-nav {
  display: flex;
  gap: 0.5rem;
}

.slider-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-leaf);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: not-allowed;
  opacity: 0.5;
}

/* Newsletter */
.newsletter-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .newsletter-section__grid {
    grid-template-columns: 1fr;
  }
}

.newsletter-box {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(145deg, var(--color-sky), #f0f7fb);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(26, 61, 46, 0.06);
}

.newsletter-box__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-forest);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.newsletter-form__input {
  flex: 1 1 200px;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid rgba(26, 61, 46, 0.1);
  border-radius: var(--radius-md);
  background: #fff;
}

.newsletter-form__input:focus {
  outline: 2px solid var(--color-leaf);
  outline-offset: 2px;
  border-color: transparent;
}

.newsletter-form__btn {
  flex: 0 0 auto;
}

.newsletter-box__hint {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* Top rated */
.top-rated__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .top-rated__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.top-rated__item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(26, 61, 46, 0.05);
}

.top-rated__item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.top-rated__name {
  margin: 0.15rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-forest);
}

.top-rated__price {
  margin: 0;
  font-weight: 600;
  color: var(--color-leaf);
  font-size: 0.9rem;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(26, 61, 46, 0.06);
}

.blog-card__head {
  padding: 1.5rem 1.5rem 1rem;
  order: 1;
}

.blog-card__media {
  order: 2;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card__date {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.blog-card__title {
  margin: 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-forest);
}

.blog-card__excerpt {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.blog-card__link {
  font-weight: 600;
  color: var(--color-leaf);
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  opacity: 0.65;
}

/* Features bar */
.features-bar {
  padding: 1.75rem 0;
  background: var(--color-surface);
  border-top: 1px solid rgba(26, 61, 46, 0.06);
}

.features-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .features-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  background: var(--color-bg);
  border-radius: var(--radius-md);
}

.feature-pill__icon {
  font-size: 1.25rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--color-forest) 0%, var(--color-forest-deep) 100%);
  color: rgba(255, 255, 255, 0.88);
  padding-block: 3rem 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer__about {
  margin: 1rem 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.site-footer__address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.social-row {
  display: flex;
  gap: 0.65rem;
}

.social-row__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  pointer-events: none;
  cursor: default;
  opacity: 0.7;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.pay-icons {
  margin: 0;
}
