/*
Theme Name: やぎの循環牧場
Theme URI: https://example.com
Author: Yagi Junkan Farm
Description: ヤギ循環型ビジネス専用WordPressテーマ。引き取り・除草レンタル・搾乳販売・ペット販売の循環型牧場サイト。
Version: 1.0.0
Text Domain: yagi-junkan
License: GNU General Public License v2 or later
*/

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
  --green-900: #1a3a1a;
  --green-800: #2d5a27;
  --green-700: #3a7233;
  --green-600: #4a8c3f;
  --green-500: #5ba34d;
  --green-400: #7ebe6e;
  --green-300: #a3d696;
  --green-200: #c8e8be;
  --green-100: #e8f5e4;
  --green-50:  #f4faf2;

  --warm-700: #b85a1a;
  --warm-600: #d4751f;
  --warm-500: #e8922b;
  --warm-400: #f0a948;
  --warm-300: #f5c478;
  --warm-100: #fef0d5;
  --warm-50:  #fffaf0;

  --earth-100: #f0ebe4;

  --text-primary: #2c2c2c;
  --text-secondary: #5a5a5a;
  --text-muted: #8a8a8a;

  --bg-cream: #fdfcf8;
  --bg-light: #f8f7f3;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --header-height: 72px;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--text-primary);
  background: var(--bg-cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ========================================
   Typography Helpers
   ======================================== */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-600);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--green-900);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--green-600); color: #fff;
  border: none; border-radius: var(--radius-lg);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 16px rgba(74,140,63,0.35);
  transition: all 0.25s;
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.85); color: var(--green-800);
  border: 2px solid var(--green-300); border-radius: var(--radius-lg);
  font-size: 1rem; font-weight: 700; transition: all 0.25s;
}
.btn-secondary:hover { background: #fff; border-color: var(--green-500); transform: translateY(-2px); }
.btn-green {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px;
  background: var(--green-600); color: #fff;
  border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 700;
  transition: all 0.2s;
}
.btn-green:hover { background: var(--green-700); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px;
  background: #fff; color: var(--green-700);
  border: 2px solid var(--green-300); border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 700; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--green-500); transform: translateY(-2px); }
.btn-white {
  padding: 14px 32px; background: #fff; color: var(--green-800);
  border-radius: var(--radius-lg); font-size: 1rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: all 0.25s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-white-outline {
  padding: 14px 32px; background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.5); border-radius: var(--radius-lg);
  font-size: 1rem; font-weight: 700; transition: all 0.25s;
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 700; color: var(--green-600); transition: gap 0.2s;
}
.link-arrow:hover { gap: 10px; }

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000; transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.25rem; color: var(--green-800);
}
.logo-icon {
  width: 40px; height: 40px; background: var(--green-600); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
}
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-secondary);
  transition: color 0.2s; position: relative;
}
.nav-desktop a:hover { color: var(--green-700); }
.nav-desktop a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--green-500); transform: scaleX(0); transition: transform 0.25s;
}
.nav-desktop a:hover::after { transform: scaleX(1); }
.nav-desktop .current-menu-item > a,
.nav-desktop .current-menu-ancestor > a { color: var(--green-700); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn-phone { font-size: 0.85rem; font-weight: 700; color: var(--green-700); }
.header-cta .btn-primary-sm {
  padding: 8px 18px; background: var(--green-600); color: #fff;
  border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.header-cta .btn-primary-sm:hover { background: var(--green-700); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: 0.3s; }
.mobile-nav {
  display: none; position: fixed;
  top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
  padding: 32px 24px; z-index: 999; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 16px 0; font-size: 1.05rem; font-weight: 500;
  color: var(--text-primary); border-bottom: 1px solid var(--earth-100);
}

/* ========================================
   Hero (Front Page)
   ======================================== */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  margin-top: var(--header-height); overflow: hidden;
  background: linear-gradient(160deg, var(--green-100) 0%, var(--warm-50) 50%, var(--green-50) 100%);
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90,163,77,0.12) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -10%; left: -5%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,146,43,0.1) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 60px 20px 80px; max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.8); border: 1px solid var(--green-200);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.78rem; font-weight: 700; color: var(--green-700);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 900;
  line-height: 1.35; color: var(--green-900); margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-description {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem); color: var(--text-secondary);
  line-height: 1.9; margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-deco {
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: var(--bg-cream); clip-path: ellipse(60% 100% at 50% 100%);
}

/* ========================================
   Section Cards (3-column, 4-column)
   ======================================== */
.card-grid-3, .card-grid-4 {
  display: grid; gap: 28px; margin-top: 48px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 24px;
  text-align: center; box-shadow: var(--shadow-sm);
  border: 2px solid transparent; transition: all 0.35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.card-icon.bg-green { background: var(--green-100); }
.card-icon.bg-warm { background: var(--warm-100); }
.card-icon.bg-earth { background: var(--earth-100); }
.card-icon.bg-blue { background: #e3edf7; }
.card-icon.bg-pink { background: #f5e6f0; }
.card h3 { font-size: 1.1rem; font-weight: 900; color: var(--green-900); margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; }

/* ========================================
   Cycle Diagram
   ======================================== */
.circulation {
  padding: 80px 0; background: var(--green-50); position: relative; overflow: hidden;
}
.circulation::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%234a8c3f' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cycle-diagram {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 12px; margin-top: 48px; position: relative; z-index: 1;
}
.cycle-step {
  background: #fff; border-radius: var(--radius-md); padding: 24px 20px;
  text-align: center; width: 150px; box-shadow: var(--shadow-md);
  border: 2px solid transparent; transition: all 0.3s;
}
.cycle-step:hover { border-color: var(--green-400); transform: scale(1.05); }
.cycle-step-icon { font-size: 2rem; margin-bottom: 8px; }
.cycle-step-title { font-size: 0.92rem; font-weight: 900; color: var(--green-900); margin-bottom: 4px; }
.cycle-step-desc { font-size: 0.75rem; color: var(--text-muted); }
.cycle-arrow { font-size: 1.5rem; color: var(--green-400); animation: pulse 2s ease infinite; }

/* ========================================
   Facility
   ======================================== */
.facility-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; margin-top: 48px;
}
.facility-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facility-img {
  border-radius: var(--radius-md); aspect-ratio: 4/3; object-fit: cover;
  background: var(--green-100); display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--green-400);
}
.facility-img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.facility-list { display: flex; flex-direction: column; gap: 14px; }
.facility-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--text-secondary); }
.facility-item-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-100); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--green-700);
}

/* ========================================
   Message / Representative
   ======================================== */
.message-layout { display: flex; align-items: center; gap: 48px; margin-top: 40px; }
.message-photo {
  flex-shrink: 0; width: 200px; height: 200px; border-radius: 50%;
  background: var(--green-200); display: flex; align-items: center; justify-content: center;
  font-size: 4rem; border: 4px solid #fff; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.message-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ========================================
   Testimonials
   ======================================== */
.testimonial-card {
  background: var(--bg-light); border-radius: var(--radius-lg);
  padding: 32px 28px; position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 16px; left: 24px;
  font-family: Georgia, serif; font-size: 3.5rem; color: var(--green-200); line-height: 1;
}
.testimonial-card .tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; margin-bottom: 16px;
}
.tag-green { background: var(--green-100); color: var(--green-700); }
.tag-warm { background: var(--warm-100); color: var(--warm-700); }
.tag-pink { background: #f5e6f0; color: #8a4a70; }
.testimonial-card blockquote {
  font-size: 0.95rem; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 16px; padding-top: 16px;
}
.testimonial-card .author { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--earth-100);
}
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900;
  color: var(--green-700); line-height: 1.2;
}
.stat-number span { font-size: 0.5em; font-weight: 700; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ========================================
   News
   ======================================== */
.news-list { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.news-item {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border-radius: var(--radius-md); padding: 20px 24px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.news-date { flex-shrink: 0; font-size: 0.82rem; font-weight: 700; color: var(--text-muted); min-width: 90px; }
.news-tag {
  flex-shrink: 0; padding: 3px 10px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700;
  background: var(--green-100); color: var(--green-700);
}
.news-tag.schedule { background: var(--warm-100); color: var(--warm-700); }
.news-title-text { font-size: 0.92rem; font-weight: 500; }

/* ========================================
   Route Map
   ======================================== */
.map-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; margin-top: 40px;
}
.map-visual {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-md); text-align: center; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.map-schedule-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--earth-100);
}
.map-schedule-item .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green-500); flex-shrink: 0;
}
.map-schedule-item .dot.upcoming { background: var(--warm-500); animation: pulse 1.5s infinite; }
.map-ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ========================================
   Final CTA
   ======================================== */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 50%, var(--green-800) 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,0.05);
}
.final-cta .section-title { color: #fff; }
.final-cta .phone-number { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 8px; }
.final-cta .phone-number a { color: #fff; }
.final-cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; position: relative; z-index: 1; }

/* ========================================
   Footer
   ======================================== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; opacity: 0.75; }
.footer-col h4 { font-size: 0.88rem; font-weight: 900; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.85rem; padding: 4px 0; opacity: 0.7; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; }
.footer-sns { display: flex; gap: 12px; margin-top: 16px; }
.footer-sns a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: background 0.2s;
}
.footer-sns a:hover { background: rgba(255,255,255,0.2); }
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1);
}
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); padding: 8px 16px;
  border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.85);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; font-size: 0.78rem; opacity: 0.6;
}
.footer-legal a { padding: 0; opacity: 1; }
.footer-legal a + a::before { content: '｜'; margin: 0 8px; }

/* ========================================
   FAB (mobile phone button)
   ======================================== */
.fab-phone {
  display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 900; padding: 14px 28px; background: var(--green-600); color: #fff;
  border-radius: 100px; font-size: 0.95rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(74,140,63,0.4); animation: float 3s ease infinite;
  gap: 8px; align-items: center; text-decoration: none;
}

/* ========================================
   Page Hero (inner pages)
   ======================================== */
.page-hero {
  margin-top: var(--header-height);
  padding: 60px 0; text-align: center;
  background: linear-gradient(160deg, var(--green-100), var(--green-50));
  border-bottom: 1px solid var(--green-200);
}
.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 900;
  color: var(--green-900); margin-bottom: 12px;
}
.page-hero p { font-size: 1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  padding: 12px 0; font-size: 0.82rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--green-600); }
.breadcrumb a:hover { text-decoration: underline; }

/* ========================================
   Inner Page Content
   ======================================== */
.page-content {
  padding: 48px 0 80px;
}
.page-content .container { max-width: 860px; }
.page-content h2 {
  font-size: 1.4rem; font-weight: 900; color: var(--green-900);
  margin: 48px 0 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--green-100);
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 1.15rem; font-weight: 900; color: var(--green-800);
  margin: 32px 0 12px;
}
.page-content p { margin-bottom: 16px; color: var(--text-secondary); }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; color: var(--text-secondary); }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 6px; }
.page-content table {
  width: 100%; border-collapse: collapse; margin-bottom: 24px;
}
.page-content th, .page-content td {
  padding: 12px 16px; border: 1px solid #e0e0e0; text-align: left; font-size: 0.92rem;
}
.page-content th { background: var(--green-50); font-weight: 700; color: var(--green-900); }
.page-content .cta-box {
  background: var(--green-50); border: 2px solid var(--green-200);
  border-radius: var(--radius-lg); padding: 32px; text-align: center; margin: 40px 0;
}
.page-content .cta-box h3 { margin-top: 0; }

/* Landing page child-links grid */
.child-links-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 32px;
}
.child-link-card {
  background: #fff; border-radius: var(--radius-md); padding: 28px 24px;
  box-shadow: var(--shadow-sm); border: 2px solid transparent;
  transition: all 0.3s; display: block;
}
.child-link-card:hover { border-color: var(--green-400); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.child-link-card h3 { font-size: 1.05rem; font-weight: 900; color: var(--green-900); margin-bottom: 8px; }
.child-link-card p { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 12px; }

/* ========================================
   CF7 Form Styling
   ======================================== */
.cf7-surrender-form .form-section {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.cf7-surrender-form .form-section-title {
  font-size: 1.05rem; font-weight: 900; color: var(--green-800);
  margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--green-100);
}
.cf7-surrender-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px;
}
.cf7-surrender-form label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.cf7-surrender-form .required {
  background: #e74c3c; color: #fff; font-size: 0.65rem;
  padding: 1px 6px; border-radius: 3px; margin-left: 4px;
}
.cf7-surrender-form .optional {
  background: var(--text-muted); color: #fff; font-size: 0.65rem;
  padding: 1px 6px; border-radius: 3px; margin-left: 4px;
}
.cf7-surrender-form .hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.cf7-surrender-form input[type="text"],
.cf7-surrender-form input[type="email"],
.cf7-surrender-form input[type="tel"],
.cf7-surrender-form input[type="number"],
.cf7-surrender-form select,
.cf7-surrender-form textarea {
  width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm); font-size: 1rem; background: #fff; transition: border-color 0.2s;
}
.cf7-surrender-form input:focus,
.cf7-surrender-form select:focus,
.cf7-surrender-form textarea:focus {
  border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(91,163,77,0.15); outline: none;
}
.cf7-surrender-form textarea { min-height: 120px; resize: vertical; }
.cf7-surrender-form .wpcf7-submit {
  display: block; margin: 32px auto 0; padding: 16px 48px;
  background: var(--green-600); color: #fff; border: none;
  border-radius: var(--radius-lg); font-size: 1.1rem; font-weight: 900;
  cursor: pointer; box-shadow: 0 4px 16px rgba(74,140,63,0.35); transition: all 0.25s;
}
.cf7-surrender-form .wpcf7-submit:hover { background: var(--green-700); transform: translateY(-2px); }
.form-trust {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px;
}
.form-trust-item {
  display: flex; align-items: center; gap: 6px;
  background: var(--green-50); padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 700; color: var(--green-700);
}

/* ========================================
   FAQ Accordion
   ======================================== */
.faq-item { margin-bottom: 12px; }
.faq-question {
  width: 100%; text-align: left; padding: 18px 24px;
  background: #fff; border: 2px solid var(--green-100);
  border-radius: var(--radius-md); font-size: 1rem; font-weight: 700;
  color: var(--green-900); cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-question:hover { border-color: var(--green-400); }
.faq-question.active { border-color: var(--green-500); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.faq-answer {
  display: none; padding: 20px 24px; background: #fff;
  border: 2px solid var(--green-100); border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8;
}
.faq-answer.open { display: block; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .nav-desktop, .header-cta { display: none; }
  .hamburger { display: flex; }
  .card-grid-3 { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .facility-layout, .map-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .hero { min-height: 80vh; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas a { width: 100%; max-width: 320px; justify-content: center; }
  .card-grid-4 { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 16px; }
  .message-layout { flex-direction: column; text-align: center; }
  .message-photo { width: 140px; height: 140px; font-size: 3rem; }
  .cycle-diagram { gap: 8px; }
  .cycle-step { width: 120px; padding: 16px 12px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .trust-badges { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .fab-phone { display: flex; }
  .final-cta { padding-bottom: 120px; }
  .cf7-surrender-form .form-row { grid-template-columns: 1fr; }
  .cf7-surrender-form .form-section { padding: 24px 18px; }
  .form-trust { flex-direction: column; }
  .news-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  section, .page-content { padding: 60px 0; }
}
