/*
 * Super Farm marketing theme
 * Natural farm palette, stronger calls to action and responsive product grids.
 */
:root {
  --bg: #f5f0e2;
  --section: #fffdf6;
  --section-alt: #315f2b;
  --green: #24551f;
  --green-light: #3f7d36;
  --farm-dark: #143817;
  --farm-deep: #0d2811;
  --farm-leaf: #6f9e45;
  --farm-lime: #a9c96b;
  --farm-cream: #fffaf0;
  --farm-wheat: #d7b56d;
  --farm-earth: #7c522d;
  --telegram: #2b91cf;
  --whatsapp: #1daa55;
  --text: #19311b;
  --muted: #5b695a;
  --radius: 22px;
  --shadow: 0 16px 42px rgba(30, 67, 29, 0.14);
}

html {
  background: var(--farm-deep);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(169, 201, 107, 0.26), transparent 22rem),
    radial-gradient(circle at 92% 18%, rgba(215, 181, 109, 0.22), transparent 25rem),
    linear-gradient(180deg, #173f1a 0 300px, var(--bg) 300px 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 44px, rgba(255,255,255,.2) 45px, transparent 46px),
    radial-gradient(ellipse at center, rgba(255,255,255,.32) 0 18%, transparent 19%);
  background-size: auto, 90px 48px;
}

.page {
  width: min(100% - 24px, 1080px);
  max-width: 1080px;
  padding: 0 24px 110px;
  background: rgba(255, 253, 246, 0.96);
  border-inline: 1px solid rgba(36, 85, 31, 0.14);
  box-shadow: 0 0 70px rgba(6, 29, 9, 0.28);
}

.main-headline {
  position: relative;
  margin-inline: -24px;
  margin-bottom: 18px;
  padding: 32px 24px 24px;
  color: #fffdf2;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.025em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
  background:
    linear-gradient(110deg, rgba(13, 40, 17, .94), rgba(49, 95, 43, .88)),
    url("17.jpg") center 42% / cover;
  border-bottom: 5px solid var(--farm-wheat);
}

.main-headline::before {
  content: "✦  SUPER FARM  ✦";
  display: block;
  margin-bottom: 8px;
  color: #dce9b8;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
}

.main-headline span {
  color: #d6ef98;
}

.inapp-browser-notice {
  max-width: 820px;
  margin: 20px auto;
  color: var(--farm-dark);
  background: #fff9e8;
  border: 1px solid #e2c27e;
  border-right: 6px solid var(--farm-wheat);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(87, 57, 25, .1);
}

.seo-nav-top {
  max-height: 62px;
  overflow: hidden;
  color: #dfe9db;
  background: var(--farm-dark);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 30px rgba(13, 40, 17, .2);
  mask-image: linear-gradient(to bottom, #000 65%, transparent);
}

.seo-nav-top a {
  color: #cce798;
}

.header {
  position: relative;
  padding: 30px 20px 22px;
}

.farm-brand {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 22px 24px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 10%, rgba(169, 201, 107, .24), transparent 38%),
    linear-gradient(135deg, var(--farm-deep), #37672e);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(13, 40, 17, .24);
  text-align: center;
}

.farm-brand-icon {
  font-size: 2.25rem;
  line-height: 1;
}

.farm-brand strong {
  color: #f7f6dc;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 950;
  letter-spacing: .04em;
  line-height: 1.15;
}

.farm-brand small {
  margin-top: 5px;
  color: #d8e8b4;
  font-size: .92rem;
  font-weight: 700;
}

.farm-brand ~ a {
  display: none;
}

.header::before,
.header::after {
  content: "❧";
  position: absolute;
  top: 50%;
  color: var(--farm-leaf);
  font-size: clamp(2rem, 6vw, 4rem);
  opacity: .45;
  transform: translateY(-50%);
}

.header::before { right: 5%; }
.header::after { left: 5%; transform: translateY(-50%) scaleX(-1); }

.logo-main {
  width: min(70%, 360px);
  filter: drop-shadow(0 8px 18px rgba(28, 68, 27, .2));
}

.logo-secondary {
  width: 84px;
  filter: drop-shadow(0 4px 10px rgba(28, 68, 27, .16));
}

.badge {
  padding: 8px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 8px 22px rgba(36, 85, 31, .22);
}

.badge::before { content: "✓ "; color: #dff4a9; }

.hero-title {
  color: var(--farm-dark);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 900;
  margin: 12px 0 22px;
}

.farm-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 24px;
}

.farm-trust-strip span {
  padding: 12px 10px;
  color: var(--farm-dark);
  background: #eef4df;
  border: 1px solid #d7e4bc;
  border-radius: 14px;
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
}

.hero-banner {
  position: relative;
  border: 6px solid #fff;
  border-radius: 26px;
  box-shadow: 0 20px 48px rgba(27, 66, 26, .2);
}

.hero-banner::after {
  content: "מהשדה אליכם • שירות מהיר בכל הארץ";
  position: absolute;
  right: 18px;
  left: 18px;
  bottom: 16px;
  padding: 11px 16px;
  color: #fff;
  background: rgba(13, 40, 17, .84);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: .92rem;
  font-weight: 800;
  text-align: center;
}

.cta-group {
  max-width: 760px;
  margin-inline: auto;
}

.cta-btn {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(25, 66, 28, .22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cta-btn::after {
  content: "←";
  font-size: 1.25rem;
  transition: transform .2s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow: 0 18px 34px rgba(25, 66, 28, .28);
}

.cta-btn:hover::after { transform: translateX(-4px); }

.cta-telegram {
  color: #fff;
  background: linear-gradient(135deg, #1478b5, #35a7dd);
}

.cta-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #176e35, #24b85d);
}

.cta-whatsapp:hover { background: linear-gradient(135deg, #145f2f, #28c765); }

.phone-box,
.tip-box,
.cta-banner {
  color: var(--text);
  background: var(--farm-cream);
  border: 1px solid #dfe8ce;
  box-shadow: var(--shadow);
}

.phone-box {
  font-size: 1.18rem;
  border-right: 6px solid var(--farm-leaf);
}

.phone-box a { color: #16723b; font-weight: 900; }

.tip-box { color: var(--muted); }
.tip-box strong { color: var(--farm-dark); }

.cta-banner {
  padding: 25px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 253, 246, .95), rgba(238, 244, 223, .95)),
    url("logo.png") 5% 50% / 80px no-repeat;
}

.section {
  margin: 46px 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--farm-dark);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 900;
}

.section-title::before,
.section-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--farm-leaf), transparent);
}

.gallery {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  border: 4px solid #fff;
  border-radius: 18px;
  background: #e8eedb;
  box-shadow: 0 10px 25px rgba(30, 67, 29, .14);
}

.gallery-item.wide { grid-column: span 2; }

.gallery-item:hover img { transform: scale(1.055); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  border: 4px solid #fff;
  border-radius: 20px;
  background: var(--farm-dark);
  box-shadow: 0 12px 28px rgba(24, 55, 24, .18);
}

.video-grid > .cta-group {
  grid-column: 1 / -1;
  width: 100%;
}

.seo-article,
.seo-links {
  color: var(--text);
  background: var(--section);
  border: 1px solid #dfe8ce;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.seo-article {
  padding: clamp(24px, 5vw, 48px);
  border-top: 7px solid var(--farm-leaf);
}

.seo-article h2 {
  color: var(--farm-dark);
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
}

.seo-article h3 {
  padding-right: 12px;
  color: var(--green);
  border-right: 4px solid var(--farm-wheat);
}

.seo-article p,
.seo-article ul,
.seo-article ol {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.95;
}

.seo-article strong { color: var(--farm-dark); }
.seo-article a { color: #2a712f; font-weight: 700; }
.seo-article a:hover { color: var(--farm-earth); }

.seo-links h2 { color: var(--farm-dark); }

.seo-links-home {
  border-bottom-color: #dfe8ce;
}

.seo-links-home a {
  color: #fff;
  background: var(--green);
}

.seo-links-home a:hover { background: var(--green-light); }

.seo-links-grid a {
  color: #455c45;
  background: #edf3e3;
  border: 1px solid #dbe6cc;
}

.seo-links-grid a:hover {
  color: var(--farm-dark);
  background: #dfeac9;
}

.footer {
  color: #718070;
  border-top: 1px solid #dfe8ce;
}

.fab-btn {
  border: 3px solid rgba(255, 255, 255, .88);
}

@media (max-width: 760px) {
  body {
    background: linear-gradient(180deg, #173f1a 0 240px, var(--bg) 240px 100%);
  }

  .page {
    width: 100%;
    padding-inline: 16px;
    border: 0;
  }

  .main-headline {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .farm-trust-strip { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .video-grid { grid-template-columns: 1fr; }
  .hero-banner::after { font-size: .78rem; }
  .header::before, .header::after { display: none; }
  .farm-brand { padding: 18px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
