/* Arunodya Feeds Private Limited — arunodyafeeds.com
   Brand rule: orange #EF7B2E and green #40AC4C are structural only —
   rules, chevrons, hover, focus rings, small fills. Never large surfaces,
   never as ink on white. Body ink is #1d1b1a. */

:root {
  --ink: #1d1b1a;
  --ink-2: #57514c;
  --ink-3: #6b6259;
  --ground: #ffffff;
  --ground-2: #faf7f4;
  --ground-3: #f2ede8;
  --line: #e6dfd8;
  --line-strong: #9c9084;
  --orange: #ef7b2e;
  --orange-deep: #e0662a;
  --green: #40ac4c;
  --wrap: 1180px;
  --gut: 24px;
  --r: 4px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-2);
  font: 400 15px/1.7 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}

h1, h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration: none; }
/* links inside running copy need a non-colour cue - ink on ink-2 is only 2.19:1 apart */
main p a[href]:not(.btn) {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
main p a[href]:not(.btn):hover { text-decoration-color: currentColor; color: var(--orange-deep); }

:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff; padding: 12px 18px; z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- eyebrow + section heads ---------- */

.eyebrow {
  font: 600 12px/1 "Inter", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--orange);
  flex: none;
}
p.Since span {
    background: rgb(239, 123, 46);
    color: rgb(255, 255, 255);
    border-radius: 99px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
}
p.Since {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    padding: 8px 16px 8px 8px;
    font-size: 13px !important;
    font-weight: 600;
    color: rgb(230, 223, 216);
    margin-bottom: 32px;
}
.section { padding: clamp(64px, 7vw, 116px) 0; }
/* inner pages open on a section, not the hero — less air above the h1 */
main > .section:first-child { padding-top: clamp(48px, 6vw, 76px); }
.section--tint { background: var(--ground-2); }
.section__head { max-width: 640px; margin-bottom: 52px; }
.section__head p { margin-top: 18px; font-size: 18px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r);
  font: 600 15px/1 "Inter", sans-serif;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.btn svg { width: 15px; height: 15px; flex: none; }
/* orange fill carries dark ink — 6.16:1 */
.btn--primary {
     background: var(--orange); 
    /* color: var(--ink); */
     border-color: var(--orange); 
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-size: 15px;
    padding: 15px 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease 0s, box-shadow 0.3s ease 0s;
    justify-content: center;
}
.hero__actions a.btn.btn--primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: rgba(224, 102, 42, 0.8) 0px 14px 30px -10px !important;
    color: rgb(255, 255, 255) !important;
}
.btn--ghost {
    border-color: var(--line);
    /* color: var(--ink); */
    /* background: transparent; */
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgb(28, 26, 23);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 22px;
    border: 1px solid #ef7b2e;
    border-radius: 999px;
    transition: background 0.3s ease 0s, color 0.3s ease 0s, gap 0.3s ease 0s;
}


.btn--ghost:hover { 
background: #ef7b2e !important;
    color: rgb(247, 242, 236) !important;
    gap: 20px !important;
    transform: translateY(-3px) !important;
    box-shadow: rgba(224, 102, 42, 0.8) 0px 14px 30px -10px !important;
}
.btn--onDark { 
    color: rgb(247, 242, 236);
    font-weight: 600;
    font-size: 15px;
    padding: 15px 24px;
    border-radius: 999px;
    border: 1px solid rgba(247, 242, 236, 0.4);
    transition: background 0.3s ease 0s, color 0.3s ease 0s;
 }
.btn--onDark:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- top bar ---------- */

.topbar {
  background: var(--ink);
  color: #cdc6c0;
  font-size: 13.5px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: #cdc6c0; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 22px; }

/* ---------- header ---------- */

/* Solid brand bar with the logo on a white card. --orange-deep, not --orange:
   white text needs 4.5:1 and #ef7b2e only manages 2.78:1. */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--orange-deep);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
/* The logo artwork is orange-on-white, so it carries its own white ground.
   Base state is flush with the bar - see the scroll-driven overhang below. */
.header__logo {
  align-self: flex-start;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 26px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 22px rgba(29,27,26,.14);
}
.header__logo img { height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a {
  font: 600 14px/1 "Inter", sans-serif;
  color: #fff;
  padding: 9px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .16s;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: #fff; }
.menu__panel a[aria-current="page"] { color: var(--orange-deep); }
/* the bar is already the brand colour, so the CTA inverts to white */
.header .btn--primary {
    background: #fff;
    color: var(--orange-deep);
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 999px;
    transition: transform 0.3s ease 0s, background 0.3s ease 0s;
}
.header .btn--primary:hover {
    background: var(--ink);
    color: #fff;
    transform: scale(1.04) !important;
}
/* --orange-deep is invisible against the bar */
.header a:focus-visible, .header summary:focus-visible { outline-color: #fff; outline-offset: 3px; }
.header__logo:focus-visible { outline-color: var(--orange-deep); }

/* The card hangs below the bar at rest and pulls flush as you scroll. It has to
   collapse: the header is sticky, and a permanent 44px overhang would sit on top
   of whatever scrolled under it. Written as a from-only keyframe so the flush
   state above is the fallback whenever the animation does not run - no support,
   or prefers-reduced-motion killing all animation. */
@keyframes logoDrop {
  from { height: 116px; margin-bottom: -44px; padding-bottom: 10px; }
}
@keyframes logoGrow {
  from { height: 84px; }
}
@media (min-width: 861px) {
  @supports (animation-timeline: scroll()) {
    .header__logo {
      animation: logoDrop linear both;
      animation-timeline: scroll(root);
      animation-range: 0 110px;
    }
    /* the img needs its own timeline - the keyframe above is on the card */
    .header__logo img {
      animation: logoGrow linear both;
      animation-timeline: scroll(root);
      animation-range: 0 110px;
    }
  }
}

.menu > summary { color: #fff; }
.menu { display: none; margin-left: auto; }
.menu > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  display: flex;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gut) 22px;
  box-shadow: 0 18px 40px rgba(29,27,26,.12);
}
.menu__panel a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font: 500 16px/1 "Inter", sans-serif;
  color: var(--ink);
}
.menu__panel .btn { margin-top: 18px; width: 100%; justify-content: center; }


/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  opacity: .74;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(29,27,26,.92) 0%, rgba(29,27,26,.78) 34%, rgba(29,27,26,.34) 72%, rgba(29,27,26,.16) 100%);
}
.hero .wrap {
  position: relative; z-index: 2;
  padding-block: clamp(84px, 13vw, 152px);
  max-width: 1180px;
}
.hero__inner { max-width: 720px; }
.hero .eyebrow { color: #f6a86a; }
.hero__inner h1 {
    color: #fff;
    font-size: clamp(38px, 6.2vw, 55px);
    letter-spacing: -0.035em;
    margin-bottom: 16px;
}
.hero__inner h1 em { font-style: normal; color: var(--orange); }
.hero__inner p {
    font-size: clamp(15px, 2vw, 17px);
    color: #ded7d1;
    margin-bottom: 25px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- stats ---------- */

.stats .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*background-color: #fff;*/
    border-radius: 18px;
    position: relative;
    margin-top: 40px;
}
.stat {
    padding: 85px 32px 36px 0;
    padding-left: 28px;
    text-align: center;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__l { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); line-height: 1.45; }

section.stats .wrap:before {
    content: "";
    background: #e0662a;
    height: 2px;
    position: absolute;
    top: 26px;
    left: 0;
    right: 0;
}
.wrap .stat:before {
    content: "";
    z-index: 1;
    background: #fff;
    border: 3px solid #e0662a;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 52px;
    right: 0;
    left: 46%;
}
.wrap .stat:after {
    content: "";
    background: #e0662a;
    width: 2px;
    height: 31px;
    position: absolute;
    top: 28px;
    right: 0;
    left: 48.5%;
}

section.stats.wow.fadeInDown.animated.animated {
    position: relative;
    z-index: 9;
}
.stat {
    position: relative;
}


/* ---------- generic split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split--narrowImg { grid-template-columns: 0.9fr 1.1fr; }
.split__media img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0s;
    position: relative;
    z-index: 9;
}
.split__media img:hover {
    transform: translate(-10px, -10px) !important;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0s;
}
p.quote-block {
    border-left: 4px solid #ef7b2e;
    padding: .75rem 1.25rem;
    background: #F7F2EC;
    color: #334155;
    font-style: italic;
    font-size: 14px;
}

.split__media { position: relative; }
.split__media::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: -24px;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid #ef7b2e;
    z-index: 1;
}
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.facts li { position: relative; padding-left: 28px; font-size: 16px; }
.facts li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

/* ---------- product families ---------- */
section.section.section--tint {
    padding: clamp(64px, 4vw, 116px) 0;
}

.families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.family {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.family:hover {
    border-color: #d4c9bd;
    /* box-shadow: 0 14px 34px rgba(29, 27, 26, .09); */
    transform: translateY(-3px);
    box-shadow: 0 36px 72px -12px rgba(0, 0, 0, .18), 0 0 0 0px #5cd0aa;
}
.family__img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(311deg, #fff8f0 0%, #ffe9d4 50%, #ffd4a8 100%);
}
.family__body {
    padding: 22px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.family__body :is(h2, h3) { margin-bottom: 6px; font-size: 21px; }

.family__count {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    padding: 4px 10px;
    border: 1px solid #e76331;
    border-radius: 999px;
    background: #e76331;
    font: 600 11px / 1.35 "Inter", sans-serif;
    letter-spacing: .04em;
    color: #ffffff;
    white-space: nowrap;
}
.family__kicker { font-size: 13.5px; color: var(--ink-3); margin-bottom: 20px; }

.family--link { color: inherit; }
.family--link p { font-size: 15.5px; }
.family__more {
  margin-top: auto;
  padding-top: 20px;
  font: 600 14.5px/1 "Inter", sans-serif;
  color: var(--orange-deep);
}
.family__more::after { content: " \2192"; }
.family__more::after { display: inline-block; transition: transform .2s; }
.family--link:hover .family__more { text-decoration: underline; text-underline-offset: 3px; }
.family--link:hover .family__more::after { transform: translateX(4px); }
.family__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.family__list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.family__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); flex: none; }

/* ---------- cattle & swine ranges ---------- */

/* brochure bag artwork, cut out on transparency — it needs air, not a frame */
.range__art { display: block; width: 100%; height: auto; max-width: 980px; margin: 0 auto 44px; }

.rangeHead { font-size: 26px; margin-top: 72px; }
/* the first one opens the page, the section head already carries the air */
.section__head + .rangeHead { margin-top: 0; }
.rangeLead { margin-top: 14px; max-width: 72ch; }
.rangeNote { margin-top: 22px; font-size: 14.5px; color: var(--ink-3); max-width: 78ch; }

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.tblWrap { overflow-x: auto; }
.tblWrap:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.tbl {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15.5px;
}
.tbl caption.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.tbl caption {
  text-align: left;
  font: 600 12px/1 "Inter", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 14px;
}
.tbl th, .tbl td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl thead th {
    font: 600 12px / 1.3 "Inter", sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffffff;
    background: #e76331;
    white-space: nowrap;
}
.tbl tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.tbl td { color: var(--ink-2); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl--sm { font-size: 14.5px; }
.tbl--sm th, .tbl--sm td { padding: 9px 14px; }
tr:nth-child(even) {background: #f7f2ecc4}
tr:nth-child(odd) {background: #fff}
table tr:hover {
  background-color: #f7f2ec; 
}
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
          border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stage { background: #fff; padding: 28px 26px 30px; }
.stage h3 { font: 700 19px/1.25 "Archivo", sans-serif; color: var(--ink); }
.stage__age {
  margin: 8px 0 16px;
  font: 600 12px/1 "Inter", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.stage p:last-child { font-size: 15px; margin: 0; }

.swine { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 44px; margin-bottom: 56px; }
.sw {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 26px;
    align-items: start;
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 1px 18px rgba(0, 0, 0, .07);
    padding: 30px;
    border-bottom: 3px solid #e76331;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sw:hover{
  transform: translateY(-3px);
    box-shadow: 0 36px 72px -12px rgba(0, 0, 0, .18), 0 0 0 0px #5cd0aa;
}
.sw img { width: 100%; height: auto; }
.sw :is(h2, h3) { font-size: 20px; margin-bottom: 12px; }
.sw ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sw li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.sw li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 1px;
  background: var(--orange);
}


/* ---------- cross-page cta ---------- */

.cta { background: var(--ground-2); border-top: 1px solid var(--line); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: 28px; }
.cta p { margin-top: 12px; max-width: 56ch; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn--ghost { background: #fff; }

/* ---------- feed plan calculator ---------- */

.calc {
    border: 1px solid #e0662a;
    border-radius: 25px;
    background: #fff8f0;
    padding: 32px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    width: 100%;
    max-width: 66%;
    margin: 0 auto;
}
h3.Daily {
    margin-bottom: 26px;
    font-weight: 700;
    text-align: justify;
}
button.btn.btn--primary.Find {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 22px;
    font-weight: 800;
}

.calc-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .calc-grid {
    display: grid;
    gap: 1.25rem;
}
.calc-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.calc-label {
    font-weight: 700;
    font-size: .85rem;
    color: #1d1b1a;
    letter-spacing: .02em;
}
.calc-input, .calc-select {
    padding: .7rem 1rem;
    border: 1.5px solid #e6dfd8;
    border-radius: 12px;
    font-size: .9rem;
    color: #000;
    background: #fff;
    transition: border-color .25s, box-shadow .25s;
    width: 100%;
}
.calc__form {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr auto;
  gap: 18px;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field__l {
  font: 600 12px/1 "Inter", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field select, .field input {
  font: 400 16px/1.2 "Inter", sans-serif;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 0 14px;
  height: 48px;
  width: 100%;
  transition: border-color .2s;
}
.field select:hover, .field input:hover { border-color: var(--ink-3); }
.field select:focus-visible, .field input:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 1px;
  border-color: var(--orange-deep);
}
.calc__form--2 { grid-template-columns: 1.1fr 1fr auto; }
.calc__form--3 { grid-template-columns: repeat(3, 1fr) auto; }
.calc__form--4 { grid-template-columns: repeat(4, 1fr) auto; }
.calc__form .btn { height: 48px; }

/* tabs are radios + labels, so switching panes needs no script */
.calc__modes { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc__tab {
  display: inline-block;
  font: 600 13px/1 "Inter", sans-serif;
  padding: 12px 16px;
  margin: 0 8px 8px 0;
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.calc__tab:hover { border-color: var(--ink-3); color: var(--ink); }
input:checked + .calc__tab { background: var(--ink); border-color: var(--ink); color: #fff; }
input:focus-visible + .calc__tab { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.calc__panes { margin-top: 22px; }
.calc__pane { display: none; }
#mode-daily:checked ~ .calc__panes #pane-daily,
#mode-cycle:checked ~ .calc__panes #pane-cycle,
#mode-milk:checked ~ .calc__panes #pane-milk 
{ display: block; }

.calc__panel:empty { display: none; }
.calc__panel {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.calc__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.calc__grid--3 { grid-template-columns: repeat(3, 1fr); }
.calc__grid + .tblWrap { margin-top: 28px; }
.calc__grid > div { padding-right: 20px; }
.calc__grid > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.calc__k {
  font: 600 12px/1 "Inter", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.calc__v { font: 700 30px/1.1 "Archivo", sans-serif; color: var(--ink); }
.calc__rec {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--orange);
  font-size: 17px;
  color: var(--ink-2);
}
.calc__rec strong { color: var(--ink); }
.calc__sub { color: var(--ink-3); font-size: 15px; }
.calc__err { color: var(--orange-deep); font-weight: 500; }
.calc__note { margin-top: 24px; font-size: 13.5px; color: var(--ink-3); max-width: 72ch; }

/*.finder-wap {
    background-color: #1c1a17;
    border-radius: 25px;
    color: #fff;
}*/

fieldset.calc__modes.tabs24 {
    text-align: center;
}
fieldset.calc__modes.tabs24 input:checked + .calc__tab {
    background: #e76331;
    color: #fff;
    border: 1px solid #e76331;
}
fieldset.calc__modes.tabs24 .calc__tab {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 12px 22px;
    border: 1px solid #9c9084;
    background-color: transparent;
    color: #fff;
}
fieldset.tabs.tabs-24 {
    text-align: center;
}
.calc-grid.calc-grid-2 {
    text-align: justify;
}
.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    background: #f0e7de;
    border-radius: 15px;
    overflow: hidden;
}
.gf-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    /*box-shadow: 0 12px 40px rgba(18, 33, 63, .07);*/
    padding: 32px 30px 34px 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    transition: transform .35s, box-shadow .35s;
}
.gf-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.gf-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.gf-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 80px;
    border-radius: 58% 42% 52% 48% / 55% 58% 42% 45%;
    background: #e0662a;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    box-shadow: 0 10px 22px #e0662a52;
}
.gf-tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.gf-card h3 {
    margin: 28px 0 14px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.3px;
    line-height: 1.2;
    text-wrap: pretty;
}
.gf-card p {
    margin: 0;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    text-wrap: pretty;
}
.gf-line {
    margin-top: auto;
    padding-top: 26px;
    display: flex;
    gap: 6px;
}
.gf-line span:first-child {
    width: 44px;
}
.gf-line span {
    height: 4px;
    border-radius: 4px;
    background: #e0662a;
}
.gf-line span:last-child {
    width: 10px;
    opacity: .35;
}
.gf-img {
    position: relative;
    z-index: 1;
    width: clamp(150px, 10vw, 200px);
    height: clamp(150px, 10vw, 200px);
    margin-top: 6px;
}
.gf-img::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px dashed #e0662a;
}
.gf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px -2px 17px 2px rgb(213 204 194);
}
.gf-img img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
        box-shadow: 0 8px 49px #e0662a38;
}
.gf-card::after {
    content: attr(data-num);
    position: absolute;
    right: 16px;
    bottom: 8px;
    font-size: 76px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px #e7633121;
    pointer-events: none;
}





/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq--tight { margin-top: 56px; max-width: none; }
.faq--tight .tblWrap { margin-top: 18px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font: 600 18px/1.4 "Archivo", sans-serif;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 29px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); top: 33px; }
.faq__item summary:hover { color: var(--orange-deep); }
.faq__item summary:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.faq__item > div { padding: 0 44px 24px 0; }
.faq__item p { margin: 0; max-width: 72ch; }

/* ---------- whatsapp ---------- */

.wa {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 40;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-content: center;
  background: #1a9e4b;
  color: #fff;
  box-shadow: 0 10px 26px rgba(29,27,26,.24);
  transition: transform .2s, box-shadow .2s;
}
.wa svg { width: 30px; height: 30px; }
.wa:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(29,27,26,.3); }
.wa:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- competencies ---------- */

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: #f0e7de;
    border-radius: 15px;
    overflow: hidden;
}
.sc-interp {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.sc-interp .cell__n {
    font-weight: 800;
    font-size: 48px;
    line-height: 0.8;
    letter-spacing: -0.06em;
    font-family: "Archivo", "Inter", system-ui, sans-serif;
}
span.arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid currentcolor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0.6;
}
.cell { background: var(--ground); padding: 36px 32px 40px; }
.section--tint .cell {
    background: rgb(247, 242, 236);
    color: rgb(28, 26, 23);
    border-radius: 22px;
    padding: 24px;
    transition: background 0.45s ease 0s, color 0.45s ease 0s, transform 0.45s ease 0s;
}
.cell:hover {
    background: rgb(28, 26, 23) !important;
    color: rgb(247, 242, 236) !important;
    transform: rotate(-1deg) translateY(-4px) !important;
}
.cell:hover h3 {
    color: #fff !important;
    transition: background 0.45s ease 0s, color 0.45s ease 0s, transform 0.45s ease 0s;
}
section#leadership {
    padding: 0 0 100px;
}

.cell__n {
  font: 600 12px/1 "Inter", sans-serif;
  letter-spacing: .14em;
  color: var(--orange-deep);
  margin-bottom: 18px;
}
.cell h3 { margin-bottom: 12px; }
.cell p { font-size: 15.5px; }

section.section--tint {
    background-color: #efe7dd;
}
section.values {
    background: rgb(250, 247, 244);
}
section.values .grid3 {
    background: #faf7f4;
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: #faf7f4;
    border-radius: 15px;
    overflow: hidden;
}

.cell2 {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(236, 230, 223);
    border-radius: 20px;
    padding: 30px;
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0s, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0s, box-shadow 0.3s ease 0s, border-color 0.3s ease 0s;
}

.grid4 .cell__n {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgb(251, 227, 210);
    color: rgb(183, 80, 15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 28px;
    letter-spacing: 0;
}
.cell2:hover {
    transform: translateY(-4px) !important;
    box-shadow: rgba(29, 27, 26, 0.08) 0px 20px 40px !important;
    border-color: rgb(243, 195, 160) !important;
}



/* ---------- gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--ground-3); }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .45s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure.is-contain img { object-fit: contain; background: #fff; padding: 16px; }
.gallery figure.is-contain:hover img { transform: none; }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(29,27,26,.85));
  color: #fff;
  font: 500 14px/1.3 "Inter", sans-serif;
}

/* ---------- leadership: the two named faces ---------- */

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 34px); max-width: 880px; margin-inline: auto; }
.people figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--ground-2); }
.people img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .45s ease; }
.people figure:hover img { transform: scale(1.04); }
.people figcaption { padding: 26px 28px 30px; text-align: left; }
.people figcaption strong { display: block; font: 600 20px/1.25 "Archivo", sans-serif; color: var(--ink); }
.people figcaption span { display: block; margin-top: 8px; font: 600 12px/1.3 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); }

/* ---------- band ---------- */

.band { background: var(--ink); color: #ded7d1; }
.band h1, .band h2 { color: #fff; }
/* A page that opens on the dark band (quality.html): clear the white logo card that hangs below the header. */
main > .band:first-child { padding-top: 116px; }
.band .eyebrow { color: #f6a86a; }
.band .split__media::after { border-color: var(--orange); }
.band .facts li { color: #ded7d1; }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact__rows { list-style: none; margin: 32px 0 0; padding: 0; }
.contact__rows li { padding: 20px 0; border-top: 1px solid var(--line); }
.contact__rows li:last-child { border-bottom: 1px solid var(--line); }
.contact__label { font: 600 11.5px/1 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.contact__value { font-family: "Archivo", sans-serif; font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
a.contact__value:hover { color: var(--orange-deep); }
.map { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 460px; border: 0; }
.map__load {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 460px;
  padding: 24px;
  text-align: center;
  background: var(--ground-2);
  font: 600 16px/1.4 "Inter", sans-serif;
  transition: background .2s;
}
.map__load:hover { background: #efe7df; }
.map__load svg { color: var(--orange-deep); }
.map__load small { font-weight: 400; font-size: 14px; color: var(--ink-3); max-width: 34ch; }

/* ---------- footer ---------- */

.footer { background: var(--ink); color: #9d958e; font-size: 15px; padding: 64px 0 0; }
.footer a { color: #cdc6c0; }
.footer a:hover { color: var(--orange); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer__logo { height: 54px; width: auto; margin-bottom: 22px; }
.footer :is(h2, h4) { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; font-family: "Inter", sans-serif; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 24px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px;
}


/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 1000px) {
  .families, .grid3, .stages { grid-template-columns: repeat(2, 1fr); }
  .rangeHead { margin-top: 56px; }
  .calc__form { grid-template-columns: 1fr 1fr; }
  .calc__form .btn { grid-column: 1 / -1; justify-content: center; }
  .calc__grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .calc__grid > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .header > .wrap > .btn { display: none; }
  .menu { display: block; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 20px; border-left: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .split, .split--narrowImg, .contact { grid-template-columns: 1fr; }
  .split--flip .split__media { order: -1; }
  .map iframe, .map__load { height: 340px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .families, .grid3, .stages, .swine { grid-template-columns: 1fr; }
  .tbl th, .tbl td { padding: 11px 12px; font-size: 14.5px; }
  .tbl thead th, .tbl tbody th { white-space: normal; }
  .tbl--sm th, .tbl--sm td { padding: 9px 10px; font-size: 13.5px; }
  .sw { grid-template-columns: 96px 1fr; gap: 18px; }
  .rangeHead { font-size: 22px; }
  .cta { padding-top: 52px; padding-bottom: 52px; }
  .cta h2 { font-size: 23px; }
  .calc { padding: 24px 20px; }
  .calc__form { grid-template-columns: 1fr; }
  .calc__grid { grid-template-columns: 1fr; row-gap: 20px; }
  .calc__grid > div + div { padding-left: 0; border-left: 0; }
  .calc__v { font-size: 26px; }
  .wa { right: 16px; bottom: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  /* centred body copy goes ragged on a phone — only the desktop head is centred */
  .section__head--center { text-align: left; }
  .section__head--center .eyebrow { justify-content: flex-start; }
  .people { grid-template-columns: 1fr; }
  .people figcaption { padding: 20px 20px 24px; }
  .people figcaption strong { font-size: 17px; }
  .people figcaption span { font-size: 11px; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .topbar__links { gap: 14px; font-size: 12.5px; }
  .header .wrap { min-height: 62px; gap: 16px; }
  .header__logo { height: 62px; padding: 0 16px; }
  .header__logo img { height: 38px; }
}

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

/* ---------- contact: photo of the gate ---------- */

.section--flush { padding-top: 0; }
.gateShot { margin: 0; }
.gateShot img { width: 100%; height: auto; border-radius: var(--r); display: block; }
.gateShot figcaption { margin-top: 14px; font-size: 14.5px; color: var(--ink-3); }

/* two live numbers on the contact card — stack them, don't run them together */
.contact__rows a.contact__value { display: block; }
.contact__rows a.contact__value + a.contact__value { margin-top: 6px; }

/* ---------- tabs (knowledge hub) ----------
   Same radio-and-label trick the calculator uses, generalised. No JS, so the
   tabs work before — and without — any script. */

.tabs { border: 0; padding: 0; margin: 0; min-width: 0; }
.tab {
  display: inline-block;
  margin: 0 8px 10px 0;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  font: 600 14.5px/1 "Inter", sans-serif;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.tab:hover { border-color: var(--ink-3); color: var(--ink); }
.tabs input:checked + .tab { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs input:focus-visible + .tab { outline: 2px solid var(--orange-deep); outline-offset: 3px; }

.panes { margin-top: 30px; }
.pane { display: none; }
#kb-feeding:checked ~ .panes #pane-kb-feeding,
#kb-storage:checked ~ .panes #pane-kb-storage,
#kb-health:checked ~ .panes #pane-kb-health,
#kb-cost:checked ~ .panes #pane-kb-cost { display: block; }

/* on the dark band the outline treatment has to flip */
.band .tab { border-color: #554d47; color: #ded7d1; }
.band .tab:hover { border-color: #8d837c; color: #fff; }
.band .tabs input:checked + .tab { background: #fff; color: var(--ink); border-color: #fff; }
.band .tabs { text-align: center; }
.band .panes { text-align: left; }

section.Difference {
    padding-top: 50px;
    background: var(--ink);
    padding-bottom: 70px;
}
fieldset.tabs.tabs23 {
    text-align: center;
}
.tabs.tabs23 input:checked + .tab {
    background: #e76331;
    color: #fff;
    border-color: var(--ink);
}
.tabs.tabs23 .tab {
    color: #ffffff;
}
.explainer-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}
.explainer-layout {
    grid-template-columns: 1fr 1fr;
}

.cartoon-stage {
    background: linear-gradient(180deg, #87ceeb 0%, #e8f5e9 60%, #c8e6c9 100%);
    border-radius: 25px;
    height: 280px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .3);
}
.cs-sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #e76331bf, #fff8f1);
}
/*.cs-ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(180deg, #c8e6c9, #a5d6a7);
}*/
   @keyframes cloudDrift {

      0%,
      100% {
        transform: translateX(0)
      }

      50% {
        transform: translateX(15px)
      }
    }
.cs-sun {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: radial-gradient(#fde68a, #fbbf24);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(251, 191, 36, .5);
}
.cs-c1 {
    top: 20px;
    left: 8%;
    width: 80px;
    height: 25px;
    animation: cloudDrift 15s ease-in-out infinite;
}
.cs-cloud {
    position: absolute;
    background: #fff;
    border-radius: 50px;
    opacity: .23;
}
.stage-bar-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cs-c2 {
    top: 35px;
    left: 25%;
    width: 60px;
    height: 20px;
    animation: cloudDrift 20s ease-in-out infinite .5s;
    opacity: .2;
}
.stage-bars {
    position: absolute;
    left: 22px;
    bottom: 29%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 300px;
    text-align: justify;
}
.stage-bar-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stage-bar-label {
    font-size: 12px;
    color: rgb(0 0 0);
    font-weight: 500;
}
.stage-bar-track {
    height: 5px;
    background: rgba(0, 0, 0, .1);
    border-radius: 3px;
    overflow: hidden;
}
.stage-bar-fill {
    height: 100%;
    border-radius: 3px;
    width: 0;
    transition: width 1.5s cubic-bezier(.4, 0, .2, 1);
}
.bar-energy {
    background: linear-gradient(90deg, #37c496, #18916a);
}
.bar-health {
    background: linear-gradient(90deg, #fbbf24, #d97706);
}
.bar-strength {
    background: linear-gradient(90deg, #60a5fa, #2563eb);
}
.bar-milk {
    background: linear-gradient(90deg, #f472b6, #db2777);
}
.stage-animal {
    position: absolute;
    right: 7%;
    bottom: 27%;
    z-index: 2;
    animation: cowFloat 3s ease-in-out infinite;
}
   @keyframes cowFloat {

      0%,
      100% {
        transform: translateY(0)
      }

      50% {
        transform: translateY(-8px)
      }
    }
.stage-bowl {
    position: absolute;
    font-size: 2rem;
    z-index: 2;
}
.stage-happy {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, .95);
    border-radius: 33px;
    padding: .4rem .75rem;
    font-size: .75rem;
    font-weight: 700;
    color: #e76331;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
}
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: justify;
}
.step-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all .3s;
}
.step-num-green {
    background: #e76331;
    color: #fff;
}
.step-num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    flex-shrink: 0;
}
.step-text h4 {
    font-size: .95rem;
    color: #fff;
    margin-bottom: .25rem;
}
.step-text p {
    font-size: .85rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.5;
}
section.Difference h2#why-h {
    color: #fff;
}





/* ---------- smart finder results ---------- */

.finds { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line);
         border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.find { background: var(--ground); padding: 20px 24px 22px; }
.find__name {
  font: 700 19px/1.25 "Archivo", sans-serif; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px;
}
.find__name:hover { color: var(--orange-deep); text-decoration-color: currentColor; }
.find__meta { margin: 7px 0 0; font-size: 13.5px; color: var(--ink-3); }
.find__use { margin: 9px 0 0; font-size: 15px; }

/* ---------- comparison ---------- */

.cmp td { color: var(--ink-2); }
.cmp--diff th, .cmp--diff td { background: #fdf6ef; }
.cmp--diff td { color: var(--ink); font-weight: 500; }

/* ---------- ask our experts drawer ---------- */

/* The checkbox is the last thing in the document, so as a plain .sr it takes
   focus on the label click and the browser scrolls the page to the footer
   behind the drawer. Fixed keeps it clipped, invisible and already on screen. */
#experts-open { position: fixed; top: 0; left: 0; }

.experts__tab {
  position: fixed; right: 0; top: 50%; z-index: 105;
  transform: translateY(-50%) translateX(0);
  transform-origin: right center;
  display: flex; align-items: center; gap: 9px;
  padding: 13px 16px 13px 18px;
  background: var(--ink); color: #fff;
  border-radius: var(--r) 0 0 var(--r);
  font: 600 13.5px/1 "Inter", sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(29, 27, 26, .28);
  transition: background .18s, opacity .18s;
}
.experts__tab:hover { background: #2f2a26; }
.experts__tab svg { width: 18px; height: 18px; flex: none; color: var(--orange); }
#experts-open:focus-visible + .experts__tab { outline: 2px solid var(--orange-deep); outline-offset: 3px; }

.experts {
  position: fixed; inset: 0 0 0 auto; z-index: 110;
  width: min(420px, 100%);
  background: var(--ground);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 50px rgba(29, 27, 26, .18);
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .28s ease, visibility .28s;
}
#experts-open:checked ~ .experts { visibility: visible; transform: none; }
#experts-open:checked ~ .experts__tab { opacity: 0; pointer-events: none; }

.experts__inner { padding: 34px 32px 40px; }
.experts__inner h2 { font-size: 26px; margin-bottom: 16px; }
.experts__inner p { font-size: 15.5px; }
.experts__x {
  position: absolute; right: 18px; top: 18px;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink-2); cursor: pointer;
}
.experts__x:hover { border-color: var(--ink-3); color: var(--ink); }
.experts__x svg { width: 17px; height: 17px; }
.experts__rows { list-style: none; margin: 28px 0; padding: 0; }
.experts__rows li { padding: 16px 0; border-top: 1px solid var(--line); }
.experts__rows li:last-child { border-bottom: 1px solid var(--line); }
.experts__rows span {
  display: block; margin-bottom: 7px;
  font: 600 11.5px/1 "Inter", sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
.experts__rows a {
  display: block; font-family: "Archivo", sans-serif; font-size: 18px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
}
.experts__rows a + a { margin-top: 5px; }
.experts__rows a:hover { color: var(--orange-deep); }
.experts__foot { margin-top: 26px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- responsive: the sections above ----------
   Stated here, after their base rules — the shared media blocks further up the
   file lose to any same-specificity rule written below them. */

@media (max-width: 640px) {
  .experts__tab { padding: 14px; }
  .experts__tab span { display: none; }
  .experts__inner { padding: 28px 22px 34px; }
}

/* ---------- scroll reveal ----------
   Native CSS scroll-driven animation, no JS and no library. This matters:
   the standard way to do this (Elementor, AOS, IntersectionObserver) parks
   content at opacity:0 and waits for script — if the script is slow or dead
   the page renders blank. Here a browser without `view()` support, or a
   reader who asked for less motion, simply gets the finished state. */

@keyframes rv-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* :where() gate, so motion.js can hand the reveal to anime.js without the
       two animating the same opacity. :is() keeps the specificity where it was. */
/*    :where(html:not(.motion)) :is(
    .section__head, .family, .split__media, .split > div:not(.split__media),
    .stat, .gallery figure, .rangeHead, .rangeLead, .range__art,
    .stage, .sw, .cta__inner, .gateShot, .faq__item,
    .cell, .find) {
      animation: rv-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;

    }*/

    /* stagger: the later card starts its range later, so the row resolves
       left to right instead of all at once */
    /* staggered only where the items are small — a 790px-tall product card
       straddling the fold would still be mid-fade when the page settles */
    .gallery figure:nth-child(4n+2), .stages .stage:nth-child(2) { animation-range: entry 8% entry 48%; }
    .gallery figure:nth-child(4n+3), .stages .stage:nth-child(3) { animation-range: entry 16% entry 56%; }
    .gallery figure:nth-child(4n), .stages .stage:nth-child(4) { animation-range: entry 24% entry 64%; }
    .stats .stat:nth-child(2) { animation-range: entry 6% entry 46%; }
    .stats .stat:nth-child(3) { animation-range: entry 12% entry 52%; }
    .stats .stat:nth-child(4) { animation-range: entry 18% entry 58%; }
    .grid3 .cell:nth-child(3n+2) { animation-range: entry 8% entry 48%; }
    .grid3 .cell:nth-child(3n) { animation-range: entry 16% entry 56%; }
  }
}


/* ===== Slider container ===== */
  .slider {
    position: relative;
    width: 100%;
    height: 88vh;
    overflow: hidden;
  }

  /* ===== Har ek slide ===== */
  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s;
  }
  .slide.active {
    opacity: 1;
    visibility: visible;
  }

  /* Background image - active hone par dheere zoom hoti hai (Ken Burns effect) */
  .slide .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #2c3440; /* image load na ho to fallback */
    transform: scale(1.15);
    transition: transform 7s ease-out;
  }
  .slide.active .bg { transform: scale(1); }

  /* Image ke upar dark layer taaki text saaf dikhe */
  .slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,12,18,.8) 0%, rgba(10,12,18,.35) 60%, rgba(10,12,18,.1) 100%);
  }

  /* ===== Text content ===== */
  .content {
    position: absolute;
    z-index: 2;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 720px;
    padding-right: 24px;
  }

  .content .place {
    font-size: 1rem;
    color: #f5c96b;
    margin-bottom: 12px;
  }
 /* .content h1 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
    margin-bottom: 32px;
  }
  .content .btn {
    display: inline-block;
    padding: 14px 30px;
    background: #f5c96b;
    color: #1a1d24;
    font-weight: 500;
    text-decoration: none;
    border-radius: 40px;
    transition: background .3s, transform .3s;
  }*/
  /*.content .btn:hover { background: #fff; transform: translateY(-2px); }*/

  /* Text animation: har element niche se upar aata hai, thoda delay ke saath */
  .content > * {
    opacity: 0;
    transform: translateY(40px);
  }
  .slide.active .content > * {
    animation: textUp .8s ease forwards;
  }
  .slide.active .content > *:nth-child(1) { animation-delay: .3s; }
  .slide.active .content > *:nth-child(2) { animation-delay: .5s; }
  .slide.active .content > *:nth-child(3) { animation-delay: .7s; }
  .slide.active .content > *:nth-child(4) { animation-delay: .9s; }

  @keyframes textUp {
    to { opacity: 1; transform: translateY(0); }
  }

  /* ===== Prev / Next buttons ===== */
  .nav-btn {
    position: absolute;
    z-index: 5;
    bottom: 40px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background .2s, border-color .2s;
        padding: 0px 8px 13px;
  }
  .nav-btn:hover { background: #e0662a; border-color: #e0662a; color: #1a1d24; }
  .prev { right: 110px; }
  .next { right: 40px; }

  /* ===== Dots ===== */
  .dots {
    position: absolute;
    z-index: 5;
    left: 8%;
    bottom: 55px;
    display: flex;
    gap: 10px;
  }
  .dot {
    width: 36px;
    height: 4px;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,.3);
    cursor: pointer;
    overflow: hidden;
    position: relative;
  }
  /* Active dot mein progress bar bharti hai */
  .dot::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background: #e0662a;
  }
  .dot.active::before {
    animation: progress var(--duration) linear forwards;
  }
  .slider.paused .dot.active::before { animation-play-state: paused; }

  @keyframes progress { to { width: 100%; } }

  button:focus-visible, .btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
  }

  /* ===== Mobile ===== */
  @media (max-width: 600px) {
    .content { left: 6%; top: 45%; }
    .content p { font-size: 1rem; }
    .dots { left: 6%; bottom: 110px; }
    .nav-btn { bottom: 30px; width: 48px; height: 48px; }
    .prev { right: auto; left: 6%; }
    .next { right: auto; left: calc(6% + 60px); }
  }

  /* Jo log animation kam chahte hain unke liye */
  @media (prefers-reduced-motion: reduce) {
    .slide .bg { transition: none; transform: none; }
    .slide.active .content > * { animation: none; opacity: 1; transform: none; }
  }



  /* ---------- Section ---------- */
.video-section {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 80px) 16px;
    text-align: center;
}
  /* ---------- Thumbnail ---------- */
  .thumb {
    background: var(--navy);
    border-radius: clamp(10px, 2vw, 18px);
    padding: clamp(8px, 1.5vw, 14px);
    box-shadow: 0 24px 50px -24px rgba(13, 36, 56, .55);
  }
  .thumb__bar { display: flex; gap: 7px; padding: 2px 4px 10px; }
  .thumb__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--navy-soft); }
  .thumb__screen {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
  }
  .thumb__screen video {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    pointer-events: none;
    opacity: .75;
  }

  /* Play button with pulse */
  .play-btn {
    position: absolute; inset: 0; margin: auto;
    width: clamp(56px, 10vw, 84px); height: clamp(56px, 10vw, 84px);
    border: none; border-radius: 50%;
    background: #e0662a; 
    color: #fff;
    cursor: pointer;
    display: grid; place-items: center;
    transition: transform .25s, background .25s;
  }
  .play-btn:hover { background: var(--green-dark); transform: scale(1.08); }
  .play-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
  .play-btn svg { width: 40%; height: 40%; margin-left: 4px; }
  .play-btn::before, .play-btn::after {
    content: ""; position: absolute; inset: 0;
    border-radius: 50%; border: 2px solid #e0662a;
    animation: pulse 2.2s ease-out infinite;
  }
  .play-btn::after { animation-delay: 1.1s; }
  @keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }

  /* ---------- Popup ---------- */
  .modal {
    position: fixed; inset: 0;
    z-index: 1000;
    display: grid; place-items: center;
    padding: 16px;
    background: rgba(8, 22, 35, .85);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .modal.open { opacity: 1; visibility: visible; }

  .modal__box {
    position: relative;
    width: min(1000px, 100%);
    transform: scale(.85) translateY(20px);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1.1);
  }
  .modal.open .modal__box { transform: none; }

  .modal__video {
    aspect-ratio: 16 / 9;
    max-height: 85vh;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  }
  .modal__video video {
    width: 100%; height: 100%;
    object-fit: contain; display: block;
  }

  .close-btn {
    position: absolute;
    top: -48px; right: 0;
    width: 40px; height: 40px;
    border: none; border-radius: 50%;
    background: #fff; color: var(--navy);
    cursor: pointer;
    display: grid; place-items: center;
    transition: transform .25s, background .25s;
  }
  .close-btn:hover { transform: rotate(90deg); background: #e3f3ee; }
  .close-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
  .close-btn svg { width: 18px; height: 18px; }

  @media (max-width: 600px) {
    .close-btn { top: -44px; width: 36px; height: 36px; }
  }

  /* ---------- Scroll reveal ---------- */
  .in-view .reveal { animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 120ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
  }

  .calc-grid.calc-grid-2.calc-grid-222 {
    grid-template-columns: repeat(3, 1fr);
}
/* Breathing room between the selects and the orange comparison table. */
#cmpOut { margin-top: 28px; }
#find-out:not(:empty) { margin-top: 28px; }

/* Three selects side by side do not fit a phone: stack them. */
@media (max-width: 640px) {
  .calc-grid.calc-grid-2.calc-grid-222 { grid-template-columns: 1fr; }
}

.nc-cmp-placeholder {
    text-align: center;
    margin-top: 30px;
    color: #000;
}

.nc-cmp-placeholder p{
    color: #000;
}
section#Compare {
    background-color: #efe7dd;
    padding: clamp(64px, 4vw, 116px) 0;
}


