/* =========================================================
   WaveCity — style.css
   Light theme · porcelain-blue-white · deep ink · wave-azure
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  background-color: #F5F9FB;
  color: #12202A;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: #2E86AB;
  color: #FFFFFF;
}

a {
  color: #2E86AB;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

/* ---------- scroll reveal (safe without JS) ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =========================================================
   GIANT WORDMARK NAVIGATION
   ========================================================= */

.giant-nav {
  background-color: #F5F9FB;
  border-bottom: 2px solid #2E86AB;
  transition: box-shadow 0.25s ease;
}

.giant-nav.is-scrolled {
  box-shadow: 0 6px 18px rgba(46, 134, 171, 0.14);
}

.giant-nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 0;
}

.giant-wordmark {
  display: block;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #12202A;
}

.giant-wordmark a {
  color: #12202A;
}

.giant-wordmark a:hover {
  color: #2E86AB;
  text-decoration: none;
}

.nav-hairline {
  height: 1px;
  background-color: #CFE3EC;
  margin: 14px 0 0;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 16px;
}

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #12202A;
  padding: 4px 0 6px;
}

.nav-link::before {
  content: "";
  width: 7px;
  height: 7px;
  background-color: #2E86AB;
  flex: 0 0 7px;
}

.nav-link:hover {
  color: #2E86AB;
  text-decoration: none;
}

.nav-link.active {
  color: #2E86AB;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: #2E86AB;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #2E86AB;
  color: #2E86AB;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  cursor: pointer;
}

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

.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background-color: #2E86AB;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #12202A;
  color: #FFFFFF;
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: #12202A;
  border-color: #12202A;
}

.btn-outline:hover {
  background-color: #12202A;
  color: #FFFFFF;
  text-decoration: none;
}

.btn-dark {
  background-color: #12202A;
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: #0B141B;
  color: #FFFFFF;
  text-decoration: none;
}

/* =========================================================
   HERO — giant background word
   ========================================================= */

.word-hero {
  position: relative;
  background-color: #F5F9FB;
  border-bottom: 1px solid #CFE3EC;
  overflow: hidden;
}

.word-hero-mark {
  position: absolute;
  bottom: -120px;
  right: -40px;
  z-index: 0;
  font-size: 340px;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: #2E86AB;
  user-select: none;
  pointer-events: none;
}

.word-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 96px 0 260px;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #2E86AB;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.word-hero h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #12202A;
  margin-bottom: 26px;
}

.word-hero-sub {
  font-size: 19px;
  line-height: 1.75;
  color: #12202A;
  max-width: 640px;
  margin-bottom: 38px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================================================
   SECTION HEADINGS + EDITORIAL
   ========================================================= */

.section-heading {
  max-width: 820px;
  margin-bottom: 18px;
}

.section-heading .eyebrow-label {
  display: block;
  margin-bottom: 12px;
}

.eyebrow-label {
  color: #2E86AB;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #12202A;
}

.section-lead {
  font-size: 19px;
  line-height: 1.75;
  color: #12202A;
  max-width: 820px;
  margin-top: 18px;
}

.longform-editorial {
  background-color: #FFFFFF;
  padding: 96px 0 104px;
}

.editorial-block {
  max-width: 820px;
  margin-top: 60px;
}

.editorial-block:first-of-type {
  margin-top: 52px;
}

.editorial-block h3 {
  font-size: 26px;
  font-weight: 800;
  color: #12202A;
  margin: 10px 0 16px;
}

.editorial-block p {
  font-size: 18px;
  line-height: 1.85;
  color: #12202A;
}

.editorial-outro {
  max-width: 820px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #CFE3EC;
}

.editorial-outro p {
  font-size: 18px;
  line-height: 1.85;
  color: #12202A;
}

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

.metric-band {
  background-color: #CFE3EC;
}

.metric-grid {
  display: flex;
  align-items: stretch;
}

.metric-cell {
  flex: 1 1 0;
  text-align: center;
  padding: 64px 24px;
  border-left: 1px solid #9DBBCB;
}

.metric-cell:first-child {
  border-left: none;
}

.metric-num {
  display: block;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: #2E86AB;
}

.metric-label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #12202A;
}

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

.cta-band {
  background-color: #2E86AB;
}

.cta-inner {
  text-align: center;
  padding: 96px 24px 100px;
}

.cta-inner h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.cta-inner p {
  font-size: 18px;
  line-height: 1.75;
  color: #EAF3F8;
  max-width: 640px;
  margin: 18px auto 34px;
}

/* =========================================================
   TWO-TONE BAND FOOTER
   ========================================================= */

.footer-top {
  background-color: #2E86AB;
}

.footer-top-inner {
  text-align: center;
  padding: 64px 24px 58px;
}

.footer-wordmark {
  display: block;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #CFE3EC;
}

.footer-links {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 600;
  color: #EAF3F8;
}

.footer-links a {
  color: #FFFFFF;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #CFE3EC;
}

.footer-links .sep {
  color: #EAF3F8;
  margin: 0 10px;
}

.footer-bottom {
  background-color: #12202A;
}

.footer-bottom-inner {
  text-align: center;
  padding: 20px 24px;
  font-size: 14px;
  color: #CFE3EC;
}

.footer-bottom-inner a {
  color: #FFFFFF;
}

.footer-bottom-inner a:hover {
  color: #CFE3EC;
}

/* =========================================================
   SECONDARY PAGES — page hero
   ========================================================= */

.page-hero {
  background-color: #F5F9FB;
  border-bottom: 1px solid #CFE3EC;
  padding: 84px 0 84px;
}

.page-hero-inner {
  max-width: 760px;
}

.page-hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #12202A;
  margin-bottom: 22px;
}

.page-hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: #12202A;
  max-width: 680px;
}

.page-section {
  padding: 88px 0;
}

.page-section.alt {
  background-color: #FFFFFF;
}

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

.service-block {
  max-width: 860px;
  padding: 44px 0;
  border-bottom: 1px solid #CFE3EC;
}

.service-block:first-child {
  padding-top: 12px;
}

.service-block:last-child {
  border-bottom: none;
}

.service-block .eyebrow-label {
  display: block;
  margin-bottom: 8px;
}

.service-block h2 {
  font-size: 26px;
  font-weight: 800;
  color: #12202A;
  margin-bottom: 16px;
}

.service-block p {
  font-size: 17px;
  line-height: 1.85;
  color: #12202A;
  margin-bottom: 14px;
}

.process-band {
  background-color: #CFE3EC;
  padding: 88px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.process-step {
  background-color: #F5F9FB;
  padding: 30px 26px;
  border-top: 4px solid #2E86AB;
}

.process-step .step-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #2E86AB;
  line-height: 1;
}

.process-step h3 {
  font-size: 19px;
  font-weight: 800;
  color: #12202A;
  margin: 12px 0 10px;
}

.process-step p {
  font-size: 15px;
  line-height: 1.75;
  color: #12202A;
}

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

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.contact-form .form-field {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #12202A;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  font-size: 16px;
  font-family: inherit;
  color: #12202A;
  background-color: #F5F9FB;
  border: 1px solid #CFE3EC;
  border-radius: 6px;
  padding: 14px 16px;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #2E86AB;
  box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.2);
}

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

.form-status {
  font-size: 15px;
  font-weight: 600;
  margin: 18px 0;
  padding: 12px 16px;
  border-radius: 6px;
}

.form-status.pending {
  background-color: #CFE3EC;
  color: #12202A;
}

.form-status.success {
  background-color: #D6E8F0;
  color: #12202A;
  border-left: 4px solid #2E86AB;
}

.form-status.error {
  background-color: #FBE9E9;
  color: #12202A;
  border-left: 4px solid #B03030;
}

.info-card {
  background-color: #F5F9FB;
  border: 1px solid #CFE3EC;
  border-left: 4px solid #2E86AB;
  padding: 26px 24px;
  margin-bottom: 22px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #12202A;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #12202A;
}

.info-card a {
  color: #2E86AB;
  font-weight: 700;
}

.business-hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}

.business-hours td {
  font-size: 15px;
  color: #12202A;
  padding: 6px 0;
}

.business-hours td:last-child {
  text-align: right;
  font-weight: 700;
}

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

.faq-section {
  background-color: #F5F9FB;
  padding: 88px 0 96px;
}

.faq-list {
  max-width: 820px;
  margin-top: 36px;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid #CFE3EC;
  border-left: 4px solid #2E86AB;
  margin-bottom: 14px;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 17px;
  font-weight: 800;
  color: #12202A;
  padding: 20px 22px;
  cursor: pointer;
}

.faq-toggle .faq-icon {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 900;
  color: #2E86AB;
  transition: transform 0.25s ease;
}

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

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-panel {
  max-height: 400px;
}

.faq-panel p {
  font-size: 15px;
  line-height: 1.8;
  color: #12202A;
  padding: 0 22px 20px;
}

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

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
    padding: 6px 0 8px;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-row {
    flex-wrap: wrap;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid #CFE3EC;
  }

  .giant-wordmark {
    font-size: 44px;
  }

  .word-hero h1 {
    font-size: 38px;
  }

  .word-hero-sub {
    font-size: 17px;
  }

  .word-hero-mark {
    font-size: 200px;
    bottom: -70px;
    right: -20px;
  }

  .word-hero-content {
    padding: 72px 0 220px;
  }

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

  .metric-cell {
    border-left: none;
    border-top: 1px solid #9DBBCB;
    padding: 44px 24px;
  }

  .metric-cell:first-child {
    border-top: none;
  }

  .section-heading h2,
  .cta-inner h2 {
    font-size: 32px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

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

@media (max-width: 480px) {
  .hero-cta-row .btn {
    width: 100%;
  }

  .footer-links .sep {
    display: inline-block;
    margin: 0 6px;
  }
}
