/* =================================================================
   Yield — Real Estate Investment Template
   Plain CSS3. No frameworks. No build step.

   ┌──────────────────────────────────────────────────────────────┐
   │  TO REBRAND: edit the CSS variables in :root below.           │
   │  Change --navy / --green to recolor the whole site instantly. │
   └──────────────────────────────────────────────────────────────┘
   ================================================================= */

:root {
  /* ---- Brand colors (edit these to rebrand) ---- */
  --navy: #0f1f3a;          /* primary brand color (deep navy) */
  --navy-deep: #0a1729;     /* darker navy for gradients */
  --green: #1fb589;         /* confident green/teal accent */
  --green-dark: #169a73;    /* accent hover */
  --green-soft: #d6f5ec;    /* light accent tint */

  /* ---- Neutrals ---- */
  --white: #ffffff;
  --soft: #f3f6fb;          /* soft alternating background */
  --ink: #16233a;           /* main text */
  --muted: #5a6b85;         /* secondary text */
  --line: #e2e8f2;          /* borders / dividers */

  /* ---- Status colors ---- */
  --status-open: #1fb589;
  --status-funded: #5a6b85;
  --status-soon: #d99a1c;

  /* ---- Typography ---- */
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* ---- Effects & layout ---- */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(15, 31, 58, 0.06);
  --shadow-md: 0 14px 36px rgba(15, 31, 58, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 31, 58, 0.18);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================= RESET ============================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.4em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

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

ul { margin: 0; padding: 0; list-style: none; }

/* ============================= LAYOUT HELPERS ============================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-alt { background: var(--soft); }

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }

.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.accent { color: var(--green); }

/* ============================= BUTTONS ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(31, 181, 137, 0.35);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ============================= HEADER ============================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--green), var(--navy));
  color: var(--white);
}

.logo-text { letter-spacing: -0.03em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.98rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

/* Animated underline on nav links */
.main-nav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.28s var(--ease);
}
.main-nav ul a:hover { color: var(--navy); }
.main-nav ul a:hover::after { width: 100%; }

/* Active nav state */
.main-nav ul a.active { color: var(--navy); font-weight: 600; }
.main-nav ul a.active::after { width: 100%; }

.nav-cta { padding: 10px 22px; }

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================= HERO ============================= */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(15, 31, 58, 0.9) 0%, rgba(10, 23, 41, 0.86) 100%),
    var(--hero-photo) center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-inner { position: relative; padding: 104px 0 96px; }

.hero-content { max-width: 760px; }

.hero .eyebrow {
  color: #aef3df;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.35em;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* ---- Hero stat row ---- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  padding-top: 8px;
}
.hero-stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  margin-top: 8px;
  display: block;
}

/* ============================= INTRO / TRUST STRIP ============================= */
.trust-strip {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 40px;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.trust-inner span { display: inline-flex; align-items: center; gap: 8px; }

/* ============================= OPPORTUNITY CARDS ============================= */
.opps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.opp-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.opp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.opp-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--navy);
}
.opp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.opp-card:hover .opp-media img { transform: scale(1.06); }

/* Status + type pills */
.status-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  z-index: 2;
}
.status-open { background: var(--status-open); }
.status-funded { background: var(--status-funded); }
.status-soon { background: var(--status-soon); }

.type-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  z-index: 2;
}

.opp-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }

.opp-title { font-size: 1.18rem; margin-bottom: 4px; }
.opp-location { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }

/* Stat row inside card */
.opp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 18px;
}
.opp-stat { display: flex; flex-direction: column; }
.opp-stat-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.opp-stat-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy);
}
.opp-stat-val.roi { color: var(--green-dark); }

/* Funding progress bar */
.opp-progress { margin-bottom: 18px; }
.opp-progress-track {
  height: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.opp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  border-radius: 999px;
}
.opp-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
}
.opp-progress-meta strong { color: var(--navy); font-family: var(--font-head); }

.opp-cta { margin-top: auto; }
.opp-cta .btn { width: 100%; }

/* ============================= FILTER BAR ============================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); }
.filter-btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.filter-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  display: none;
}
.filter-empty.show { display: block; }

/* ============================= HOW WE INVEST ============================= */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.invest-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.invest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.invest-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.6rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31, 181, 137, 0.16), rgba(15, 31, 58, 0.08));
  margin-bottom: 16px;
}
.invest-card h3 { font-size: 1.18rem; }
.invest-card p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* ============================= TRACK RECORD / BAR CHART ============================= */
.track-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.track-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.track-text p { color: var(--muted); }
.track-points { margin-top: 18px; }
.track-points li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 500;
}
.track-points li span { color: var(--green-dark); font-weight: 800; }

/* CSS bar chart for annual returns */
.bar-chart {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 24px;
  box-shadow: var(--shadow-md);
}
.bar-chart h3 { font-size: 1.1rem; margin-bottom: 4px; }
.bar-chart-note { color: var(--muted); font-size: 0.88rem; margin-bottom: 24px; }
.bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 220px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.bar {
  width: 100%;
  max-width: 44px;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  border-radius: 8px 8px 0 0;
  height: 0;
  transition: height 1s var(--ease);
  position: relative;
}
.bar::after {
  content: attr(data-value) '%';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
  white-space: nowrap;
}
.bar-label {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

/* ============================= STATS BAND ============================= */
.stats-band {
  background:
    radial-gradient(800px 300px at 50% -40%, rgba(31, 181, 137, 0.32), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: var(--white);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--white);
  line-height: 1;
}
.stat-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  margin-top: 6px;
  display: block;
}

/* ============================= TESTIMONIALS ============================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 14px; font-size: 1.05rem; }
.testimonial-card blockquote {
  margin: 0 0 22px;
  font-size: 1.04rem;
  color: var(--ink);
  line-height: 1.7;
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.t-meta { display: flex; flex-direction: column; line-height: 1.3; }
.t-meta strong { color: var(--navy); font-family: var(--font-head); }
.t-meta small { color: var(--muted); }

/* ============================= CTA BAND ============================= */
.cta-band {
  background:
    radial-gradient(700px 360px at 80% 120%, rgba(31, 181, 137, 0.45), transparent 60%),
    linear-gradient(135deg, var(--green-dark), var(--navy) 70%);
  color: var(--white);
  padding: 84px 0;
}
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); }
.cta-inner p { color: rgba(255, 255, 255, 0.85); font-size: 1.12rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-disclaimer { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin: 24px 0 0; }

/* ============================= FOOTER ============================= */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 68px 24px 48px;
}
.logo-footer { color: var(--white); margin-bottom: 16px; }
.logo-footer .logo-text { color: var(--white); }
.footer-tagline { font-size: 0.95rem; max-width: 320px; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.1rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.social a:hover { background: var(--green); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 24px;
  font-size: 0.88rem;
}
.footer-bottom-inner p { margin: 0; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 24px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
}

/* ============================= PAGE BANNER ============================= */
.page-banner {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(1000px 460px at 88% -20%, rgba(31, 181, 137, 0.4), transparent 60%),
    radial-gradient(820px 460px at -5% 120%, rgba(31, 181, 137, 0.16), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
  padding: 86px 0 72px;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-banner .container { position: relative; }
.page-banner .eyebrow {
  color: #aef3df;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
}
.page-banner h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin: 14px 0 0.3em;
}
.page-banner-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  max-width: 640px;
  margin: 0;
}

/* ============================= STEPS (how it works) ============================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  background: var(--navy);
}
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.step-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ============================= FEES TABLE ============================= */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fees-table th, .fees-table td {
  text-align: left;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.fees-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.fees-table tbody tr:last-child td { border-bottom: 0; }
.fees-table tbody tr:nth-child(even) { background: var(--soft); }
.fees-table td:first-child { font-weight: 600; color: var(--navy); font-family: var(--font-head); }

/* ============================= FAQ (accordion) ============================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .faq-icon { transition: transform 0.3s var(--ease); color: var(--green); flex-shrink: 0; font-size: 1.3rem; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a p { margin: 0; padding: 0 24px 20px; color: var(--muted); }

/* ============================= ABOUT ============================= */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.about-text p { color: var(--muted); }
.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--navy);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
}
.team-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.team-role { color: var(--green-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.team-bio { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---- Strategy cards ---- */
.strategy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strategy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.strategy-card h3 { font-size: 1.12rem; }
.strategy-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ============================= FORMS / CONTACT ============================= */
.form-field { display: flex; flex-direction: column; text-align: left; margin-bottom: 16px; }
.form-field label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 6px 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 181, 137, 0.18);
}
.form-field input.invalid,
.form-field textarea.invalid { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.14); }
.field-error { color: #d9534f; font-size: 0.82rem; margin-top: 5px; min-height: 1em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-submit { margin-top: 4px; }
.form-status { margin: 16px 0 0; font-weight: 500; min-height: 1.4em; }
.form-status.success { color: var(--green-dark); }
.form-status.error { color: #d9534f; }

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h2 { font-size: 1.6rem; margin-bottom: 4px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31, 181, 137, 0.16), rgba(15, 31, 58, 0.08));
  margin-bottom: 12px;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.info-card p { margin: 0 0 4px; color: var(--ink); }
.info-card a { color: var(--green-dark); font-weight: 600; }
.info-card a:hover { text-decoration: underline; }
.info-note { color: var(--muted); font-size: 0.88rem; }

/* ---- Offices ---- */
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.office-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.office-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.office-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.6rem;
  border-radius: 14px;
  background: var(--soft);
  margin-bottom: 14px;
}
.office-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.office-card p { color: var(--muted); margin: 0 0 6px; }

/* ============================= SCROLL REVEAL ============================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

.opps-grid .reveal.is-visible,
.invest-grid .reveal.is-visible,
.steps-grid .reveal.is-visible,
.team-grid .reveal.is-visible,
.strategy-grid .reveal.is-visible,
.testimonials-grid .reveal.is-visible { transition-delay: var(--reveal-delay, 0s); }

.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .opp-card:hover, .invest-card:hover, .step-card:hover,
  .team-card:hover, .testimonial-card:hover, .office-card:hover {
    transform: none;
  }
}

/* ============================= RESPONSIVE ============================= */
@media (max-width: 992px) {
  .opps-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .invest-grid,
  .strategy-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .track-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .offices-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease),
      visibility 0.3s var(--ease);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav ul li { border-bottom: 1px solid var(--line); }
  .main-nav ul a { display: block; padding: 14px 4px; }
  .main-nav ul a::after { display: none; }
  .main-nav ul a.active { color: var(--green-dark); }
  .nav-cta { margin-top: 14px; width: 100%; }

  .section { padding: 70px 0; }
  .hero-inner { padding: 78px 0 80px; }
  .footer-bottom-inner { flex-direction: column; }
  .page-banner { padding: 64px 0 56px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 560px) {
  .opps-grid,
  .testimonials-grid,
  .invest-grid,
  .strategy-grid,
  .steps-grid,
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .container { padding: 0 18px; }
  .contact-form-wrap { padding: 24px; }
  .bars { height: 180px; }
}
