/* ============================================================
   DEMORADESIGN — light theme stylesheet
   Palette: harbour-violet #6E5BA8 / light lilac-mist #DCD2EF /
            deep ink #221E2C / lavender-white #F6F4FA
   ============================================================ */

:root {
  --bg: #F6F4FA;
  --ink: #221E2C;
  --violet: #6E5BA8;
  --violet-deep: #55458A;
  --lilac: #DCD2EF;
  --lilac-deep: #C9BCE4;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F6F4FA;
  color: #221E2C;
  font-size: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans", "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: #6E5BA8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HAMBURGER-FIRST NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #F6F4FA;
  border-bottom: 1px solid #6E5BA8;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 14px #C9BCE4;
}

.burger-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
}

.brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #221E2C;
}

.brand:hover {
  text-decoration: none;
  color: #6E5BA8;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-btn span {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background-color: #6E5BA8;
}

.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #6E5BA8;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay-menu.open {
  opacity: 1;
  visibility: visible;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.close-btn:hover {
  color: #DCD2EF;
}

.overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 90px 24px 40px;
}

.overlay-links a {
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  text-align: center;
}

.overlay-links a:hover {
  color: #DCD2EF;
  text-decoration: none;
}

.overlay-note {
  color: #DCD2EF;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-top: 30px;
  text-align: center;
  padding: 0 24px;
}

/* ============================================================
   TEXT-ONLY HERO WITH STAT STRIP
   ============================================================ */

.stat-hero {
  background-color: #F6F4FA;
  padding: 96px 0 0;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #6E5BA8;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #221E2C;
  margin: 26px 0 20px;
  max-width: 900px;
}

.hero-copy {
  font-size: 19px;
  color: #221E2C;
  max-width: 760px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.cta-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

.cta-btn:hover {
  text-decoration: none;
}

.cta-btn-primary {
  background-color: #6E5BA8;
  color: #FFFFFF;
  border: 2px solid #6E5BA8;
}

.cta-btn-primary:hover {
  background-color: #55458A;
  border-color: #55458A;
}

.cta-btn-ghost {
  background-color: #FFFFFF;
  color: #221E2C;
  border: 2px solid #221E2C;
}

.cta-btn-ghost:hover {
  background-color: #221E2C;
  color: #FFFFFF;
}

.stat-strip {
  display: flex;
  border-top: 1px solid #6E5BA8;
  border-bottom: 1px solid #6E5BA8;
  background-color: #F6F4FA;
}

.stat-block {
  flex: 1 1 0;
  padding: 30px 22px;
}

.stat-block + .stat-block {
  border-left: 1px solid #6E5BA8;
}

.stat-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: #6E5BA8;
}

.stat-label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #221E2C;
}

/* ============================================================
   SECTIONS (TIMELINE + METRIC BAND + CTA BAND)
   ============================================================ */

.section-head {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6E5BA8;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #221E2C;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: #221E2C;
}

/* ---- Timeline ---- */

.timeline-section {
  background-color: #FFFFFF;
  padding: 96px 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  padding-left: 48px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background-color: #6E5BA8;
}

.milestone {
  position: relative;
  padding: 0 0 56px;
}

.milestone:last-child {
  padding-bottom: 0;
}

.milestone-node {
  position: absolute;
  left: -48px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #6E5BA8;
  border: 4px solid #DCD2EF;
}

.milestone-year {
  display: inline-block;
  background-color: #6E5BA8;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.milestone-title {
  font-size: 24px;
  font-weight: 800;
  color: #221E2C;
  margin-bottom: 12px;
}

.milestone-text {
  font-size: 17px;
  color: #221E2C;
  max-width: 720px;
}

/* ---- Metric band ---- */

.metric-band {
  background-color: #DCD2EF;
  padding: 84px 0;
}

.metric-band .section-head {
  margin-bottom: 40px;
}

.metric-grid {
  display: flex;
}

.metric-item {
  flex: 1 1 0;
  padding: 20px 24px;
}

.metric-item + .metric-item {
  border-left: 2px solid #6E5BA8;
}

.metric-num {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: #6E5BA8;
}

.metric-label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #221E2C;
}

/* ---- CTA band ---- */

.cta-band {
  background-color: #6E5BA8;
  padding: 88px 0;
}

.cta-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
  line-height: 1.18;
}

.cta-band p {
  font-size: 18px;
  color: #FFFFFF;
  max-width: 680px;
  margin: 0 auto 34px;
}

.cta-btn-ink {
  display: inline-block;
  background-color: #221E2C;
  color: #FFFFFF;
  border: 2px solid #221E2C;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
}

.cta-btn-ink:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #221E2C;
  text-decoration: none;
}

/* ============================================================
   LINK-ROW + LEGAL FOOTER
   ============================================================ */

.link-row-footer {
  background-color: #F6F4FA;
  padding: 44px 24px;
  border-top: 1px solid #6E5BA8;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 40px;
  max-width: 1120px;
  margin: 0 auto;
}

.footer-links a {
  position: relative;
  color: #221E2C;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 18px;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background-color: #6E5BA8;
}

.footer-links a:hover {
  color: #6E5BA8;
  text-decoration: none;
}

.legal-footer {
  background-color: #6E5BA8;
  padding: 18px 24px;
  text-align: center;
}

.legal-footer p {
  color: #FFFFFF;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.legal-footer a {
  color: #FFFFFF;
  text-decoration: underline;
}

.legal-footer a:hover {
  color: #DCD2EF;
}

/* ============================================================
   SECONDARY PAGES (SERVICES / CONTACT)
   ============================================================ */

.page-hero {
  background-color: #F6F4FA;
  padding: 76px 0 56px;
}

.page-title {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #221E2C;
  margin: 22px 0 16px;
  max-width: 900px;
}

.page-sub {
  font-size: 18px;
  color: #221E2C;
  max-width: 780px;
}

/* ---- Services ---- */

.services-section {
  background-color: #FFFFFF;
  padding: 84px 0;
}

.services-intro {
  font-size: 17px;
  color: #221E2C;
  max-width: 820px;
  margin-bottom: 52px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.service-block {
  background-color: #F6F4FA;
  padding: 34px 30px;
  border-top: 4px solid #6E5BA8;
}

.service-index {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6E5BA8;
  margin-bottom: 12px;
}

.service-block h2 {
  font-size: 22px;
  font-weight: 800;
  color: #221E2C;
  margin-bottom: 14px;
}

.service-block p {
  color: #221E2C;
}

.process-section {
  background-color: #F6F4FA;
  padding: 84px 0;
}

.process-list {
  max-width: 820px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid #C9BCE4;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: #6E5BA8;
  min-width: 64px;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 800;
  color: #221E2C;
  margin-bottom: 8px;
}

.process-step p {
  color: #221E2C;
}

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

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

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

.contact-info-block {
  background-color: #F6F4FA;
  padding: 34px 30px;
  border-left: 4px solid #6E5BA8;
  margin-bottom: 24px;
}

.contact-info-block h2 {
  font-size: 20px;
  font-weight: 800;
  color: #221E2C;
  margin-bottom: 12px;
}

.contact-info-block p {
  color: #221E2C;
  margin-bottom: 8px;
}

.contact-info-block a {
  color: #6E5BA8;
  font-weight: 700;
}

.contact-form {
  background-color: #DCD2EF;
  padding: 34px 30px;
}

.contact-form h2 {
  font-size: 20px;
  font-weight: 800;
  color: #221E2C;
  margin-bottom: 20px;
}

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

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #221E2C;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: #221E2C;
  background-color: #FFFFFF;
  border: 1px solid #6E5BA8;
  border-radius: 6px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #6E5BA8;
  outline-offset: 1px;
}

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

.form-submit {
  background-color: #6E5BA8;
  color: #FFFFFF;
  border: none;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  cursor: pointer;
}

.form-submit:hover {
  background-color: #55458A;
}

.form-status {
  margin-top: 14px;
  font-weight: 700;
  color: #221E2C;
}

/* ---- FAQ ---- */

.faq-section {
  background-color: #F6F4FA;
  padding: 84px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid #C9BCE4;
  margin-bottom: 16px;
}

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

.faq-q::after {
  content: "+";
  font-size: 26px;
  font-weight: 800;
  color: #6E5BA8;
  line-height: 1;
}

.faq-item.open .faq-q::after {
  content: "-";
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 24px 22px;
  color: #221E2C;
}

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

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .stat-strip {
    flex-wrap: wrap;
  }

  .stat-block {
    flex: 1 1 44%;
  }

  .stat-block:nth-child(3) {
    border-left: none;
  }

  .stat-block:nth-child(n + 3) {
    border-top: 1px solid #6E5BA8;
  }

  .metric-grid {
    flex-wrap: wrap;
  }

  .metric-item {
    flex: 1 1 44%;
  }

  .metric-item:nth-child(3) {
    border-left: none;
  }

  .metric-item:nth-child(n + 3) {
    border-top: 2px solid #6E5BA8;
  }

  .process-step {
    flex-direction: column;
    gap: 12px;
  }

  .process-step-num {
    min-width: 0;
  }

  .stat-hero {
    padding-top: 64px;
  }

  .hero-ctas .cta-btn {
    width: 100%;
  }
}
