/* Castle Garden Farm — base styles */

:root {
  --green-900: #1f3a2a;
  --green-800: #2a4d36;
  --green-700: #35603f;
  --green-600: #4a7a4f;
  --brown-700: #6b4a2f;
  --cream-50: #fbf8f2;
  --cream-100: #f4ede0;
  --ink-900: #1c2420;
  --ink-600: #4c574f;
  --white: #ffffff;
  --radius: 14px;
  --shadow-md: 0 12px 30px rgba(31, 58, 42, 0.12);
  --shadow-sm: 0 4px 14px rgba(31, 58, 42, 0.08);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
}

h1, h2, h3, .brand strong {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--green-900);
}

p {
  margin: 0 0 1em;
  color: var(--ink-600);
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(31, 58, 42, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  margin: 0;
}

.brand small {
  display: block;
  color: var(--ink-600);
  font-size: 0.75rem;
  font-weight: 600;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--cream-50);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.menu-button {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--green-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--green-700);
}

.nav-cta {
  background: var(--green-800);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--green-700);
  color: var(--white) !important;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button.primary {
  background: var(--green-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.button.primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  border-color: var(--green-800);
  color: var(--green-900);
}

.button.secondary:hover {
  background: var(--green-900);
  color: var(--white);
}

.button.full {
  width: 100%;
}

/* Hero */

.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  max-width: 16ch;
}

.hero-copy {
  max-width: 46ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-800);
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid rgba(31, 58, 42, 0.08);
}

.hero-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
}

.hero-card h2 {
  font-size: 1.3rem;
}

.mini-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 58, 42, 0.1);
}

.mini-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-stats strong {
  color: var(--green-800);
  font-family: 'Montserrat', sans-serif;
}

.mini-stats span {
  font-size: 0.8rem;
  color: var(--ink-600);
}

/* Sections */

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--cream-100);
}

.section-label {
  display: inline-block;
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.section-label.light {
  color: #cfe3d2;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.split h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  max-width: 14ch;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(31, 58, 42, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.05rem;
}

.card p {
  font-size: 0.92rem;
  margin: 0;
}

/* Breeding */

.breeding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.breed-panel {
  background: var(--white);
  border-left: 4px solid var(--green-700);
  border-radius: 10px;
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.breed-panel h3 {
  font-size: 1.05rem;
}

.breed-panel p {
  font-size: 0.92rem;
  margin: 0;
}

/* Highlight */

.section.highlight {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--cream-50);
}

.section.highlight h2,
.section.highlight p {
  color: var(--cream-50);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.92rem;
}

.check-list li::before {
  content: "✓ ";
  color: #a9d6ae;
  font-weight: 800;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-grid h2 {
  max-width: 18ch;
}

.contact-details p {
  font-size: 0.95rem;
  margin: 0 0 10px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(31, 58, 42, 0.08);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--green-900);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(31, 58, 42, 0.18);
  background: var(--cream-50);
  color: var(--ink-900);
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(74, 122, 79, 0.18);
}

.form-note {
  font-size: 0.8rem;
  margin: -8px 0 0;
  color: var(--ink-600);
}

/* Footer */

footer {
  background: var(--green-900);
  color: #d8e6da;
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-grid strong {
  color: var(--cream-50);
  display: block;
  font-family: 'Montserrat', sans-serif;
}

.footer-grid p {
  color: #b9cdbb;
  margin: 0;
  font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .highlight-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .breeding-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-50);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(31, 58, 42, 0.08);
    box-shadow: var(--shadow-sm);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
  }

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

  .hero {
    padding: 48px 0 40px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
