/* ==========================================================================
   Bluewater Brumbies Inc. — Site Styles
   Palette: eucalyptus green, outback ochre, warm cream
   Fonts: Fraunces (headings), Mulish (body)
   ========================================================================== */

:root {
  --green-900: #16301f;
  --green-800: #1f4530;
  --green-700: #285a3e;
  --green-600: #35744f;
  --ochre-600: #b85c26;
  --ochre-500: #cf7a3a;
  --ochre-400: #e3a05f;
  --cream: #f7f1e6;
  --cream-2: #efe6d5;
  --ink: #241f18;
  --ink-soft: #4c463c;
  --white: #ffffff;
  --line: rgba(36, 31, 24, 0.12);
  --shadow-sm: 0 4px 18px rgba(22, 48, 31, 0.08);
  --shadow-md: 0 18px 46px rgba(22, 48, 31, 0.16);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.1;
  font-weight: 600;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); font-weight: 640; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

a { color: var(--green-700); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--ochre-600); }

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

p { color: var(--ink-soft); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Mulish", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--ochre-500);
  display: inline-block;
}

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--ochre-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--ochre-500); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--green-900); border-color: rgba(22,48,31,0.25); }
.btn-ghost:hover { background: var(--green-900); color: #fff; transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--cream-2); transform: translateY(-3px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: #fff; color: var(--green-900); transform: translateY(-3px); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 230, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--green-800);
  color: var(--ochre-400);
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: "Fraunces", serif; font-size: 1.15rem; color: var(--green-900); font-weight: 620; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ochre-600); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 10px 15px;
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { background: rgba(40, 90, 62, 0.1); color: var(--green-800); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: var(--green-800);
  border: none;
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 12px;
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(15,34,22,0.9) 0%, rgba(20,45,30,0.72) 45%, rgba(20,45,30,0.35) 100%);
}
.hero-inner { padding: 120px 0; max-width: 720px; }
.hero .eyebrow { color: var(--ochre-400); }
.hero .eyebrow::before { background: var(--ochre-400); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 56ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tag {
  position: absolute;
  bottom: 34px; right: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Sections --------------------------------------------------------------- */
section { padding: 92px 0; }
.section-tight { padding: 66px 0; }
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; }

.bg-green { background: var(--green-900); color: #fff; }
.bg-green h1, .bg-green h2, .bg-green h3 { color: #fff; }
.bg-green p { color: rgba(255,255,255,0.82); }
.bg-cream2 { background: var(--cream-2); }

/* Stats ------------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat .num { font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 640; color: var(--ochre-600); line-height: 1; }
.stat .label { margin-top: 10px; font-weight: 700; color: var(--green-900); }
.stat .sub { font-size: 0.9rem; margin-top: 4px; }

/* Split ------------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.split-media .caption {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(22,48,31,0.85);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.split-body h2 { margin-bottom: 20px; }
.split-body p + p { margin-top: 16px; }
.check-list { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.check-list li svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--green-600); margin-top: 2px; }

/* Cards / Programs ------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card-media { height: 220px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 12px; }
.card-body p { flex: 1; }
.card-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre-600);
  background: rgba(184, 92, 38, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Icon feature ----------------------------------------------------------- */
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease);
}
.feature:hover { transform: translateY(-6px); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--green-800);
  color: var(--ochre-400);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 10px; font-size: 1.3rem; }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 20px; }
.step .n {
  font-family: "Fraunces", serif;
  font-size: 2.4rem;
  color: var(--ochre-500);
  font-weight: 640;
  line-height: 1;
}
.step h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.step p { font-size: 0.98rem; }

/* Quote ------------------------------------------------------------------ */
.quote-block { max-width: 860px; margin: 0 auto; text-align: center; }
.quote-block blockquote {
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.35;
  color: #fff;
  font-weight: 500;
}
.quote-block .cite { margin-top: 24px; font-weight: 700; letter-spacing: 0.04em; color: var(--ochre-400); }

/* CTA banner ------------------------------------------------------------- */
.cta-banner {
  background: var(--green-800);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(227,160,95,0.35), transparent 70%);
}
.cta-banner h2 { color: #fff; max-width: 20ch; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 44ch; margin-top: 12px; position: relative; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* Page hero (inner) ------------------------------------------------------ */
.page-hero {
  background: var(--green-900);
  color: #fff;
  padding: 88px 0 76px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; right: -60px; bottom: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(227,160,95,0.25), transparent 70%);
}
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-top: 18px; font-size: 1.15rem; }
.breadcrumb { font-size: 0.85rem; color: var(--ochre-400); margin-bottom: 20px; font-weight: 700; letter-spacing: 0.05em; }
.breadcrumb a { color: var(--ochre-400); }

/* Values ----------------------------------------------------------------- */
.value-row { display: flex; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row .vi {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 12px; background: rgba(40,90,62,0.1);
  color: var(--green-700); display: grid; place-items: center;
}
.value-row .vi svg { width: 26px; height: 26px; }
.value-row h3 { font-size: 1.25rem; margin-bottom: 6px; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.info-card .ii {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px; background: var(--green-800); color: var(--ochre-400);
  display: grid; place-items: center;
}
.info-card .ii svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 3px; }
.info-card p, .info-card a { font-size: 1rem; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--green-900); font-size: 0.95rem; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(40,90,62,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }
.form-success {
  display: none;
  background: rgba(40,90,62,0.1);
  border: 1px solid rgba(40,90,62,0.3);
  color: var(--green-800);
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 18px;
}
.form-success.show { display: block; }

/* FAQ -------------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--green-900);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-q svg { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.3s var(--ease); color: var(--ochre-600); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding-bottom: 24px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.75); padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .brand-text strong { color: #fff; }
.site-footer p { color: rgba(255,255,255,0.65); margin-top: 16px; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: "Mulish", sans-serif; font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,0.72); font-weight: 600; font-size: 0.96rem; }
.footer-col a:hover { color: var(--ochre-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 0.86rem; color: rgba(255,255,255,0.55); }
.footer-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.8);
}

/* Reveal animation ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .split-media img { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 34px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 82px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-140%);
    transition: transform 0.4s var(--ease);
    gap: 4px;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: grid; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 66px 0; }
  .hero-inner { padding: 90px 0; }
}
