*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #2E2620;
  background: var(--white);
  line-height: 1.6;
}

:root {
  --brown-dark: #2E2620;
  --brown-mid: #6B5744;
  --amber: #B8832A;
  --amber-light: #D4A44C;
  --cream: #FDFAF6;
  --sand: #F2EBE0;
  --sand-dark: #E4D9CC;
  --text-muted: #7A6B5E;
  --white: #FFFFFF;
  --border: #DDD5C8;
}

h1, h2, h3 { font-family: 'Lora', serif; line-height: 1.2; }

/* ── Hero ── */
.hero {
  position: relative; height: 88vh; min-height: 560px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #3a2e25 0%, #6b5744 55%, #8a7060 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(22,14,8,0.78) 0%, rgba(22,14,8,0.28) 55%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 80px 88px; max-width: 680px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber-light); margin-bottom: 20px;
}
.eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--amber-light);
}
.hero h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem); color: var(--white);
  font-weight: 600; margin-bottom: 20px; line-height: 1.18;
}
.hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.8);
  max-width: 480px; margin-bottom: 36px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; align-items: center; }
.btn-primary {
  background: var(--amber); color: var(--white);
  padding: 14px 30px; border-radius: 3px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.02em; transition: background 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--amber-light); }
.btn-ghost {
  color: rgba(255,255,255,0.82); font-size: 0.9rem; font-weight: 500;
  text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.btn-ghost::after { content: '→'; }
.btn-ghost:hover { color: var(--white); }

/* ── Sections ── */
.section { padding: 100px 80px; background: var(--white); }
.section-sand { background: var(--cream); }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block; width: 22px; height: 1.5px; background: var(--amber);
}
.container { max-width: 1200px; margin: 0 auto; }

/* ── About ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 88px; align-items: center; max-width: 1200px; margin: 0 auto;
}
.about-img-wrap { position: relative; }
.about-img {
  aspect-ratio: 4/5; border-radius: 3px; overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-img-caption {
  font-size: 0.78rem; color: var(--text-muted); font-style: italic;
  margin-top: 10px; line-height: 1.5;
}
.about-img-accent {
  position: absolute; bottom: -14px; right: -14px;
  width: 72px; height: 72px; background: var(--amber); border-radius: 2px; z-index: -1;
}
.about-text h2 { font-size: 2.1rem; margin-bottom: 18px; color: var(--brown-dark); }
.about-text p { color: var(--text-muted); font-size: 0.975rem; line-height: 1.85; margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin-top: 28px; }
.feature-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; color: var(--brown-mid); font-weight: 500;
}
.feature-item::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber); flex-shrink: 0;
}

/* ── Pricing ── */
.pricing-intro { text-align: center; margin-bottom: 56px; }
.pricing-intro h2 { font-size: 2.1rem; color: var(--brown-dark); margin-bottom: 12px; }
.pricing-intro p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.p-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 3px; overflow: hidden; transition: box-shadow 0.25s; position: relative;
}
.p-card:hover { box-shadow: 0 8px 36px rgba(46,38,32,0.09); }
.p-card.featured { border-color: var(--amber); }
.p-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--amber); color: var(--white);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 2px;
}
.p-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--sand-dark); display: block;
}
.p-body { padding: 28px; }
.p-price {
  font-size: 1.8rem; font-weight: 700; color: var(--brown-dark);
  font-family: 'Plus Jakarta Sans', sans-serif; margin-bottom: 2px;
}
.p-price sub { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.p-title { font-family: 'Lora', serif; font-size: 1.15rem; color: var(--brown-dark); margin: 8px 0 12px; }
.p-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }
.btn-outline {
  display: block; text-align: center; border: 1.5px solid var(--brown-dark);
  color: var(--brown-dark); padding: 11px 20px; border-radius: 3px;
  font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { background: var(--brown-dark); color: var(--white); }
.btn-filled {
  display: block; text-align: center; background: var(--amber);
  color: var(--white); padding: 11px 20px; border-radius: 3px;
  font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: background 0.2s;
}
.btn-filled:hover { background: var(--amber-light); }

/* ── Courses ── */
.courses-intro { text-align: center; margin-bottom: 44px; }
.courses-intro h2 { font-size: 2.1rem; color: var(--brown-dark); margin-bottom: 10px; }
.courses-intro p { color: var(--text-muted); max-width: 520px; line-height: 1.8; margin: 0 auto 20px; }
.courses-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.courses-top h2 { font-size: 2.1rem; color: var(--brown-dark); margin-bottom: 10px; }
.courses-top p { color: var(--text-muted); max-width: 520px; line-height: 1.8; }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.c-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.c-img { width: 100%; aspect-ratio: 3/2; display: block; }
.c-body { padding: 24px; }
.c-body h3 { font-family: 'Lora', serif; font-size: 1.05rem; color: var(--brown-dark); margin-bottom: 14px; line-height: 1.45; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--amber); text-decoration: none; }
.link-arrow::after { content: '→'; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ── Gallery ── */
.gallery-intro { text-align: center; margin-bottom: 52px; }
.gallery-intro h2 { font-size: 2.1rem; color: var(--brown-dark); margin-bottom: 8px; }
.gallery-intro p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.g-card { border-radius: 3px; overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; background: var(--white); }
.g-img { width: 100%; flex: 1; min-height: 200px; object-fit: cover; display: block; }
.g-caption { padding: 16px 18px; background: var(--white); flex-shrink: 0; }
.g-caption .horse { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.g-caption .diagnosis { font-size: 0.95rem; font-weight: 600; color: var(--brown-dark); }

/* ── FAQ ── */
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 88px; align-items: start; max-width: 1200px; margin: 0 auto; }
.faq-side h2 { font-size: 2.1rem; color: var(--brown-dark); margin-bottom: 14px; }
.faq-side p { color: var(--text-muted); line-height: 1.8; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; cursor: pointer; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-size: 0.975rem; font-weight: 600; color: var(--brown-dark); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.faq-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  color: var(--amber);
  transition: transform 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none; padding: 14px 0 22px;
  font-size: 0.925rem; color: var(--text-muted); line-height: 1.85;
}
.faq-item.open .faq-answer { display: block; }
.faq-q { cursor: pointer; }

/* ── Blog ── */
.blog-intro { text-align: center; margin-bottom: 44px; }
.blog-intro h2 { font-size: 2.1rem; color: var(--brown-dark); margin-bottom: 8px; }
.blog-intro p { color: var(--text-muted); max-width: 520px; margin: 0 auto 20px; }
.blog-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.blog-top h2 { font-size: 2.1rem; color: var(--brown-dark); margin-bottom: 8px; }
.blog-top p { color: var(--text-muted); max-width: 440px; }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.b-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 3px;
  overflow: hidden; text-decoration: none; display: block; transition: box-shadow 0.2s;
}
.b-card:hover { box-shadow: 0 4px 20px rgba(46,38,32,0.07); }
.b-img { width: 100%; aspect-ratio: 16/10; display: block; object-fit: cover; }
.b-body { padding: 18px 20px; }
.b-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.b-card h3 { font-family: 'Lora', serif; font-size: 0.975rem; color: var(--brown-dark); line-height: 1.5; }

/* ── Footer ── */
footer {
  background: var(--brown-dark); color: rgba(255,255,255,0.65);
  padding: 48px 80px; display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem;
}
.foot-logo { font-family: 'Lora', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 4px; }
footer a { color: rgba(255,255,255,0.55); text-decoration: none; margin-left: 28px; font-size: 0.8rem; }
footer a:hover { color: var(--white); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 24px 56px;
    max-width: 100%;
  }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-primary { width: 100%; text-align: center; }

  .section { padding: 64px 24px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-img { aspect-ratio: 3/4; }
  .about-img-accent { display: none; }
  .about-text h2 { font-size: 1.7rem; }
  .feature-grid { grid-template-columns: 1fr; }

  .pricing-intro h2 { font-size: 1.7rem; }
  .pricing-grid { grid-template-columns: 1fr; }

  .courses-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .courses-top h2 { font-size: 1.7rem; }
  .courses-grid { grid-template-columns: 1fr; }

  .gallery-intro h2 { font-size: 1.7rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-side h2 { font-size: 1.7rem; }

  .blog-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .blog-top h2 { font-size: 1.7rem; }
  .blog-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  footer { flex-direction: column; gap: 20px; align-items: flex-start; padding: 40px 24px; }
  footer a { margin-left: 0; margin-right: 20px; }
  footer div:last-child { display: flex; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
