/* ============================================================
   OTA Website — styles.css
   Olson Tech Advisors LLC | olsontechadvisors.com
   ============================================================ */

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

:root {
  /* Brand colors — exact values from OTA Design System colors_and_type.css */
  --navy:          #1F3864;
  --accent:        #2E6099;
  --light:         #D5E8F0;
  --white:         #FFFFFF;
  --off-white:     #F7F9FC;
  --gray-lt:       #EEF2F7;
  --gray-mid:      #6B7A99;
  --gray-dark:     #2C2C2C;
  --navy-hover:    #162b4d;
  --accent-hover:  #224f80;
  --light-hover:   #c0dae9;

  /* Typography */
  --font:          Arial, 'Helvetica Neue', Helvetica, sans-serif;

  /* Transitions */
  --tx:            150ms ease;

  /* Border radius — from design system radius tokens */
  --radius-sm:     3px;
  --radius-md:     4px;
  --radius-lg:     6px;

  /* Shadows — from design system shadow tokens */
  --shadow-nav:    0 1px 4px rgba(31, 56, 100, 0.07);
  --shadow-card:   0 2px 8px rgba(31, 56, 100, 0.08);
  --shadow-subtle: 0 1px 3px rgba(31, 56, 100, 0.06);
  --shadow-hover:  0 4px 16px rgba(31, 56, 100, 0.12);
}

/* ── BASE ── */
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: underline;
  transition: color var(--tx);
}

a:hover {
  color: var(--navy);
}

/* ── NAVIGATION ── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-lt);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-nav);
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand svg {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  color: var(--gray-dark);
  text-decoration: none;
  font-weight: 400;
  transition: color var(--tx);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--navy);
  font-weight: 700;
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  transition: background var(--tx) !important;
}

.nav-cta:hover {
  background: var(--navy-hover) !important;
  color: var(--white) !important;
}

/* ── HERO — HOME (split layout) ── */
.hero {
  background: var(--navy);
  padding: 72px 40px 64px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.hero-left {
  max-width: 520px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-title em {
  color: var(--light);
  font-style: normal;
}

.hero-body {
  font-size: 15px;
  color: var(--light);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--light);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-block;
  transition: background var(--tx);
}

.btn-hero-primary:hover {
  background: var(--light-hover);
  color: var(--navy);
}

.btn-hero-ghost {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-block;
  transition: border-color var(--tx);
}

.btn-hero-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.hero-right {
  flex-shrink: 0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  width: 260px;
}

.hero-card-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-stat {
  margin-bottom: 14px;
}

.hero-stat:last-child {
  margin-bottom: 0;
}

.hero-stat-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-desc {
  font-size: 10px;
  color: var(--light);
  line-height: 1.4;
  margin-top: 2px;
}

/* ── HERO — INNER PAGES ── */
.hero-simple {
  background: var(--navy);
  padding: 52px 40px;
  text-align: center;
}

.hero-simple h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 15px;
  color: var(--light);
  max-width: 600px;
  margin: 0 auto;
}

/* ── CREDENTIALS STRIP ── */
.cred-strip {
  background: var(--navy);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cred-strip-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.cred-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cred-badge {
  border: 1px solid rgba(213, 232, 240, 0.35);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
}

/* ── SECTION LAYOUT ── */
.section {
  padding: 56px 40px;
}

.section-white     { background: var(--white); }
.section-off-white { background: var(--off-white); }
.section-light     { background: var(--light); }

.section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}

.section-sub {
  font-size: 15px;
  color: var(--gray-mid);
  margin-bottom: 36px;
  line-height: 1.5;
  max-width: 620px;
}

/* ── SERVICE CARDS (home page, 3-col grid) ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--tx), border-color var(--tx);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--light);
}

.service-icon {
  width: 36px;
  height: 36px;
  background: var(--light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-icon svg {
  width: 18px;
  height: 18px;
}

.service-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.service-card-body {
  font-size: 12px;
  color: var(--gray-dark);
  line-height: 1.55;
}

.service-card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.service-card-link:hover {
  color: var(--navy);
}

/* ── PROCESS STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4px;
}

.step {
  padding: 20px 16px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -1px;
  width: 2px;
  height: 20px;
  background: var(--gray-lt);
}

.step-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--light);
  line-height: 1;
  margin-bottom: 8px;
}

.step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.step-body {
  font-size: 11px;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* ── SERVICE DETAIL CARDS (services page, stacked) ── */
.service-detail {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-detail p {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.65;
  margin-bottom: 10px;
}

.service-detail p:last-child {
  margin-bottom: 0;
}

.service-ideal {
  font-size: 13px;
  font-style: italic;
  color: var(--accent);
  margin-top: 10px;
}

/* ── ABOUT STRIP ── */
.about-strip {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about-left {
  flex: 1;
}

.about-right {
  width: 240px;
  flex-shrink: 0;
}

.about-body {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.65;
  margin-bottom: 16px;
}

.about-body:last-of-type {
  margin-bottom: 0;
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.metric-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.metric-label {
  font-size: 11px;
  color: var(--gray-mid);
  margin-top: 3px;
  line-height: 1.3;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge-navy {
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.badge-accent {
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--accent);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band-left {
  max-width: 480px;
}

.cta-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.cta-body {
  font-size: 13px;
  color: var(--light);
  line-height: 1.55;
}

.btn-cta {
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
  transition: background var(--tx);
}

.btn-cta:hover {
  background: var(--light);
  color: var(--navy);
}

/* ── CALLOUT BOX ── */
.callout {
  background: var(--light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 16px;
  margin-top: 24px;
}

.callout-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.callout-body {
  font-size: 12px;
  color: var(--gray-dark);
  line-height: 1.5;
}

/* ── CONTACT FORM & GRID ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  display: block;
}

.form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 13px;
  color: var(--gray-dark);
  outline: none;
  transition: border-color var(--tx);
  background: var(--white);
}

.form-input:focus {
  border-color: var(--accent);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A99' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-info-item {
  margin-bottom: 24px;
}

.contact-info-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 13px;
  color: var(--gray-dark);
  line-height: 1.5;
}

.btn-submit {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--tx);
}

.btn-submit:hover {
  background: var(--navy-hover);
}

/* ── PAYMENTS ── */
.notice-box {
  background: var(--light);
  border: 1px solid rgba(46, 96, 153, 0.25);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 14px;
  color: var(--navy);
}

.notice-box a {
  color: var(--accent);
  font-weight: 700;
}

.payment-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}

.payment-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.payment-card p {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: 14px;
}

.payment-card p:last-child {
  margin-bottom: 0;
}

.btn-pay {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-block;
  transition: background var(--tx);
}

.btn-pay:hover {
  background: var(--navy-hover);
  color: var(--white);
}

.payment-note {
  text-align: center;
  color: var(--gray-mid);
  font-size: 12px;
  margin-top: 28px;
  line-height: 1.5;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: var(--light);
  padding: 36px 40px 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.footer-brand-desc {
  font-size: 11px;
  color: var(--light);
  line-height: 1.5;
  max-width: 220px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(213, 232, 240, 0.75);
  text-decoration: none;
  transition: color var(--tx);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: 10px;
  color: rgba(213, 232, 240, 0.6);
}

/* ── PROSE BLOCK (standalone paragraphs in section pages) ── */
.section-body {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 12px;
}

.section-body:last-child {
  margin-bottom: 0;
}

.section-title-spaced {
  margin-bottom: 20px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    flex-direction: column;
    padding: 52px 40px 48px;
  }

  .hero-right {
    display: none;
  }

  .about-strip {
    flex-direction: column;
  }

  .about-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 44px 20px 40px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-simple {
    padding: 40px 20px;
  }

  .section {
    padding: 40px 20px;
  }

  .cred-strip {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step::after {
    display: none;
  }

  .cta-band {
    flex-direction: column;
    padding: 36px 20px;
    text-align: center;
  }

  .cta-band-left {
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  footer {
    padding: 28px 20px 20px;
  }
}

@media (max-width: 480px) {
  .nav-brand svg {
    height: 28px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}
