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

:root {
  --livestock-cream: #f6f0e4;
  --livestock-cream-deep: #efe6d8;
  --livestock-ink: #1f251d;
  --livestock-muted: #5c6557;
  --livestock-line: rgba(37, 57, 43, 0.12);
  --livestock-primary: #194d7a;
  --livestock-accent: #6a8540;
  --livestock-accent-strong: #7d9347;
  --livestock-rust: #d07a2b;
  --livestock-dark: #182017;
  --livestock-dark-soft: #233022;
  --livestock-shadow: 0 18px 40px rgba(24, 33, 24, 0.12);
  --livestock-radius: 24px;
  --livestock-max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--livestock-ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(106, 133, 64, 0.16), transparent 24%),
    radial-gradient(circle at right, rgba(25, 77, 122, 0.1), transparent 22%),
    linear-gradient(180deg, #f9f4ea 0%, var(--livestock-cream) 100%);
}

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

button,
a {
  font: inherit;
}

.livestock-page {
  overflow: hidden;
}

#home,
#about,
#livestock,
#how,
#services,
#testimonials,
#contact,
.strips-outer {
  position: relative;
}

#home {
  min-height: 100vh;
  padding: 132px 6% 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(150deg, rgba(10, 17, 15, 0.78), rgba(10, 17, 15, 0.48)),
    radial-gradient(circle at 18% 30%, rgba(208, 122, 43, 0.14), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(106, 133, 64, 0.2), transparent 30%),
    url("assets/images/how-it-works-bg.jpg") center/cover no-repeat;
}

#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 17, 15, 0.25), rgba(10, 17, 15, 0.62));
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
}

.blob1 {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 60px;
  background: rgba(106, 133, 64, 0.55);
}

.blob2 {
  width: 300px;
  height: 300px;
  left: -80px;
  bottom: -70px;
  background: rgba(25, 77, 122, 0.35);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 247, 231, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#home h1,
.section-h,
.strip-text h2,
.modal-title {
  font-family: "Cormorant Garamond", serif;
}

#home h1 {
  margin: 22px 0 0;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.95;
  color: #fff;
}

#home h1 em {
  color: #f3d39e;
  font-style: italic;
}

.hero-sub {
  max-width: 620px;
  margin: 24px auto 0;
  color: rgba(255, 247, 231, 0.78);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn-green,
.btn-ghost,
.strip-cta,
.wa-btn,
.contact-btn,
.modal-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-green,
.strip-cta,
.wa-btn,
.contact-btn {
  background: linear-gradient(135deg, var(--livestock-rust), #e19a4b);
  color: #fff;
  box-shadow: 0 14px 28px rgba(160, 80, 48, 0.22);
}

.btn-green,
.btn-ghost {
  min-width: 190px;
  padding: 14px 24px;
  font-weight: 700;
}

.btn-green:hover,
.strip-cta:hover,
.wa-btn:hover,
.contact-btn:hover,
.modal-wa-btn:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: rgba(255, 247, 231, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin: 10px auto 0;
  background: linear-gradient(to bottom, rgba(255, 247, 231, 0.65), transparent);
}

.section-wrap {
  width: min(var(--livestock-max), 100%);
  margin: 0 auto;
}

.pill {
  color: var(--livestock-accent);
  background: rgba(106, 133, 64, 0.12);
  border-color: rgba(106, 133, 64, 0.24);
}

.section-h {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1;
  color: var(--livestock-ink);
}

.section-h em {
  color: var(--livestock-primary);
  font-style: italic;
}

.section-p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--livestock-muted);
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.strips-outer {
  padding: 0 6%;
}

.animal-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
  align-items: center;
  width: min(var(--livestock-max), 100%);
  margin: 0 auto;
  padding: 86px 0;
  border-bottom: 1px solid var(--livestock-line);
}

.animal-strip:last-child {
  border-bottom: none;
}

.animal-strip.flip {
  direction: rtl;
}

.animal-strip.flip > * {
  direction: ltr;
}

.strip-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4 / 3;
  box-shadow: var(--livestock-shadow);
}

.strip-img-wrap img {
  height: 100%;
  transition: transform 0.45s ease;
}

.strip-img-wrap:hover img {
  transform: scale(1.05);
}

.img-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(15, 26, 14, 0.66);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.strip-text .pill {
  margin-bottom: 14px;
}

.strip-text h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.03;
}

.strip-text p {
  margin: 0 0 22px;
  color: var(--livestock-muted);
  line-height: 1.85;
}

.strip-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.fact-chip {
  min-width: 108px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.86);
  border: 1px solid rgba(37, 57, 43, 0.08);
  box-shadow: 0 10px 24px rgba(24, 33, 24, 0.08);
}

.fact-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--livestock-primary);
}

.fact-key {
  margin-top: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--livestock-muted);
}

.strip-cta {
  padding: 14px 22px;
  font-weight: 700;
}

#about,
#services {
  padding: 90px 6%;
  background: rgba(255, 250, 241, 0.7);
}

.about-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}

.about-main-img,
.services-img-col .svc-img {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--livestock-shadow);
}

.about-main-img {
  aspect-ratio: 4 / 5;
}

.about-main-img img,
.services-img-col .svc-img img {
  height: 100%;
}

.about-img-col {
  position: relative;
}

.about-stat-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(255, 250, 241, 0.96);
  border: 1px solid rgba(37, 57, 43, 0.08);
  box-shadow: 0 12px 30px rgba(24, 33, 24, 0.12);
}

.about-stat {
  text-align: center;
}

.about-stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--livestock-primary);
}

.about-stat-lbl {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--livestock-muted);
}

.about-text p {
  color: var(--livestock-muted);
  line-height: 1.82;
}

.about-bullets {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--livestock-ink);
}

.about-bullets li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--livestock-rust), var(--livestock-accent));
}

#livestock,
#testimonials {
  padding: 90px 6%;
  background:
    linear-gradient(180deg, rgba(18, 29, 18, 0.98), rgba(18, 29, 18, 0.94)),
    radial-gradient(circle at top right, rgba(106, 133, 64, 0.15), transparent 32%),
    radial-gradient(circle at bottom left, rgba(25, 77, 122, 0.15), transparent 34%);
}

#livestock .pill,
#testimonials .pill,
#contact .pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

#livestock .section-p,
#testimonials .section-p,
#contact .section-p {
  color: rgba(255, 247, 231, 0.72);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.testi {
  border-radius: 24px;
  overflow: hidden;
}

#how {
  padding: 90px 6%;
}

.how-inner {
  width: min(var(--livestock-max), 100%);
  margin: 0 auto;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.step {
  padding: 28px 22px 24px;
  border-radius: 24px;
  background: rgba(255, 250, 241, 0.86);
  border: 1px solid rgba(37, 57, 43, 0.08);
  box-shadow: 0 10px 24px rgba(24, 33, 24, 0.08);
}

.step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  color: var(--livestock-rust);
}

.step h3 {
  margin: 10px 0 8px;
  font-size: 1rem;
  color: var(--livestock-ink);
}

.step p {
  margin: 0;
  color: var(--livestock-muted);
  line-height: 1.75;
  font-size: 0.92rem;
}

.how-cta {
  margin-top: 28px;
  text-align: center;
}

.services-img-col .svc-img {
  aspect-ratio: 3 / 4;
}

.svc-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--livestock-primary), #245f95);
  color: #fff;
  box-shadow: 0 16px 32px rgba(25, 77, 122, 0.18);
}

.svc-cta-text strong {
  display: block;
}

.svc-cta-text span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.wa-btn {
  padding: 12px 18px;
  white-space: nowrap;
}

.services-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.svc-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.92);
  border: 1px solid rgba(37, 57, 43, 0.08);
  box-shadow: 0 8px 22px rgba(24, 33, 24, 0.07);
}

.svc-icon {
  min-width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(106, 133, 64, 0.18), rgba(25, 77, 122, 0.16));
  color: var(--livestock-primary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.svc-item h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.svc-item p {
  margin: 0;
  color: var(--livestock-muted);
  line-height: 1.74;
}

.testi {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.testi-q {
  color: #f3d39e;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  line-height: 1;
}

.testi-body {
  margin: 12px 0 22px;
  color: rgba(255, 247, 231, 0.76);
  line-height: 1.84;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--livestock-rust), #f0bb78);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
}

.testi-name {
  color: #fff;
  font-weight: 700;
}

.testi-role {
  color: rgba(255, 247, 231, 0.58);
  font-size: 0.84rem;
}

#contact {
  padding: 84px 6%;
  text-align: center;
  background:
    linear-gradient(135deg, var(--livestock-primary), #204c74),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%);
}

.contact-btn {
  margin-top: 28px;
  padding: 14px 24px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 24px;
  background: rgba(10, 18, 10, 0.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.modal-gallery {
  background: rgba(246, 240, 228, 0.8);
}

.modal-main-img-wrap {
  min-height: 300px;
}

.modal-main-img-wrap img {
  height: 100%;
}

.modal-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
}

.modal-thumb {
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
}

.modal-thumb.active {
  border-color: var(--livestock-primary);
}

.modal-details {
  padding: 28px;
}

.modal-title {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
}

.modal-tagline,
.modal-info-box {
  color: var(--livestock-muted);
}

.modal-tags,
.modal-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-tag,
.modal-opt {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.modal-tag.green {
  color: var(--livestock-accent);
  background: rgba(106, 133, 64, 0.12);
}

.modal-tag.blue {
  color: var(--livestock-primary);
  background: rgba(25, 77, 122, 0.12);
}

.modal-tag.gold {
  color: var(--livestock-rust);
  background: rgba(208, 122, 43, 0.12);
}

.modal-section-label {
  margin: 20px 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--livestock-muted);
}

.modal-opt {
  border: 1px solid rgba(37, 57, 43, 0.12);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.modal-opt:hover,
.modal-opt:focus-visible {
  border-color: rgba(25, 77, 122, 0.42);
  transform: translateY(-1px);
  outline: none;
}

.modal-opt.selected {
  background: var(--livestock-primary);
  border-color: var(--livestock-primary);
  color: #fff;
}

.modal-form {
  display: grid;
  gap: 14px;
}

.modal-field {
  display: grid;
  gap: 7px;
}

.modal-field span {
  font-size: 0.86rem;
  font-weight: 700;
}

.modal-field input,
.modal-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(37, 57, 43, 0.12);
  border-radius: 16px;
  font: inherit;
}

.modal-field textarea {
  min-height: 100px;
  resize: vertical;
}

.modal-field input:focus,
.modal-field textarea:focus {
  outline: none;
  border-color: var(--livestock-primary);
  box-shadow: 0 0 0 4px rgba(25, 77, 122, 0.12);
}

.quantity-control {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: stretch;
  gap: 10px;
}

.quantity-control input {
  text-align: center;
  font-weight: 700;
}

.qty-btn {
  border: 1px solid rgba(37, 57, 43, 0.12);
  border-radius: 16px;
  background: rgba(246, 240, 228, 0.9);
  color: var(--livestock-primary);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.qty-btn:hover,
.qty-btn:focus-visible {
  border-color: rgba(25, 77, 122, 0.42);
  background: rgba(25, 77, 122, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.modal-info-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(246, 240, 228, 0.7);
}

.modal-wa-btn {
  padding: 14px 18px;
  background: linear-gradient(135deg, #1c9e4b, #25d366);
  color: #fff;
}

@media (max-width: 1024px) {
  .steps-row,
  .testi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  #home,
  #about,
  #livestock,
  #how,
  #services,
  #testimonials,
  #contact,
  .strips-outer {
    padding-left: 24px;
    padding-right: 24px;
  }

  #home {
    padding-top: 124px;
  }

  .animal-strip,
  .about-grid,
  .services-grid,
  .modal-box {
    grid-template-columns: 1fr;
  }

  .animal-strip {
    gap: 28px;
    padding: 64px 0;
  }

  .animal-strip.flip {
    direction: ltr;
  }

  .steps-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stat-card {
    position: static;
    margin-top: 16px;
    justify-content: center;
  }

  .services-img-col .svc-img {
    aspect-ratio: 16 / 9;
  }

  .svc-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  #home,
  #about,
  #livestock,
  #how,
  #services,
  #testimonials,
  #contact,
  .strips-outer {
    padding-left: 16px;
    padding-right: 16px;
  }

  #home h1 {
    font-size: clamp(2.7rem, 12vw, 4.3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-green,
  .btn-ghost,
  .contact-btn {
    width: 100%;
  }

  .testi-grid,
  .steps-row {
    grid-template-columns: 1fr;
  }

  .strip-facts {
    gap: 10px;
  }

  .fact-chip {
    min-width: calc(50% - 5px);
  }

  .modal-overlay {
    padding: 12px;
  }

  .modal-details {
    padding: 20px;
  }
}
