/* ============================================================
   Farsi Food — style.css
   ============================================================ */

:root {
  --green-900: #1B3A2A;
  --green-800: #1F4C35;
  --green-700: #2D6A4F;
  --green-600: #40916C;
  --green-500: #52B788;
  --green-100: #D8F3DC;
  --green-50:  #F0FDF4;

  --gold-700:  #166534;
  --gold-500:  #16A34A;
  --gold-400:  #4ADE80;
  --gold-100:  #DCFCE7;

  --red-500:   #EF4444;

  --gray-900:  #111827;
  --gray-800:  #1F2937;
  --gray-700:  #374151;
  --gray-600:  #4B5563;
  --gray-500:  #6B7280;
  --gray-400:  #9CA3AF;
  --gray-300:  #D1D5DB;
  --gray-200:  #E5E7EB;
  --gray-100:  #F3F4F6;
  --gray-50:   #F9FAFB;

  --white:     #FFFFFF;
  --cream:     #FDF8F0;

  --font-logo:    Verdana, Geneva, sans-serif;
  --font-display: Verdana, Geneva, sans-serif;
  --font-body:    Verdana, Geneva, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 32px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 48px rgba(0,0,0,.15);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.25s var(--ease);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: Verdana, Geneva, sans-serif; color: var(--gray-800); background: var(--cream); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--t); cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.btn-primary:hover { background: var(--green-900); border-color: var(--green-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.65); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--gray-800); border-color: var(--gray-300); }
.btn-outline-dark:hover { border-color: var(--green-600); color: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }

.accent { color: var(--gold-400); }

.section-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-700); background: var(--gold-100);
  padding: 5px 13px; border-radius: 100px; margin-bottom: 14px;
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-header.light .section-tag { color: var(--gold-400); background: rgba(245,158,11,0.15); }
.section-header.light .section-title { color: var(--white); }
.section-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; color: var(--gray-900); line-height: 1.22; margin-bottom: 14px;
}
.section-desc { color: var(--gray-600); font-size: 1rem; line-height: 1.72; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--t), box-shadow var(--t);
}
.navbar.scrolled { background: var(--white); box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.nav-logo { flex-shrink: 0; }
.logo-text { font-family: var(--font-logo); font-size: 1.95rem; font-weight: 800; color: var(--white); transition: color var(--t); letter-spacing: -0.01em; }
.navbar.scrolled .logo-text { color: var(--gray-900); }

.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  padding: 8px 12px; font-size: 0.87rem; font-weight: 500;
  color: rgba(255,255,255,0.88); border-radius: var(--radius-sm); transition: all var(--t);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.navbar.scrolled .nav-links a { color: var(--gray-600); }
.navbar.scrolled .nav-links a:hover { color: var(--green-700); background: var(--green-50); }

.nav-cta { flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--t); }
.navbar.scrolled .hamburger span { background: var(--gray-800); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.slider { position: absolute; inset: 0; }

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0;
  transition: opacity 1s var(--ease);
  pointer-events: none;
}
.slide > .container { width: 100%; }
.slide.active { opacity: 1; pointer-events: auto; }

.slide-bg {
  position: absolute; inset: 0; z-index: 0;
  transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1.04); }

/* Slide backgrounds — photo + gradient fallback */
.slide-1 .slide-bg {
  background-image: url('../images/slider/slide-1.jpg');
  background-size: cover; background-position: center;
  background-color: #1B3A2A;
}
.slide-2 .slide-bg {
  background-image: url('../images/slider/slide-2.jpg');
  background-size: cover; background-position: center;
  background-color: #1A2F1A;
}
.slide-3 .slide-bg {
  background-image: url('../images/slider/slide-3.jpg');
  background-size: cover; background-position: center;
  background-color: #7B2D00;
}
.slide-4 .slide-bg {
  background-image: url('../images/slider/slide-4.jpg');
  background-size: cover; background-position: center;
  background-color: #0F2027;
}
.slide-5 .slide-bg {
  background-image: url('../images/slider/slide-5.jpg');
  background-size: cover; background-position: center;
  background-color: #1a1a2e;
}

.slide-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* gradient covers left third strongly, fades to transparent right — images show through */
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.70) 35%,
    rgba(0,0,0,0.28) 62%,
    rgba(0,0,0,0.04) 100%
  );
}
.slide-content {
  position: relative; z-index: 2;
  max-width: 480px;
  /* left-aligned inside .container — matches the logo's left edge exactly */
}
.hero-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 14px;
}
.hero-desc {
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  color: rgba(255,255,255,0.82); line-height: 1.75;
  max-width: 420px; margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .btn { padding: 11px 22px; font-size: 0.88rem; }

/* Slider controls */
.slider-btn {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
}
.slider-btn:hover { background: rgba(255,255,255,0.26); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.38);
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.dot.active { background: var(--white); width: 30px; }

/* Progress bar at bottom of hero */
.slider-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,0.15); z-index: 10;
}
.slider-progress-bar {
  height: 100%;
  background: var(--gold-400);
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--green-700); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { color: var(--white); }
.stat-number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; }
.stat-unit { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.stat-label { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.72); margin-top: 8px; font-weight: 500; }

/* ============================================================
   CATEGORIES — standalone visual section
   ============================================================ */
.categories-section {
  padding: 88px 0;
  background: var(--white);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 20px 18px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--t);
  color: var(--gray-800);
}
.category-card:hover {
  background: var(--green-50); border-color: var(--green-500);
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  color: var(--green-700);
}
.cat-card-inner { display: flex; align-items: center; gap: 14px; }
.cat-icon { font-size: 1.9rem; line-height: 1; flex-shrink: 0; }
.cat-text { display: flex; flex-direction: column; gap: 2px; }
.cat-name { font-size: 0.9rem; font-weight: 600; line-height: 1.2; }
.cat-name-fa { font-size: 0.75rem; color: var(--gray-400); direction: rtl; }
.cat-arrow { color: var(--gray-400); font-size: 0.8rem; transition: all var(--t); flex-shrink: 0; }
.category-card:hover .cat-arrow { color: var(--green-600); transform: translateX(3px); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-section { padding: 88px 0; background: var(--cream); }

/* Filter pills */
.filter-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.pill {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  border: 2px solid var(--gray-200);
  background: var(--white); color: var(--gray-600);
  transition: all var(--t); cursor: pointer;
}
.pill:hover { border-color: var(--green-400); color: var(--green-700); }
/* Per-category pill hover & active colours — match card accent bars */
.pill[data-filter="sandvich"]:hover, .pill[data-filter="sandvich"].active { background: #16A34A; border-color: #16A34A; color: #fff; }
.pill[data-filter="konsarvi"]:hover, .pill[data-filter="konsarvi"].active { background: #14B8A6; border-color: #14B8A6; color: #fff; }
.pill[data-filter="kababi"]:hover,   .pill[data-filter="kababi"].active   { background: #EF4444; border-color: #EF4444; color: #fff; }
.pill[data-filter="fingerfood"]:hover,.pill[data-filter="fingerfood"].active{ background: #15803D; border-color: #15803D; color: #fff; }
.pill[data-filter="sabzijat"]:hover, .pill[data-filter="sabzijat"].active  { background: #22C55E; border-color: #22C55E; color: #fff; }
.pill[data-filter="protein"]:hover,  .pill[data-filter="protein"].active   { background: #EC4899; border-color: #EC4899; color: #fff; }
.pill[data-filter="manjamad"]:hover, .pill[data-filter="manjamad"].active  { background: #3B82F6; border-color: #3B82F6; color: #fff; }
.pill[data-filter="yakhchali"]:hover,.pill[data-filter="yakhchali"].active { background: #06B6D4; border-color: #06B6D4; color: #fff; }
.pill.active {
  background: var(--green-700); border-color: var(--green-700);
  color: var(--white); box-shadow: var(--shadow-sm);
}

/* Toolbar */
.products-toolbar {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.search-wrap { flex: 1; min-width: 220px; position: relative; }
.search-wrap i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400); font-size: 0.85rem; pointer-events: none;
}
.search-wrap input {
  width: 100%; padding: 11px 16px 11px 40px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: 0.9rem; background: var(--white); outline: none;
  color: var(--gray-800); transition: border-color var(--t), box-shadow var(--t);
}
.search-wrap input:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(82,183,136,0.15); }
.search-wrap input::placeholder { color: var(--gray-400); }
.toolbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-count { font-size: 0.83rem; color: var(--gray-500); white-space: nowrap; }
#sort-select {
  padding: 10px 14px; border: 2px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: 0.875rem; background: var(--white); color: var(--gray-700); outline: none; cursor: pointer;
  transition: border-color var(--t);
}
#sort-select:focus { border-color: var(--green-500); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

/* Product card — modern minimal style */
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: visible; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }

/* Slim coloured accent bar at top — replaces the big emoji block */
.product-card-img {
  height: 8px; position: relative; flex-shrink: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.product-badge {
  position: absolute; top: -12px; right: 14px;
  background: var(--red-500); color: var(--white);
  font-size: 0.68rem; font-weight: 700; padding: 4px 11px;
  border-radius: 100px; letter-spacing: 0.06em;
  z-index: 3; box-shadow: 0 2px 8px rgba(239,68,68,0.35);
}

.product-card-body { padding: 20px 18px 18px; flex: 1; display: flex; flex-direction: column; position: relative; }
.product-category-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-600); margin-bottom: 6px; }
.product-name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--gray-900); line-height: 1.28; margin-bottom: 3px; }
.product-name-fa { font-size: 0.8rem; color: var(--gray-400); direction: rtl; text-align: right; margin-bottom: 10px; }
.product-desc { font-size: 0.84rem; color: var(--gray-600); line-height: 1.62; flex: 1; margin-bottom: 18px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-weight { font-size: 0.76rem; color: var(--gray-500); font-weight: 500; background: var(--gray-100); padding: 4px 10px; border-radius: 100px; }
.product-cta {
  font-size: 0.8rem; font-weight: 600; color: var(--green-700);
  border: 1.5px solid var(--green-700); padding: 6px 14px;
  border-radius: var(--radius-sm); transition: all var(--t);
  display: inline-flex; align-items: center; gap: 5px;
}
.product-cta:hover { background: var(--green-700); color: var(--white); }

.products-empty { text-align: center; padding: 64px 24px; color: var(--gray-400); }
.products-empty i { font-size: 2.6rem; margin-bottom: 14px; display: block; }
.products-empty p { font-size: 0.95rem; }

/* Accent bar colours per category */
.cat-bg-sandvich   { background: #16A34A; }
.cat-bg-konsarvi   { background: #14B8A6; }
.cat-bg-kababi     { background: #EF4444; }
.cat-bg-fingerfood { background: #15803D; }
.cat-bg-sabzijat   { background: #22C55E; }
.cat-bg-protein    { background: #EC4899; }
.cat-bg-manjamad   { background: #3B82F6; }
.cat-bg-yakhchali  { background: #06B6D4; }
.cat-bg-all        { background: var(--green-600); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding: 100px 0; background: linear-gradient(160deg, #f0fdf4 0%, #ffffff 55%, #f8faff 100%); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about-visual { position: relative; }
.about-badge {
  position: absolute; top: -16px; left: -16px; z-index: 2;
  background: var(--green-700); color: var(--white);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  padding: 11px 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
}
.about-img-wrap { border-radius: var(--radius-xl); overflow: hidden; position: relative; }
.about-photo { width: 100%; height: 460px; object-fit: cover; display: block; border-radius: var(--radius-xl); }
.about-text p { color: var(--gray-600); line-height: 1.82; margin-bottom: 16px; font-size: 0.97rem; }
.about-text strong { color: var(--green-700); }

/* Factory sub-block */
.about-factory { background: var(--green-50); border-left: 4px solid var(--green-500); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 18px 22px; margin: 20px 0 24px; }
.about-factory h4 { font-size: 0.95rem; font-weight: 700; color: var(--green-800); margin-bottom: 8px; }
.about-factory h4 i { margin-right: 7px; }
.about-factory p { color: var(--gray-600); font-size: 0.88rem; line-height: 1.74; margin: 0; }

/* Certification circles row */
.cert-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.cert-circle {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; text-align: center; line-height: 1.2;
  border: 2.5px solid; gap: 2px; flex-shrink: 0;
  transition: transform var(--t), box-shadow var(--t);
}
.cert-circle:hover { transform: scale(1.08); box-shadow: var(--shadow-md); }
.acs-circle  { background: #e8f5e9; border-color: #16A34A; color: #14532D; }
.acs-circle .cert-top { font-size: 0.72rem; font-weight: 800; color: #16A34A; }
.acs-circle .cert-num { font-size: 0.62rem; color: #14532D; }
.halal-circle { background: #fff7ed; border-color: #ea580c; color: #9a3412; }
.halal-circle i { font-size: 1rem; color: #ea580c; }
.halal-circle .cert-num { font-size: 0.6rem; font-weight: 800; }
.vegan-circle { background: #f0fdf4; border-color: #22C55E; color: #166534; }
.vegan-circle i { font-size: 1rem; color: #22C55E; }
.vegan-circle .cert-num { font-size: 0.6rem; font-weight: 800; }

/* ============================================================
   WHY US
   ============================================================ */
.why-section { padding: 100px 0; background: linear-gradient(140deg, var(--green-900) 0%, var(--green-700) 100%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-lg); padding: 32px 24px; transition: all var(--t);
}
.why-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-5px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); }
.why-icon {
  width: 52px; height: 52px; background: rgba(255,255,255,0.11);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.25rem; color: var(--gold-400);
}
.why-card h3 { font-size: 1.02rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 0.875rem; color: rgba(255,255,255,0.68); line-height: 1.72; }


/* ============================================================
   ORDER / CONTACT
   ============================================================ */
.order-section { padding: 100px 0; background: var(--cream); }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.order-info .section-title { text-align: left; }
.order-info p { color: var(--gray-600); line-height: 1.82; margin-bottom: 20px; font-size: 0.97rem; }
.catalogue-btn { margin-bottom: 28px; background: #166534; border-color: #166534; color: #fff; font-size: 0.9rem; }
.catalogue-btn:hover { background: #14532D; border-color: #14532D; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.order-factory { margin: 18px 0 22px; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 18px; background: var(--white);
  border-radius: var(--radius-md); border: 1.5px solid var(--gray-200);
  transition: all var(--t); color: var(--gray-800);
}
a.contact-item:hover { border-color: var(--green-400); box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-item > i { font-size: 1.15rem; color: var(--green-600); margin-top: 3px; flex-shrink: 0; width: 22px; text-align: center; }
.contact-label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 3px; }
.contact-value { display: block; font-size: 0.92rem; font-weight: 500; color: var(--gray-800); }
.order-form-wrap { background: var(--white); border-radius: var(--radius-xl); padding: 38px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); }
.order-form h3 { font-family: var(--font-display); font-size: 1.45rem; color: var(--gray-900); margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: 0.9rem; color: var(--gray-800); background: var(--gray-50);
  outline: none; transition: all var(--t); resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-500); background: var(--white); box-shadow: 0 0 0 3px rgba(82,183,136,0.13); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-note { font-size: 0.77rem; color: var(--gray-400); text-align: center; margin-top: 14px; line-height: 1.55; }
.form-note a { color: var(--green-600); text-decoration: underline; }
.form-success { text-align: center; padding: 48px 24px; color: var(--green-700); }
.form-success i { font-size: 3rem; margin-bottom: 16px; display: block; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 10px; color: var(--gray-900); }
.form-success p { color: var(--gray-600); font-size: 0.95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--gray-900); padding: 68px 0 0; color: var(--gray-500); }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1.4fr 1.3fr;
  gap: 40px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand-fa { font-size: 0.9rem; color: var(--gray-600); direction: rtl; margin-top: 6px; }
.footer-tagline { font-size: 0.82rem; line-height: 1.76; margin-top: 10px; margin-bottom: 22px; color: var(--gray-500); max-width: 300px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; background: rgba(255,255,255,0.07); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); font-size: 0.88rem; transition: all var(--t);
}
.footer-socials a:hover { background: var(--green-700); color: var(--white); transform: translateY(-2px); }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.85rem; color: var(--gray-500); transition: color var(--t); }
.footer-col a:hover { color: var(--gold-400); }

/* Contact list in footer */
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--gray-500); }
.footer-contact-list i { color: var(--green-500); font-size: 0.9rem; width: 16px; text-align: center; flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: var(--gray-500); transition: color var(--t); }
.footer-contact-list a:hover { color: var(--gold-400); }
.footer-contact-list span { line-height: 1.55; }

.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--gray-500); }
.footer-credit-link { color: var(--gray-500); text-decoration: none; transition: color var(--t); }
.footer-credit-link:hover { color: var(--green-500); }
.footer-legal-links { display: flex; align-items: center; gap: 10px; }
.footer-legal-links a { font-size: 0.8rem; color: var(--gray-500); text-decoration: none; transition: color var(--t); }
.footer-legal-links a:hover { color: var(--green-500); }
.footer-legal-links span { color: var(--gray-700); font-size: 0.75rem; }

/* Credit bar */
.credit-bar {
  background: #15181d;
  text-align: center;
  padding: 12px 24px;
}
.credit-bar a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--t);
}
.credit-bar a:hover { color: var(--gold-400); }

@media (max-width: 600px) {
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal-links { flex-wrap: wrap; }
}

/* Hide reCAPTCHA badge (attribution kept in form note per Google policy) */
.grecaptcha-badge { visibility: hidden !important; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .locator-grid { grid-template-columns: 1fr 1fr; }
  .locator-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .order-grid { grid-template-columns: 1fr; gap: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 12px 16px 20px;
    gap: 2px; box-shadow: var(--shadow-lg); z-index: 998;
    border-top: 1px solid var(--gray-100);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; color: var(--gray-700); padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-links.open a:hover { background: var(--green-50); color: var(--green-700); }

  .hero-title { font-size: 1.45rem; }
  .hero-desc  { font-size: 0.82rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .slider-btn { width: 40px; height: 40px; font-size: 0.8rem; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }

  .categories-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .filter-pills { gap: 6px; }
  .pill { padding: 7px 14px; font-size: 0.8rem; }

  .locator-grid { grid-template-columns: 1fr; }
  .locator-card:last-child { grid-column: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .order-form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-number { font-size: 2.4rem; }
  .hero-content { padding-top: 110px; }
  .about-img-wrap { height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
}
