/* Alonso Alliance LLC — alonsoalliance.com
   Recreation of the original Wix site. Palette and type captured from the live site 2026-08-10. */

:root {
  --navy: #045184;
  --gold: #FCB400;
  --gold-dark: #E0A000;
  --steel: #4682B4;
  --slate: #373B4D;
  --red: #FF6161;
  --page: #FFFEFC;
  --ink: #000000;
  --rule: #E2E2E2;
  --muted: #8F8F8F;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand { flex: 0 0 auto; }
.brand img { width: 171px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.nav a {
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  color: var(--gold);
  text-decoration: none;
  padding: 6px 22px;
  border-right: 1px solid var(--rule);
  transition: color .15s ease;
  white-space: nowrap;
}

.nav a:first-child { border-left: 1px solid var(--rule); }
.nav a:hover { color: var(--gold-dark); }
.nav a[aria-current="page"] { color: var(--steel); }

.btn {
  display: inline-block;
  background: var(--gold);
  color: #FFFFFF;
  font-family: 'Poppins', 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1;
  padding: 17px 34px;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.btn:hover { background: var(--gold-dark); }
.btn:active { transform: translateY(1px); }

.header-cta { margin-left: 28px; padding: 14px 30px; font-size: 19px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero { padding: 0 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.hero-copy { padding: 48px 0; text-align: center; }
.hero-copy .lion { width: 195px; margin: 0 auto 28px; }

.hero-copy p {
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: 0.28px;
  font-weight: 700;
  color: var(--slate);
  margin: 0 0 34px;
  text-wrap: balance;
}

.hero-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Why us ---------- */

.why { padding: 56px 0 72px; }

.section-title {
  font-size: 62px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 56px;
  color: var(--ink);
  text-wrap: balance;
}

.section-title u { text-decoration-thickness: 4px; text-underline-offset: 6px; }

/* Column widths match the original Wix layout measured at a 1250px viewport:
   image 450px, gap 137px, text 307px. The narrow text column is deliberate —
   it makes the copy wrap to roughly the height of the photo. */
.why-grid {
  display: grid;
  grid-template-columns: 450px 307px;
  gap: 137px;
  justify-content: center;
  align-items: start;
}

.why-photo img { width: 100%; height: auto; }

.pain { margin: 0 0 49px; }
.pain:last-child { margin-bottom: 0; }

.pain h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 6px;
  color: var(--ink);
  text-wrap: balance;
}

.pain h3 .x {
  color: var(--red);
  font-weight: 400;
  margin-right: 8px;
}

.pain p {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}

/* ---------- Our solution ---------- */

.solution {
  background: var(--steel);
  color: #FFFFFF;
  padding: 68px 0 96px;
}

.solution h2 {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-align: center;
  margin: 0 0 72px;
  color: #FFFFFF;
  text-wrap: balance;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.pillar { text-align: center; }

.pillar .num {
  font-family: 'Heebo', 'Roboto', sans-serif;
  font-size: 70px;
  font-weight: 500;
  line-height: 1;
  color: #F6FDFB;
  display: block;
  margin-bottom: 14px;
}

.pillar h3 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #FFFFFE;
}

.pillar p {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
  margin: 0 0 10px;
  color: #FFFFFF;
}

.pillar p:last-child { margin-bottom: 0; }
.pillar strong { font-weight: 700; }

/* ---------- Apply form ---------- */

.apply { padding: 76px 0 88px; }

.apply h2 {
  font-size: 46px;
  font-weight: 700;
  margin: 0 0 44px;
  color: var(--ink);
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 452px;
  gap: 64px;
  align-items: start;
}

.apply-photo img { width: 100%; height: auto; }

.field { margin-bottom: 20px; }

.field label,
.radios legend {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 7px;
  padding: 0;
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--slate);
  border-radius: 2px;
  padding: 11px 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input::placeholder { color: var(--muted); }

.field input:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.18);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.radios {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
}

.radios label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  margin-bottom: 7px;
  cursor: pointer;
}

.radios input[type="radio"] {
  width: 15px;
  height: 15px;
  accent-color: var(--steel);
  margin: 0;
  flex: 0 0 auto;
}

.form-error {
  color: #C0392B;
  font-size: 15px;
  margin: 0 0 16px;
}

.form-error[hidden] { display: none; }

.success {
  border: 1px solid var(--steel);
  border-radius: 4px;
  background: rgba(70, 130, 180, 0.07);
  padding: 30px 26px;
  text-align: center;
}

.success h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}

.success p { font-size: 17px; margin: 0; color: var(--slate); }
.success[hidden] { display: none; }

/* ---------- Contact ---------- */

.contact { padding: 20px 0 76px; }

.contact h2 {
  font-size: 46px;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  margin: 0 0 52px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  color: var(--navy);
}

.contact-col h3 {
  font-size: 26px;
  font-weight: 300;
  margin: 0 0 16px;
  color: var(--navy);
}

.contact-col p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
  color: var(--navy);
}

.contact-col a { text-decoration: none; }
.contact-col a:hover { text-decoration: underline; }

/* ---------- Footer bar ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 26px 0 34px;
  text-align: center;
}

.site-footer p {
  font-size: 14px;
  font-weight: 700;
  color: #2A7C6F;
  margin: 0 0 8px;
}

.site-footer nav a {
  font-size: 14px;
  font-weight: 700;
  color: #2A7C6F;
  text-decoration: underline;
  margin: 0 10px;
}

/* ---------- Legal pages ---------- */

.legal { padding: 60px 0 80px; max-width: 860px; }

.legal h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.legal .updated {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 38px;
}

.legal h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 12px;
}

.legal p, .legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0 0 15px;
}

.legal ul { padding-left: 22px; margin: 0 0 15px; }
.legal li { margin-bottom: 9px; }
.legal a { color: var(--steel); }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .nav a { font-size: 18px; padding: 6px 14px; }
  .header-cta { margin-left: 18px; padding: 12px 22px; font-size: 17px; }
  .hero-grid { gap: 36px; }
  .hero-copy p { font-size: 24px; }
  .section-title { font-size: 48px; }
  .why-grid { grid-template-columns: 40% 28%; gap: 9%; }
  .apply-grid { grid-template-columns: 1fr 360px; gap: 44px; }
  .solution-grid { gap: 34px; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: 12px; }
  .brand { order: 1; }
  .brand img { width: 140px; }

  .nav-toggle {
    display: block;
    order: 3;
    margin-left: 0;
    padding: 8px 4px;
  }

  .nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding-bottom: 14px;
  }

  .nav.open { display: flex; }

  .nav a {
    border: 0;
    border-top: 1px solid var(--rule);
    padding: 14px 4px;
    font-size: 19px;
  }

  .nav a:first-child { border-left: 0; }

  .header-cta {
    order: 2;
    margin: 0 0 0 auto;
    padding: 11px 18px;
    font-size: 16px;
    letter-spacing: 0.5px;
    align-self: center;
  }

  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding: 36px 0 12px; }
  .hero-copy p { font-size: 22px; }
  .hero-photo { max-width: 520px; margin: 0 auto; }

  .why { padding: 44px 0 56px; }
  .section-title { font-size: 38px; margin-bottom: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-photo { max-width: 420px; margin: 0 auto; }

  .solution { padding: 52px 0 64px; }
  .solution h2 { font-size: 32px; letter-spacing: 0.22em; margin-bottom: 46px; }
  .solution-grid { grid-template-columns: 1fr; gap: 46px; }

  .apply { padding: 56px 0 64px; }
  .apply h2, .contact h2 { font-size: 36px; }
  .apply-grid { grid-template-columns: 1fr; gap: 40px; }
  .apply-photo { max-width: 452px; margin: 0 auto; order: -1; }

  .contact-grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }

  .legal h1 { font-size: 34px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }

  .header-inner { gap: 8px; }
  .brand img { width: 112px; }
  .header-cta { padding: 9px 13px; font-size: 14px; letter-spacing: 0.3px; }
  .nav-toggle { padding: 6px 0 6px 4px; }
  .nav-toggle span { width: 24px; height: 2.5px; margin: 4px 0; }

  .hero-copy p { font-size: 20px; }
  .section-title { font-size: 32px; }
  .pain h3 { font-size: 25px; }
  .apply h2, .contact h2 { font-size: 30px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .btn { font-size: 18px; padding: 15px 26px; }
}
