/* ===== Variables — extracted from logo ===== */
:root {
  --brand-green: #20b470;
  --brand-green-dark: #157a4f;
  --brand-green-darker: #0f5c3a;
  --brand-green-light: #b8ecd4;
  --brand-green-pale: #e8f8f0;
  --brand-orange: #fc8439;
  --brand-orange-dark: #e06a20;
  --brand-orange-light: #fde4cc;
  --green-900: var(--brand-green-darker);
  --green-700: var(--brand-green-dark);
  --green-500: var(--brand-green);
  --green-300: var(--brand-green-light);
  --green-100: var(--brand-green-pale);
  --orange-500: var(--brand-orange);
  --orange-400: #fd9a5c;
  --orange-300: var(--brand-orange-light);
  --cream: #f8fdf9;
  --cream-dark: #eef8f2;
  --white: #ffffff;
  --text: #0f3d28;
  --text-muted: #4a7a62;
  --shadow-sm: 0 2px 8px rgba(21, 122, 79, 0.08);
  --shadow-md: 0 8px 30px rgba(21, 122, 79, 0.12);
  --shadow-lg: 0 20px 60px rgba(21, 122, 79, 0.15);
  --shadow-orange: 0 8px 30px rgba(252, 132, 57, 0.3);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 80px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ===== Background Blobs ===== */
.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobFloat 12s ease-in-out infinite;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--green-300);
  top: -10%;
  right: -10%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--orange-300);
  bottom: 20%;
  left: -8%;
  animation-delay: -4s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--green-100);
  top: 50%;
  left: 40%;
  animation-delay: -8s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 250;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(248, 253, 249, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 58px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: right center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--green-700);
  background: rgba(32, 180, 112, 0.08);
}

.nav-cta {
  background: var(--green-700) !important;
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--green-900) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 260;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover,
.nav-toggle.active {
  background: rgba(32, 180, 112, 0.1);
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
  transform: translateX(-50%);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle.active span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 60, 40, 0.45);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(32, 180, 112, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(32, 180, 112, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--green-700);
  color: var(--green-700);
}

.btn-outline:hover {
  background: var(--green-700);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--green-700);
  box-shadow: var(--shadow-md);
}

.btn-full {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  flex: 1;
  padding-bottom: 80px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--brand-green-pale);
  color: var(--brand-green-dark);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--green-900);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-orange);
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-desc strong {
  color: var(--green-700);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
}

.stat-num::after {
  content: '+';
  font-size: 1.2rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Visual — full logo showcase */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-showcase {
  position: relative;
  width: min(520px, 100%);
  padding: 20px;
}

.hero-logo-full {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 40px rgba(21, 122, 79, 0.18));
  animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-orbit {
  position: absolute;
  inset: -10px;
  pointer-events: none;
  animation: orbitSpin 24s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-item {
  position: absolute;
  font-size: 2.5rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  animation: orbitCounterSpin 20s linear infinite;
}

@keyframes orbitCounterSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.orbit-item:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-item:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); }
.orbit-item:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbit-item:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); }

.hero-wave {
  color: var(--white);
  line-height: 0;
  margin-top: auto;
}

.hero-wave svg {
  width: 100%;
  height: 60px;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 16px;
  line-height: 1.35;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  padding: 36px 28px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(32, 180, 112, 0.1);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 10px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Products ===== */
.products {
  background: linear-gradient(180deg, var(--cream) 0%, var(--green-100) 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--orange-400));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.product-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 10px;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.product-season {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-100);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ===== Why ===== */
.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 16px;
  line-height: 1.35;
}

.why-content > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.why-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.why-list strong {
  display: block;
  color: var(--green-900);
  margin-bottom: 2px;
}

.why-list p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Process Steps */
.process-steps {
  background: linear-gradient(145deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: var(--white);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step p {
  font-size: 0.85rem;
  opacity: 0.8;
}

.step-line {
  width: 2px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  margin: 4px 19px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 60px 0;
}

.cta-inner {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-inner p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ===== Contact ===== */
.contact {
  background: var(--cream-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

a.contact-item:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-item strong {
  display: block;
  color: var(--green-900);
  font-size: 0.9rem;
}

.contact-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(32, 180, 112, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  margin-top: 16px;
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-error {
  text-align: center;
  margin-top: 16px;
  color: #c0392b;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.8);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img,
.footer-logo {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.footer-logo-light {
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.75;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 16px;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-cards,
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-showcase {
    width: min(400px, 90vw);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 40px);
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: flex;
  }

  .logo-img {
    height: 48px;
    max-width: 200px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(300px, 88vw);
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: calc(var(--header-h) + 24px) 20px 32px;
    background: var(--white);
    box-shadow: -8px 0 40px rgba(15, 60, 40, 0.15);
    transform: translateX(100%);
    opacity: 1;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: right;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 12px;
    min-height: 48px;
  }

  .nav-links .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 16px;
    justify-content: space-between;
    width: 100%;
  }

  .stat {
    flex: 1;
    min-width: 90px;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .hero-orbit {
    display: none;
  }

  .hero-logo-showcase {
    width: 100%;
    padding: 0;
  }

  .hero-grid {
    padding-bottom: 48px;
    gap: 32px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: clamp(1.35rem, 5vw, 1.8rem);
  }

  .about-cards,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-inner {
    padding: 40px 24px;
  }

  .cta-inner h2 {
    font-size: 1.35rem;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .contact-info h2 {
    font-size: 1.35rem;
  }

  .process-steps {
    padding: 28px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 10px;
  }

  .footer-tagline {
    border-right: none;
    padding-right: 0;
  }

  .blob-1 { width: 280px; height: 280px; }
  .blob-2 { width: 220px; height: 220px; }
  .blob-3 { display: none; }
}

@media (max-width: 380px) {
  .container {
    width: 94vw;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .stat {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .stat-num {
    font-size: 1.4rem;
  }

  .stat-num::after {
    font-size: 1rem;
  }
}
