/* DairyNext — brand: blue #1f4199, orange #f6924d */
:root {
  --blue: #1f4199;
  --blue-dark: #16307a;
  --orange: #f6924d;
  --orange-dark: #e0793a;
  --ink: #26292e;
  --muted: #5c6270;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --line: #e3e7ee;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

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

a { color: var(--blue); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 1px 6px rgba(20, 30, 60, .08);
}

.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand img { height: 40px; width: auto; }

.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
  position: relative;
  transition: transform .2s;
}
.nav-toggle-label span::before { position: absolute; top: -8px; }
.nav-toggle-label span::after { position: absolute; top: 8px; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

.site-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 6px;
  white-space: nowrap;
}

.site-nav a:hover { color: var(--blue); background: var(--bg-soft); }

.site-nav a.active { color: var(--blue); }

.site-nav a.nav-cta {
  background: var(--orange);
  color: #fff;
  margin-left: 8px;
}
.site-nav a.nav-cta:hover { background: var(--orange-dark); }

@media (max-width: 920px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    box-shadow: 0 10px 20px rgba(20, 30, 60, .1);
  }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 12px 16px; }
  .site-nav a { padding: 12px 14px; }
  .site-nav a.nav-cta { margin-left: 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  min-height: 300px;
}

.hero.hero-home { min-height: 480px; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(22, 48, 122, .82) 0%, rgba(31, 65, 153, .55) 55%, rgba(31, 65, 153, .15) 100%);
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.2;
  max-width: 640px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.hero p.lead {
  margin-top: 14px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 560px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

.hero .btn { margin-top: 26px; }

.kicker {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--orange-dark); }

.btn.btn-blue { background: var(--blue); }
.btn.btn-blue:hover { background: var(--blue-dark); }

/* ---------- Sections ---------- */
.section { padding: 64px 20px; }
.section.soft { background: var(--bg-soft); }

.container { max-width: 1100px; margin: 0 auto; }
.container.narrow { max-width: 800px; }

h2 {
  color: var(--blue);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
  margin-bottom: 18px;
}

h3 { color: var(--blue); font-size: 1.15rem; margin-bottom: 10px; }

.section p + p { margin-top: 14px; }

.two-col {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(20, 30, 60, .15); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 2px 10px rgba(20, 30, 60, .05);
}

.card .card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- Checklists ---------- */
ul.checklist { list-style: none; margin-top: 10px; }
ul.checklist li {
  padding: 7px 0 7px 32px;
  position: relative;
}
ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  mask: none;
}
ul.checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 17px;
  width: 8px;
  height: 5px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 34px;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 30, 60, .05);
  display: flex;
  flex-direction: column;
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 25%;
}

.team-card .team-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.team-card h3 { margin-bottom: 4px; }
.team-card .team-role {
  color: var(--orange-dark);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.team-card p { font-size: .95rem; }
.team-card .team-contact { margin-top: auto; padding-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--blue-dark), var(--blue));
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin: 0 auto 24px; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 44px;
  margin-top: 26px;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info p { margin-bottom: 10px; }
.contact-info a { font-weight: 600; }

form .field { margin-bottom: 16px; }

form label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9cfda;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

form input:focus,
form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-dark);
  color: #cdd6ec;
  padding: 44px 20px 30px;
  font-size: .93rem;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.site-footer h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  margin-bottom: 12px;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer ul { list-style: none; }
.site-footer li { padding: 3px 0; }

.footer-bottom {
  max-width: 1100px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.tagline { color: var(--orange); font-weight: 700; }
