/* =========================================================
   Awadh Dairy: neumorphic + claymorphic design system
   ========================================================= */

:root {
  /* Surfaces */
  --milk: #EDF2EB;
  --milk-deep: #E2EADF;
  --sh-dark: #C3CDC0;
  --sh-light: #FFFFFF;

  /* Ink and brand */
  --ink: #14261A;
  --ink-soft: #4B5D4F;
  --green: #166534;
  --green-deep: #0E3F24;
  --brass: #B8862B;
  --brass-soft: #E9CF97;

  /* Shape and motion */
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.9rem; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
  border-radius: 12px;
}

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 12px;
  z-index: 100;
}
.skip:focus { left: 12px; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--brass));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  z-index: 60;
}

/* ---------- Neumorphic and clay primitives ---------- */
.neu {
  background: var(--milk);
  border-radius: var(--radius-md);
  box-shadow: 9px 9px 18px var(--sh-dark), -9px -9px 18px var(--sh-light);
}

.clay {
  background: linear-gradient(150deg, #FFFFFF 0%, #EAF0E7 100%);
  border-radius: var(--radius-xl);
  box-shadow:
    18px 18px 40px var(--sh-dark),
    -18px -18px 40px var(--sh-light),
    inset 0 -12px 24px rgba(22, 101, 52, .07),
    inset 0 10px 20px rgba(255, 255, 255, .95);
  transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}

.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
}

.nav__inner {
  position: relative;
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 10px 10px 10px 16px;
  background: var(--milk);
  border-radius: 999px;
  box-shadow: 9px 9px 18px var(--sh-dark), -9px -9px 18px var(--sh-light);
  transition: box-shadow .4s var(--ease);
}
.nav.scrolled .nav__inner {
  box-shadow: 14px 14px 28px var(--sh-dark), -14px -14px 28px var(--sh-light);
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.45rem;
  color: var(--ink);
  margin-right: auto;
}
.brand__mark { width: 36px; height: 36px; }

.nav__links {
  display: flex;
  gap: .25rem;
}
.nav__links a {
  padding: .5rem .85rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: box-shadow .35s var(--ease), color .35s var(--ease);
}
.nav__links a:hover {
  color: var(--green-deep);
  box-shadow: inset 3px 3px 7px var(--sh-dark), inset -3px -3px 7px var(--sh-light);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--milk);
  box-shadow: 6px 6px 12px var(--sh-dark), -6px -6px 12px var(--sh-light);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(150deg, #22803F, #14532D);
  box-shadow:
    10px 10px 22px #B4C0B1,
    -8px -8px 18px #FFFFFF,
    inset 0 2px 0 rgba(255, 255, 255, .28),
    inset 0 -3px 6px rgba(0, 0, 0, .18);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    14px 18px 30px #AEBBAA,
    -10px -10px 22px #FFFFFF,
    inset 0 2px 0 rgba(255, 255, 255, .28),
    inset 0 -3px 6px rgba(0, 0, 0, .18);
}
.btn--primary:active {
  transform: translateY(1px);
  box-shadow: inset 6px 6px 12px rgba(0, 0, 0, .28), inset -4px -4px 10px rgba(255, 255, 255, .1);
}

.btn--ghost {
  color: var(--ink);
  background: var(--milk);
  box-shadow: 9px 9px 18px var(--sh-dark), -9px -9px 18px var(--sh-light);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  color: var(--green-deep);
}
.btn--ghost:active {
  box-shadow: inset 6px 6px 12px var(--sh-dark), inset -6px -6px 12px var(--sh-light);
}

.btn--sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .92rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.hero__hi {
  font-size: 1.25rem;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.chip {
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--milk);
  box-shadow: inset 4px 4px 9px var(--sh-dark), inset -4px -4px 9px var(--sh-light);
  font-size: .95rem;
  color: var(--ink-soft);
}
.chip strong { color: var(--ink); font-weight: 700; }

.hero__scene {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.scene-float {
  width: min(340px, 78%);
  transform: translateY(calc(var(--scroll, 0) * -70px)) rotate(calc(var(--scroll, 0) * 6deg));
  will-change: transform;
}

.tilt-target {
  transition: transform .5s var(--ease);
}

.bobbing {
  width: 100%;
  height: auto;
  animation: float 6.5s ease-in-out infinite;
  filter: drop-shadow(18px 22px 26px rgba(20, 83, 45, .18));
}

.badge {
  position: absolute;
  padding: .75rem 1.05rem;
  border-radius: 20px;
  background: var(--milk);
  box-shadow: 9px 9px 18px var(--sh-dark), -9px -9px 18px var(--sh-light);
  font-weight: 600;
  font-size: .92rem;
  color: var(--green-deep);
  animation: float 7s ease-in-out infinite;
}
.badge--1 { top: 12%; left: 0; }
.badge--2 { bottom: 10%; right: 0; animation-delay: -3s; }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  padding: 1.6rem 0;
  margin-top: 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--green-deep);
}
.ticker span::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, .5);
}

/* ---------- Sections and grids ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section__head p { color: var(--ink-soft); font-size: 1.1rem; }

.grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Cards ---------- */
.card {
  height: 100%;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card p { color: var(--ink-soft); }
.card .btn { margin-top: auto; }
.card .btn--primary,
.card .btn--ghost { align-self: flex-start; }

.card:hover {
  box-shadow:
    26px 26px 50px var(--sh-dark),
    -26px -26px 50px var(--sh-light),
    inset 0 -12px 24px rgba(22, 101, 52, .08),
    inset 0 10px 20px rgba(255, 255, 255, .95);
}

.card__icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  background: var(--milk);
  box-shadow: inset 6px 6px 12px var(--sh-dark), inset -6px -6px 12px var(--sh-light);
  color: var(--green);
}
.card__icon svg { width: 30px; height: 30px; fill: currentColor; }

.hindi {
  font-family: "Noto Sans Devanagari", system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--green);
  margin: -.4rem 0 1rem;
}

.price {
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 1.25rem;
}

/* ---------- Steps ---------- */
.steps .card {
  flex-direction: row;
  gap: 1.25rem;
  align-items: flex-start;
}
.steps .card > div { display: flex; flex-direction: column; }

.step__num {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.8rem;
  color: var(--green);
  background: var(--milk);
  box-shadow: inset 5px 5px 10px var(--sh-dark), inset -5px -5px 10px var(--sh-light);
}

/* ---------- Why glass tiles ---------- */
.tile {
  height: 100%;
  padding: 1.75rem;
  border-radius: 30px;
}
.tile h3 { font-size: 1.6rem; }
.tile p { color: var(--ink-soft); margin: 0; }

/* ---------- Farm ---------- */
.farm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.farm__panel {
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: var(--radius-xl);
}
.farm__panel svg { border-radius: 28px; width: 100%; height: auto; }
.farm__caption {
  display: flex;
  flex-direction: column;
  padding: 1rem .5rem 0;
}
.farm__caption strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
}
.farm__caption span { color: var(--ink-soft); }

/* ---------- Form ---------- */
.form {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.field--full { grid-column: 1 / -1; }
.field label {
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--milk);
  border: 0;
  border-radius: var(--radius-md);
  padding: .9rem 1.1rem;
  box-shadow: inset 6px 6px 12px var(--sh-dark), inset -6px -6px 12px var(--sh-light);
  transition: box-shadow .3s var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow:
    inset 6px 6px 12px var(--sh-dark),
    inset -6px -6px 12px var(--sh-light),
    0 0 0 3px rgba(184, 134, 43, .45);
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] {
  box-shadow: inset 6px 6px 12px var(--sh-dark), inset -6px -6px 12px var(--sh-light), 0 0 0 2px #9B2C2C;
}
.err {
  min-height: 1.1em;
  font-size: .88rem;
  color: #9B2C2C;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}
.form__status { margin: 0; color: var(--green-deep); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 52rem; }
.faq {
  padding: 1.1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 24px;
  background: var(--milk);
  box-shadow: 9px 9px 18px var(--sh-dark), -9px -9px 18px var(--sh-light);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  line-height: 1;
  color: var(--green);
  transition: transform .4s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin: .5rem 0 .25rem;
  color: var(--ink-soft);
}
.faq[open] p { animation: fadeDown .45s var(--ease); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}
.contact__list { margin: 0; }
.contact__list dt {
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: 1.1rem;
}
.contact__list dd {
  margin: .15rem 0 0;
  font-size: 1.05rem;
}
.contact__list a { color: var(--green-deep); font-weight: 600; }

.map {
  min-height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 14px 14px 30px var(--sh-dark), -14px -14px 30px var(--sh-light);
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 3rem;
  padding: 3rem 0 2.5rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
}
.footer p { margin: .2rem 0 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer nav a { text-decoration: none; color: var(--ink-soft); }
.footer nav a:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { margin: 0; }

/* ---------- Floating WhatsApp button ---------- */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--milk);
  box-shadow: 8px 8px 16px var(--sh-dark), -8px -8px 16px var(--sh-light);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-fab:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 12px 14px 22px var(--sh-dark), -10px -10px 20px var(--sh-light);
}
.wa-fab:active {
  box-shadow: inset 5px 5px 10px var(--sh-dark), inset -5px -5px 10px var(--sh-light);
}
.wa-fab svg { width: 28px; height: 28px; fill: #14532D; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s var(--ease) var(--d, 0s),
    transform .9s var(--ease) var(--d, 0s);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__scene { min-height: 440px; }
  .farm,
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px;
    background: var(--milk);
    border-radius: var(--radius-lg);
    box-shadow: 12px 12px 24px var(--sh-dark), -12px -12px 24px var(--sh-light);
  }
  .nav__links.open { display: flex; animation: fadeDown .35s var(--ease); }
  .nav__links a { padding: .85rem 1rem; }

  .badge { font-size: .8rem; padding: .6rem .8rem; }
  .hero__scene { min-height: 380px; }
  .steps .card { flex-direction: column; }
  .btn--sm { padding: .6rem .9rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .scene-float { transform: none; }
}
