/* ============================================================
   REDSOAR — LIGHT THEME / PERIWINKLE BRAND
   Cool-white base #F8F9FD · deep ink #1C2233 · periwinkle #7C8FE0
   lavender-mist #E8EBFA · slate #5A6478 · hairline #D9DEEE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1C2233;
  background-color: #F8F9FD;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: #7C8FE0;
}

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

/* ============================================================
   GIANT MASTHEAD NAVIGATION
   ============================================================ */

.masthead-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #F8F9FD;
  border-bottom: 1px solid #D9DEEE;
}

.masthead-nav.is-scrolled {
  box-shadow: 0 2px 12px #D9DEEE;
}

.masthead-inner {
  position: relative;
}

.masthead-brand {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 24px 0;
}

.brand-wordmark {
  display: inline-block;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 4px;
  color: #1C2233;
  text-decoration: none;
}

.brand-wordmark:hover {
  color: #7C8FE0;
}

.masthead-links {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px 16px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav li {
  display: inline-flex;
  align-items: center;
}

.main-nav li + li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #7C8FE0;
  margin: 0 14px;
}

.main-nav a {
  font-size: 13px;
  letter-spacing: 0.6px;
  font-weight: 600;
  color: #5A6478;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
}

.main-nav a:hover {
  color: #7C8FE0;
  border-bottom-color: #7C8FE0;
}

.main-nav a.is-active {
  color: #1C2233;
  border-bottom-color: #7C8FE0;
}

.nav-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 20px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background-color: #7C8FE0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0 10px;
}

.toggle-bar {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #FFFFFF;
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #7C8FE0;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #6779CF;
}

.btn-outline {
  border-color: #7C8FE0;
  color: #7C8FE0;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #E8EBFA;
}

.btn-dark {
  background-color: #1C2233;
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: #2B3550;
}

/* ============================================================
   TOP BANNER STRIP HERO
   ============================================================ */

.banner-hero {
  background-color: #F8F9FD;
}

.banner-strip {
  height: 64px;
  background-color: #7C8FE0;
  overflow: hidden;
}

.banner-strip-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.strip-square {
  width: 12px;
  height: 12px;
  background-color: #1C2233;
  margin-bottom: 26px;
}

.zigzag {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100%;
}

.zz {
  width: 12px;
  background-color: #1C2233;
}

.zz-1 { height: 16px; }
.zz-2 { height: 30px; }
.zz-3 { height: 44px; }

.hero-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 86px 24px 112px;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #7C8FE0;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

.hero-headline {
  font-size: 54px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1C2233;
  margin-top: 28px;
  max-width: 860px;
}

.hero-subcopy {
  font-size: 19px;
  color: #5A6478;
  margin-top: 24px;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

/* ============================================================
   SHARED SECTION PRIMITIVES
   ============================================================ */

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7C8FE0;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: #1C2233;
  margin-top: 12px;
}

.section-intro {
  color: #5A6478;
  margin-top: 18px;
  max-width: 760px;
}

.section-actions {
  margin-top: 32px;
}

/* ============================================================
   MILESTONE TIMELINE
   ============================================================ */

.milestone-timeline {
  padding: 110px 0;
  background-color: #FFFFFF;
}

.timeline {
  position: relative;
  max-width: 840px;
  margin-top: 60px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: #D9DEEE;
}

.timeline-item {
  position: relative;
  padding: 0 0 52px 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #7C8FE0;
}

.timeline-title {
  font-size: 22px;
  font-weight: 800;
  color: #1C2233;
}

.timeline-body {
  color: #5A6478;
  margin-top: 10px;
  max-width: 700px;
}

.timeline-tag {
  display: inline-block;
  margin-top: 16px;
  background-color: #E8EBFA;
  color: #1C2233;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ============================================================
   SERVICE LEDGER
   ============================================================ */

.service-ledger {
  padding: 110px 0;
}

.ledger {
  margin-top: 52px;
}

.ledger-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid #D9DEEE;
}

.ledger-row:first-child {
  border-top: 1px solid #D9DEEE;
}

.ledger-num {
  font-size: 20px;
  font-weight: 800;
  color: #7C8FE0;
  min-width: 52px;
}

.ledger-main {
  flex: 1;
}

.ledger-main h3 {
  font-size: 21px;
  font-weight: 800;
  color: #1C2233;
}

.ledger-main p {
  color: #5A6478;
  margin-top: 6px;
  max-width: 620px;
}

.ledger-chip {
  flex-shrink: 0;
  background-color: #7C8FE0;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================================================
   METRIC BAND
   ============================================================ */

.metric-band {
  background-color: #7C8FE0;
  padding: 76px 0;
}

.metric-grid {
  display: flex;
}

.metric-item {
  flex: 1;
  text-align: center;
  padding: 0 22px;
  border-right: 1px solid #FFFFFF;
}

.metric-item:first-child {
  border-left: 1px solid #FFFFFF;
}

.metric-num {
  display: block;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: #1C2233;
}

.metric-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* ============================================================
   ASSURANCE BAND
   ============================================================ */

.assurance-band {
  background-color: #E8EBFA;
  padding: 92px 0;
}

.assurance-grid {
  display: flex;
  margin-top: 48px;
}

.assurance-item {
  flex: 1;
  padding: 0 32px;
  border-right: 1px solid #D9DEEE;
}

.assurance-item:first-child {
  padding-left: 0;
}

.assurance-item:last-child {
  padding-right: 0;
  border-right: none;
}

.assurance-square {
  display: block;
  width: 12px;
  height: 12px;
  background-color: #7C8FE0;
  margin-bottom: 20px;
}

.assurance-item h3 {
  font-size: 19px;
  font-weight: 800;
  color: #1C2233;
}

.assurance-item p {
  color: #5A6478;
  margin-top: 8px;
  font-size: 15px;
  max-width: 320px;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background-color: #7C8FE0;
  padding: 96px 0;
}

.cta-band-inner {
  text-align: center;
}

.cta-band h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  max-width: 680px;
  margin: 0 auto;
}

.cta-band p {
  color: #FFFFFF;
  margin: 18px auto 0;
  max-width: 620px;
}

.cta-actions {
  margin-top: 34px;
}

/* ============================================================
   DUO-BAND FOOTER
   ============================================================ */

.duo-band-footer {
  background-color: #E8EBFA;
}

.footer-upper {
  padding: 76px 0 60px;
}

.footer-grid {
  display: flex;
  gap: 64px;
}

.footer-brand { flex: 1.5; }
.footer-links { flex: 1; }
.footer-contact { flex: 1.5; }

.footer-wordmark {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #1C2233;
}

.footer-brand p {
  color: #5A6478;
  margin-top: 14px;
  max-width: 360px;
}

.footer-copy {
  display: block;
  color: #5A6478;
  margin-top: 20px;
  font-size: 14px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1C2233;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
  color: #5A6478;
  text-decoration: none;
  font-size: 15px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #7C8FE0;
}

.footer-contact p {
  color: #5A6478;
  margin-top: 4px;
  font-size: 15px;
}

.footer-legal {
  background-color: #1C2233;
  padding: 22px 0;
}

.footer-legal p {
  color: #C9CEE0;
  font-size: 13px;
  text-align: center;
}

.footer-legal a {
  color: #E8EBFA;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* ============================================================
   SECONDARY PAGE HERO (services / contact)
   ============================================================ */

.page-hero {
  background-color: #F8F9FD;
  padding: 80px 0 88px;
}

.page-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  color: #1C2233;
  margin-top: 16px;
  max-width: 860px;
}

.page-intro {
  font-size: 18px;
  color: #5A6478;
  margin-top: 20px;
  max-width: 720px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.service-details {
  background-color: #FFFFFF;
  padding: 100px 0;
}

.service-block {
  padding: 36px 0;
  border-bottom: 1px solid #D9DEEE;
}

.service-block:first-child {
  border-top: 1px solid #D9DEEE;
}

.service-block-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.service-block-num {
  font-size: 16px;
  font-weight: 800;
  color: #7C8FE0;
}

.service-block h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1C2233;
}

.service-block p {
  color: #5A6478;
  margin-top: 14px;
  max-width: 820px;
}

.service-block p + p {
  margin-top: 12px;
}

.service-chip-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.service-chip {
  background-color: #E8EBFA;
  color: #1C2233;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}

.process-section {
  padding: 100px 0;
  background-color: #F8F9FD;
}

.process-grid {
  display: flex;
  margin-top: 52px;
}

.process-step {
  flex: 1;
  padding: 0 28px;
  border-right: 1px solid #D9DEEE;
}

.process-step:first-child {
  padding-left: 0;
}

.process-step:last-child {
  padding-right: 0;
  border-right: none;
}

.process-num {
  font-size: 30px;
  font-weight: 800;
  color: #7C8FE0;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 800;
  color: #1C2233;
  margin-top: 10px;
}

.process-step p {
  color: #5A6478;
  margin-top: 8px;
  font-size: 15px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.contact-grid {
  display: flex;
  gap: 72px;
}

.contact-form-col {
  flex: 1.4;
}

.contact-info-col {
  flex: 1;
}

.contact-form {
  background-color: #F8F9FD;
  border: 1px solid #D9DEEE;
  border-radius: 12px;
  padding: 36px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1C2233;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #D9DEEE;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #1C2233;
  font-size: 15px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid #7C8FE0;
  border-color: #7C8FE0;
}

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

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #1C2233;
}

.contact-info-card {
  background-color: #E8EBFA;
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 28px;
}

.contact-info-card h3,
.contact-hours h3 {
  font-size: 18px;
  font-weight: 800;
  color: #1C2233;
}

.contact-info-card p,
.contact-info-card a {
  color: #5A6478;
  margin-top: 8px;
}

.contact-info-card a {
  text-decoration: none;
  display: inline-block;
}

.contact-info-card a:hover {
  color: #7C8FE0;
}

.contact-hours {
  background-color: #E8EBFA;
  border-radius: 12px;
  padding: 36px;
}

.hours-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: #5A6478;
  font-size: 15px;
  border-bottom: 1px solid #D9DEEE;
  padding-bottom: 10px;
}

.hours-line strong {
  color: #1C2233;
}

.hours-note {
  color: #5A6478;
  font-size: 14px;
  margin-top: 14px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 860px;
  margin-top: 44px;
}

.faq-item {
  border: 1px solid #D9DEEE;
  border-radius: 10px;
  background-color: #FFFFFF;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: #1C2233;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question .faq-icon {
  color: #7C8FE0;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: #5A6478;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-anim .fade-up {
  opacity: 0;
  transform: translateY(26px);
}

.js-anim .fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .footer-grid {
    flex-direction: column;
    gap: 44px;
  }

  .metric-grid {
    flex-direction: column;
  }

  .metric-item {
    border-right: none;
    border-bottom: 1px solid #FFFFFF;
    padding: 22px 0;
  }

  .metric-item:first-child {
    border-left: none;
    border-top: 1px solid #FFFFFF;
  }

  .metric-item:last-child {
    border-bottom: none;
  }

  .assurance-grid {
    flex-direction: column;
    gap: 36px;
  }

  .assurance-item {
    padding: 0 !important;
    border-right: none;
  }

  .process-grid {
    flex-direction: column;
    gap: 36px;
  }

  .process-step {
    padding: 0 !important;
    border-right: none;
  }

  .contact-grid {
    flex-direction: column;
    gap: 48px;
  }

  .hero-headline {
    font-size: 40px;
  }

  .section-title {
    font-size: 30px;
  }

  .page-title {
    font-size: 36px;
  }
}

@media (max-width: 720px) {
  .masthead-brand {
    padding-top: 16px;
  }

  .brand-wordmark {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .nav-toggle {
    display: flex;
  }

  .masthead-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #D9DEEE;
    padding: 18px 24px 22px;
    box-shadow: 0 12px 24px #D9DEEE;
  }

  .masthead-nav.is-open .masthead-links {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav li {
    display: block;
    margin-bottom: 6px;
  }

  .main-nav li + li::before {
    display: none;
  }

  .main-nav a {
    font-size: 15px;
    padding: 6px 0;
    display: inline-block;
  }

  .banner-strip {
    height: 52px;
  }

  .hero-content {
    padding: 64px 24px 80px;
  }

  .hero-headline {
    font-size: 34px;
  }

  .hero-subcopy {
    font-size: 17px;
  }

  .ledger-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ledger-num {
    min-width: 0;
  }

  .ledger-chip {
    align-self: flex-start;
  }

  .cta-band {
    padding: 72px 0;
  }

  .cta-band h2 {
    font-size: 30px;
  }

  .service-block-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
