/* ═══════════════════════════════════════════════════════════════════
   SHAkti Equine Services — Shared Design System
   Tokens, nav, footer, buttons, utilities
   ═══════════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────────── */
:root {
  --clr-primary:    #4A6741;
  --clr-primary-lt: #6B8C62;
  --clr-primary-dk: #2F4229;
  --clr-accent:     #B8825A;
  --clr-accent-lt:  #D4A882;
  --clr-bg:         #FAF6EF;
  --clr-bg-alt:     #F2EBD9;
  --clr-surface:    #FFFFFF;
  --clr-muted:      #EAF0E6;
  --clr-text:       #2C2316;
  --clr-text-muted: #6B5E4A;
  --clr-border:     #D4C9B0;
  --ff-h: 'Lora', Georgia, serif;
  --ff-b: 'Raleway', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(44,35,22,.08);
  --shadow-md: 0 4px 12px rgba(44,35,22,.10), 0 2px 4px rgba(44,35,22,.06);
  --shadow-lg: 0 12px 32px rgba(44,35,22,.12), 0 4px 8px rgba(44,35,22,.06);
  --t: 200ms ease;
  --max-w: 1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-b); font-size: 1rem; line-height: 1.7; color: var(--clr-text); background: var(--clr-bg); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 1.5rem; }

/* ─── NAV ─────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,239,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--clr-border);
  /* Needed so absolute-positioned mobile menu is relative to the nav bar */
  isolation: isolate;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .875rem; }
.nav-logo { display: flex; align-items: center; line-height: 1; }
.nav-logo-img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.nav-links a { font-size: .8rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--clr-text-muted); transition: color var(--t); cursor: pointer; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--clr-primary); }
.nav-cta { background: var(--clr-primary) !important; color: #fff !important; padding: .45rem 1rem !important; border-radius: 6px; transition: background var(--t) !important; }
.nav-cta:hover { background: var(--clr-primary-dk) !important; }
.nav-login { color: var(--clr-accent) !important; display: inline-flex; align-items: center; gap: .3rem; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--clr-primary-dk); border-radius: 2px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.nav-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250,246,239,.98);
    padding: 1.25rem 1.5rem 1.75rem;
    border-bottom: 1px solid var(--clr-border);
    box-shadow: 0 8px 24px rgba(44,35,22,.12);
    gap: 1rem;
    z-index: 99;
  }
}

/* ─── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-b); font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .875rem 1.625rem; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: all var(--t); white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-primary { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }
.btn-primary:hover { background: #9E6640; border-color: #9E6640; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-sage { background: transparent; color: var(--clr-primary); border-color: var(--clr-primary); }
.btn-outline-sage:hover { background: var(--clr-primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.btn-sm { font-size: .72rem; padding: .55rem 1rem; }

/* ─── PAGE HERO (inner pages) ─────────────────────────────────────── */
.page-hero {
  position: relative; padding-block: 5rem 4rem;
  background: var(--clr-primary-dk); overflow: hidden; text-align: center;
}
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28,38,22,.7), rgba(28,38,22,.55)); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--clr-accent-lt); margin-bottom: 1rem;
}
.page-hero-eyebrow::before, .page-hero-eyebrow::after { content: ''; display: block; width: 22px; height: 1px; background: var(--clr-accent-lt); }
.page-hero h1 { font-family: var(--ff-h); font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 600; color: #fff; line-height: 1.15; margin-bottom: .75rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 560px; margin-inline: auto; line-height: 1.75; }

/* ─── SECTION BASE ────────────────────────────────────────────────── */
section { padding-block: 5rem; }
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--clr-accent); margin-bottom: .625rem;
}
.section-label::before { content: ''; display: block; width: 18px; height: 2px; background: var(--clr-accent); border-radius: 2px; }
.section-heading {
  font-family: var(--ff-h); font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600; line-height: 1.2; color: var(--clr-primary-dk); margin-bottom: .875rem;
}
.section-desc { font-size: 1.05rem; color: var(--clr-text-muted); max-width: 580px; line-height: 1.75; }
.section-header { margin-bottom: 2.75rem; }
.section-header-center { text-align: center; }
.section-header-center .section-label { justify-content: center; }
.section-header-center .section-desc { margin-inline: auto; }

/* ─── BAND UTILITIES ──────────────────────────────────────────────── */
.band-dark { background: var(--clr-primary-dk); color: rgba(255,255,255,.85); }
.band-sage { background: var(--clr-primary); color: rgba(255,255,255,.9); }
.band-alt  { background: var(--clr-bg-alt); }
.band-surface { background: var(--clr-surface); }

/* ─── FOOTER ──────────────────────────────────────────────────────── */
footer { background: var(--clr-primary-dk); color: rgba(255,255,255,.7); padding-top: 3.25rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.75rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { display: block; margin-bottom: .75rem; }
.footer-logo-img { height: 52px; width: auto; display: block; }
.footer-desc { font-size: .82rem; line-height: 1.7; margin-bottom: 1.375rem; }
.footer-col-head { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .875rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.6); transition: color var(--t); cursor: pointer; }
.footer-links a:hover { color: #fff; }
.equipro-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--clr-primary-dk); color: #fff;
  font-family: var(--ff-b); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .625rem 1.125rem; border-radius: 7px; border: 1px solid rgba(255,255,255,.15); cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.equipro-btn:hover { background: var(--clr-primary); transform: translateY(-1px); }
.equipro-btn svg { width: 14px; height: 14px; }
.footer-bottom { padding-block: 1.125rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.3); }
.footer-disc { font-size: .7rem; color: rgba(255,255,255,.28); max-width: 500px; line-height: 1.5; }
.footer-social { margin-top: 1.25rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.footer-social-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: rgba(255,255,255,.5); transition: color var(--t); }
.footer-social-link:hover { color: rgba(255,255,255,.9); }
.footer-social-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-powered { font-size: .65rem; color: rgba(255,255,255,.2); width: 100%; text-align: center; padding-top: .375rem; }
.footer-powered a { color: rgba(255,255,255,.35); text-decoration: underline; text-underline-offset: 3px; transition: color var(--t); }
.footer-powered a:hover { color: rgba(255,255,255,.65); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── DISCLAIMER ──────────────────────────────────────────────────── */
.disclaimer-inner {
  border: 1px solid var(--clr-border); border-radius: 14px; padding: 1.375rem 1.75rem;
  background: var(--clr-bg); display: flex; gap: 1rem; align-items: flex-start;
}
.disclaimer-inner svg { width: 18px; height: 18px; color: var(--clr-accent); flex-shrink: 0; margin-top: 2px; }
.disclaimer-text { font-size: .85rem; color: var(--clr-text-muted); line-height: 1.7; }
.disclaimer-text strong { color: var(--clr-text); }

/* ─── IMG HELPERS ─────────────────────────────────────────────────── */
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.img-rounded { border-radius: 16px; overflow: hidden; }
.img-shadow { box-shadow: var(--shadow-lg); }
.img-fallback { background: var(--clr-muted); display: flex; align-items: center; justify-content: center; color: var(--clr-primary-lt); font-size: .8rem; }


/* ─── RESPONSIVE SECTION PADDING ─────────────────────────────────── */
@media (max-width: 768px) {
  section { padding-block: 3.5rem; }
  .page-hero { padding-block: 3.5rem 3rem; }
  .container { padding-inline: 1.25rem; }
}
@media (max-width: 480px) {
  section { padding-block: 2.5rem; }
  .page-hero { padding-block: 2.5rem 2rem; }
  .container { padding-inline: 1rem; }
  .section-heading { font-size: clamp(1.25rem, 5vw, 1.75rem); }
  .btn { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
