/* =============================================
   HOME PAGE — Countryside Editorial
   ============================================= */

/* ── Hero ────────────────────────────────────── */
.hero {
  background: var(--forest);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

/* organic grain overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(184,115,51,0.12) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: cover, 200px 200px;
  pointer-events: none;
}

/* diagonal organic bottom cut */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 72px;
  background: var(--cream);
  clip-path: ellipse(56% 100% at 50% 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content .section-label {
  color: rgba(245,233,216,0.65);
  animation: fadeDown 0.6s ease both;
}
.hero-content .section-label::before {
  background: rgba(245,233,216,0.4);
}

.hero-content h1 {
  color: var(--cream);
  font-style: italic;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  margin: 14px 0 24px;
  animation: fadeDown 0.7s 0.1s ease both;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(245,233,216,0.72);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.8;
  font-weight: 300;
  animation: fadeDown 0.7s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeDown 0.7s 0.3s ease both;
}

.hero-btns .btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--cream);
}
.hero-btns .btn-primary:hover {
  background: var(--amber-warm);
  border-color: var(--amber-warm);
}

.hero-btns .btn-outline {
  color: var(--cream);
  border-color: rgba(245,233,216,0.45);
  background: rgba(245,233,216,0.08);
}
.hero-btns .btn-outline:hover {
  background: rgba(245,233,216,0.18);
  border-color: var(--cream);
  color: var(--cream);
}

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatIn 0.9s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-badge-disc {
  background: var(--cream);
  border-radius: 50%;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 10px rgba(245,233,216,0.12),
    0 0 0 20px rgba(245,233,216,0.06),
    0 16px 48px rgba(0,0,0,0.35);
}

.hero-badge-disc img {
  width: 218px;
  height: 218px;
  object-fit: contain;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatIn {
  from { opacity: 0; transform: scale(0.88) rotate(-3deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ── Why section ─────────────────────────────── */
.why-section {
  background: var(--cream);
}

.why-intro {
  max-width: 680px;
  margin-bottom: 56px;
}

.why-intro h2 em, .why-intro h2 i {
  color: var(--amber);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.3s, transform 0.3s, border-left-color 0.3s;
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-left-color: var(--amber);
}
.why-card:hover::after { opacity: 1; }

.why-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.why-card h3 {
  color: var(--forest);
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.why-card p { margin: 0; font-size: 0.93rem; line-height: 1.65; }

/* ── Reactive section ────────────────────────── */
.reactive-section {
  background: var(--forest);
  position: relative;
  overflow: hidden;
}

.reactive-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(184,115,51,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.reactive-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.reactive-section h2 {
  color: var(--cream);
  font-style: italic;
}

.reactive-section p,
.reactive-section ul li {
  color: rgba(245,233,216,0.78);
  font-weight: 300;
}

.reactive-section .icon-list li {
  border-bottom-color: rgba(255,255,255,0.08);
}

.reactive-section .icon-list li::before {
  color: var(--amber);
}

.reactive-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(245,233,216,0.85) !important;
  margin-top: 20px;
  padding-left: 20px;
  border-left: 2px solid var(--amber);
  line-height: 1.5;
}

.reactive-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reactive-callout {
  background: rgba(245,233,216,0.06);
  border: 1px solid rgba(245,233,216,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.reactive-callout:hover {
  background: rgba(245,233,216,0.1);
  border-color: rgba(184,115,51,0.4);
}

.callout-big {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--amber-warm);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.reactive-callout p {
  color: rgba(245,233,216,0.65) !important;
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* ── Acres section ───────────────────────────── */
.acres-section {
  background: var(--amber-pale);
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.acres-content { max-width: 680px; }

.acres-content h2 { color: var(--forest); }

.acres-content .icon-list { margin: 20px 0 24px; }

.acres-content .btn { margin-top: 8px; }

/* ── Humans section ──────────────────────────── */
.humans-section { background: var(--cream); }

.humans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.humans-section .card {
  background: var(--parchment);
  border-color: var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.humans-section .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.humans-section .card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.humans-section .card:hover::before { transform: scaleX(1); }

.humans-section .card h3 { color: var(--forest); }

.humans-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--forest);
}

/* ── Who section ─────────────────────────────── */
.who-section {
  background: var(--parchment);
  position: relative;
}

.who-content { max-width: 720px; }

.who-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.who-list li {
  padding: 14px 20px 14px 52px;
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 400;
  transition: border-color 0.2s, transform 0.2s;
}

.who-list li:hover,
.who-list li.clickable-card:hover {
  border-color: var(--amber);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.who-list li::before {
  content: '🐾';
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 1rem;
}

.who-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-mid);
  margin: 20px 0 28px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}

/* ── About section ───────────────────────────── */
.about-section {
  background: var(--forest);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(184,115,51,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.about-icon {
  font-size: 4rem;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(184,115,51,0.3));
}

.about-text .section-label {
  color: rgba(245,233,216,0.65);
}
.about-text .section-label::before {
  background: rgba(245,233,216,0.4);
}

.about-text h2 {
  color: var(--cream);
  font-style: italic;
  margin-bottom: 16px;
}

.about-text p {
  color: rgba(245,233,216,0.75);
  font-weight: 300;
}

@media (max-width: 480px) {
  .about-inner { flex-direction: column; gap: 20px; text-align: center; }
  .about-text .section-label { justify-content: center; }
}

/* ── How it works ────────────────────────────── */
.how-section { background: var(--cream); }

.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 48px;
  flex-wrap: wrap;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(28px + 2rem);
  right: calc(28px + 2rem);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 6px, transparent 6px, transparent 14px);
  z-index: 0;
}

.step {
  flex: 1;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.25s, transform 0.25s;
  margin: 0 10px;
}

.step:first-child { margin-left: 0; }
.step:last-child  { margin-right: 0; }

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

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--amber-warm);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--sage-pale);
}

.step h3 { color: var(--forest); margin-bottom: 10px; font-size: 1.15rem; }
.step p { font-size: 0.9rem; margin: 0; line-height: 1.65; }

.step-arrow {
  display: none;
}

/* ── Social section ──────────────────────────── */
.social-section {
  background: var(--forest);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.social-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(184,115,51,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.social-section .container { position: relative; z-index: 1; }

.social-section h2 {
  color: var(--cream);
  font-style: italic;
}

.social-section p { color: rgba(245,233,216,0.82); }

.social-follow-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ── Location section ────────────────────────── */
.location-section {
  background: var(--parchment);
  border-top: 1px solid var(--border);
}

.location-content { max-width: 640px; }

.location-content p { line-height: 1.8; }

.location-content .btn { margin-top: 12px; }

/* ── Testimonials ────────────────────────────── */
.testimonials-section { background: var(--forest); }

.testimonials-section h2 {
  color: var(--cream);
  font-style: italic;
  margin-bottom: 40px;
}

.testimonials-section .section-label {
  color: rgba(245,233,216,0.65);
}
.testimonials-section .section-label::before {
  background: rgba(245,233,216,0.4);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: rgba(245,233,216,0.07);
  border: 1px solid rgba(245,233,216,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s, border-color 0.2s;
}

.testimonial-card:hover {
  background: rgba(245,233,216,0.11);
  border-color: rgba(184,115,51,0.35);
}

.testimonial-stars {
  color: var(--amber-warm);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(245,233,216,0.88);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(245,233,216,0.1);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.testimonial-dog {
  font-size: 0.8rem;
  color: rgba(245,233,216,0.5);
  font-style: italic;
}

/* ── All breeds welcome ──────────────────────── */
.breeds-section {
  background: var(--amber-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.breeds-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.breeds-text h2 { margin-bottom: 14px; }
.breeds-text a { color: var(--forest); font-weight: 500; text-decoration: underline; }

.breeds-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.breed-tag {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s;
}

.breed-tag:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .why-grid        { grid-template-columns: repeat(2, 1fr); }
  .humans-grid     { grid-template-columns: repeat(2, 1fr); }
  .reactive-section .container { grid-template-columns: 1fr; gap: 48px; }
  .steps::before   { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .breeds-inner    { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .hero .container    { grid-template-columns: 1fr; }
  .hero-badge         { display: none; }
  .steps              { flex-direction: column; gap: 12px; }
  .step               { margin: 0; min-width: unset; }
}

@media (max-width: 600px) {
  .why-grid    { grid-template-columns: 1fr; }
  .humans-grid { grid-template-columns: 1fr; }
  .hero        { padding: 72px 0 96px; }
}
