/* ==========================================================================
   LaVista REI — shared stylesheet
   Palette mirrors lavistaacquisitions.com: deep navy, warm cream, muted gold,
   elegant serif display headings + clean sans body.
   ========================================================================== */

:root {
  --navy:        #16243d;
  --navy-deep:   #0f1b30;
  --navy-soft:   #223a5e;
  --gold:        #c19a5b;
  --gold-dark:   #a67f42;
  --cream:       #f6f2ea;
  --cream-dark:  #ece4d6;
  --ink:         #1c2433;
  --muted:       #5a6472;
  --white:       #ffffff;
  --line:        rgba(255,255,255,0.14);
  --shadow:      0 18px 50px rgba(15,27,48,0.14);
  --radius:      14px;
  --maxw:        1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

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

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

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

.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); }

/* Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,27,48,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand .brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}
.brand .brand-tag {
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { padding: 11px 22px !important; font-size: 0.86rem !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: .3s;
}

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(15,27,48,0.94) 0%, rgba(15,27,48,0.78) 55%, rgba(22,36,61,0.62) 100%),
    radial-gradient(circle at 80% 20%, rgba(193,154,91,0.28), transparent 55%),
    var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 120px;
  max-width: 760px;
}
.hero h1 { color: var(--white); }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero .lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Stat bar ------------------------------------------------------------- */
.stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
  margin-top: 54px;
}
.stat { flex: 1; min-width: 150px; }
.stat .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat .label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.72);
  margin-top: 8px;
}

/* Sections ------------------------------------------------------------- */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-navy  { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .section-head p { color: rgba(255,255,255,0.8); }

/* Card grid ------------------------------------------------------------ */
.grid { display: grid; gap: 26px; }
.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(--cream-dark);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 4px 18px rgba(15,27,48,0.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(193,154,91,0.14);
  color: var(--gold-dark);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card h3 { color: var(--navy); }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; }

/* Split feature -------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.split .panel {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius);
  min-height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split .panel::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(193,154,91,0.35), transparent 45%),
    linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.split .panel .panel-badge {
  position: absolute;
  left: 32px; bottom: 32px; right: 32px;
  z-index: 2;
  color: var(--white);
}
.split .panel .panel-badge .big {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem; font-weight: 700; color: var(--gold); line-height: 1;
}

/* Process steps -------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
}
.step .step-num {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem; font-weight: 700;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin-bottom: 0; }

/* Criteria list -------------------------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 1.02rem;
}
.checklist li::before {
  content: "✓";
  flex: 0 0 26px;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 50%;
  font-size: 0.85rem; font-weight: 700;
  margin-top: 2px;
}

/* Leadership / principal ---------------------------------------------- */
.leader { display: grid; grid-template-columns: 320px 1fr; gap: 54px; align-items: center; }
.leader-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-photo .monogram {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.4rem; font-weight: 700; color: var(--gold);
  letter-spacing: 2px;
  border: 2px solid rgba(193,154,91,0.5);
  width: 128px; height: 128px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.leader-photo .photo-note {
  position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.leader-name { font-family: "Cormorant Garamond", serif; font-size: 2rem; font-weight: 700; color: var(--navy); margin: 0 0 2px; }
.leader-role {
  font-family: "Inter", sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 20px;
}
.leader-bio p { color: var(--muted); font-size: 1.02rem; }
.leader-contact { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 22px; }
.leader-contact .k {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 2px;
}
.leader-contact .v { font-size: 1.05rem; color: var(--ink); }
@media (max-width: 780px) {
  .leader { grid-template-columns: 1fr; gap: 32px; }
  .leader-photo { max-width: 300px; margin: 0 auto; }
}

/* CTA band ------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
  border-radius: 18px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 28px; }

/* Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .info-item { margin-bottom: 26px; }
.contact-info .info-item .k {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 4px;
}
.contact-info .info-item .v { font-size: 1.1rem; color: var(--ink); }

form .field { margin-bottom: 18px; }
form label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
form input, form select, form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--white);
  transition: border .15s ease, box-shadow .15s ease;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193,154,91,0.18);
}
form textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h4 {
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid .brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem; font-weight: 700; color: var(--white);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.72); }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 22px; font-size: 0.82rem; color: rgba(255,255,255,0.5);
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; }
  .nav-toggle { display: block; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero-inner { padding: 72px 0 80px; }
}
