/* Trussler Equestrian — home page styles
   Palette drawn from the logo: deep navy + warm gold, on a soft cream,
   with a pasture-green accent. */

:root {
  --navy:      #172444;
  --navy-2:    #1f3157;
  --navy-3:    #2b436e;
  --gold:      #c9a34e;
  --gold-dark: #a17e2f;
  --gold-soft: #f0e2b8;
  --cream:     #f7f0dd;
  --cream-2:   #efe4c3;
  --moss:      #6d8a4f;
  --moss-dark: #4f6b36;
  --moss-soft: #dfe8d1;
  --ink:       #14213a;
  --muted:     #62676f;
  --line:      #d9c78e;
  --max:       1180px;
}

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

body {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--gold-dark); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------- Header -------- */
.site-header {
  background: var(--cream);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand img {
  height: 140px;
  width: auto;
  display: block;
  border-radius: 4px;
}
@media (max-width: 620px) {
  .brand img { height: 100px; }
}
.brand-text {
  display: none;   /* hide text since the logo has its own wordmark */
}
.header-contact {
  font-size: 0.9rem;
  color: var(--navy);
  text-align: right;
}
.header-contact strong {
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  display: block;
  margin-bottom: 2px;
}
.header-contact a {
  color: var(--navy);
  font-weight: 500;
}
.header-contact a:hover { color: var(--gold-dark); }

/* -------- Nav bar (secondary row under header) -------- */
.site-nav {
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}
.site-nav .container {
  display: flex;
  gap: 6px;
  padding-top: 0;
  padding-bottom: 0;
}
.site-nav a {
  color: rgba(247, 240, 221, 0.85);
  text-decoration: none;
  padding: 14px 18px;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .15s ease, border-color .15s ease;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* -------- Page header (for inner pages) -------- */
.page-header {
  background: var(--navy);
  color: var(--cream);
  padding: 60px 0 50px;
  border-bottom: 4px solid var(--gold);
}
.page-header h1 { color: var(--cream); margin-bottom: 8px; }
.page-header p { color: rgba(247, 240, 221, 0.85); max-width: 60ch; font-size: 1.1rem; }
.page-header .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

/* -------- Facilities list (bullet style) -------- */
.facility-list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 40px;
}
@media (max-width: 720px) {
  .facility-list { column-count: 1; }
}
.facility-list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 1rem;
  color: var(--ink);
  break-inside: avoid;
  line-height: 1.5;
}
.facility-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
}

/* -------- Boarding tiers -------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.tier {
  background: #fffbee;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier.featured {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: 0 8px 26px rgba(23, 36, 68, 0.12);
}
.tier.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 3px;
  font-weight: 600;
}
.tier .tier-label {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 6px;
}
.tier h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  color: var(--navy);
}
.tier .lede { color: var(--muted); font-size: 0.98rem; margin-bottom: 20px; }
.tier .price {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2.4rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1;
  margin: 4px 0;
}
.tier .price small {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.05em;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  flex: 1;
}
.tier li {
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-2);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tier li::before {
  content: "\2713";
  color: var(--moss-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.tier li:last-child { border-bottom: none; }

/* -------- Optional amenities strip -------- */
.optional-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.optional-list .pill {
  background: var(--navy);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--gold);
}
.optional-list .pill strong { color: var(--gold); font-weight: 600; margin-right: 6px; }

/* -------- CTA banner -------- */
.cta-banner {
  background: var(--navy);
  background-image: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: var(--cream);
  padding: 60px 0;
  text-align: center;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.cta-banner h2 { color: var(--cream); }
.cta-banner p { color: rgba(247, 240, 221, 0.85); max-width: 60ch; margin: 0 auto 24px; }

/* -------- Home teaser card (small link to Boarding) -------- */
.teaser {
  background: var(--navy);
  color: var(--cream);
  border-radius: 4px;
  padding: 32px 34px;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 1px solid var(--gold);
  margin-top: 20px;
}
.teaser h3 {
  color: var(--cream);
  margin: 0 0 4px;
  font-size: 1.5rem;
}
.teaser p { margin: 0; color: rgba(247, 240, 221, 0.82); max-width: 45ch; }
.teaser .rates {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: center;
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(23, 36, 68, 0.68), rgba(23, 36, 68, 0.35)),
    url("herd-fence.jpg") center/cover no-repeat;
  color: var(--cream);
  border-bottom: 4px solid var(--gold);
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  background: rgba(23, 36, 68, 0.4);
  padding: 5px 12px;
  border-radius: 3px;
  border: 1px solid var(--gold);
}
.hero h1 {
  color: var(--cream);
  margin-top: 18px;
  max-width: 20ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.hero h1 .accent { color: var(--gold); }
.hero .lede {
  font-size: 1.2rem;
  max-width: 58ch;
  color: rgba(247, 240, 221, 0.94);
  margin-top: 10px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); color: var(--cream); border-color: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--navy); }

/* -------- Location sash -------- */
.location {
  padding: 18px 0;
  background: var(--navy);
  color: rgba(247, 240, 221, 0.94);
  text-align: center;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.location strong { color: var(--gold); font-weight: 600; letter-spacing: 0.04em; }
.location .sep { color: rgba(247, 240, 221, 0.35); padding: 0 10px; }

/* -------- Sections -------- */
section { padding: 70px 0; }
section.tight { padding: 40px 0; }
section.alt { background: var(--cream-2); }

.section-head {
  max-width: 60ch;
  margin-bottom: 40px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

/* -------- About / Intro block -------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; gap: 30px; }
}
.intro img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 22px rgba(23, 36, 68, 0.14);
  display: block;
}
.intro p { font-size: 1.08rem; }

/* -------- Photo gallery -------- */
/* Simple responsive grid: every tile the same size and aspect ratio.
   No row-spans or column-spans — maximum compatibility. */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery .tile {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(23, 36, 68, 0.12);
  aspect-ratio: 4 / 3;
  background: var(--navy);
}
.gallery .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery .tile:hover img { transform: scale(1.04); }
.gallery .tile .cap {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(23, 36, 68, 0.85);
  color: var(--cream);
  padding: 5px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
}

@media (max-width: 780px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
}

/* -------- Contact section -------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.contact-card {
  background: #fffbee;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 22px;
  border-radius: 4px;
}
.contact-card:nth-child(2) { border-top-color: var(--moss); }
.contact-card:nth-child(3) { border-top-color: var(--navy); }
.contact-card .label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-card .val {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
}
.contact-card .val a { color: var(--navy); }
.contact-card .val a:hover { color: var(--gold-dark); }
.contact-card small {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 6px;
  letter-spacing: 0.01em;
  font-family: "Inter", sans-serif;
}

/* -------- Footer -------- */
.site-footer {
  background: var(--navy);
  color: rgba(247, 240, 221, 0.8);
  padding: 40px 0 24px;
  border-top: 4px solid var(--gold);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.site-footer .brand-mini {
  color: var(--cream);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.site-footer .brand-mini .accent { color: var(--gold); }
.site-footer small { font-size: 0.85rem; color: rgba(247, 240, 221, 0.6); }

/* -------- Utilities -------- */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
