/* ============ TOKENS ============ */
:root {
  --bg: #f6f1e7;
  --bg-warm: #efe6d6;
  --ink: #2a2118;
  --ink-soft: #5c5042;
  --cream: #fbf7ef;
  --forest: #2f3d2c;
  --forest-deep: #232e21;
  --clay: #a8623c;
  --clay-deep: #8a4e2f;
  --gold: #c69749;
  --line: rgba(42, 33, 24, 0.14);
  --shadow: 0 24px 60px -28px rgba(35, 46, 33, 0.45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --radius: 18px;
  --maxw: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: min(var(--maxw), 92vw);
  margin-inline: auto;
}

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

/* film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn.full {
  width: 100%;
}
.btn-solid {
  background: var(--clay);
  color: var(--cream);
}
.btn-solid:hover {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(138, 78, 47, 0.6);
}
.btn-line {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-line:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background 0.4s,
    box-shadow 0.4s,
    padding 0.4s;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.site-header.scrolled .brand {
  color: var(--ink);
}
.site-header.scrolled .brand-sub {
  color: var(--ink-soft);
}
.site-header.scrolled .nav a {
  color: var(--ink);
}
.site-header.scrolled .burger span {
  background: var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.4s;
}
.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--clay);
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(251, 247, 239, 0.65);
  transition: color 0.4s;
}

.nav {
  display: flex;
  gap: 30px;
}
.nav a {
  text-decoration: none;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.4s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--clay);
  transition: width 0.3s;
}
.nav a:hover::after {
  width: 100%;
}

.header-cta {
  padding: 10px 22px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: 0.3s;
  border-radius: 2px;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(78vw, 320px);
  background: var(--forest-deep);
  color: var(--cream);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 96px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-menu .btn {
  margin-top: 16px;
  border: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(198, 151, 73, 0.25),
      transparent 45%
    ),
    linear-gradient(160deg, #3a4a35 0%, #2a3826 40%, #1c2619 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.03) 0 2px,
    transparent 2px 60px
  );
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at bottom,
    transparent 30%,
    rgba(20, 28, 18, 0.7) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}
.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 540px;
  color: rgba(251, 247, 239, 0.88);
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 70px;
}
.hero-actions .btn-line {
  border-color: rgba(251, 247, 239, 0.6);
  color: var(--cream);
}
.hero-actions .btn-line:hover {
  background: var(--cream);
  color: var(--ink);
}

.hero-stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}
.stat-cap {
  font-size: 0.82rem;
  color: rgba(251, 247, 239, 0.7);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-hint span {
  display: block;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(251, 247, 239, 0.5);
  border-radius: 14px;
  position: relative;
}
.scroll-hint span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--cream);
  border-radius: 2px;
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot {
  0% {
    opacity: 0;
    top: 7px;
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    top: 18px;
  }
  100% {
    opacity: 0;
  }
}

/* ============ SECTION COMMON ============ */
.section-tag {
  display: inline-block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--clay);
  margin-bottom: 16px;
  font-weight: 600;
}
.section-tag.light {
  color: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-title.light {
  color: var(--cream);
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

/* ============ ABOUT ============ */
.about {
  padding: 130px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.about-photo {
  position: relative;
  height: 520px;
}
.photo-frame {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}
.photo-a {
  width: 70%;
  height: 78%;
  top: 0;
  left: 0;
  z-index: 1;
  background-image:
    linear-gradient(135deg, rgba(47, 61, 44, 0.15), rgba(47, 61, 44, 0.15)),
    url("https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?w=900&q=80");
}
.photo-b {
  width: 56%;
  height: 56%;
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 8px solid var(--bg);
  background-image: url("https://images.unsplash.com/photo-1568605117036-5fe5e7bab0b7?w=700&q=80");
}
.photo-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}
.about-text p {
  color: var(--ink-soft);
  margin-top: 18px;
  font-size: 1.05rem;
}
.about-text .section-title {
  margin-bottom: 8px;
}
.about-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.about-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 500;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background: var(--clay);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--bg);
}

/* ============ SERVICES ============ */
.services {
  padding: 130px 0;
  background: var(--bg-warm);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--line);
  transition:
    transform 0.4s,
    box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-warm);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
}
.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  flex: 1;
}
.card-from {
  font-weight: 700;
  color: var(--clay);
  font-size: 1.05rem;
  margin-top: 8px;
}

/* ============ HORSES ============ */
.horses {
  padding: 130px 0;
  background: var(--forest-deep);
  position: relative;
}
.horses::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02) 0 1px,
    transparent 1px 80px
  );
  pointer-events: none;
}
.horse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.horse {
  background: var(--forest);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s;
}
.horse:hover {
  transform: translateY(-6px);
}
.horse:hover .horse-img {
  filter: grayscale(0) saturate(1.05);
  transform: scale(1.05);
}
.horse-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.35);
  transition:
    transform 0.6s,
    filter 0.6s;
}
.horse-1 {
  background-image: url("https://images.unsplash.com/photo-1534773728080-33d31da27ae5?w=600&q=80");
}
.horse-2 {
  background-image: url("https://images.unsplash.com/photo-1598974357801-cbca100e65d3?w=600&q=80");
}
.horse-3 {
  background-image: url("https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?w=600&q=80");
}
.horse-4 {
  background-image: url("https://images.unsplash.com/photo-1551884831-bbf3cdc6469e?w=600&q=80");
}
.horse-info {
  padding: 22px 22px 26px;
  color: var(--cream);
}
.horse-info h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
}
.horse-breed {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 4px 0 10px;
}
.horse-note {
  font-size: 0.92rem;
  color: rgba(251, 247, 239, 0.72);
}

/* ============ PRICES ============ */
.prices {
  padding: 130px 0;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s,
    box-shadow 0.4s;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.price-card.featured {
  background: var(--forest-deep);
  color: var(--cream);
  transform: scale(1.04);
}
.price-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}
.price-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.price-amount {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 24px;
}
.price-card.featured .price-amount {
  color: var(--gold);
}
.price-amount span {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.price-card.featured .price-amount span {
  color: rgba(251, 247, 239, 0.6);
}
.price-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}
.price-card li {
  position: relative;
  padding-left: 26px;
  font-size: 0.97rem;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--clay);
  font-weight: 700;
}
.price-card.featured li::before {
  color: var(--gold);
}
.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clay);
  color: var(--cream);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-card.featured .btn-solid {
  background: var(--gold);
  color: var(--forest-deep);
}
.price-card.featured .btn-solid:hover {
  background: #d4a85c;
}

/* ============ BOOKING ============ */
.booking {
  padding: 130px 0;
  background: linear-gradient(160deg, #34432f, #232e21);
  color: var(--cream);
}
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.booking-text p {
  color: rgba(251, 247, 239, 0.82);
  margin-top: 18px;
  font-size: 1.05rem;
  max-width: 440px;
}
.booking-contacts {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.bc-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cream);
}
.bc-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.bc-value {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-top: 4px;
}

.booking-form {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.field input,
.field select {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  transition: border 0.3s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--clay);
}
.field input.invalid {
  border-color: #c0392b;
}
.form-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
}
.form-success {
  color: var(--forest);
  font-weight: 600;
  text-align: center;
  background: rgba(47, 61, 44, 0.08);
  padding: 14px;
  border-radius: 12px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  font-size: 1.6rem;
}
.footer-desc {
  color: rgba(251, 247, 239, 0.65);
  margin-top: 14px;
  max-width: 280px;
  font-size: 0.95rem;
}
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col p {
  color: rgba(251, 247, 239, 0.78);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: 0.3s;
}
.socials a:hover {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(251, 247, 239, 0.55);
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 940px) {
  .nav,
  .header-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
  .about-grid,
  .booking-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-photo {
    height: 420px;
  }
  .cards,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
  .horse-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-card.featured {
    transform: none;
  }
  .price-card.featured:hover {
    transform: translateY(-6px);
  }
}
@media (max-width: 560px) {
  .cards,
  .price-grid,
  .horse-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 32px;
  }
  .stat-num {
    font-size: 2.1rem;
  }
  .booking-form {
    padding: 28px 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-photo {
    height: 360px;
  }
}
