/* ==========================================================================
   Vita Nova Reproduction Center — Main Stylesheet
   ========================================================================== */

:root {
  --color-black: #14140f;
  --color-charcoal: #232320;
  --color-stone: #6b6b64;
  --color-stone-light: #9c9c93;
  --color-cream: #f7f5ef;
  --color-white: #ffffff;
  --color-gold: #b8892f;
  --color-gold-dark: #8f6a22;
  --color-green: #3f4d3a;
  --color-line: #e4e1d6;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 10px;
  --shadow-soft: 0 8px 24px rgba(20, 20, 15, 0.10);
  --shadow-strong: 0 16px 40px rgba(20, 20, 15, 0.18);
  --container-max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { color: var(--color-stone); }

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

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.section-head.align-left { margin-left: 0; text-align: left; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}
.btn-primary:hover { background: var(--color-gold-dark); border-color: var(--color-gold-dark); }
.btn-dark {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.btn-dark:hover { background: var(--color-charcoal); }
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.65);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}
.btn-outline-dark:hover { background: var(--color-black); color: var(--color-white); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------------- Top utility bar ---------------- */
.topbar {
  background: var(--color-black);
  color: var(--color-stone-light);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar a { color: var(--color-stone-light); }
.topbar a:hover { color: var(--color-gold); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-social { display: flex; gap: 14px; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 500;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 54px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--color-black);
  letter-spacing: 0.01em;
}
.brand-text .brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  font-weight: 600;
}

.main-nav ul { display: flex; gap: 30px; align-items: center; }
.main-nav a {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--color-charcoal);
  padding: 6px 2px;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 2px; width: 0;
  background: var(--color-gold);
  transition: width 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--color-gold-dark); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--color-black); display: block; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(15,15,12,0.86) 0%, rgba(15,15,12,0.62) 45%, rgba(15,15,12,0.35) 100%);
  z-index: -1;
}
.hero-content { max-width: 700px; padding: 60px 0; }
.hero-content .section-tag { color: var(--color-gold); }
.hero-content h1 { color: var(--color-white); margin-bottom: 20px; }
.hero-content p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.hero-stats .stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-gold);
  font-weight: 700;
}
.hero-stats .stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------------- Page header (non-home) ---------------- */
.page-header {
  position: relative;
  padding: 90px 0 60px;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(15,15,12,0.72);
  z-index: -1;
}
.page-header h1 { color: var(--color-white); }
.breadcrumb { margin-top: 14px; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.breadcrumb a { color: var(--color-gold); }

/* ---------------- Services first-look strip (home) ---------------- */
.services-strip {
  background: var(--color-black);
  padding: 0;
}
.services-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item {
  padding: 22px 20px;
  text-align: center;
  color: var(--color-white);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.services-strip .container > .strip-item:last-child { border-right: none; }
.strip-item i { color: var(--color-gold); font-size: 1.3rem; margin-bottom: 8px; display: block; }
.strip-item span { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; }

/* ---------------- Cards ---------------- */
.grid {
  display: grid;
  gap: 30px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.service-card .card-img { height: 200px; overflow: hidden; }
.service-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .card-img img { transform: scale(1.06); }
.service-card .card-body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card .card-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.service-card p { font-size: 0.94rem; margin-bottom: 18px; }
.service-card .card-link { margin-top: auto; font-weight: 600; color: var(--color-gold-dark); font-size: 0.88rem; }
.service-card .card-link i { margin-left: 6px; transition: transform 0.2s ease; }
.service-card .card-link:hover i { transform: translateX(4px); }

/* ---------------- Why-us / feature list ---------------- */
.feature-row { display: flex; gap: 18px; margin-bottom: 26px; }
.feature-row .f-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.feature-row h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-row p { font-size: 0.92rem; margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; height: 460px; object-fit: cover; }

/* ---------------- Stat band ---------------- */
.stat-band {
  background: var(--color-green);
  color: var(--color-white);
}
.stat-band .grid { text-align: center; }
.stat-band .stat-num { font-family: var(--font-heading); font-size: 2.6rem; color: var(--color-gold); font-weight: 700; }
.stat-band .stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.85); margin-top: 6px; }

/* ---------------- Testimonials ---------------- */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}
.testimonial-card .stars { color: var(--color-gold); margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-card p.quote { color: var(--color-charcoal); font-style: italic; margin-bottom: 20px; }
.testimonial-card .who { font-weight: 700; font-size: 0.92rem; color: var(--color-black); }
.testimonial-card .farm { font-size: 0.82rem; color: var(--color-stone); }

/* ---------------- Gallery ---------------- */
.gallery-filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 20px;
  border-radius: 30px;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn.active { background: var(--color-black); color: var(--color-white); border-color: var(--color-black); }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .g-cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------------- Team ---------------- */
.team-card { text-align: center; }
.team-card .photo-wrap { width: 100%; height: 260px; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow-soft); }
.team-card .photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--color-gold-dark); font-weight: 600; font-size: 0.88rem; margin-bottom: 10px; display: block; }
.team-card p { font-size: 0.9rem; }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative;
  padding: 76px 0;
  text-align: center;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: rgba(15,15,12,0.78); z-index: -1; }
.cta-band h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.contact-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.info-block { display: flex; gap: 16px; margin-bottom: 24px; }
.info-block .i-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-gold-dark);
  display: flex; align-items: center; justify-content: center;
}
.info-block h4 { font-size: 1rem; margin-bottom: 4px; }
.info-block p { font-size: 0.92rem; margin: 0; }

.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--color-black); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-cream);
  color: var(--color-charcoal);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--color-white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.82rem; color: var(--color-stone); margin-top: 10px; }
#form-status { margin-top: 14px; font-size: 0.9rem; font-weight: 600; }
#form-status.success { color: #3f7a4c; }
#form-status.error { color: #b23a3a; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); height: 340px; margin-top: 30px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--color-black); color: rgba(255,255,255,0.75); }
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 46px; }
.footer-brand span { font-family: var(--font-heading); font-weight: 700; color: var(--color-white); font-size: 1.1rem; }
.footer-col h4 { color: var(--color-white); font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul li { margin-bottom: 11px; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--color-gold); }
.footer-col p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--color-gold); border-color: var(--color-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a:hover { color: var(--color-gold); }

/* ---------------- Utility ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-emergency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,137,47,0.14);
  color: var(--color-gold-dark);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-gold);
  color: var(--color-white);
  padding: 10px 18px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split img { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .services-strip .container { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .topbar .container { justify-content: center; text-align: center; }
  .main-nav { position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh; background: var(--color-white); flex-direction: column; padding: 90px 30px 30px; transition: right 0.3s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.15); z-index: 600; }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-sm-hide { display: none; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .hero { min-height: auto; padding-top: 40px; }
  .hero-content { padding: 40px 0; }
  .hero-stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .nav-cta .btn { padding: 11px 18px; font-size: 0.85rem; }
}

/* Nav overlay for mobile menu */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 550;
}
.nav-overlay.open { display: block; }
