:root {
  --navy: #0d1f36;
  --navy-2: #15294a;
  --navy-3: #1b3358;
  --orange: #f26a2e;
  --orange-dark: #e05a20;
  --ink: #12233d;
  --muted: #5d6b7e;
  --pale: #f3f6f9;
  --line: #e2e8ef;
  --white: #fff;
  --shadow: 0 18px 44px rgba(13, 31, 54, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: 'DM Sans', system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
h1, h2, h3, p, figure, blockquote { margin-top: 0; }
h1, h2, h3 { font-family: Montserrat, sans-serif; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 2.6vw, 2.35rem); line-height: 1.15; font-weight: 700; margin-bottom: 18px; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* Icons */
.ico, .service-icon, .send { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 16px; height: 16px; flex-shrink: 0; }
.flag { width: 22px; height: 15px; border-radius: 2px; flex-shrink: 0; }

/* Buttons */
.btn { min-height: 46px; padding: 0 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: 14px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; transition: transform .2s, background .2s, border-color .2s, color .2s; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242, 106, 46, .28); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline { color: #fff; border-color: rgba(255, 255, 255, .85); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn-orange-outline { color: var(--orange); border-color: var(--orange); background: transparent; }
.btn-orange-outline:hover { background: var(--orange); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 13px; }

.eyebrow { font-size: 12px; letter-spacing: .1em; font-weight: 700; color: var(--orange); margin-bottom: 12px; }
.muted { color: var(--muted); font-size: 15px; line-height: 1.75; }

/* Brand */
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: block; height: 52px; width: auto; }
.footer-brand .brand-logo { height: 62px; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 4px 18px rgba(7, 21, 41, .25); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.main-nav { display: flex; align-items: center; gap: 36px; height: 100%; }
.main-nav a { font-size: 14px; font-weight: 500; color: #dbe4ef; text-decoration: none; position: relative; padding: 27px 0; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active { font-weight: 700; }
.main-nav a.active:after { content: ""; position: absolute; bottom: 16px; left: -6px; right: -6px; height: 2px; background: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-cta { min-height: 42px; padding: 0 24px; }
.lang { display: flex; align-items: center; gap: 7px; background: none; border: 0; color: #fff; font: 600 13px 'DM Sans', sans-serif; cursor: pointer; padding: 0; }
.lang span { font-size: 14px; margin-top: -6px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero { min-height: 540px; position: relative; overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: center; }
.hero-photo { position: absolute; inset: 0 0 0 34%; background: url('assets/hero-farmer.jpg') right center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, rgba(13, 31, 54, .6) 48%, rgba(13, 31, 54, .1) 66%, rgba(13, 31, 54, 0) 100%); }
.hero-content { position: relative; z-index: 2; padding: 70px 0; }
.hero h1 { font-size: clamp(3rem, 5.6vw, 4.8rem); line-height: 1; font-weight: 800; letter-spacing: -.035em; margin-bottom: 26px; }
.hero h1 span { color: var(--orange); }
.hero-copy { font-size: 17px; line-height: 1.6; max-width: 470px; color: #eef3f9; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn { min-width: 180px; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 30px; font-size: 13px; color: #e6edf5; flex-wrap: wrap; }
.hero-trust > span { display: flex; align-items: center; gap: 9px; }
.hero-trust .ico { width: 19px; height: 19px; }
.wa { width: 20px; height: 20px; }
.trust-divider { height: 22px; width: 1px; background: rgba(255, 255, 255, .3); }
.cow-caption svg { display: block; width: 110px; height: 14px; fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; margin-top: 2px; }

/* Service strip */
.service-strip { background: var(--pale); border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); padding: 30px 0; }
.service-grid a { padding: 0 14px; text-align: center; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); display: flex; align-items: center; flex-direction: column; gap: 6px; transition: transform .2s; }
.service-grid a:hover { transform: translateY(-3px); }
.service-grid a:last-child { border-right: 0; }
.service-icon { width: 34px; height: 34px; color: var(--navy-2); margin-bottom: 10px; stroke-width: 1.5; }
.service-icon.orange { color: var(--orange); }
.service-grid b { font-size: 13px; font-weight: 700; }
.service-grid small { font-size: 12px; line-height: 1.5; color: var(--muted); max-width: 150px; }

/* Farmer section */
.farmer-section { background: var(--pale); padding: 30px 0 0; overflow: hidden; }
.farmer-layout { display: grid; grid-template-columns: 1fr .78fr 1fr; align-items: center; gap: 36px; }
.farmer-copy { padding: 30px 0 60px; }
.farmer-copy h2 { max-width: 380px; }
.farmer-copy .muted { max-width: 380px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 32px; }
.check-list li { margin: 10px 0; font-size: 14px; display: flex; align-items: center; gap: 12px; }
.check-list li:before { content: ''; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Phone mockup */
.chat-demo { display: flex; justify-content: center; align-self: stretch; padding-top: 0; }
.phone { width: 270px; padding: 9px; background: #121417; border-radius: 42px; box-shadow: 0 24px 50px rgba(13, 31, 54, .3), inset 0 0 0 2px #3a3f46; align-self: center; }
.screen { background: #fff; border-radius: 34px; overflow: hidden; position: relative; display: flex; flex-direction: column; min-height: 470px; }
.notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #121417; border-radius: 14px; z-index: 2; }
.status { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.status span:last-child { font-size: 8px; letter-spacing: 1px; }
.chat-header { padding: 12px 14px 10px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #edf0f3; }
.chat-header .back { font-size: 20px; line-height: 1; color: var(--ink); }
.chat-header div { display: flex; flex-direction: column; font-size: 11px; line-height: 1.3; }
.chat-header small { font-size: 9px; color: #56657a; display: flex; align-items: center; gap: 4px; }
.chat-header small i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.mini-logo { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); flex-shrink: 0; position: relative; }
.mini-logo:before, .mini-logo:after { content: ""; position: absolute; background: #fff; border-radius: 1px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mini-logo:before { width: 4px; height: 13px; }
.mini-logo:after { width: 13px; height: 4px; }
.chat-body { padding: 14px 12px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.bubble { font-size: 10.5px; line-height: 1.5; padding: 10px 12px 6px; border-radius: 12px; }
.bubble p { margin-bottom: 6px; }
.farmer-bubble { background: #dcf8c6; margin-left: 26px; border-top-right-radius: 3px; }
.ai-bubble { background: #fff; border: 1px solid #edf0f3; border-top-left-radius: 3px; box-shadow: 0 2px 8px rgba(18, 35, 61, .05); }
.ai-bubble b { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 11px; }
.ai-bubble .mini-logo { width: 18px; height: 18px; }
.ai-bubble .mini-logo:before { width: 3px; height: 9px; }
.ai-bubble .mini-logo:after { width: 9px; height: 3px; }
.ai-bubble ul { list-style: none; padding: 0; margin: 4px 0 8px; }
.ai-bubble li { display: flex; align-items: center; gap: 6px; margin: 2px 0; }
.ai-bubble li:before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.time { display: block; text-align: right; font-size: 8px; color: #4f5d6e; margin-top: 2px; }
.chat-input { margin: 0 12px 18px; border: 1px solid #e2e7ec; border-radius: 30px; padding: 6px 6px 6px 14px; color: #5d6b7e; font-size: 10px; display: flex; justify-content: space-between; align-items: center; }
.send { width: 24px; height: 24px; padding: 5px; background: var(--navy); color: #fff; border-radius: 50%; stroke-width: 2.2; }

/* Cow card */
.cow-card { position: relative; padding: 30px 0 60px; }
.cow-card > img { width: 100%; height: 330px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.cow-caption { position: absolute; left: 15%; right: 6%; bottom: 20px; background: var(--navy); color: #fff; padding: 22px 26px 18px; border-radius: 12px; transform: rotate(-3deg); box-shadow: var(--shadow); }
.cow-caption b { font-family: Montserrat, sans-serif; display: block; font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.cow-caption span { font-size: 14px; color: #e3eaf3; }
.cow-caption svg { width: 140px; margin-top: 6px; }

/* Feature band */
.feature-band { background: var(--navy); color: #fff; padding: 64px 0; }
.feature-layout { display: grid; grid-template-columns: .82fr 1.6fr; gap: 56px; align-items: center; }
.feature-intro h2 { font-size: clamp(1.9rem, 2.6vw, 2.3rem); }
.feature-intro h2 span { color: var(--orange); }
.feature-intro > p:not(.eyebrow) { color: #d6dfea; font-size: 15px; line-height: 1.7; margin: 22px 0 28px; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; overflow: hidden; background: var(--navy-2); transition: transform .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(242, 106, 46, .6); }
.feature-card > img { width: 100%; height: 130px; object-fit: cover; }
.feature-card-body { padding: 0 16px 20px; }
.feature-symbol { display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .85); background: var(--navy-2); border-radius: 8px; margin-top: -18px; position: relative; color: #fff; }
.feature-symbol .ico { width: 18px; height: 18px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin: 14px 0 8px; letter-spacing: -.01em; }
.feature-card p { font-size: 13px; color: #c9d4e2; line-height: 1.55; margin: 0; max-width: 170px; }

/* Financing + paravet cards */
.support-section { background: var(--white); padding: 22px 0 44px; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-card { display: grid; grid-template-columns: .74fr 1.26fr; background: var(--pale); border-radius: 6px; overflow: hidden; min-height: 240px; }
.support-card > img { width: 100%; height: 100%; object-fit: cover; }
.support-copy { padding: 26px 30px; align-self: center; }
.support-copy .eyebrow { font-size: 11px; margin-bottom: 8px; }
.support-copy h2 { font-size: clamp(1.35rem, 1.8vw, 1.65rem); margin-bottom: 14px; }
.support-copy > p:not(.eyebrow) { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 22px 0 0; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 22px; }
.footer-nav { display: flex; gap: 40px; }
.footer-nav a { color: #e6edf5; text-decoration: none; font-size: 13px; }
.footer-nav a:hover { color: var(--orange); }
.footer-right { display: flex; align-items: center; gap: 12px; }
.store { display: flex; align-items: center; gap: 7px; background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 7px; padding: 5px 12px 5px 9px; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.05; }
.store svg { width: 20px; height: 20px; }
.store span { display: flex; flex-direction: column; }
.store small { font-size: 8px; font-weight: 500; text-transform: none; }
.socials { display: flex; align-items: center; gap: 12px; margin-left: 22px; }
.socials a { color: #fff; display: flex; transition: color .2s; }
.socials a:hover { color: var(--orange); }
.socials svg:not(.flag) { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; padding: 14px 0; color: #c3cfdd; font-size: 11px; }
.footer-bottom > span:last-child { display: flex; align-items: center; gap: 16px; }
.footer-bottom a { color: #c3cfdd; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom i { width: 1px; height: 12px; background: rgba(255, 255, 255, .3); }

/* Responsive */
@media (max-width: 1100px) {
  .main-nav { gap: 22px; }
  .farmer-layout { grid-template-columns: 1fr 1fr; }
  .farmer-copy { grid-row: span 2; }
  .cow-card { max-width: 420px; justify-self: center; width: 100%; }
  .feature-layout { grid-template-columns: 1fr; gap: 36px; }
  .feature-intro { max-width: 560px; }
  .footer-main { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; height: auto; background: var(--navy); padding: 10px 24px 20px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 15px 20px rgba(7, 21, 41, .3); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .main-nav a.active:after { bottom: 6px; left: 0; right: auto; width: 34px; }
  .header-inner { height: 70px; }
  .header-actions { gap: 14px; }
  .support-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .service-grid a:nth-child(3) { border-right: 0; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 32px); }
  .brand-logo { height: 44px; }
  .lang { display: none; }
  .header-cta { min-height: 38px; padding: 0 16px; font-size: 13px; }
  .hero { min-height: 640px; align-items: flex-end; }
  .hero-photo { inset: 0; background-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, var(--navy) 0%, rgba(13, 31, 54, .92) 45%, rgba(13, 31, 54, .35) 75%, rgba(13, 31, 54, .1) 100%); }
  .hero-content { padding: 160px 0 44px; }
  .hero-copy { font-size: 15px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust .trust-divider { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid a { border-right: 0 !important; padding: 0 6px; }
  .farmer-section { padding-top: 50px; }
  .farmer-layout { grid-template-columns: 1fr; gap: 20px; }
  .farmer-copy { grid-row: auto; padding: 0; }
  .cow-caption { left: 10%; right: 2%; }
  .feature-band { padding: 52px 0; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card p { max-width: none; }
  .support-card { grid-template-columns: 1fr; }
  .support-card > img { height: 200px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 14px 24px; }
  .footer-right { flex-wrap: wrap; }
  .socials { margin-left: 0; width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

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