/* =========================================================
   VANGUARD STABLES — Rustic Refined
   Palette: cream, warm tan, deep burgundy, charcoal
   ========================================================= */

:root {
  /* Color */
  --cream: #faf6ee;
  --cream-2: #f3ece0;
  --tan: #e8dcc6;
  --tan-deep: #c9b68f;
  --burgundy: #6b1a20;
  --burgundy-deep: #4f1117;
  --burgundy-light: #8b2831;
  --charcoal: #241c18;
  --charcoal-2: #3a2f28;
  --muted: #7a6c60;
  --line: rgba(36, 28, 24, 0.12);

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --r: 20px;
  --r-lg: 28px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(36, 28, 24, 0.06);
  --shadow-md: 0 10px 30px rgba(36, 28, 24, 0.1);
  --shadow-lg: 0 20px 60px rgba(36, 28, 24, 0.18);
}

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

html { scroll-behavior: smooth; }

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

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   DEMO BAR
   ========================================================= */
.demo-bar {
  position: relative;
  z-index: 100;
  background: var(--burgundy-deep);
  color: var(--cream);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.demo-bar strong { letter-spacing: 0.12em; font-weight: 700; }
.demo-bar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #e8c466;
  box-shadow: 0 0 10px #e8c466;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}
.nav__brand span {
  display: inline-block;
  line-height: 1;
  transform: translateY(1px);
}
.nav__brand img {
  height: 54px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}
.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  color: var(--charcoal-2);
  transition: color 0.25s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--burgundy);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--burgundy); }
.nav__links a:hover::after { width: 100%; }

/* Mobile CTA inside menu — hidden on desktop */
.nav__mobile-cta { display: none; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, #7d2027 0%, #64171e 100%);
  color: var(--cream);
  box-shadow: 0 12px 30px rgba(79, 17, 23, 0.22);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #8a2830 0%, #5a1218 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(79, 17, 23, 0.26);
}
.btn--ghost {
  background: rgba(250, 246, 238, 0.06);
  color: var(--cream);
  border: 1px solid rgba(250, 246, 238, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(250, 246, 238, 0.12);
  border-color: var(--cream);
}
.btn--block { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - 95px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  background-image: url('images/horse1.jpg');
  background-size: cover;
  background-position: center;
  animation: slowZoom 20s ease-out forwards;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 28, 24, 0.2) 0%, rgba(36, 28, 24, 0.7) 100%),
    linear-gradient(90deg, rgba(45, 26, 18, 0.48) 0%, rgba(45, 26, 18, 0.18) 48%, transparent 76%);
}
.hero__content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
  color: var(--cream);
}
.hero__badge {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(231, 220, 198, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(250, 246, 238, 0.34);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 9ch;
  margin-bottom: 26px;
  text-wrap: balance;
  animation: fadeUp 0.9s ease 0.35s both;
}
.hero__title em {
  font-style: italic;
  color: #e7c26d;
  font-weight: 400;
}
.hero__subtitle {
  font-size: clamp(16px, 1.35vw, 18px);
  max-width: 33rem;
  color: rgba(250, 246, 238, 0.9);
  margin-bottom: 36px;
  font-weight: 350;
  line-height: 1.7;
  animation: fadeUp 1s ease 0.5s both;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeUp 1.1s ease 0.65s both;
}
.hero__meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(250, 246, 238, 0.18);
  max-width: 640px;
  animation: fadeUp 1.2s ease 0.8s both;
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  color: #ecd089;
  line-height: 1;
  margin-bottom: 4px;
}
.hero__meta span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.82;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section { padding: 120px 0; position: relative; }
.section--tan { background: var(--cream-2); }
.section--dark { background: var(--charcoal); color: var(--cream); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 20px;
  position: relative;
  padding-left: 36px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 26px; height: 1.5px;
  background: var(--burgundy);
}
.eyebrow--light { color: #e8c466; }
.eyebrow--light::before { background: #e8c466; }

.section__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.section__head .lede {
  color: var(--muted);
  margin-bottom: 0;
}
.section__head .eyebrow { padding-left: 0; }
.section__head .eyebrow::before { display: none; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--charcoal-2);
  margin: 24px 0 18px;
  font-weight: 400;
}
.section--dark .lede { color: rgba(250, 246, 238, 0.85); }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__copy p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
}
.about__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about__stats div { display: flex; flex-direction: column; }
.about__stats strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 6px;
}
.about__stats span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.about__image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.about__image-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--cream);
  color: var(--burgundy);
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

/* =========================================================
   FACILITIES
   ========================================================= */
.facilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.facility {
  background: var(--cream);
  padding: 48px 36px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.facility::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.facility:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.facility:hover::before { transform: scaleX(1); }
.facility__icon {
  width: 64px; height: 64px;
  background: var(--tan);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  margin-bottom: 28px;
}
.facility__icon svg { width: 32px; height: 32px; }
.facility h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--charcoal);
}
.facility p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}
.gallery__item {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery__item:nth-child(1) { grid-row: span 2; }
.gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(36, 28, 24, 0.4));
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact__info {
  max-width: 30rem;
}
.contact__info h2 {
  margin-bottom: 14px;
  max-width: 12ch;
}
.contact .eyebrow {
  margin-bottom: 18px;
}
.contact .eyebrow--light {
  color: #d7b563;
}
.contact .eyebrow--light::before {
  background: rgba(215, 181, 99, 0.9);
}
.contact__info .lede {
  max-width: 31rem;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(250, 246, 238, 0.78);
}
.contact__details {
  list-style: none;
  margin-top: 42px;
  display: grid;
  gap: 14px;
}
.contact__details li {
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(250, 246, 238, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact__details li:last-child { border-bottom: none; }
.contact__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(232, 196, 102, 0.78);
  font-weight: 600;
}
.contact__details a,
.contact__details span {
  color: rgba(250, 246, 238, 0.94);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  transition: color 0.25s;
}
.contact__details a:hover { color: #f0d28b; }

.contact__form {
  background: var(--cream);
  color: var(--charcoal);
  padding: 48px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 20px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field > label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.field input:not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream-2);
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  transition: all 0.25s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 48px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:not([type="radio"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--cream);
  border-color: var(--burgundy);
}
.custom-select {
  position: relative;
}
.custom-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid rgba(107, 26, 32, 0.55);
  border-radius: 16px;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.custom-select__trigger:hover {
  border-color: rgba(107, 26, 32, 0.75);
}
.custom-select__trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 26, 32, 0.12);
}
.custom-select__arrow {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid rgba(107, 26, 32, 0.75);
  border-bottom: 1.5px solid rgba(107, 26, 32, 0.75);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.custom-select.is-open .custom-select__arrow {
  transform: translateY(2px) rotate(-135deg);
}
.custom-select__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  padding: 10px;
  background: rgba(250, 246, 238, 0.98);
  border: 1px solid rgba(107, 26, 32, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(36, 28, 24, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.custom-select.is-open .custom-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}
.custom-select__option {
  width: 100%;
  display: block;
  padding: 13px 14px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--charcoal-2);
  font-family: var(--font-body);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.custom-select__option:hover,
.custom-select__option:focus-visible {
  background: rgba(107, 26, 32, 0.06);
  color: var(--burgundy);
  outline: none;
}
.custom-select__option.is-selected {
  background: rgba(107, 26, 32, 0.08);
  color: var(--burgundy);
}
.form-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--charcoal);
  color: rgba(250, 246, 238, 0.7);
  padding: 80px 0 0;
  border-top: 1px solid rgba(250, 246, 238, 0.08);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer__brand img {
  height: 80px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
}
.footer__brand p {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.7;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 22px;
  font-weight: 600;
}
.footer__col ul { list-style: none; }
.footer__col li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.footer__col a { transition: color 0.25s; }
.footer__col a:hover { color: #e8c466; }

.footer__bottom {
  border-top: 1px solid rgba(250, 246, 238, 0.08);
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom a {
  color: #e8c466;
  font-weight: 500;
  transition: color 0.25s;
}
.footer__bottom a:hover { color: var(--cream); }

/* =========================================================
   REVEAL ANIMATION
   Only hidden when JS adds .js-reveal class — fails safe
   ========================================================= */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   MOBILE NAV PANEL
   ========================================================= */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: rgba(250, 246, 238, 0.88);
  border: 1px solid rgba(107, 26, 32, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(36, 28, 24, 0.12);
  cursor: pointer;
  padding: 0;
  z-index: 95;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--burgundy);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1),
              opacity 0.25s ease;
  transform-origin: center;
}
.nav__toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(36, 28, 24, 0.16);
}
.nav__toggle.is-open {
  background: rgba(250, 246, 238, 0.98);
}
.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop behind mobile menu */
.nav__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(36, 28, 24, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 80;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav__backdrop.is-open {
  opacity: 1;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__image img { height: 400px; }
  .facilities__grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(4) { grid-row: span 1; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__meta { gap: 28px; }
  .about__stats { gap: 24px; }
}

@media (max-width: 820px) {
  /* Show hamburger, hide desktop links */
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__backdrop { display: block; pointer-events: none; }
  .nav__backdrop.is-open { pointer-events: auto; }

  .nav__inner {
    padding: 14px 20px;
  }
  .nav__brand img { height: 46px; }
  .nav__brand {
    gap: 10px;
    font-size: 19px;
    min-width: 0;
  }
  .nav__brand span {
    max-width: 170px;
  }
  .nav__toggle {
    position: relative;
    flex-shrink: 0;
  }

  /* Mobile slide-down menu panel */
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 100vw);
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 104px 32px 40px;
    box-shadow: -20px 0 60px rgba(36, 28, 24, 0.25);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1),
                visibility 0s linear 0.45s;
    z-index: 85;
    font-size: 16px;
    overflow-y: auto;
  }
  .nav__links.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1),
                visibility 0s linear 0s;
  }
  .nav__links li {
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .nav__links.is-open li {
    opacity: 1;
    transform: translateX(0);
  }
  .nav__links.is-open li:nth-child(1) { transition-delay: 0.15s; }
  .nav__links.is-open li:nth-child(2) { transition-delay: 0.22s; }
  .nav__links.is-open li:nth-child(3) { transition-delay: 0.29s; }
  .nav__links.is-open li:nth-child(4) { transition-delay: 0.36s; }
  .nav__links.is-open .nav__mobile-cta { transition-delay: 0.45s; }

  .nav__links a {
    display: block;
    padding: 22px 4px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--charcoal);
    text-transform: none;
  }
  .nav__links a::after { display: none; }
  .nav__links a:hover { color: var(--burgundy); }

  /* CTA button inside mobile menu */
  .nav__mobile-cta {
    display: block;
    list-style: none;
    border-bottom: none !important;
    padding-top: 32px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .nav__mobile-cta .btn {
    width: 100%;
    padding: 18px;
    font-size: 13px;
    font-family: var(--font-body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    box-shadow: 0 18px 35px rgba(107, 26, 32, 0.22);
  }
  .nav__mobile-cta-meta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
  }
  .nav__mobile-cta-meta a {
    display: block !important;
    padding: 4px 0 !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    color: var(--burgundy) !important;
    font-weight: 500;
  }

  /* Lock body scroll when menu open */
  body.nav-open { overflow: hidden; }

  /* Hero mobile adjustments */
  .hero__image { background-position: 51% 30%; }
  .hero__content { padding: 56px 24px 60px; }
  .hero__badge { margin-bottom: 22px; }
  .hero__meta { gap: 24px; }
  .hero__meta strong { font-size: 22px; }
  .contact__form { padding: 36px; }

  .demo-bar { font-size: 12px; padding: 9px 14px; }
  .demo-bar strong { letter-spacing: 0.08em; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .nav__brand {
    font-size: 17px;
  }
  .nav__brand img {
    height: 42px;
  }
  .nav__brand span {
    max-width: 135px;
  }
  .hero__image { background-position: 47% 32%; }
  .hero__content { padding: 44px 24px 56px; }
  .hero__badge {
    padding: 9px 16px;
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  h2 { font-size: 32px; }
  .hero__title { font-size: 44px; line-height: 1.03; }
  .hero__subtitle { font-size: 16px; margin-bottom: 32px; }
  .hero__actions { gap: 12px; width: 100%; }
  .hero__actions .btn { width: 100%; min-width: 0; padding: 14px 18px; font-size: 12px; }
  .hero__meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero__meta strong { font-size: 18px; }
  .hero__meta span { font-size: 10px; }
  .about__stats {
    flex-direction: column;
    gap: 18px;
  }
  .field-row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 20px; }
  .nav__links { width: 100vw; padding: 92px 22px 32px; }
  .nav__links a { font-size: 22px; }
  .custom-select__menu {
    top: calc(100% + 8px);
  }
  .nav__toggle {
    width: 46px;
    height: 46px;
  }
  .nav__toggle span {
    width: 22px;
  }
  .nav__mobile-cta .btn {
    padding: 17px 18px;
  }
  .nav__mobile-cta-meta a {
    font-size: 13px !important;
    line-height: 1.5;
  }
  .demo-bar { font-size: 11px; line-height: 1.4; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
