@import url("./variables.css");
@import url("./themes.css");

/* =========================================================
   1. Base
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
  transition: background-color var(--dur-base) ease, color var(--dur-base) ease;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--green-700);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: clamp(18px, 3vw, 28px);
  font-size: var(--heading-1);
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: var(--heading-2);
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: var(--heading-3);
  font-weight: 750;
}

p {
  color: var(--text-2);
}

html[data-language="te"] body {
  line-height: 1.72;
}

html[data-language="te"] h1,
html[data-language="te"] h2,
html[data-language="te"] h3,
html[data-language="te"] .btn,
html[data-language="te"] .nav-link,
html[data-language="te"] .eyebrow {
  letter-spacing: -0.012em;
  line-height: 1.28;
}

.container {
  width: min(calc(100% - (2 * var(--page-pad))), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section--white { background: var(--surface); }
.section--sage { background: var(--surface-3); }
.section--cream { background: var(--surface-warm); }
.section--off { background: var(--bg-alt); }
.section--green-tint { background: var(--surface-green); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--green-700);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

html[data-theme="dark"] .eyebrow {
  color: #7ddc99;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text-2);
  font-size: clamp(1.03rem, 1.6vw, 1.18rem);
  line-height: 1.76;
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(28px, 4.2vw, 48px);
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading.center .lead {
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: var(--z-toast);
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--text);
  font-weight: 700;
  transition: transform var(--dur-fast) ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

/* =========================================================
   2. Buttons & small controls
   ========================================================= */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition:
    transform var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) ease,
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--green-800);
  color: #fff;
  box-shadow: 0 10px 28px rgba(22, 101, 52, 0.18);
}

.btn-secondary {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--green-800);
}

html[data-theme="dark"] .btn-secondary {
  color: #dff7e5;
}

.btn-accent {
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  color: #241607;
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.15);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.icon-btn {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-standard), border-color var(--dur-fast), background var(--dur-fast);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.segmented {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
}

.segmented button {
  min-width: 42px;
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.1;
  transition: background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast);
}

.segmented button[aria-pressed="true"] {
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  color: var(--green-800);
}

html[data-theme="dark"] .segmented button[aria-pressed="true"] {
  color: #a7e7b8;
}

/* =========================================================
   3. Header / desktop navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  transition: height var(--dur-base) var(--ease-standard), background var(--dur-base), border-color var(--dur-base), box-shadow var(--dur-base);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  border-bottom-color: var(--border);
  background: var(--header-bg);
  box-shadow: 0 8px 28px rgba(18, 39, 24, 0.06);
}

.nav-shell {
  display: flex;
  height: 100%;
  min-width: 0;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.brand {
  display: flex;
  min-width: 0;
  flex: 0 1 auto;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
  transition: width var(--dur-base), height var(--dur-base), flex-basis var(--dur-base);
}

.site-header.is-scrolled .brand-logo {
  width: 45px;
  height: 45px;
  flex-basis: 45px;
}

.brand-copy {
  min-width: 0;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 3px;
  color: var(--text-3);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  transition: color var(--dur-fast) ease;
}

.nav-link::after {
  position: absolute;
  right: 50%;
  bottom: -9px;
  left: 50%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--green-600);
  content: "";
  transition: left var(--dur-fast) var(--ease-standard), right var(--dur-fast) var(--ease-standard);
}

.nav-link.is-active,
.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  right: 0;
  left: 0;
}

.header-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.header-whatsapp {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 0.86rem;
}

.mobile-menu-button {
  display: none;
}

/* =========================================================
   4. Mobile menu overlay / panel
   ========================================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: grid;
  grid-template-columns: 1fr minmax(300px, 430px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) ease, visibility var(--dur-base) step-end;
}

.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--dur-base) ease, visibility 0s;
}

.menu-backdrop {
  grid-column: 1 / -1;
  grid-row: 1;
  background: var(--overlay);
}

.mobile-menu-panel {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  width: 100%;
  max-height: 100svh;
  min-height: 100%;
  flex-direction: column;
  overflow-y: auto;
  padding:
    max(18px, env(safe-area-inset-top))
    clamp(18px, 4vw, 28px)
    max(24px, env(safe-area-inset-bottom));
  background: var(--surface);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.16);
  transform: translateX(22px);
  transition: transform var(--dur-base) var(--ease-premium);
}

.menu-overlay.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 850;
}

.mobile-menu-brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}

.mobile-menu-links {
  display: grid;
  gap: 4px;
  padding-block: 20px;
}

.mobile-menu-links .nav-link {
  width: 100%;
  min-height: 46px;
  padding: 11px 8px;
  font-size: 1rem;
}

.mobile-menu-links .nav-link::after {
  display: none;
}

.mobile-menu-links .nav-link.is-active {
  color: var(--green-700);
}

.mobile-menu-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mobile-menu-quick .btn {
  min-width: 0;
  padding-inline: 10px;
  font-size: 0.82rem;
}

.menu-settings {
  display: grid;
  gap: 18px;
  padding-top: 20px;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.setting-label {
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 750;
}

/* =========================================================
   5. Hero
   ========================================================= */
.hero {
  isolation: isolate;
  overflow: clip;
  padding-top: clamp(42px, 5vw, 74px);
  padding-bottom: clamp(62px, 7vw, 96px);
  background:
    radial-gradient(circle at 72% 28%, var(--hero-glow-1), transparent 33%),
    radial-gradient(circle at 15% 12%, var(--hero-glow-2), transparent 28%),
    var(--bg);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 101, 52, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 101, 52, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0, transparent 72%);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
}

.hero-copy {
  min-width: 0;
}

.hero-brandline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--brand-gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-brandline::before {
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--brand-gold);
  content: "";
}

.hero h1 span {
  display: block;
}

.hero h1 .accent-line {
  margin-top: 3px;
  color: var(--green-800);
}

html[data-theme="dark"] .hero h1 .accent-line {
  color: #78d794;
}

.hero-description {
  max-width: 720px;
  margin-bottom: 21px;
  font-size: clamp(1.03rem, 1.55vw, 1.18rem);
  line-height: 1.76;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 24px;
}

.hero-meta-item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--text-2);
  font-size: 0.86rem;
  font-weight: 650;
}

.hero-meta-item svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--green-700);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-meta-item strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--text-2);
  font-size: 0.88rem;
}

.hero-contact-line strong {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  z-index: 0;
  min-width: 0;
  height: clamp(460px, 46vw, 620px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 52% 42%, rgba(255,255,255,.85), transparent 31%),
    linear-gradient(150deg, color-mix(in srgb, var(--surface-3) 70%, var(--surface)), color-mix(in srgb, var(--surface-warm) 70%, var(--surface)));
  box-shadow: var(--shadow-lg);
}

html[data-theme="dark"] .hero-visual {
  background:
    radial-gradient(circle at 52% 42%, rgba(255,255,255,.04), transparent 31%),
    linear-gradient(150deg, #12251a, #211c12);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.hero-visual::before {
  top: 7%;
  right: -11%;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid rgba(34,197,94,.14);
}

.hero-visual::after {
  bottom: -20%;
  left: -12%;
  width: 52%;
  aspect-ratio: 1;
  background: rgba(245,158,11,.07);
}

.hero-logo-mark {
  position: absolute;
  top: 28px;
  left: 30px;
  z-index: 4;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(216, 168, 78, 0.28);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.hero-logo-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.produce-collage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.produce-piece {
  position: absolute;
  overflow: hidden;
  border: 5px solid color-mix(in srgb, var(--surface) 90%, transparent);
  border-radius: 26px;
  box-shadow: 0 20px 45px rgba(14, 42, 21, 0.15);
  background: var(--surface);
  transform: translateZ(0);
}

.produce-piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.produce-piece--1 { top: 15%; right: 9%; width: 42%; aspect-ratio: 1.05; transform: rotate(5deg); }
.produce-piece--2 { top: 33%; left: 10%; width: 42%; aspect-ratio: 1.08; transform: rotate(-7deg); }
.produce-piece--3 { right: 13%; bottom: 9%; width: 39%; aspect-ratio: 1.04; transform: rotate(7deg); }
.produce-piece--4 { bottom: 6%; left: 23%; width: 31%; aspect-ratio: 1.03; transform: rotate(-2deg); }

.hero-badge {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  max-width: 190px;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px rgba(34,197,94,.12);
  content: "";
}

.hero-badge--1 { top: 20%; left: 7%; }
.hero-badge--2 { top: 47%; right: 4%; }
.hero-badge--3 { right: 22%; bottom: 3%; }

/* =========================================================
   6. Highlight strip
   ========================================================= */
.highlight-strip {
  position: relative;
  z-index: 4;
  margin-top: -25px;
  padding-bottom: 16px;
}

.highlight-shell {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.highlight-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 17px 18px;
  border-right: 1px solid var(--border);
}

.highlight-card:last-child {
  border-right: 0;
}

.highlight-icon,
.icon-box {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-green);
  color: var(--green-700);
}

.highlight-icon svg,
.icon-box svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight-card strong,
.highlight-card span {
  display: block;
}

.highlight-card strong {
  margin-bottom: 3px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.25;
}

.highlight-card span {
  color: var(--text-2);
  font-size: 0.76rem;
  line-height: 1.45;
}

/* =========================================================
   7. About
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 6vw, 84px);
}

.about-copy p:not(.lead) {
  max-width: 680px;
  margin: 18px 0 0;
}

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 650;
}

.info-chip strong {
  color: var(--text);
}

.about-visual {
  position: relative;
  min-width: 0;
}

.shop-image-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.22;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-warm) 78%, var(--surface)), color-mix(in srgb, var(--surface-green) 76%, var(--surface)));
  box-shadow: var(--shadow-md);
}

.shop-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
}

.shop-placeholder-inner {
  display: grid;
  max-width: 420px;
  justify-items: center;
  gap: 13px;
}

.shop-placeholder-inner .market-icon {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
}

.shop-placeholder-inner .market-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-placeholder-inner strong {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.05rem;
}

.shop-placeholder-inner span {
  color: var(--text-3);
  font-size: 0.84rem;
}

.owner-card {
  position: absolute;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  max-width: min(290px, calc(100% - 24px));
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.owner-card small,
.owner-card strong {
  display: block;
}

.owner-card small {
  margin-bottom: 4px;
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.owner-card strong {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
}

/* =========================================================
   8. Reusable card grids
   ========================================================= */
.card-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-premium), box-shadow var(--dur-base), border-color var(--dur-base);
}

.feature-card::after {
  position: absolute;
  right: -40px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--card-glow);
  content: "";
  pointer-events: none;
}

.feature-card .icon-box {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 15px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* =========================================================
   9. Products
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-premium), border-color var(--dur-base), box-shadow var(--dur-base);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.28;
  background: var(--surface-2);
}

.product-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(10,30,16,.16), transparent);
  content: "";
  pointer-events: none;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-premium);
}

.product-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: var(--text-3);
  font-size: 0.82rem;
}

.product-media.has-error img {
  display: none;
}

.product-media.has-error .product-fallback {
  display: grid;
}

.product-content {
  padding: 18px;
}

.product-title-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.product-title-row h3 {
  min-width: 0;
  margin: 0;
  font-size: 1.08rem;
}

.product-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, .09);
}

.product-card[data-accent="carrot"] .product-dot { background: var(--orange-500); box-shadow: 0 0 0 5px rgba(249,115,22,.10); }
.product-card[data-accent="potato"] .product-dot { background: var(--potato-500); box-shadow: 0 0 0 5px rgba(200,155,91,.11); }
.product-card[data-accent="brinjal"] .product-dot { background: var(--brinjal-500); box-shadow: 0 0 0 5px rgba(109,76,125,.12); }
.product-card[data-accent="cabbage"] .product-dot { background: #76a45d; box-shadow: 0 0 0 5px rgba(118,164,93,.11); }

.product-card .btn {
  width: 100%;
  min-height: 44px;
  padding-block: 10px;
  font-size: 0.84rem;
}

.product-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 0.85rem;
}

.product-note svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: none;
  stroke: var(--amber-500);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   10. Audience
   ========================================================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.audience-card {
  display: flex;
  min-width: 0;
  min-height: 118px;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-premium), border-color var(--dur-base), background var(--dur-base);
}

.audience-card .icon-box {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.audience-card strong {
  min-width: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.35;
}

/* =========================================================
   11. Supplier section
   ========================================================= */
.supplier-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid color-mix(in srgb, var(--potato-500) 25%, var(--border));
  border-radius: clamp(26px, 4vw, 38px);
  background:
    radial-gradient(circle at 88% 12%, rgba(245,158,11,.11), transparent 27%),
    linear-gradient(135deg, color-mix(in srgb, var(--surface-warm) 80%, var(--surface)), var(--surface));
  box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .supplier-shell {
  background:
    radial-gradient(circle at 88% 12%, rgba(245,158,11,.08), transparent 27%),
    linear-gradient(135deg, #1e1a11, #111b14);
}

.supplier-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 72px);
}

.supplier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.supplier-meta {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.supplier-meta span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-2);
  font-size: 0.86rem;
}

.supplier-meta strong {
  color: var(--text);
}

.supply-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) 46px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.flow-node {
  min-width: 0;
  padding: 18px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.flow-node .icon-box {
  margin: 0 auto 12px;
}

.flow-logo {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.flow-node strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.83rem;
}

.flow-node p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
}

.flow-arrow {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, var(--green-700), var(--amber-500));
}

.flow-arrow::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--amber-500);
  border-right: 2px solid var(--amber-500);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

/* =========================================================
   12. Contact
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(18px, 3vw, 30px);
}

.contact-panel {
  min-width: 0;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-panel--primary {
  background:
    radial-gradient(circle at 90% 12%, rgba(34,197,94,.08), transparent 32%),
    var(--surface);
}

.contact-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-panel-head h3 {
  margin: 0;
}

.primary-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface-green);
  color: var(--green-700);
  font-size: 0.69rem;
  font-weight: 800;
}

.contact-person {
  display: grid;
  gap: 16px;
}

.contact-name {
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
}

.phone-display {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.secondary-contact-list {
  display: grid;
  gap: 10px;
}

.secondary-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.secondary-contact-row:last-child {
  border-bottom: 0;
}

.secondary-contact-row small,
.secondary-contact-row strong {
  display: block;
}

.secondary-contact-row small {
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 700;
}

.secondary-contact-row strong {
  margin-top: 2px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.contact-mini-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-mini-actions .icon-btn {
  width: 40px;
  height: 40px;
}

.email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.email-row span,
.email-row strong {
  display: block;
}

.email-row span {
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 700;
}

.email-row strong {
  max-width: 100%;
  margin-top: 3px;
  color: var(--text);
  font-size: 0.88rem;
  word-break: break-word;
}

/* =========================================================
   13. Location
   ========================================================= */
.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 44px);
}

.address-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.address-lines {
  display: grid;
  gap: 7px;
  margin: 7px 0 24px;
  color: var(--text-2);
}

.address-lines strong {
  color: var(--text);
  font-family: var(--font-sans);
}

.address-card .btn {
  align-self: flex-start;
}

.map-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(22,101,52,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,101,52,.05) 1px, transparent 1px),
    color-mix(in srgb, var(--surface-3) 65%, var(--surface));
  background-size: 34px 34px;
  box-shadow: var(--shadow-sm);
}

.map-card::before,
.map-card::after {
  position: absolute;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  content: "";
  transform: rotate(-21deg);
}

.map-card::before { top: 17%; left: -8%; width: 86%; height: 48px; }
.map-card::after { right: -12%; bottom: 22%; width: 78%; height: 38px; transform: rotate(17deg); }

.map-route {
  position: absolute;
  top: 17%;
  left: 18%;
  z-index: 2;
  width: 64%;
  height: 58%;
  border-right: 3px dashed rgba(22,101,52,.28);
  border-bottom: 3px dashed rgba(22,101,52,.28);
  border-radius: 0 0 40% 0;
  transform: rotate(-8deg);
}

.map-pin {
  position: absolute;
  top: 46%;
  left: 52%;
  z-index: 3;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 7px solid var(--surface);
  border-radius: 50% 50% 50% 7px;
  background: var(--green-800);
  box-shadow: var(--shadow-md);
  color: #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map-pin svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transform: rotate(45deg);
}

.map-label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  max-width: min(330px, calc(100% - 48px));
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.map-label strong,
.map-label span {
  display: block;
}

.map-label strong {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.map-label span {
  margin-top: 4px;
  color: var(--text-2);
  font-size: 0.76rem;
  line-height: 1.45;
}

/* =========================================================
   14. Final CTA
   ========================================================= */
.final-cta-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 70px);
  border-radius: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 85% 20%, rgba(132,204,22,.14), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(245,158,11,.10), transparent 24%),
    linear-gradient(135deg, var(--inverse-bg), var(--inverse-bg-2));
  box-shadow: var(--shadow-lg);
}

.final-cta-shell::after {
  position: absolute;
  top: -22%;
  right: -7%;
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.final-cta-shell h2 {
  color: var(--inverse-text);
}

.final-cta-shell p {
  max-width: 700px;
  color: var(--inverse-muted);
  font-size: 1.05rem;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.final-cta-shell .btn-primary {
  background: #fff;
  color: var(--green-900);
}

/* =========================================================
   15. Footer
   ========================================================= */
.site-footer {
  background: #071b10;
  color: #eff7f1;
  padding-top: clamp(52px, 7vw, 82px);
  padding-bottom: max(30px, env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr 0.9fr;
  gap: clamp(30px, 5vw, 72px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-logo {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: contain;
}

.footer-brand h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 1.03rem;
  letter-spacing: -0.02em;
}

.footer-brand p,
.footer-summary,
.footer-contact,
.footer-links a,
.footer-bottom {
  color: #aebdb3;
}

.footer-brand p {
  margin: 0;
  font-size: 0.76rem;
}

.footer-summary {
  max-width: 540px;
  margin: 20px 0 0;
  font-size: 0.88rem;
}

.footer-title {
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 9px;
  font-size: 0.85rem;
}

.footer-links a {
  width: fit-content;
  transition: color var(--dur-fast);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 0.76rem;
}

/* =========================================================
   16. Floating actions / toast
   ========================================================= */
.desktop-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-floating);
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: #168d47;
  box-shadow: 0 14px 36px rgba(10, 72, 32, .26);
  color: #fff;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast);
}

.desktop-whatsapp svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-action-bar {
  display: none;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: var(--z-toast);
  max-width: min(320px, calc(100vw - 36px));
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-standard);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   17. Hover enhancement only where hover is real
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 14px 34px rgba(22,101,52,.25); background: var(--green-900); }
  .btn-secondary:hover { border-color: var(--green-700); }
  .btn-accent:hover { box-shadow: 0 14px 34px rgba(245,158,11,.22); }
  .btn:active { transform: translateY(0) scale(.985); }
  .icon-btn:hover { transform: translateY(-2px); border-color: var(--border-strong); }
  .feature-card:hover,
  .product-card:hover,
  .audience-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
  .product-card:hover .product-media img { transform: scale(1.035); }
  .desktop-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(10,72,32,.34); }
}

/* Theme toggle icon state */
.theme-icon--sun,
.theme-icon--moon {
  grid-area: 1 / 1;
}

html[data-theme="light"] .theme-icon--sun { display: none; }
html[data-theme="light"] .theme-icon--moon { display: block; }
html[data-theme="dark"] .theme-icon--sun { display: block; }
html[data-theme="dark"] .theme-icon--moon { display: none; }
