/* ===================================================================
   Gokul Dairy Farm — premium farm-to-shed editorial theme
   Earthy cream + cacao brown + farm green + brass gold.
   Inspired by heritage origin brands (farm & farmer storytelling).
   =================================================================== */

:root {
  --cream: #f5eddc;
  --cream-2: #faf4e8;
  --paper: #fffdf7;
  --brown: #3f2d1d;          /* deepest text / footer */
  --brown-2: #5e4630;
  --brown-soft: #7c6248;
  --green: #2f4a32;          /* farm green */
  --green-2: #3e6042;
  --green-deep: #20351f;
  --gold: #bd8f33;
  --gold-2: #d8b35b;
  --ink: #33271a;
  --ink-soft: #6b5a47;
  --line: #e2d4bb;
  --line-soft: #ece1cb;
  --wa: #1eaf57;

  --shadow-sm: 0 1px 2px rgba(63,45,29,.05), 0 6px 18px rgba(63,45,29,.06);
  --shadow-md: 0 18px 44px rgba(50,38,22,.12);
  --shadow-lg: 0 30px 70px rgba(40,30,16,.20);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;

  --font-head: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html[lang="hi"] body, html[lang="mr"] body { --font-head: "Noto Serif Devanagari", serif; --font-body: "Noto Serif Devanagari", system-ui, serif; }
html[lang="ta"] body { --font-head: "Noto Serif Tamil", serif; --font-body: "Noto Serif Tamil", system-ui, serif; }
html[lang="te"] body { --font-head: "Noto Serif Telugu", serif; --font-body: "Noto Serif Telugu", system-ui, serif; }
html[lang="kn"] body { --font-head: "Noto Serif Kannada", serif; --font-body: "Noto Serif Kannada", system-ui, serif; }
html[lang="gu"] body { --font-head: "Noto Serif Gujarati", serif; --font-body: "Noto Serif Gujarati", system-ui, serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.7; font-size: 17px; position: relative; width: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }
.section { padding: 100px 0; position: relative; }
.hidden, .hidden-input { display: none !important; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--brown); letter-spacing: -.01em; }
.ico { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

/* ---------- Eyebrow / heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-body); font-weight: 600;
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); display: inline-block; }
.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__title { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 500; }
.section__lead { color: var(--ink-soft); margin-top: 18px; font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-body);
  font-weight: 600; font-size: .98rem; padding: 14px 26px; border-radius: 8px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn .ico { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-2); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: #199a4b; }
.btn--sun { background: var(--gold); color: #2c2008; border-color: var(--gold); }
.btn--sun:hover { background: var(--gold-2); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: #fff; color: var(--green-deep); border-color: #fff; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100;
  background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .08s linear; }

/* ---------- Top bar ---------- */
.topbar { background: var(--brown); color: #e8dcc6; font-size: .84rem; position: relative; z-index: 60; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 12px; }
.topbar__tagline { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .02em; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #fff; }
.topbar__link:hover { color: var(--gold-2); }
.topbar__drip { display: none; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .84rem;
  padding: 5px 12px; border-radius: 6px; transition: background .2s; }
.lang__btn:hover { background: rgba(255,255,255,.2); }
.ico--chev { width: .9em; height: .9em; transition: transform .2s; }
.lang.open .ico--chev { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; background: var(--paper); color: var(--ink);
  border-radius: 10px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 170px; border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease; }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu li { padding: 9px 14px; border-radius: 7px; cursor: pointer; font-weight: 500; font-size: .95rem; transition: background .15s; }
.lang__menu li:hover { background: var(--cream); }
.lang__menu li[aria-selected="true"] { background: var(--green); color: #fff; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(245,237,220,.85);
  backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, background .25s; }
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(248,242,230,.96); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark { width: 60px; height: 60px; flex: none; display: grid; place-items: center; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.08; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.34rem; color: var(--brown); letter-spacing: -.01em; }
.brand__sub { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { font-weight: 500; font-size: .95rem; color: var(--ink); padding: 9px 13px; border-radius: 7px; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--green); background: rgba(47,74,50,.07); }
.nav__cta { margin-left: 10px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 2.5px; background: var(--brown); border-radius: 2px; transition: .25s; }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; background: rgba(40,30,16,.5); opacity: 0; visibility: hidden; transition: .25s; z-index: 45; }
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ---------- Hero (scroll-scrubbed milk animation) ---------- */
.hero { position: relative; color: #fff;
  background: radial-gradient(900px 620px at 80% 18%, rgba(216,179,91,.18), transparent 60%),
    linear-gradient(160deg, var(--green-deep) 0%, #182a18 52%, #2c2013 122%); }
.hero__seq { height: auto; position: relative; display: block; }
.hero__sticky { position: relative; height: 100vh; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.hero__sticky::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.045) 1.5px, transparent 1.5px); background-size: 30px 30px; opacity: .5; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; width: 100%; }
.hero__content { max-width: 640px; }
.hero__pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.28); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 22px; backdrop-filter: blur(4px); }
.hero__title { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 500; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.4); line-height: 1.07; }
.hero__title em { font-style: italic; color: var(--gold-2); }
.hero__subtitle { margin-top: 20px; font-size: 1.14rem; color: #e7ddc8; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: .92rem; color: #ece2cd; }
.hero__badges .ico { color: var(--gold-2); width: 1.2em; height: 1.2em; }

/* portrait animation stage */
.hero__stage { position: relative; justify-self: center; width: min(420px, 92%); aspect-ratio: 560 / 996;
  border-radius: 30px; overflow: hidden; background: #0d160d;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(216,179,91,.45), 0 0 70px rgba(216,179,91,.2); }
.hero__canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; image-rendering: auto;
  -webkit-transform: translateZ(0); transform: translateZ(0); }
.hero__scrollcue { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; flex-direction: column;
  align-items: center; gap: 2px; color: #fff; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; opacity: .9; pointer-events: none;
  text-shadow: 0 1px 6px rgba(0,0,0,.6); transition: opacity .4s; }
.hero__scrollcue svg { width: 18px; height: 18px; fill: var(--gold-2); animation: cuebob 1.6s ease-in-out infinite; }
@keyframes cuebob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.hero.scrolled-in .hero__scrollcue { opacity: 0; }
.hero__mascot, .milk-drop, .hero__dots, .hero .slider__arrow { display: none; }

/* ---------- Trust strip ---------- */
.cow-parade { display: none; }
.stats { background: var(--brown); color: #efe2cb; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 46px 0 30px; }
.stat { text-align: center; padding: 12px 10px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 500; font-size: 2.6rem; color: var(--gold-2); }
.stat__label { color: #d8c9ad; font-size: .9rem; letter-spacing: .02em; }
.stats__states { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center;
  padding: 18px 0 8px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,.12); color: #d8c9ad; font-size: .94rem; }
.stats__states .ico { color: var(--gold-2); width: 1.2em; height: 1.2em; }
.stats__states strong { color: var(--gold-2); font-weight: 600; }

/* ---------- About ---------- */
.about { background: var(--cream-2); }
.about__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__media > img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 5/4; object-fit: cover; }
.about__badge { position: absolute; top: 16px; right: -10px; background: var(--gold); color: #2c2008; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: 9px 16px; border-radius: 100px; box-shadow: var(--shadow-md); }
.about__badge .ico { width: 1.1em; height: 1.1em; }
.about__milking { position: absolute; left: -24px; bottom: -30px; width: 210px; background: var(--paper); border-radius: 16px;
  padding: 8px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.about__milking img { width: 100%; height: 150px; object-fit: cover; border-radius: 11px; display: block; }
.about__milking-tag { position: absolute; top: 16px; left: 16px; background: var(--green); color: #fff; font-family: var(--font-head);
  font-weight: 600; font-size: .72rem; padding: 4px 11px; border-radius: 100px; display: inline-flex; align-items: center; gap: 5px; box-shadow: var(--shadow-sm); }
.about__milking-tag svg { width: .95em; height: .95em; fill: #fff; }
.m-fall { position: absolute; z-index: 3; width: 9px; height: 12px; background: #fff; opacity: 0;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; box-shadow: 0 0 5px rgba(255,255,255,.7); pointer-events: none; }
.m-fall.mf1 { left: 40%; top: 48%; animation: mfall 1.8s ease-in infinite; }
.m-fall.mf2 { left: 52%; top: 54%; animation: mfall 2.1s ease-in infinite .7s; }
.m-fall.mf3 { left: 46%; top: 46%; animation: mfall 2s ease-in infinite 1.2s; }
@keyframes mfall { 0% { opacity: 0; transform: translateY(0) scaleY(.7); } 16% { opacity: .95; } 80% { opacity: .9; } 100% { opacity: 0; transform: translateY(54px) scaleY(1.1); } }
.about__content p { color: var(--ink-soft); margin-top: 16px; font-size: 1.06rem; }
.ticks { margin: 24px 0 30px; display: grid; gap: 13px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.ticks .ico { color: var(--cream); background: var(--green); border-radius: 50%; padding: 5px; width: 25px; height: 25px; margin-top: 2px; }

/* ---------- Story / Our Roots ---------- */
.story { background: var(--cream); }
.story__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.story__media { position: relative; }
.story__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/4.4; object-fit: cover; }
.story__media img.story__media--small { position: absolute; width: 46%; aspect-ratio: 1; right: -22px; bottom: -30px; border: 7px solid var(--cream); border-radius: var(--radius-lg); }
.story__est { position: absolute; top: 22px; left: -18px; background: var(--gold); color: #2c2008; font-family: var(--font-head);
  font-weight: 600; padding: 14px 18px; border-radius: 12px; text-align: center; line-height: 1; box-shadow: var(--shadow-md); }
.story__est b { display: block; font-size: 1.7rem; } .story__est span { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; }
.story p { color: var(--ink-soft); margin-top: 18px; font-size: 1.06rem; }
.story__quote { margin-top: 28px; padding: 22px 26px; border-left: 3px solid var(--gold); background: var(--cream-2);
  border-radius: 0 12px 12px 0; font-family: var(--font-head); font-style: italic; font-size: 1.3rem; color: var(--green); }
.story .btn { margin-top: 30px; }

/* ---------- Community / Our Farmer Family ---------- */
.community { background: var(--green-deep); color: #f0e7d4; position: relative; overflow: hidden; }
.community::before { content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(rgba(216,179,91,.5) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.community__inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.community .eyebrow { color: var(--gold-2); }
.community .eyebrow::before { background: var(--gold-2); }
.community__title { color: #fff; font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.community p { color: #e0d5bf; margin-top: 18px; font-size: 1.06rem; }
.community__points { margin: 26px 0 0; display: grid; gap: 14px; }
.community__points li { display: flex; align-items: flex-start; gap: 13px; font-weight: 500; color: #f0e7d4; }
.community__points .ico { color: var(--green-deep); background: var(--gold-2); border-radius: 50%; padding: 5px; width: 26px; height: 26px; margin-top: 2px; }
.community__cta { margin-top: 32px; }
.community__mascot { position: relative; display: grid; place-items: center; }
.community__mascot-frame { width: min(460px, 100%); animation: floaty2 6s ease-in-out infinite;
  background: radial-gradient(circle at 50% 44%, rgba(216,179,91,.16), transparent 60%); }
.community__mascot-frame img { width: 100%; display: block; filter: drop-shadow(0 20px 28px rgba(0,0,0,.4)); }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.community__speech { position: absolute; top: -12px; right: -4px; background: #fff; color: var(--green-deep); font-family: var(--font-head);
  font-style: italic; font-size: .98rem; padding: 12px 18px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow-md); max-width: 220px; z-index: 3; }

/* ---------- Breeds ---------- */
.breeds { background: var(--cream-2); }
.breed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.breed-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.breed-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.breed-card__img { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.breed-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.breed-card:hover .breed-card__img img { transform: scale(1.06); }
.breed-card__tag { position: absolute; top: 12px; left: 12px; background: rgba(32,30,16,.82); color: #f3ecdc; backdrop-filter: blur(3px);
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.breed-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.breed-card__name { font-size: 1.2rem; font-weight: 600; }
.breed-card__desc { color: var(--ink-soft); font-size: .94rem; margin-top: 8px; flex: 1; }
.breed-card__meta { display: flex; flex-direction: column; gap: 1px; margin: 16px 0; padding: 11px 14px; background: var(--cream); border-radius: 10px; }
.breed-card__meta-label { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.breed-card__meta-val { font-weight: 600; color: var(--green); font-size: .95rem; }
.breed-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green); align-self: flex-start; }
.breed-card__cta .ico { transition: transform .2s; }
.breed-card__cta:hover .ico { transform: translateX(4px); }
.breeds__note { text-align: center; margin-top: 44px; color: var(--ink-soft); }

/* ---------- Why ---------- */
.why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__ico { width: 56px; height: 56px; border-radius: 12px; background: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.feature__ico svg { width: 28px; height: 28px; fill: var(--gold-2); }
.feature__title { font-size: 1.22rem; font-weight: 600; margin-bottom: 9px; }
.feature p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Process ---------- */
.process { background: var(--green-deep); color: #f0e7d4; }
.process .eyebrow { color: var(--gold-2); } .process .eyebrow::before { background: var(--gold-2); }
.process .section__title { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 8px; }
.step__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: transparent;
  border: 1.5px solid var(--gold-2); color: var(--gold-2); font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; margin-bottom: 18px; }
.step__title { font-size: 1.2rem; font-weight: 600; margin-bottom: 9px; color: #fff; }
.step p { color: #ccbfa6; font-size: .95rem; }
.steps .step:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: 70px; right: -10px; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(216,179,91,.6) 0 7px, transparent 7px 14px); }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream-2); }
.reviews__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--ink-soft); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.review blockquote { font-size: 1rem; color: var(--ink); line-height: 1.65; flex: 1; }
.review blockquote::before { content: "\201C"; font-family: var(--font-head); color: var(--gold); font-size: 2.6rem; line-height: 0; vertical-align: -.35em; margin-right: 3px; }
.review figcaption { display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--line); padding-top: 14px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 600; background: var(--green); }
.review:nth-child(2) .review__avatar { background: var(--gold); color: #2c2008; }
.review:nth-child(3) .review__avatar { background: var(--brown-2); }
.review:nth-child(4) .review__avatar { background: var(--green-2); }
.review__who { display: flex; flex-direction: column; }
.review__name { font-weight: 600; color: var(--brown); }
.review__loc { font-size: .85rem; color: var(--ink-soft); }
.reviews__cta { text-align: center; margin-top: 44px; }
.reviews__cta .ico { width: 1.3em; height: 1.3em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brown); color: #f3ecdc; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: radial-gradient(rgba(216,179,91,.6) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 56px 0; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band__sub { color: #d8c9ad; margin-top: 8px; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact__list { display: grid; gap: 20px; margin: 28px 0 26px; }
.contact__list li { display: flex; gap: 15px; }
.contact__ico { flex: none; width: 46px; height: 46px; border-radius: 11px; background: var(--green); display: grid; place-items: center; }
.contact__ico svg { width: 22px; height: 22px; fill: var(--gold-2); }
.contact__list div { display: flex; flex-direction: column; }
.contact__label { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.contact__list a { font-weight: 600; color: var(--brown); }
.contact__list a:hover { color: var(--green); }
.socials { margin-top: 8px; }
.socials__row { display: flex; gap: 12px; margin-top: 10px; }
.socials__row a { width: 42px; height: 42px; border-radius: 50%; background: var(--green); display: grid; place-items: center; transition: transform .2s, background .2s; }
.socials__row a svg { width: 20px; height: 20px; fill: #fff; }
.socials__row a:hover { transform: translateY(-3px); background: var(--gold); }

.contact__form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 7px; }
.form__field > span { font-weight: 600; font-size: .88rem; color: var(--brown); }
.form input, .form select, .form textarea { font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--cream-2); transition: border-color .2s, box-shadow .2s; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,74,50,.13); background: #fff; }
.form textarea { resize: vertical; }
.form__status { font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.form__status.ok { color: var(--green); } .form__status.err { color: #b3261e; }
.map { margin-top: 64px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); line-height: 0; }
.map iframe { filter: sepia(.12) saturate(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--brown); color: #c9b89b; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 40px; padding: 70px 0 46px; }
.brand--footer .brand__name { color: #fff; }
.footer__about { margin-top: 18px; font-size: .94rem; color: #b7a585; max-width: 320px; }
.footer__brand .socials__row { margin-top: 20px; }
.footer__brand .socials__row a { background: rgba(255,255,255,.1); }
.footer__title { color: #fff; font-size: 1.02rem; margin-bottom: 18px; font-family: var(--font-head); font-weight: 600; }
.footer__col a, .footer__col span { display: block; color: #bdab8c; font-size: .94rem; margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: var(--gold-2); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; padding: 20px 0; font-size: .85rem; color: #a08e70; flex-wrap: wrap; }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; right: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 0; box-shadow: var(--shadow-lg); transition: transform .2s, opacity .25s, visibility .25s; }
.fab svg { width: 30px; height: 30px; }
.fab--whatsapp { bottom: 24px; background: var(--wa); }
.fab--whatsapp svg { fill: #fff; }
.fab--whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(30,175,87,.5); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,175,87,.45); } 70% { box-shadow: 0 0 0 15px rgba(30,175,87,0); } 100% { box-shadow: 0 0 0 0 rgba(30,175,87,0); } }
.fab--whatsapp:hover { transform: scale(1.08); }
.fab--top { bottom: 90px; background: var(--green); opacity: 0; visibility: hidden; }
.fab--top svg { fill: var(--gold-2); }
.fab--top.show { opacity: 1; visibility: visible; }
.fab--top:hover { transform: translateY(-3px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .community__mascot-frame, .hero__slide, .m-fall { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .breed-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .nav { position: fixed; top: 0; right: -100%; height: 100dvh; width: min(82vw, 340px); background: var(--cream-2);
    flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 94px 26px 30px; gap: 4px;
    box-shadow: var(--shadow-lg); transition: right .3s ease; z-index: 48; overflow-y: auto; }
  .nav.open { right: 0; }
  .nav__link { padding: 14px 12px; border-radius: 8px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 16px 0 0; }
  .hamburger { display: flex; }
  /* mobile hero: grid overlay card, perfectly aligned to top for all devices */
  .hero__seq { height: auto; }
  .hero__sticky { height: auto !important; min-height: 0 !important; position: relative; display: block; overflow: hidden; padding: 24px 0 40px; }
  .hero__inner { position: relative; display: grid; grid-template-columns: 1fr; align-items: start; justify-items: center; padding: 0 16px; z-index: 2; height: auto; }
  .hero__stage { grid-area: 1 / 1; position: relative; top: auto; left: auto; transform: none;
    width: 100%; max-width: 480px; aspect-ratio: 1080/1920; height: auto;
    border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,.5); z-index: 0; overflow: hidden; }
  .hero__stage::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
    background: linear-gradient(0deg, rgba(8,16,8,.92), rgba(8,16,8,.4) 40%, rgba(8,16,8,.5)); }
  .hero__scrollcue { display: none; }
  
  /* Text: perfectly centered inside the grid cell */
  .hero__content.reveal,
  .hero__content.reveal.in { grid-area: 1 / 1; position: relative; z-index: 3; width: 100%; max-width: 600px; text-align: center; margin-inline: auto; padding: 24px 10px; display: flex; flex-direction: column; justify-content: center;
    opacity: 0; -webkit-transform: translateY(20px); transform: translateY(20px);
    -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease; transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none; }
  .hero__content.reveal.show-mobile-text,
  .hero__content.reveal.in.show-mobile-text { opacity: 1 !important; -webkit-transform: translateY(0) !important; transform: translateY(0) !important; pointer-events: auto !important; }
  @media (prefers-reduced-motion: reduce) {
    .hero__content.reveal, .hero__content.reveal.in { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
  }
  .hero__actions, .hero__badges { justify-content: center; }

  /* ANDROID SPECIFIC FIXES (padding-hack fallback, compressed text) */
  @supports not (-webkit-touch-callout: none) {
    .hero__stage { padding-bottom: 177.77%; height: 0; aspect-ratio: auto; }
    .hero__title { font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.05; }
    .hero__subtitle { font-size: .95rem; margin-top: 12px; line-height: 1.4; }
    .hero__pill { margin-bottom: 14px; font-size: .75rem; padding: 6px 12px; }
    .hero__actions { margin-top: 18px; flex-direction: column; width: 100%; max-width: 280px; margin-inline: auto; gap: 10px; }
    .hero__actions .btn { width: 100%; padding: 12px 20px; font-size: .95rem; }
    .hero__badges { margin-top: 18px; gap: 8px 12px; }
    .hero__badges li { font-size: .85rem; }
  }

  .about__inner, .story__inner, .community__inner, .contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .story__media, .community__mascot, .about__media { max-width: 520px; }
  .story__media img:not(.story__media--small) { aspect-ratio: 1 / 1; height: auto; object-position: center; }
  .about__milking { width: 160px; left: -6px; }
  .community__inner { text-align: left; }
  .community__mascot { order: -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 66px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 16px; margin-bottom: 6px; }
  .breed-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .topbar__tagline { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__badges { display: none; }
  .hero__seq { height: 190vh; }
  .story__media img.story__media--small { display: none; }
}
@media (max-width: 420px) {
  .breed-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

/* ===== Cows Slider Gallery (Community Section) ===== */
.community__slider-container {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
  background: var(--brown-2);
}

.community__slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.community__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.community__slide.active {
  opacity: 1;
  visibility: visible;
}

.community__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.dot.active {
  background: var(--gold-2);
  transform: scale(1.2);
}
