/* ============================================================
   2 HORSES VENTURES LIMITED — site stylesheet
   Palette: green #1D3A2A | brass #C9A227 | parchment #FBF9F4
            pine #2C523C | mist #E4E9E2
   Type: Zilla Slab (display) / Work Sans (body)
   ============================================================ */

:root {
  --green: #1d3a2a;
  --pine: #2c523c;
  --brass: #c9a227;
  --brass-deep: #a8851a;
  --parchment: #fbf9f4;
  --mist: #e4e9e2;
  --ink: #1a241d;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 12px 32px rgba(29, 58, 42, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Work Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.7;
  font-size: 1.02rem;
}

h1, h2, h3, h4 {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
  color: var(--green);
}

p { max-width: 70ch; }
a { color: var(--pine); }
img { max-width: 100%; }

/* ---------- Twin-bar motif (two horses, two divisions) ---------- */
.twin-bars {
  display: flex;
  gap: 6px;
  margin-bottom: 1.25rem;
}
.twin-bars::before,
.twin-bars::after {
  content: "";
  height: 8px;
  width: 46px;
  background: var(--brass);
  border-radius: 4px;
}
.twin-bars::after { width: 26px; opacity: 0.55; }

/* ---------- Navbar ---------- */
.navbar-hv {
  background: var(--green);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  transition: box-shadow 0.25s ease;
}
.navbar-hv.scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3); }

.navbar-hv .navbar-brand {
  font-family: "Zilla Slab", serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
}
.brand-badge {
  width: 38px;
  height: 38px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brass);
  font-family: "Zilla Slab", serif;
  font-weight: 700;
  font-size: 1.05rem;
  flex: 0 0 auto;
}
.brand-copy small {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.navbar-hv .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.navbar-hv .nav-link:hover,
.navbar-hv .nav-link:focus { color: var(--brass); }
.navbar-hv .nav-link.active {
  color: var(--brass);
  border-bottom: 3px solid var(--brass);
}
.navbar-hv .navbar-toggler { border-color: rgba(255, 255, 255, 0.4); }
.navbar-hv .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.btn-brass {
  background: var(--brass);
  color: var(--green);
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  padding: 0.6rem 1.4rem;
}
.btn-brass:hover { background: var(--brass-deep); color: var(--white); }

.btn-outline-light-hv {
  border: 2px solid var(--mist);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.6rem 1.4rem;
}
.btn-outline-light-hv:hover { border-color: var(--brass); color: var(--brass); }

.btn-green {
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  padding: 0.6rem 1.5rem;
}
.btn-green:hover { background: var(--pine); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% 15%, rgba(201, 162, 39, 0.18), transparent 60%),
    linear-gradient(120deg, var(--green) 0 55%, var(--pine));
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 120px;
  background: rgba(201, 162, 39, 0.08);
  transform: skewX(-14deg);
  pointer-events: none;
}
.hero::before { right: 18%; }
.hero::after { right: 6%; width: 60px; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--brass);
}
.hero .lead-copy {
  color: var(--mist);
  font-size: 1.12rem;
  max-width: 56ch;
}
.hero .hero-inner {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s ease 0.15s forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .hero-inner { animation: none; opacity: 1; transform: none; }
}

/* ---------- Page banner ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--green) 0 60%, var(--pine));
  color: var(--white);
  padding: 7.5rem 0 3.25rem;
}
.page-banner h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}
.page-banner .crumb { color: var(--mist); font-size: 0.95rem; }
.page-banner .crumb a { color: var(--brass); text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-green { background: var(--green); color: var(--mist); }
.section-green h2, .section-green h3 { color: var(--white); }
.section-mist { background: var(--mist); }

.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }

/* ---------- Division panels ---------- */
.division-panel {
  background: var(--white);
  border: 1px solid #e2ddd0;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.division-panel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.division-head {
  background: var(--green);
  color: var(--white);
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.division-head .dh-icon {
  font-size: 1.7rem;
  color: var(--brass);
}
.division-head h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.45rem;
}
.division-body { padding: 1.75rem; flex: 1; }
.division-body ul { padding-left: 1.1rem; margin-bottom: 0; }
.division-body li { margin-bottom: 0.4rem; }

/* ---------- Feature cards ---------- */
.hv-card {
  background: var(--white);
  border: 1px solid #e2ddd0;
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
}
.hv-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}
.hv-card h3 { font-size: 1.3rem; }
.hv-card p { margin-bottom: 0; }

/* ---------- Facts strip ---------- */
.fact {
  border-left: 4px solid var(--brass);
  padding-left: 1.1rem;
}
.fact .fact-number {
  font-family: "Zilla Slab", serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--brass);
  line-height: 1;
}
.fact .fact-label { color: var(--mist); font-size: 0.95rem; }

/* ---------- Values list ---------- */
.value-row {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e2ddd0;
}
.value-row:last-child { border-bottom: none; }
.value-row .vi {
  color: var(--brass);
  font-size: 1.35rem;
  line-height: 1.5;
}
.value-row h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.value-row p { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-panel {
  background: var(--green);
  color: var(--mist);
  border-radius: var(--radius);
  padding: 2.25rem;
  height: 100%;
}
.contact-panel h3 { color: var(--white); }
.contact-panel a { color: var(--brass); text-decoration: none; word-break: break-all; }
.contact-line { display: flex; gap: 0.9rem; margin-bottom: 1.25rem; }
.contact-line .ci { color: var(--brass); font-size: 1.25rem; line-height: 1.4; }

.form-control, .form-select {
  border-radius: var(--radius);
  border: 1px solid #cfd3c9;
  padding: 0.65rem 0.85rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25);
}
label.form-label { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brass);
  color: var(--green);
  padding: 3rem 0;
}
.cta-band h2 { margin-bottom: 0.25rem; color: var(--green); }

/* ---------- Footer ---------- */
footer {
  background: #152b1f;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.95rem;
}
footer h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
footer a:hover { color: var(--brass); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
}

/* ---------- Utilities ---------- */
.text-brass { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

@media (max-width: 991.98px) {
  .navbar-hv .nav-link.active { border-bottom: none; }
  .hero { min-height: 76vh; }
}
