/* Vista Wave Investments — Site Styles */

:root {
  --navy: #0E3A66;
  --gold: #E5A51A;
  --soft-blue: #B7D6DF;
  --silver: #E7ECEF;
  --charcoal: #333638;
  --white: #FFFFFF;
  --off-white: #F7F8F6;
  --dark: #0A0F14;

  --serif: "Playfair Display", "Libre Baskerville", Georgia, serif;
  --sans: "Inter", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 58, 102, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 58, 102, 0.08);
  --transition: 200ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold); }

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

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

section { padding: 88px 0; }
section.tight { padding: 64px 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

.lead {
  font-size: 1.1rem;
  color: #4a4f53;
  max-width: 720px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: #c98c10;
  border-color: #c98c10;
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(14, 58, 102, 0.10);
  box-shadow: 0 4px 18px rgba(10, 15, 20, 0.04);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1280px;
  padding: 14px 32px;
  gap: 24px;
  min-height: 80px;
  position: relative;
}
.logo-link { justify-self: start; }
.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo-link img {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-self: center;
  grid-column: 2;
}
.nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.005em;
}
.nav a:hover { color: var(--navy); }
.nav a.active { color: var(--navy); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.btn.header-cta {
  padding: 12px 22px;
  font-size: 0.92rem;
  border-radius: 10px;
  white-space: nowrap;
  justify-self: end;
  grid-column: 3;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  justify-self: end;
  grid-column: 3;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}
.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);
  padding: 150px 0 170px;
  background:
    linear-gradient(115deg, rgba(8, 24, 44, 0.88) 0%, rgba(14, 58, 102, 0.78) 55%, rgba(14, 58, 102, 0.55) 100%),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat,
    linear-gradient(135deg, #08182c, #0E3A66);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 80px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path fill='%23ffffff' d='M0,40 C240,80 480,0 720,30 C960,60 1200,20 1440,50 L1440,80 L0,80 Z'/></svg>") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 880px; }
.hero .lead {
  color: rgba(255,255,255,0.94);
  max-width: 720px;
  font-size: 1.15rem;
  text-shadow: 0 1px 16px rgba(0,0,0,0.25);
}
.hero .eyebrow { color: var(--gold); }
.hero .btn-row { margin-top: 32px; }

.hero-inner-page {
  background: linear-gradient(135deg, var(--navy), #0a2b4d);
  color: var(--white);
  padding: 96px 0 84px;
}
.hero-inner-page h1 { color: var(--white); }
.hero-inner-page .lead { color: rgba(255,255,255,0.92); }
.hero-inner-page .eyebrow { color: var(--gold); }

/* ---------- Wave divider ---------- */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
}

/* ---------- Trust points strip ---------- */
.trust-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--silver);
  padding: 22px 0;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.9rem;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Section headers ---------- */
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #d4dde2;
}
.card h3 {
  color: var(--navy);
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.2rem;
}
.card p { margin: 0; color: #4a4f53; font-size: 0.97rem; }

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), #1c5285);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
}

/* ---------- Alternate section bg ---------- */
.bg-soft { background: var(--off-white); }
.bg-blue-soft {
  background: linear-gradient(180deg, #f3f7f9 0%, #e8eff3 100%);
}
.bg-dark {
  background: var(--dark);
  color: var(--white);
}
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark .lead, .bg-dark p { color: rgba(255,255,255,0.85); }

/* ---------- About / Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col.reverse > div:first-child { order: 2; }
.two-col .brand-mark {
  background: var(--off-white);
  padding: 56px;
  border-radius: var(--radius);
  border: 1px solid var(--silver);
  text-align: center;
}
.two-col .brand-mark img { max-width: 280px; margin: 0 auto; }

/* ---------- Image blocks ---------- */
.image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--silver);
  aspect-ratio: 4 / 3;
}
.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.image-wrap:hover img { transform: scale(1.02); }

.image-wrap.tall { aspect-ratio: 3 / 4; }
.image-wrap.wide { aspect-ratio: 16 / 9; }
.image-wrap.portrait { aspect-ratio: 4 / 5; }
.image-wrap.square { aspect-ratio: 1 / 1; }
.image-wrap.portrait img,
.image-wrap.square img { object-position: center top; }

.image-accent {
  position: relative;
}
.image-accent::before {
  content: "";
  position: absolute;
  top: 18px; left: 18px;
  right: -18px; bottom: -18px;
  background: var(--soft-blue);
  border-radius: var(--radius);
  z-index: 0;
}
.image-accent .image-wrap { position: relative; z-index: 1; }

.brand-mark-mini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 10px 16px;
  background: var(--off-white);
  border: 1px solid var(--silver);
  border-radius: 8px;
}
.brand-mark-mini img { height: 36px; width: auto; }
.brand-mark-mini span {
  font-size: 0.82rem;
  color: #4a4f53;
  letter-spacing: 0.04em;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: var(--white);
  padding: 104px 0;
  background:
    radial-gradient(ellipse 1100px 500px at 85% -10%, rgba(229, 165, 26, 0.18), transparent 60%),
    radial-gradient(ellipse 900px 600px at 10% 120%, rgba(183, 214, 223, 0.16), transparent 65%),
    linear-gradient(135deg, #08182c 0%, #0E3A66 55%, #0a2b4d 100%);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'><path fill='%23B7D6DF' fill-opacity='0.10' d='M0,224L60,213.3C120,203,240,181,360,181.3C480,181,600,203,720,213.3C840,224,960,224,1080,202.7C1200,181,1320,139,1380,117.3L1440,96L1440,320L0,320Z'/><path fill='%23E5A51A' fill-opacity='0.06' d='M0,256L60,250.7C120,245,240,235,360,229.3C480,224,600,224,720,234.7C840,245,960,267,1080,256C1200,245,1320,203,1380,181.3L1440,160L1440,320L0,320Z'/></svg>") center bottom / 100% 80% no-repeat;
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band .lead { color: rgba(255,255,255,0.92); margin: 0 auto 28px; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  text-align: left;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.step h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Disclosure box ---------- */
.disclosure {
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  border-radius: 4px;
  font-size: 0.92rem;
  color: #4a4f53;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  background: var(--off-white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--silver);
}
.contact-info h3 {
  font-family: var(--serif);
  color: var(--navy);
  margin-bottom: 18px;
}
.contact-info ul {
  list-style: none;
  padding: 0; margin: 0 0 18px;
}
.contact-info li {
  padding: 10px 0;
  border-bottom: 1px solid var(--silver);
  font-size: 0.97rem;
}
.contact-info li:last-child { border-bottom: 0; }
.contact-info .label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 0.97rem;
  border: 1px solid #cfd6da;
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14, 58, 102, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }

.checkbox-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #4a4f53;
  margin-bottom: 18px;
  line-height: 1.5;
}
.checkbox-field input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }

.form-success {
  display: none;
  background: #ecf6ef;
  border-left: 3px solid #2f8a4a;
  padding: 18px 22px;
  border-radius: 4px;
  color: #1f5a32;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer img.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--gold); }
.site-footer p { margin: 0 0 6px; }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.footer-disclaimer p { margin-bottom: 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--silver);
  padding: 10px 14px;
  gap: 10px;
  z-index: 40;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.06);
}
.mobile-sticky-cta .btn { flex: 1; padding: 12px 8px; font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header-inner { padding: 14px 24px; gap: 24px; min-height: 76px; }
  .logo-link img { height: 46px; max-width: 210px; }
  .nav { gap: 26px; }
  .nav a { font-size: 0.9rem; }
  .btn.header-cta { padding: 11px 18px; font-size: 0.88rem; }
}

@media (max-width: 960px) {
  section { padding: 64px 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse > div:first-child { order: 0; }
  .image-accent::before { right: 0; bottom: -12px; top: 12px; left: 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { padding: 100px 0 120px; }
}

@media (max-width: 720px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }
  .nav, .btn.header-cta { display: none; }
  .hamburger { display: block; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    border-bottom: 1px solid var(--silver);
    box-shadow: var(--shadow-md);
  }
  .nav.open a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--silver);
    width: 100%;
    font-size: 0.98rem;
  }
  .nav.open a:last-child { border-bottom: none; }
  .nav.open a.active::after { display: none; }
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 70px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .hero { padding: 80px 0 90px; }
  .header-inner {
    padding: 10px 20px;
    min-height: 70px;
    gap: 12px;
  }
  .logo-link img { height: 40px; max-width: 170px; }
}
