:root {
  --cream: #f7efe2;
  --paper: #fffaf2;
  --milk: #ffffff;
  --green: #245540;
  --green-dark: #153628;
  --sage: #8ea98b;
  --sage-light: #dce7d7;
  --gold: #c79a45;
  --earth: #6d5137;
  --clay: #a66d4d;
  --text: #243026;
  --muted: #657167;
  --line: rgba(36, 85, 64, 0.18);
  --shadow: 0 18px 46px rgba(21, 54, 40, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(247, 239, 226, 0.9)),
    repeating-linear-gradient(90deg, rgba(36, 85, 64, 0.035) 0 1px, transparent 1px 96px);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 74px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--green-dark);
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text span {
  color: var(--earth);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--green-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--milk);
  background: var(--green);
  box-shadow: 0 12px 24px rgba(36, 85, 64, 0.22);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  color: var(--green-dark);
  background: var(--milk);
  border-color: var(--line);
}

.button-light {
  color: var(--green-dark);
  background: var(--milk);
}

.button-outline-light {
  color: var(--milk);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 710px;
  display: flex;
  align-items: center;
  padding: 110px 0 120px;
  color: var(--milk);
  background-image: url("assets/farm-hero-enhanced.jpg");
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 42, 30, 0.93) 0%, rgba(20, 55, 40, 0.83) 43%, rgba(20, 55, 40, 0.34) 72%, rgba(20, 55, 40, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 28, 21, 0.18), rgba(10, 28, 21, 0.5));
}

.hero-grid {
  display: block;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow,
.section-kicker {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: var(--milk);
  background: rgba(15, 49, 34, 0.62);
  backdrop-filter: blur(8px);
}

h1 {
  max-width: 830px;
  margin: 0;
  color: var(--milk);
  font-size: clamp(2.35rem, 7vw, 5rem);
  line-height: 0.98;
  text-shadow: 0 3px 22px rgba(7, 24, 16, 0.38);
}

.hero-lead {
  max-width: 730px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.13rem;
  text-shadow: 0 2px 14px rgba(7, 24, 16, 0.3);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.specialist-summary {
  display: grid;
  gap: 6px;
  max-width: 700px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(14, 42, 30, 0.62);
  color: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
}

.specialist-summary strong {
  color: var(--milk);
}

.intro-band {
  padding: 0 0 18px;
  position: relative;
  z-index: 2;
  margin-top: -42px;
  background: linear-gradient(180deg, transparent 0 42px, rgba(255, 250, 242, 0.92) 42px 100%);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  background: rgba(248, 249, 245, 0.82);
  box-shadow: 0 18px 40px rgba(21, 54, 40, 0.12);
  backdrop-filter: blur(16px);
}

.highlight-grid div {
  position: relative;
  padding: 22px 20px 24px;
  background: transparent;
}

.highlight-grid div + div::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 1px;
  background: rgba(36, 85, 64, 0.16);
}

.highlight-grid span {
  display: block;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.highlight-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--green-dark);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-heading h2,
.profile-copy h2,
.contact-panel h2 {
  margin: 6px 0 12px;
  color: var(--green-dark);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.06;
}

.section-heading p:not(.section-kicker),
.profile-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.04rem;
}

.service-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(21, 54, 40, 0.08);
}

.service-card {
  padding: 22px;
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--sage-light);
  font-weight: 900;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 1.14rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.method-panel {
  padding: 42px;
  border-radius: var(--radius);
  color: var(--milk);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: var(--shadow);
}

.method-heading {
  max-width: 900px;
}

.method-heading .section-kicker,
.method-heading h2 {
  color: var(--milk);
}

.method-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method-steps li {
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  counter-increment: method;
}

.method-steps li::before {
  content: counter(method);
  display: block;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.method-steps strong {
  display: block;
  margin-top: 12px;
  line-height: 1.15;
}

.method-steps span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.4;
}

.method-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.method-details-heading {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-details details {
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.method-details summary {
  position: relative;
  padding: 16px 48px 16px 18px;
  color: var(--milk);
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.method-details summary::-webkit-details-marker {
  display: none;
}

.method-details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--gold);
  font-size: 1.15rem;
  line-height: 1;
  transform: translateY(-50%);
}

.method-details details[open] summary::after {
  content: "−";
}

.method-details summary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.method-details summary:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: -3px;
}

.method-detail-copy {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.method-detail-copy p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.55;
}

.field-break {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  color: var(--milk);
  background-image: url("assets/farm-field-enhanced.jpg");
  background-position: center;
  background-size: cover;
}

.field-break::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 42, 30, 0.78), rgba(14, 42, 30, 0.18) 68%),
    linear-gradient(180deg, rgba(8, 24, 17, 0.06), rgba(8, 24, 17, 0.7));
}

.field-break-inner {
  display: flex;
  align-items: flex-end;
  min-height: 430px;
  padding-top: 54px;
  padding-bottom: 54px;
}

.field-break-copy {
  max-width: 620px;
}

.field-break-copy .section-kicker {
  color: var(--milk);
}

.field-break-copy p:last-child {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.14;
  text-shadow: 0 2px 18px rgba(7, 24, 16, 0.45);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 32px;
  align-items: start;
}

.profile-card,
.profile-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.profile-card {
  overflow: hidden;
}

.profile-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 34px;
  color: var(--muted);
  text-align: center;
  background: linear-gradient(150deg, rgba(220, 231, 215, 0.7), rgba(247, 239, 226, 0.86));
}

.profile-placeholder p {
  max-width: 280px;
  margin: 0;
}

.profile-facts {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.profile-facts span {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-dark);
  font-weight: 800;
}

.profile-copy {
  padding: 32px;
}

.credentials-section {
  padding-top: 0;
}

.credentials-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials-list li,
.audience-list li,
.problem-grid li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--green-dark);
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 26px rgba(21, 54, 40, 0.06);
}

.audience-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(199, 154, 69, 0.14);
}

.problems-section {
  position: relative;
  isolation: isolate;
  background-image: url("assets/milking-room-enhanced.jpg");
  background-position: center;
  background-size: cover;
}

.problems-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(241, 245, 234, 0.97) 0%, rgba(241, 245, 234, 0.92) 52%, rgba(241, 245, 234, 0.7) 100%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.4), rgba(220, 231, 215, 0.58));
}

.problems-section .section-heading {
  padding: 24px 26px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.72);
  backdrop-filter: blur(7px);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problems-section .problem-grid li {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(21, 54, 40, 0.08);
  backdrop-filter: blur(6px);
}

.problems-section .problem-grid li::before {
  content: "✓";
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--milk);
  background: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
}

.why-grid .card {
  padding: 22px;
}

.contact-section {
  padding-top: 44px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius);
  color: var(--milk);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: var(--shadow);
}

.contact-panel .section-kicker,
.contact-panel h2 {
  color: var(--milk);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  font-style: normal;
}

.contact-card strong {
  font-size: 1.1rem;
}

.contact-card a {
  font-weight: 800;
}

.site-footer {
  padding: 30px 0 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer-inner {
  display: grid;
  gap: 4px;
}

.footer-inner p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: 8px;
  color: var(--milk);
  background: var(--green);
  box-shadow: 0 16px 28px rgba(21, 54, 40, 0.26);
  font-weight: 900;
}

.whatsapp-float:hover {
  background: var(--green-dark);
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0 14px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-top: 2px;
  }

  .hero-grid,
  .profile-grid,
  .two-column,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .why-grid,
  .credentials-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero {
    min-height: 650px;
    padding: 84px 0 112px;
    background-position: 58% center;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 54px 0;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    align-items: flex-start;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text span {
    font-size: 0.7rem;
  }

  .header-cta {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .main-nav {
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 3.8rem);
  }

  .hero-lead,
  .section-heading p:not(.section-kicker),
  .profile-copy p,
  .contact-panel p {
    font-size: 1rem;
  }

  .method-panel,
  .profile-copy,
  .contact-panel {
    padding: 24px;
  }

  .highlight-grid,
  .service-grid,
  .why-grid,
  .credentials-list,
  .audience-list,
  .method-steps,
  .method-details,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .highlight-grid div + div::before {
    inset: 0 18px auto;
    width: auto;
    height: 1px;
  }

  .method-steps li {
    min-height: 0;
  }

  .button {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 680px;
    background-position: 62% center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(14, 42, 30, 0.93), rgba(20, 55, 40, 0.74)),
      linear-gradient(180deg, rgba(10, 28, 21, 0.24), rgba(10, 28, 21, 0.64));
  }

  .field-break,
  .field-break-inner {
    min-height: 360px;
  }

  .field-break {
    background-position: 60% center;
  }

  .problems-section {
    background-position: 63% center;
  }

  .problems-section::before {
    background: rgba(241, 245, 234, 0.92);
  }

  .problems-section .section-heading {
    padding: 20px;
  }
}

@media (max-width: 400px) {
  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .header-cta {
    width: 100%;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
