:root {
  --green-900: #1a3c2e;
  --green-700: #2d6a4f;
  --green-500: #40916c;
  --green-300: #52b788;
  --green-100: #d8f3dc;
  --green-50: #f0fdf4;
  --orange-500: #e67e22;
  --orange-300: #f39c12;
  --cream: #fefae0;
  --brown: #5c4033;
  --text: #1a1a2e;
  --text-light: #555;
  --white: #ffffff;
  --bg: #f8faf6;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

img { max-width: 100%; height: auto; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--green-900);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; }

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

.nav a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav a:hover { background: var(--green-100); color: var(--green-700); }

.nav a.active { background: var(--green-700); color: white; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 50%, var(--green-500) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--orange-500);
  color: white;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  background: var(--orange-300);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230, 126, 34, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--green-700);
  color: white;
}

.btn-secondary:hover {
  background: var(--green-500);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
}

.hero-stat p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin: 0;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--green-700);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Catalog filters */
.catalog-filters {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.filters-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.filter-group {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  padding: 8px 14px;
  border: 2px solid var(--green-100);
  border-radius: 50px;
  background: white;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pill:hover {
  border-color: var(--green-300);
  background: var(--green-50);
}

.pill.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: white;
}

.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.1);
}

.color-dot.white { background: #f5f5f5; }
.color-dot.yellow { background: #fbbf24; }
.color-dot.orange { background: #fb923c; }
.color-dot.purple { background: #a855f7; }

.search-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--green-100);
}

.search-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--green-100);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: white;
  transition: var(--transition);
  font-family: inherit;
}

.search-group input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.1);
}

@media (max-width: 768px) {
  .catalog-filters {
    padding: 20px;
  }
  .filters-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pill {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.catalog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.04);
  display: block;
  color: inherit;
  text-decoration: none;
}

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

.catalog-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--green-100);
  display: block;
}

.catalog-card-img-fallback {
  width: 100%;
  aspect-ratio: 3/4;
}

.catalog-card-body {
  padding: 16px;
}

.catalog-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.catalog-card .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.catalog-card .tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 500;
}

.catalog-card .tag.orange { background: #fce4c8; color: #c06000; }
.catalog-card .tag.purple { background: #e8daf5; color: #6b21a8; }
.catalog-card .tag.yellow { background: #fef9c3; color: #854d0e; }
.catalog-card .tag.white-tag, .catalog-card .tag.white { background: #f0f0f0; color: #555; }
.catalog-card .tag.pink { background: #fce7f3; color: #9d174d; }
.catalog-card .tag.red { background: #fee2e2; color: #991b1b; }
.catalog-card .tag.green { background: #d1fae5; color: #065f46; }
.catalog-card .tag.decor-tag { background: #e8daf5; color: #6b21a8; }
.catalog-card .tag.author-tag { background: #fce4c8; color: #c06000; }
.catalog-card .tag.patent-tag { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* Contacts page */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-item:hover { transform: translateX(4px); }

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--green-700);
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-item a:hover { color: var(--green-700); }

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contact-social a {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.3rem;
  color: var(--green-700);
  transition: var(--transition);
}

.contact-social a:hover {
  background: var(--green-700);
  color: white;
  transform: translateY(-2px);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 400px;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  font-weight: 500;
}

/* Delivery info */
.delivery-list {
  list-style: none;
  padding: 0;
}

.delivery-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-light);
}

.delivery-list li::before {
  content: '✓';
  color: var(--green-500);
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer p { font-size: 0.9rem; line-height: 1.7; }

.footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer a:hover { color: white; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: white;
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: scale(0.95) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--green-100);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--green-700);
}

.modal-close:hover { background: var(--green-700); color: white; }

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.modal-img {
  width: 100%;
  border-radius: var(--radius-sm);
  background: var(--green-100);
}

.modal h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.modal .chars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.modal .char-item {
  padding: 12px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
}

.modal .char-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-700);
  font-weight: 600;
}

.modal .char-item .value {
  font-size: 0.9rem;
  margin-top: 2px;
}

.modal .description {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.modal .gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.modal .gallery-grid img {
  width: 100%;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.modal .gallery-grid img:hover { opacity: 0.85; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--green-700);
  text-decoration: none;
}

.breadcrumbs a:hover { text-decoration: underline; }

/* Page header */
.page-header {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: white;
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
}

.page-header p {
  opacity: 0.9;
  margin-top: 12px;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 16px; box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); }
  .nav-toggle { display: flex; }

  .hero h1 { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 16px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal .chars { grid-template-columns: 1fr; }

  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }
  .page-header h1 { font-size: 2rem; }
  .catalog-controls { flex-direction: column; }
  .catalog-controls select, .catalog-controls input { width: 100%; }
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.8rem; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Detail page (variety/plant) */
.detail-meta {
  background: white;
  border-radius: var(--radius);
  padding: 16px 24px;
  margin: -28px auto 40px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
}
.meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.meta-label { color: var(--text-light); }
.meta-value { font-weight: 700; color: var(--green-900); }
.meta-divider { width: 1px; height: 24px; background: var(--green-100); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 60px;
  margin-bottom: 64px;
}
.detail-photo img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--green-100);
  display: block;
}
.detail-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.detail-photo-grid img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--green-100);
  display: block;
}
.detail-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 16px;
}
.detail-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
  margin-top: 24px;
  margin-bottom: 12px;
}
.detail-info p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.detail-info ul {
  color: var(--text-light);
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 16px;
}
.detail-info ul li { margin-bottom: 6px; }

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 64px;
}
.detail-gallery img {
  width: 100%;
  border-radius: var(--radius-sm);
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: var(--transition);
}
.detail-gallery img:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); }

@media (max-width: 768px) {
  .detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .detail-meta { gap: 16px; padding: 16px; }
  .meta-divider { display: none; }
  .detail-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Recipe page */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.back-link:hover { color: white; gap: 10px; }
.back-link svg { width: 16px; height: 16px; }

.recipe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.recipe-photo img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--green-100);
  display: block;
}
.recipe-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 16px;
}
.recipe-info p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.recipe-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.recipe-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.recipe-meta-label { color: var(--text-light); }
.recipe-meta-value { font-weight: 700; color: var(--green-900); }

.ingredients-box {
  background: var(--green-100);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 40px;
}
.ingredients-box h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 16px;
}
.ingredients-box ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.ingredients-box li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}
.ingredients-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

.steps-section { margin-bottom: 48px; }
.steps-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 24px;
}
.step {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-700);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.step-text {
  padding-top: 8px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}
.step-text strong { color: var(--green-900); }

.recipe-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.recipe-gallery img {
  width: 100%;
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: var(--transition);
}
.recipe-gallery img:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); }

.cta-full {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: white;
  padding: 80px 0;
  text-align: center;
}
.cta-full h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-full p { opacity: 0.9; margin-bottom: 28px; font-size: 1.05rem; }

@media (max-width: 768px) {
  .recipe-layout { grid-template-columns: 1fr; gap: 32px; }
  .recipe-meta { gap: 16px; padding: 16px; }
  .ingredients-box ul { grid-template-columns: 1fr; }
  .recipe-gallery { grid-template-columns: 1fr; }
}

/* Utility */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.gap-2 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Plant modern page */

.plant-grid {
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:48px;
  align-items:center;
  margin:60px 0;
}

.plant-photo img{
  width:100%;
  border-radius:var(--radius);
  box-shadow:var(--shadow-hover);
  display:block;
}

.plant-main-photo img {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}

.plant-latin{
  display:inline-block;
  padding:6px 14px;
  border-radius:30px;
  background:var(--green-100);
  color:var(--green-700);
  font-size:.85rem;
  font-weight:600;
  margin-bottom:16px;
}

.plant-title{
  font-size:3rem;
  font-weight:800;
  color:var(--green-900);
  margin-bottom:16px;
}

.plant-subtitle{
  color:var(--text-light);
  font-size:1.1rem;
  line-height:1.8;
  margin-bottom:24px;
}

.plant-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:24px;
}

.plant-badge{
  background:var(--green-50);
  border:1px solid var(--green-100);
  color:var(--green-700);
  padding:8px 14px;
  border-radius:50px;
  font-size:.85rem;
  font-weight:600;
}

.quick-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;
  margin:48px 0;
}

.quick-card{
  background:white;
  padding:24px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  text-align:center;
}

.quick-card strong{
  display:block;
  color:var(--green-900);
  font-size:1.1rem;
  margin-top:6px;
}

.benefits-modern{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.benefit-modern{
  background:white;
  padding:28px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:var(--transition);
}

.benefit-modern:hover{
  transform:translateY(-4px);
}

.benefit-modern .icon{
  font-size:2rem;
  margin-bottom:12px;
}

.varieties-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:24px;
}

.variety-modern{
  background:white;
  padding:28px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border-top:4px solid var(--green-500);
}

.faq{
  display:grid;
  gap:12px;
}

.faq details{
  background:white;
  border-radius:var(--radius-sm);
  box-shadow:var(--shadow);
  padding:18px 22px;
}

.faq summary{
  cursor:pointer;
  font-weight:700;
  color:var(--green-900);
}

.faq p{
  margin-top:12px;
  color:var(--text-light);
}

@media(max-width:768px){

  .plant-grid{
    grid-template-columns:1fr;
  }

  .plant-title{
    font-size:2rem;
  }

}

/* Lightbox */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 9999; justify-content: center; align-items: center; backdrop-filter: blur(4px); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 20px; right: 30px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; opacity: 0.7; transition: var(--transition); }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 1.5rem; padding: 12px 16px; cursor: pointer; border-radius: 50%; transition: var(--transition); }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 64px; }
.gallery-grid img { width: 100%; border-radius: var(--radius-sm); aspect-ratio: 3/4; object-fit: cover; transition: var(--transition); cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }


/* ===== Plant page styles (chufa-style, .pl- prefix) ===== */

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

    .pl-page {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      color: #1a1a2e;
      background: #f8faf6;
      overflow-x: hidden;
    }

    /* ───── Hero ───── */
    .pl-hero {
      position: relative;
      min-height: 85vh;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .pl-hero-bg {
      position: absolute; inset: 0;
      background: url('img/pl-g1.webp') center / cover no-repeat;
      transform: scale(1.05);
      transition: transform 8s ease;
    }
    .pl-hero:hover .pl-hero-bg { transform: scale(1); }
    .pl-hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(105deg, rgba(12,24,20,.78) 0%, rgba(20,53,42,.52) 46%, rgba(20,53,42,.18) 100%);
    }
    .pl-hero-content {
      position: relative; z-index: 2;
      width: 100%;
      padding: 120px 0 60px;
    }
    .pl-hero-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 60px;
      align-items: center;
    }
    .pl-hero-back {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: rgba(255,255,255,.7);
      text-decoration: none;
      font-size: .9rem;
      font-weight: 500;
      margin-bottom: 24px;
      transition: all .3s ease;
    }
    .pl-hero-back:hover { color: #fff; gap: 10px; }
    .pl-hero-back svg { width: 16px; height: 16px; flex-shrink: 0; }

    .pl-hero-title {
      font-size: clamp(2.8rem, 6vw, 5rem);
      font-weight: 800;
      line-height: 1.05;
      color: #fff;
      margin-bottom: 12px;
    }
    .pl-hero-title span {
      font-size: clamp(1rem, 2vw, 1.6rem);
      font-weight: 400;
      opacity: .55;
    }
    .pl-hero-desc {
      font-size: clamp(1rem, 1.3vw, 1.15rem);
      line-height: 1.8;
      color: rgba(255,255,255,.85);
      max-width: 580px;
      margin-bottom: 32px;
    }
    .pl-hero-badges {
      display: flex; flex-wrap: wrap; gap: 10px;
      margin-bottom: 40px;
    }
    .pl-hero-badge {
      padding: 8px 18px;
      border-radius: 999px;
      background: rgba(255,255,255,.15);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,.2);
      color: #fff;
      font-size: .85rem;
      font-weight: 500;
    }

    /* Hero stats */
    .pl-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 32px;
    }
    .pl-stat {
      background: rgba(255,255,255,.1);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 16px;
      padding: 18px 16px;
      text-align: center;
      transition: all .3s ease;
    }
    .pl-stat:hover {
      background: rgba(255,255,255,.18);
      transform: translateY(-3px);
    }
    .pl-stat-value {
      font-size: 1.1rem;
      font-weight: 700;
      color: #fff;
    }
    .pl-stat-label {
      font-size: .78rem;
      color: rgba(255,255,255,.7);
      margin-top: 4px;
    }

    .pl-hero-photo { display: none; }

    /* ───── Section shared ───── */
    .pl-section {
      position: relative;
      padding: 80px 0;
      overflow: hidden;
    }
    .pl-section-title {
      font-size: 2rem;
      font-weight: 800;
      color: #1a3c2e;
      text-align: center;
      margin-bottom: 12px;
    }
    .pl-section-sub {
      text-align: center;
      color: #666;
      font-size: 1rem;
      max-width: 600px;
      margin: 0 auto 48px;
      line-height: 1.7;
    }

    /* ───── Glass card ───── */
    .glass-card {
      background: rgba(255,255,255,.7);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,.4);
      border-radius: 24px;
      padding: 28px;
      box-shadow: 0 8px 32px rgba(0,0,0,.06);
      transition: all .4s ease;
    }
    .glass-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 48px rgba(0,0,0,.1);
      background: rgba(255,255,255,.85);
    }

    /* ───── Benefits ───── */
    .pl-benefits-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
    }
    .pl-benefit-icon {
      font-size: 2rem;
      margin-bottom: 12px;
    }
    .pl-benefit-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: #1a3c2e;
      margin-bottom: 8px;
    }
    .pl-benefit-text {
      font-size: .92rem;
      color: #555;
      line-height: 1.65;
    }

    /* ───── Varieties ───── */
    .pl-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-bottom: 36px;
    }
    .pl-filter {
      padding: 10px 22px;
      border-radius: 999px;
      border: 2px solid #d8f3dc;
      background: transparent;
      color: #2d6a4f;
      font-weight: 600;
      font-size: .85rem;
      cursor: pointer;
      transition: all .3s ease;
      font-family: inherit;
    }
    .pl-filter:hover {
      border-color: #52b788;
      background: rgba(82,183,136,.08);
    }
    .pl-filter.active {
      background: #2d6a4f;
      border-color: #2d6a4f;
      color: #fff;
    }

    .pl-varieties-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
    }
    .pl-variety {
      position: relative;
      overflow: hidden;
    }
    .pl-variety::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, #52b788, #2d6a4f);
      border-radius: 24px 24px 0 0;
      opacity: 0;
      transition: opacity .4s ease;
    }
    .pl-variety:hover::before { opacity: 1; }
    .pl-variety.hidden { display: none; }

    .pl-variety-name {
      font-size: 1.1rem;
      font-weight: 700;
      color: #1a3c2e;
      margin-bottom: 6px;
    }
    .pl-variety-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 10px;
    }
    .pl-variety-tag {
      display: inline-block;
      padding: 3px 10px;
      border-radius: 999px;
      font-size: .7rem;
      font-weight: 600;
      background: #d8f3dc;
      color: #2d6a4f;
    }
    .pl-variety-desc {
      font-size: .9rem;
      color: #555;
      line-height: 1.65;
      margin-bottom: 10px;
    }
    .pl-variety-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      font-size: .82rem;
      color: #777;
    }
    .pl-variety-meta strong { color: #1a3c2e; }

    /* ───── Gallery uniform grid ───── */
    .pl-gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }
    .pl-gallery-grid img {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      border-radius: 16px;
      cursor: pointer;
      transition: all .4s ease;
      background: #e8f5e9;
    }
    .pl-gallery-grid img:hover {
      transform: scale(1.03);
      box-shadow: 0 16px 40px rgba(0,0,0,.12);
    }

    /* ───── Timeline ───── */
    .pl-timeline-wrap {
      position: relative;
      padding: 20px 0;
    }
    .pl-timeline-wrap::before {
      content: '';
      position: absolute;
      top: 44px; left: 24px; right: 24px;
      height: 3px;
      background: linear-gradient(90deg, #52b788, #2d6a4f);
      border-radius: 3px;
      z-index: 0;
    }
    .pl-timeline-row {
      display: flex;
      justify-content: space-between;
      position: relative;
      z-index: 1;
    }
    .pl-tl-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 22%;
    }
    .pl-tl-item:first-child { align-items: flex-start; }
    .pl-tl-item:last-child { align-items: flex-end; }
    .pl-tl-num {
      width: 48px; height: 48px;
      border-radius: 50%;
      background: #fff;
      border: 3px solid #2d6a4f;
      color: #2d6a4f;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.1rem;
      flex-shrink: 0;
      position: relative;
      z-index: 2;
    }
    .pl-tl-body {
      margin-top: 16px;
      text-align: center;
    }
    .pl-tl-item:first-child .pl-tl-body { text-align: left; }
    .pl-tl-item:last-child .pl-tl-body { text-align: right; }
    .pl-tl-title {
      font-weight: 700;
      color: #1a3c2e;
      margin-bottom: 6px;
      font-size: .95rem;
    }
    .pl-tl-text {
      font-size: .85rem;
      color: #555;
      line-height: 1.6;
    }

    /* ───── Growing section ───── */
    .pl-content-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    .pl-content-card {
      background: rgba(255,255,255,.7);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,.4);
      border-radius: 24px;
      padding: 28px;
      box-shadow: 0 8px 32px rgba(0,0,0,.06);
      transition: all .4s ease;
    }
    .pl-content-card:hover {
      box-shadow: 0 16px 48px rgba(0,0,0,.1);
    }
    .pl-content-card h3 {
      font-size: 1.05rem;
      font-weight: 700;
      color: #1a3c2e;
      margin-bottom: 12px;
      padding-bottom: 10px;
      border-bottom: 2px solid #d8f3dc;
    }
    .pl-content-card p {
      font-size: .92rem;
      color: #555;
      line-height: 1.75;
      margin-bottom: 10px;
    }
    .pl-content-card ul {
      padding-left: 18px;
      font-size: .9rem;
      color: #555;
      line-height: 1.7;
    }
    .pl-content-card ul li { margin-bottom: 6px; }
    .pl-content-card ul li strong { color: #1a3c2e; }

    /* ───── Facts ───── */
    .pl-fact-list { list-style: none; padding: 0; }
    .pl-fact-list li {
      padding: 16px 20px;
      border-bottom: 1px solid #d8f3dc;
      font-size: .95rem;
      color: #555;
      line-height: 1.7;
      border-radius: 12px;
      transition: all .3s ease;
      cursor: default;
    }
    .pl-fact-list li:hover {
      background: rgba(45,106,79,.06);
      padding-left: 28px;
      color: #1a3c2e;
      border-bottom-color: #52b788;
    }
    .pl-fact-list li:last-child { border-bottom: none; }

    /* ───── FAQ smooth ───── */
    .pl-faq-item {
      background: rgba(255,255,255,.7);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,.4);
      border-radius: 16px;
      margin-bottom: 12px;
      box-shadow: 0 4px 16px rgba(0,0,0,.04);
      overflow: hidden;
    }
    .pl-faq-question {
      cursor: pointer;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: #1a3c2e;
      padding: 18px 24px;
      user-select: none;
    }
    .pl-faq-question::after {
      content: '+';
      font-size: 1.3rem;
      font-weight: 400;
      flex-shrink: 0;
      transition: transform .3s ease;
      color: #52b788;
    }
    .pl-faq-item.open .pl-faq-question::after { transform: rotate(45deg); }
    .pl-faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height .45s ease, padding .45s ease;
      padding: 0 24px;
    }
    .pl-faq-answer p {
      color: #555;
      line-height: 1.75;
      font-size: .92rem;
      margin: 0;
    }

    /* ───── Decorative circles ───── */
    .pl-deco {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      opacity: .08;
    }

    /* ───── CTA ───── */
    .pl-cta {
      background: linear-gradient(135deg, #1a3c2e, #2d6a4f, #40916c);
      color: #fff;
      padding: 80px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .pl-cta::before {
      content: '';
      position: absolute;
      width: 600px; height: 600px;
      border-radius: 50%;
      background: rgba(255,255,255,.03);
      top: -200px; right: -200px;
    }
    .pl-cta::after {
      content: '';
      position: absolute;
      width: 400px; height: 400px;
      border-radius: 50%;
      background: rgba(255,255,255,.03);
      bottom: -150px; left: -150px;
    }
    .pl-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
    .pl-cta p { opacity: .85; margin-bottom: 28px; font-size: 1.05rem; position: relative; z-index: 1; }

    /* ───── Responsive ───── */
    @media (max-width: 1024px) {
      .pl-hero-grid { grid-template-columns: 1fr; }
      .pl-stats { grid-template-columns: repeat(2, 1fr); }
      .pl-content-grid { grid-template-columns: 1fr; }
      .pl-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .pl-hero { min-height: auto; }
      .pl-hero-content { padding: 96px 0 36px; }
      .pl-hero-title { font-size: 2rem; }
      .pl-hero-title span { font-size: 1rem; display: block; margin-top: 4px; }
      .pl-hero-desc { font-size: .95rem; margin-bottom: 20px; }
      .pl-hero-badges { margin-bottom: 24px; }
      .pl-hero-badge { font-size: .75rem; padding: 6px 12px; }
      .pl-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
      .pl-stat { padding: 12px 10px; }
      .pl-stat-value { font-size: .95rem; }
      .pl-stat-label { font-size: .68rem; }
      .pl-section { padding: 48px 0; }
      .pl-section-title { font-size: 1.5rem; }
      .pl-section-sub { font-size: .9rem; margin-bottom: 28px; }
      .pl-timeline-row { flex-direction: column; gap: 24px; }
      .pl-timeline-wrap::before { display: none; }
      .pl-tl-item { width: 100%; align-items: flex-start !important; flex-direction: row; gap: 16px; }
      .pl-tl-body { margin-top: 0; text-align: left !important; }
      .pl-tl-num { flex-shrink: 0; }
      .pl-varieties-grid { grid-template-columns: 1fr; }
      .pl-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 480px) {
      .pl-hero-title { font-size: 1.7rem; }
      .pl-hero-badges { gap: 6px; }
      .pl-hero-badge { font-size: .7rem; padding: 5px 10px; }
    }
  
/* ===== Variety page styles ===== */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: var(--transition);
}
.back-link:hover { color: white; gap: 10px; }
.back-link svg { width: 16px; height: 16px; }
.variety-meta {
  background: white; border-radius: var(--radius); padding: 16px 24px;
  margin: -28px auto 40px; box-shadow: var(--shadow);
  position: relative; z-index: 2; display: flex; gap: 32px;
  flex-wrap: wrap; align-items: center;
}
.meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.meta-label { color: var(--text-light); }
.meta-value { font-weight: 700; color: var(--green-900); }
.meta-divider { width: 1px; height: 24px; background: var(--green-100); }
.variety-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.variety-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; background: var(--green-100); display: block; }
.variety-details h2 { font-size: 1.4rem; font-weight: 700; color: var(--green-900); margin-bottom: 16px; }
.variety-details p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.cta-full { background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: white; padding: 80px 0; text-align: center; }
.cta-full h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-full p { opacity: 0.9; margin-bottom: 28px; font-size: 1.05rem; }
@media (max-width: 768px) {
  .variety-layout { grid-template-columns: 1fr; gap: 32px; }
  .variety-meta { gap: 16px; padding: 16px; }
  .meta-divider { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
