/* =========================================================
   Saraswathi Thavedu Mill – Chinnasalem
   Full stylesheet: colourful + 3D + all devices
   Replaces css/saraswathithavedumill.css (includes Wholesalers + Reviews)
   ========================================================= */
:root {
  --paddy: #2e8b3d;
  --paddy-dark: #14502a;
  --marigold: #ffb703;
  --saffron: #fb8500;
  --chilli: #e63946;
  --pink: #e83e8c;
  --royal: #5b3fd1;
  --indigo: #1b1464;
  --teal: #0aa3a3;
  --sky: #2f9be8;
  --jute: #c48a3a;
  --jute-dark: #8d5e22;
  --sack: #c9975a;
  --wa: #1f9d55;
  --ink: #23160a;
  --ink-soft: #5a4630;
  --paper: #fffdf6;
  --line: rgba(35, 22, 10, 0.14);
  --radius: 16px;
  --rainbow: linear-gradient(
    90deg,
    var(--marigold),
    var(--saffron),
    var(--pink),
    var(--royal),
    var(--teal),
    var(--paddy)
  );
  --head: "Baloo Thambi 2", "Mukta Malar", system-ui, sans-serif;
  --body:
    "Mukta Malar", "Baloo Thambi 2", system-ui, -apple-system, "Segoe UI",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--paddy-dark);
}
h1,
h2,
h3 {
  font-family: var(--head);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h2 {
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  font-weight: 800;
}
h3 {
  font-size: 1.22rem;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- language switch ---------- */
body.lang-ta .en {
  display: none !important;
}
body.lang-en .ta {
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 400;
}
.skip:focus {
  left: 0;
}

.wrap {
  width: min(1160px, 100% - 2.4rem);
  margin-inline: auto;
}
.narrow {
  width: min(800px, 100% - 2.4rem);
}
.section {
  padding: clamp(3.4rem, 8vw, 6.2rem) 0;
  position: relative;
}
.sub {
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 2rem;
  font-size: 1.08rem;
}

/* scroll progress bar (added by JS) */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 300;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--rainbow);
  pointer-events: none;
}

/* ---------- header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 253, 246, 0.9);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  transition: box-shadow 0.3s;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--rainbow);
}
.site-header.scrolled {
  box-shadow: 0 8px 24px -14px rgba(35, 22, 10, 0.5);
}
.nav {
  width: min(1280px, 100% - 1.6rem);
  margin-inline: auto;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand-mark {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font: 800 1.1rem var(--head);
  color: #fff;
  background: linear-gradient(135deg, var(--paddy), var(--teal));
  box-shadow: 0 4px 0 var(--paddy-dark);
  transform: rotate(-4deg);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.brand-text strong {
  font: 800 1.05rem var(--head);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text small {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.menu ul {
  display: flex;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu li a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.55rem;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.menu li a:hover {
  background: var(--marigold);
  transform: translateY(-2px);
}
.menu li a.active {
  background: var(--paddy);
  color: #fff;
}

.lang {
  display: flex;
  border: 2px solid var(--paddy);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
  background: #fff;
}
.lang button {
  font: 700 0.92rem var(--body);
  padding: 0.35rem 1rem;
  border: 0;
  cursor: pointer;
  min-height: 36px;
  background: transparent;
  color: var(--paddy-dark);
}
.lang button.on {
  background: linear-gradient(135deg, var(--paddy), var(--teal));
  color: #fff;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 11px;
  flex: none;
}
.burger span {
  display: block;
  height: 3px;
  margin: 6px 0;
  background: var(--ink);
  border-radius: 3px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1180px) {
  .burger {
    display: block;
  }
  .menu {
    position: fixed;
    left: 0;
    right: 0;
    top: calc(70px + env(safe-area-inset-top, 0px));
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
    border-bottom: 3px solid var(--marigold);
    max-height: calc(100vh - 70px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-130%);
    visibility: hidden;
    transition:
      transform 0.35s ease,
      visibility 0.35s;
  }
  .menu.open {
    transform: none;
    visibility: visible;
  }
  .menu ul {
    flex-direction: column;
    gap: 0.15rem;
  }
  .menu li a {
    padding: 0.85rem 1rem;
    font-size: 0.6rem;
    border-left: 5px solid transparent;
  }
  .menu li:nth-child(6n + 1) a {
    border-left-color: var(--saffron);
  }
  .menu li:nth-child(6n + 2) a {
    border-left-color: var(--teal);
  }
  .menu li:nth-child(6n + 3) a {
    border-left-color: var(--pink);
  }
  .menu li:nth-child(6n + 4) a {
    border-left-color: var(--royal);
  }
  .menu li:nth-child(6n + 5) a {
    border-left-color: var(--paddy);
  }
  .menu li:nth-child(6n) a {
    border-left-color: var(--marigold);
  }
  .lang {
    align-self: flex-start;
  }
}
@supports (height: 100dvh) {
  @media (max-width: 1180px) {
    .menu {
      max-height: calc(100dvh - 70px - env(safe-area-inset-top, 0px));
    }
  }
}

/* ---------- buttons ---------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font: 800 1.02rem var(--head);
  padding: 0.7rem 1.6rem;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    filter 0.2s;
}
.btn-main {
  background: linear-gradient(135deg, var(--saffron), var(--chilli));
  box-shadow: 0 5px 0 #a3202c;
}
.btn-wa {
  background: linear-gradient(135deg, #25c26a, var(--teal));
  box-shadow: 0 5px 0 #0c6a52;
}
.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.07);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(70px + clamp(2.2rem, 6vw, 4.5rem)) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(
      700px 380px at 85% 20%,
      rgba(255, 183, 3, 0.55),
      transparent 70%
    ),
    radial-gradient(
      600px 400px at 10% 90%,
      rgba(10, 163, 163, 0.35),
      transparent 70%
    ),
    radial-gradient(
      500px 300px at 60% 100%,
      rgba(232, 62, 140, 0.25),
      transparent 70%
    ),
    linear-gradient(160deg, #fff2c2, #d4f3d6 55%, #c6e9ff);
  min-height: min(100vh, 860px);
  display: flex;
  align-items: center;
}
@supports (height: 100dvh) {
  .hero {
    min-height: min(100dvh, 860px);
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 15px;
}
.hero h1 {
  font-size: clamp(2.3rem, 6.6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h1 em {
  display: block;
  font-style: normal;
  font-size: 0.55em;
  margin-top: 0.15em;
  background: linear-gradient(90deg, var(--paddy), var(--teal), var(--royal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 34ch;
  color: var(--ink-soft);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--line);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 0 rgba(35, 22, 10, 0.1);
}
.status i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #999;
  flex: none;
}
.status.open i {
  background: var(--wa);
  animation: pulse 1.8s infinite;
}
.status.closed i {
  background: var(--chilli);
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.6);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(31, 157, 85, 0);
  }
}

/* 3D scene */
.hero-3d {
  position: relative;
  height: 440px;
  perspective: 1100px;
  display: grid;
  place-items: center;
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.hero-3d.dragging {
  cursor: grabbing;
}
.hero-3d::before {
  content: "";
  position: absolute;
  width: min(340px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--marigold),
    var(--saffron),
    var(--pink),
    var(--royal),
    var(--teal),
    var(--paddy),
    var(--marigold)
  );
  filter: blur(36px);
  opacity: 0.6;
  animation: spinSlow 20s linear infinite;
}
@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}
.floor {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 260px;
  height: 44px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(35, 22, 10, 0.35), transparent 70%);
}
.sack {
  position: relative;
  width: 180px;
  height: 240px;
  transform-style: preserve-3d;
  transform: rotateX(-8deg) rotateY(-28deg);
  will-change: transform;
}
.face {
  position: absolute;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.07) 0 2px,
      transparent 2px 6px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0 2px,
      transparent 2px 7px
    ),
    linear-gradient(160deg, #e0b070, var(--sack) 55%, #a87a42);
  border: 2px solid rgba(80, 50, 15, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #3a2208;
}
.face.front,
.face.back {
  width: 180px;
  height: 240px;
  border-radius: 20px 20px 10px 10px;
}
.face.front {
  transform: translateZ(55px);
}
.face.back {
  transform: rotateY(180deg) translateZ(55px);
}
.face.front::before,
.face.back::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 30px;
  border-radius: 18px 18px 0 0;
  background: repeating-linear-gradient(
    90deg,
    var(--chilli) 0 16px,
    var(--marigold) 16px 32px
  );
  opacity: 0.9;
}
.face.right,
.face.left {
  width: 110px;
  height: 240px;
  left: 35px;
  background-color: #a2763f;
}
.face.right {
  transform: rotateY(90deg) translateZ(90px);
}
.face.left {
  transform: rotateY(-90deg) translateZ(90px);
}
.face.top,
.face.bottom {
  width: 180px;
  height: 110px;
  top: 65px;
}
.face.top {
  transform: rotateX(90deg) translateZ(120px);
  background: linear-gradient(135deg, #f0c880, #c9975a);
}
.face.bottom {
  transform: rotateX(-90deg) translateZ(120px);
}
.face b {
  font: 800 3.6rem/1 var(--head);
  color: #fff;
  margin: 1.2rem 0 0.6rem;
  padding: 0.05em 0.3em;
  border: 4px solid #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--paddy), var(--teal));
  box-shadow: 0 5px 0 var(--paddy-dark);
}
.face span {
  font: 800 1.05rem/1.25 var(--head);
}
.face small {
  font: 700 0.78rem var(--head);
  margin-top: 0.6rem;
  color: var(--chilli);
}

/* orbiting grains (added by JS inside the sack) */
.orbit {
  position: absolute;
  left: 90px;
  top: 150px;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateX(90deg);
}
.orbit-in {
  transform-style: preserve-3d;
  animation: orbitSpin 14s linear infinite;
}
@keyframes orbitSpin {
  to {
    transform: rotateZ(360deg);
  }
}
.orb {
  position: absolute;
  left: -10px;
  top: -6px;
  width: 20px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 12px var(--c);
  transform: rotateZ(var(--a)) translateX(var(--r));
}

/* falling bran grains */
.grains {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  perspective: 700px;
  overflow: hidden;
}
.grain {
  position: absolute;
  width: var(--s);
  height: calc(var(--s) * 0.55);
  border-radius: 50%;
  background: var(--c);
  left: var(--x);
  top: -5%;
  opacity: 0.85;
  animation: fall var(--d) linear var(--delay) infinite;
}
@keyframes fall {
  0% {
    transform: translate3d(0, -20px, var(--z)) rotate(0);
  }
  100% {
    transform: translate3d(var(--dx), 115vh, var(--z)) rotate(540deg);
  }
}

/* ---------- about ---------- */
.about {
  background: linear-gradient(180deg, #fffdf6, #fff4d6);
}
.about p {
  font-size: 1.15rem;
}
.facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}
.facts li {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  color: #fff;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}
.facts li:nth-child(1) {
  background: linear-gradient(135deg, var(--saffron), var(--chilli));
}
.facts li:nth-child(2) {
  background: linear-gradient(135deg, var(--teal), var(--sky));
}
.facts li:nth-child(3) {
  background: linear-gradient(135deg, var(--royal), var(--pink));
}
.facts b {
  display: block;
  font: 800 1.2rem var(--head);
  color: #fff;
}

/* ---------- process ---------- */
.process {
  background: linear-gradient(160deg, #d4f3d6, #c6e9ff 60%, #e5dcff);
}
.step-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.step-row.flip {
  grid-template-columns: 1.05fr 1fr;
}
.step-row.flip .shot {
  order: 2;
}

.shot,
.prod-img,
.owner-img {
  margin: 0;
  border-radius: var(--radius);
  position: relative;
  background: linear-gradient(135deg, var(--sack), var(--jute-dark));
  aspect-ratio: 4/3;
  box-shadow:
    10px 10px 0 var(--accent, var(--saffron)),
    0 24px 40px -16px rgba(35, 22, 10, 0.5);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.step-row:nth-of-type(1) .shot {
  --accent: var(--saffron);
}
.step-row:nth-of-type(2) .shot {
  --accent: var(--teal);
}
.step-row:nth-of-type(3) .shot {
  --accent: var(--pink);
}
.prod-img {
  --accent: var(--marigold);
}
.owner-img {
  --accent: var(--royal);
}
.shot img,
.prod-img img,
.owner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.prod-img {
  aspect-ratio: 1/1;
}
.owner-img {
  aspect-ratio: 7/8;
}
.noimg::after {
  content: "Saraswathi Thavedu Mill";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 800 1.1rem var(--head);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 1rem;
}
.noimg img {
  display: none;
}

/* glare on tilt elements */
.tilt::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 255, 255, 0.4),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.tilt.is-tilting::before {
  opacity: 1;
}

.step-row ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: st;
}
.step-row ol[start="3"] {
  counter-reset: st 2;
}
.step-row ol[start="5"] {
  counter-reset: st 4;
}
.step-row li {
  counter-increment: st;
  position: relative;
  padding: 0 0 1.7rem 3.8rem;
  --c: var(--saffron);
}
.step-row li:last-child {
  padding-bottom: 0;
}
.step-row li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c);
  color: #fff;
  font: 800 1.2rem var(--head);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}
.step-row li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 3rem;
  bottom: 0.2rem;
  width: 3px;
  border-radius: 3px;
  background: var(--c);
  opacity: 0.4;
}
.step-row:nth-of-type(1) li:nth-child(1) {
  --c: var(--saffron);
}
.step-row:nth-of-type(1) li:nth-child(2) {
  --c: #d99100;
}
.step-row:nth-of-type(2) li:nth-child(1) {
  --c: var(--teal);
}
.step-row:nth-of-type(2) li:nth-child(2) {
  --c: var(--royal);
}
.step-row:nth-of-type(3) li:nth-child(1) {
  --c: var(--pink);
}
.step-row:nth-of-type(3) li:nth-child(2) {
  --c: var(--chilli);
}
.step-row li h3 {
  margin-bottom: 0.25em;
}
.step-row li p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- product ---------- */
.product {
  background: linear-gradient(135deg, #fff4c9, #ffe0b8 60%, #ffd1dc);
}
.prod-grid,
.owner-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}
.prod-img {
  max-width: 470px;
  width: 100%;
  justify-self: center;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.ticks li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.55rem;
  font-weight: 500;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--paddy);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 0.48rem;
  top: 0.62em;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- owner ---------- */
.owner {
  background: linear-gradient(135deg, #e5dcff, #ffd9ec 60%, #ffe9c7);
}
.owner-img {
  max-width: 430px;
  width: 100%;
  justify-self: center;
}
.owner-line {
  font-size: 1.25rem;
  font-weight: 800;
}

/* ---------- hours ---------- */
.hours {
  background: #fff;
}
.timetable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}
.timetable th,
.timetable td {
  padding: 0.9rem 1.3rem;
  text-align: left;
  background: #fff4d6;
  font-weight: 600;
}
.timetable th {
  border-radius: 12px 0 0 12px;
  border-left: 6px solid var(--marigold);
}
.timetable td {
  text-align: right;
  border-radius: 0 12px 12px 0;
}
.timetable tr:nth-child(2n) th {
  background: #d9f3ee;
  border-left-color: var(--teal);
}
.timetable tr:nth-child(2n) td {
  background: #d9f3ee;
}
.timetable tr:nth-child(3n) th {
  background: #ffe0ec;
  border-left-color: var(--pink);
}
.timetable tr:nth-child(3n) td {
  background: #ffe0ec;
}
.timetable tr.today th,
.timetable tr.today td {
  background: linear-gradient(135deg, var(--paddy), var(--teal));
  color: #fff;
  border-left-color: var(--marigold);
}

/* ---------- wholesalers ---------- */
.wholesalers {
  background: linear-gradient(
    135deg,
    var(--indigo),
    var(--royal) 55%,
    var(--teal)
  );
  color: #fff;
  overflow: hidden;
}
.wholesalers::before,
.wholesalers::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.45;
}
.wholesalers::before {
  width: 340px;
  height: 340px;
  background: var(--pink);
  left: -100px;
  top: -80px;
}
.wholesalers::after {
  width: 360px;
  height: 360px;
  background: var(--marigold);
  right: -120px;
  bottom: -100px;
}
.wholesalers .wrap {
  position: relative;
  z-index: 1;
}
.wholesalers h2 {
  color: #fff;
}
.wholesalers .sub {
  color: rgba(255, 255, 255, 0.88);
}
.ws-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.3rem;
  perspective: 1000px;
}
.ws-card {
  --c: var(--saffron);
  position: relative;
  padding: 1.6rem 1.3rem 1.3rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  border-top: 8px solid var(--c);
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.7);
  transform-style: preserve-3d;
  transition:
    transform 0.25s ease-out,
    translate 0.25s ease,
    box-shadow 0.25s;
  will-change: transform;
}
.ws-card:hover {
  translate: 0 -6px;
  box-shadow: 0 28px 36px -18px rgba(0, 0, 0, 0.75);
}
.ws-card:nth-child(7n + 1) {
  --c: var(--saffron);
}
.ws-card:nth-child(7n + 2) {
  --c: var(--teal);
}
.ws-card:nth-child(7n + 3) {
  --c: var(--pink);
}
.ws-card:nth-child(7n + 4) {
  --c: var(--sky);
}
.ws-card:nth-child(7n + 5) {
  --c: var(--paddy);
}
.ws-card:nth-child(7n + 6) {
  --c: var(--royal);
}
.ws-card:nth-child(7n) {
  --c: var(--chilli);
}
.ws-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  background: var(--c);
  color: #fff;
  font: 800 1.6rem var(--head);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
  transform: translateZ(30px) rotate(-5deg);
}
.ws-card h3 {
  margin-bottom: 0.2em;
  font-size: 1.2rem;
  color: var(--ink);
}
.ws-place {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
  position: relative;
  padding-left: 1.3rem;
}
.ws-place::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50% 50% 50% 0;
  background: var(--c);
  transform: rotate(-45deg);
}
.ws-card.ws-join {
  --c: var(--marigold);
  background: linear-gradient(135deg, var(--marigold), var(--saffron));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.ws-join h3,
.ws-join p {
  color: var(--ink);
}
.ws-join p {
  margin-bottom: 1rem;
}
.ws-join .btn {
  background: var(--ink);
  box-shadow: 0 5px 0 #000;
}
.ws-join::before {
  display: none;
}

/* ---------- reviews ---------- */
.reviews {
  background: linear-gradient(160deg, #fff0b8, #ffd9a8 55%, #ffc9d9);
}
.stars {
  color: var(--marigold);
  letter-spacing: 0.15em;
  font-size: 1.4rem;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(141, 94, 34, 0.45);
}
.rating-sum {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: -0.2rem 0 1.8rem;
}
.rating-sum b {
  font: 800 3rem/1 var(--head);
  background: linear-gradient(135deg, var(--saffron), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.rating-sum small {
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 600;
}

.rv-wrap {
  position: relative;
}
.rv-track {
  display: flex;
  gap: 1.3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.3rem 1.6rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  perspective: 1000px;
  -webkit-overflow-scrolling: touch;
}
.rv-track::-webkit-scrollbar {
  display: none;
}
.rv-card {
  flex: 0 0 min(400px, 86%);
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 18px 30px -20px rgba(35, 22, 10, 0.7);
  opacity: 0.7;
  transform: scale(0.93) rotateY(var(--tilt, 0deg));
  transition:
    opacity 0.35s,
    transform 0.35s;
}
.rv-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: var(--rainbow);
}
.rv-card::after {
  content: "\201C";
  position: absolute;
  right: 1rem;
  top: 0.2rem;
  font: 800 5rem/1 var(--head);
  color: var(--marigold);
  opacity: 0.35;
}
.rv-card.active {
  opacity: 1;
  transform: scale(1) rotateY(0);
}
.rv-card blockquote {
  margin: 0;
  flex: 1;
}
.rv-card blockquote p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}
.rv-card footer {
  padding-top: 0.8rem;
  border-top: 2px dashed var(--line);
  font-weight: 800;
  color: var(--royal);
}

.rv-btn {
  position: absolute;
  top: calc(50% - 1.3rem);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--royal), var(--pink));
  color: #fff;
  font: 700 1.9rem/1 var(--head);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}
.rv-btn:hover {
  transform: scale(1.1);
}
.rv-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}
.rv-btn.prev {
  left: -0.5rem;
}
.rv-btn.next {
  right: -0.5rem;
}
.rv-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.rv-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(35, 22, 10, 0.25);
  transition:
    background 0.2s,
    width 0.2s;
}
.rv-dots button[aria-selected="true"] {
  background: var(--royal);
  width: 32px;
  border-radius: 999px;
}

/* ---------- faq ---------- */
.faq {
  background: linear-gradient(160deg, #c6e9ff, #d4f3d6);
}
details {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 0.8rem;
  border-left: 8px solid var(--teal);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.06);
}
details:nth-of-type(5n + 1) {
  border-left-color: var(--saffron);
}
details:nth-of-type(5n + 2) {
  border-left-color: var(--teal);
}
details:nth-of-type(5n + 3) {
  border-left-color: var(--pink);
}
details:nth-of-type(5n + 4) {
  border-left-color: var(--royal);
}
details:nth-of-type(5n) {
  border-left-color: var(--paddy);
}
summary {
  cursor: pointer;
  padding: 1rem 3.2rem 1rem 1.2rem;
  font: 800 1.08rem var(--head);
  list-style: none;
  position: relative;
  min-height: 52px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  translate: 0 -50%;
  font: 800 1.7rem var(--head);
  color: var(--saffron);
  transition: rotate 0.25s;
}
details[open] summary::after {
  rotate: 45deg;
}
details p {
  padding: 0 1.2rem 1.1rem;
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- contact ---------- */
.contact {
  background: linear-gradient(
    135deg,
    var(--paddy-dark),
    var(--paddy) 60%,
    var(--teal)
  );
  color: #f0fbe8;
}
.contact h2,
.contact h3,
.contact a {
  color: #fff;
}
.contact address {
  font-style: normal;
  font-size: 1.1rem;
}
.contact address p {
  margin-bottom: 0.5rem;
}
.contact .btn-main {
  background: linear-gradient(135deg, var(--marigold), var(--saffron));
  color: var(--ink);
  box-shadow: 0 5px 0 var(--jute-dark);
}
.enquiry {
  background: #fff;
  color: var(--ink);
  padding: 1.7rem;
  border-radius: var(--radius);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7);
  border-top: 8px solid var(--marigold);
}
.enquiry h3 {
  color: var(--ink);
}
.enquiry label {
  display: block;
  font-weight: 700;
  margin-bottom: 1rem;
}
.enquiry input,
.enquiry textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fffdf6;
  color: var(--ink);
}
.enquiry input:focus,
.enquiry textarea:focus {
  border-color: var(--royal);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(91, 63, 209, 0.18);
}
.enquiry .btn {
  width: 100%;
}
.err {
  color: var(--chilli);
  font-weight: 800;
  margin: 0 0 0.8rem;
}

/* ---------- location ---------- */
.location {
  background: #fff;
}
.map {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.4rem;
  aspect-ratio: 16/8;
  min-height: 300px;
  background: #d4f3d6;
  box-shadow:
    10px 10px 0 var(--teal),
    0 24px 40px -20px rgba(35, 22, 10, 0.5);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  background: var(--ink);
  color: #f0e6d6;
  padding: 2.6rem 0 1.2rem;
  padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
}
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: var(--rainbow);
}
.footer a {
  color: #fff;
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer p {
  margin: 0.3rem 0;
}
.copy {
  text-align: center;
  margin-top: 1.6rem !important;
  font-size: 0.9rem;
  opacity: 0.75;
}

.float-wa {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 150;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25c26a, var(--teal));
  display: grid;
  place-items: center;
  box-shadow:
    0 6px 0 #0c6a52,
    0 12px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
  animation: wiggle 5s ease-in-out infinite;
}
.float-wa:hover {
  transform: scale(1.1) rotate(-6deg);
}
@keyframes wiggle {
  0%,
  88%,
  100% {
    rotate: 0deg;
  }
  92% {
    rotate: -12deg;
  }
  96% {
    rotate: 10deg;
  }
}

/* ---------- 3D reveal on scroll (classes added by JS) ---------- */
.rv3d {
  opacity: 0;
  transform: perspective(900px) rotateX(16deg) translateY(36px) scale(0.96);
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.rv3d.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (min-width: 1600px) {
  html {
    font-size: 112.5%;
  }
  .wrap {
    width: min(1300px, 100% - 4rem);
  }
}
@media (max-width: 1024px) {
  .step-row,
  .step-row.flip {
    gap: 1.6rem;
  }
}
@media (max-width: 860px) {
  .hero {
    min-height: 0;
  }
  .hero-grid,
  .prod-grid,
  .owner-grid,
  .contact-grid,
  .step-row,
  .step-row.flip {
    grid-template-columns: 1fr;
  }
  .step-row.flip .shot {
    order: 0;
  }
  .hero-3d {
    height: 360px;
    order: -1;
  }
  .lead {
    max-width: none;
  }
  .shot,
  .prod-img,
  .owner-img {
    box-shadow:
      8px 8px 0 var(--accent, var(--saffron)),
      0 18px 30px -16px rgba(35, 22, 10, 0.5);
  }
}
@media (max-width: 640px) {
  .rv-btn {
    display: none;
  }
  .ws-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }
  .nav {
    height: 64px;
  }
  .menu {
    top: calc(64px + env(safe-area-inset-top, 0px));
  }
  .brand-text small {
    display: none;
  }
  .brand-text strong {
    font-size: 0.98rem;
  }
  .cta-row .btn {
    flex: 1 1 100%;
  }
  .timetable th,
  .timetable td {
    padding: 0.75rem 0.8rem;
  }
  .hero-3d {
    height: 320px;
  }
  .step-row li {
    padding-left: 3.4rem;
  }
  .map {
    aspect-ratio: 4/3;
  }
}
@media (max-width: 340px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .lang button {
    padding: 0.3rem 0.7rem;
  }
}
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: 0;
    padding-top: calc(70px + 1.2rem);
  }
  .hero-3d {
    height: 300px;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .menu {
    max-height: calc(100vh - 70px);
  }
}
@media (hover: none) {
  .ws-card:hover {
    translate: none;
  }
  .menu li a:hover {
    transform: none;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .grains {
    display: none;
  }
  .rv3d {
    opacity: 1;
    transform: none;
  }
  .rv-card {
    transform: none;
  }
}
