:root {
  --primary: #6f5a9a;
  --primary-soft: #ece9f1;
  --soft: #e9e4ff;
  --accent: #8ccfc0;
  --ink: #1c1a2e;
  --surface: #fbfaff;
  --paper: #ffffff;
  --warm: #f6efe6;
  --muted: color-mix(in srgb, var(--ink), white 40%);
  --line: color-mix(in srgb, var(--primary), white 78%);
  --shadow: 0 24px 70px rgba(46, 37, 66, .14);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(140, 207, 192, .16), transparent 34rem),
    linear-gradient(180deg, var(--surface), #f8f3fb 42%, #fffaf5);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; object-fit: cover; }
button, input, textarea, select { font: inherit; }
.section-pad { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.1rem, 5vw, 5rem); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem clamp(1rem, 5vw, 4rem);
  backdrop-filter: blur(22px);
  background: color-mix(in srgb, var(--surface), transparent 12%);
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 25%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 900;
  letter-spacing: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary), transparent 72%);
  font-size: .78rem;
}
.main-nav { display: flex; align-items: center; gap: 1.05rem; font-size: .94rem; color: var(--muted); }
.main-nav a:hover { color: var(--primary); }
.nav-cta { padding: .72rem 1rem; border-radius: 999px; color: white !important; background: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; padding: .5rem; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(3.2rem, 8vw, 6.5rem);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 850;
  color: var(--primary);
  font-size: .76rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: .9;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}
h2 {
  font-size: clamp(2rem, 4.8vw, 4.45rem);
  line-height: .98;
  letter-spacing: 0;
  margin-bottom: 1rem;
}
h3 { font-size: 1.18rem; letter-spacing: 0; }
.hero-text,
.section-heading p,
.split-copy p,
.solution-copy p,
.showcase-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; box-shadow: 0 18px 38px color-mix(in srgb, var(--primary), transparent 70%); }
.btn-secondary { background: color-mix(in srgb, var(--surface), transparent 5%); border-color: var(--line); color: var(--ink); }
.hero-media { position: relative; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -1rem -1rem auto auto;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 32%);
  border-radius: 50%;
  z-index: -1;
}
.hero-media img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.floating-card {
  position: absolute;
  left: -1.4rem;
  bottom: 2rem;
  width: min(292px, 82%);
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: var(--shadow);
}
.floating-card strong, .floating-card span { display: block; }
.floating-card span { color: var(--muted); font-size: .88rem; margin-top: .25rem; }

.stats-band {
  width: min(1120px, calc(100% - 2rem));
  margin: -2rem auto 0;
  padding: .75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.7);
}
.stats-band article { padding: 1.15rem; border-radius: 18px; background: linear-gradient(135deg, var(--primary-soft), rgba(140, 207, 192, .22)); }
.stats-band strong { display: block; font-size: clamp(1.7rem, 4vw, 3rem); color: var(--primary); }
.stats-band span { color: var(--muted); }

.split-section { display: grid; grid-template-columns: .38fr 1.12fr .72fr; gap: 2rem; align-items: start; }
.section-label { color: var(--primary); font-weight: 900; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .18em; }
.insight-card,
.service-card,
.step,
.plan,
.quote,
.faq-item,
.lead-form {
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(46, 37, 66, .07);
}
.insight-card { padding: 1.5rem; border-left: 5px solid var(--accent); }
.insight-card span { color: var(--primary); font-weight: 900; }
.insight-card p { color: var(--muted); line-height: 1.7; }

.solution,
.showcase,
.contact {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.visual-stack { position: relative; min-height: 520px; }
.visual-stack img {
  position: absolute;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.visual-stack img:first-child { width: 70%; height: 72%; left: 0; top: 0; }
.visual-stack img:last-child { width: 62%; height: 58%; right: 0; bottom: 0; border: 10px solid var(--surface); }
.benefit-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.benefit-list li {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-soft), rgba(255,255,255,.72));
}
.benefit-list strong { color: var(--primary); }
.benefit-list span { color: var(--muted); }

.section-heading { max-width: 830px; margin: 0 auto 2.4rem; text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card {
  padding: 1.25rem;
  min-height: 220px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--primary), white 35%);
  background: #fff;
}
.service-card span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}
.service-card p, .step p, .plan p, .quote p { color: var(--muted); line-height: 1.65; }
.showcase-card img {
  aspect-ratio: 1.12;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step { padding: 1.2rem; position: relative; overflow: hidden; }
.step::before {
  content: "";
  position: absolute;
  inset: auto -18% -28% auto;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent), transparent 72%);
}
.step small { color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.plan { padding: 1.4rem; display: flex; flex-direction: column; }
.plan.featured {
  background: linear-gradient(145deg, var(--ink), var(--primary));
  color: white;
  transform: translateY(-14px);
}
.plan.featured p, .plan.featured .plan-tag { color: rgba(255,255,255,.78); }
.plan-tag { color: var(--primary); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.price { font-size: 2.3rem; color: var(--primary); font-weight: 950; margin: .6rem 0; }
.plan.featured .price { color: white; }
.btn-plan { margin-top: auto; background: var(--primary-soft); color: var(--ink); }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote { padding: 1.5rem; }
.quote p { font-size: 1.08rem; }
.quote strong { color: var(--primary); }

.faq-list { width: min(900px, 100%); margin: 0 auto; display: grid; gap: .75rem; }
.faq-item { overflow: hidden; }
.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}
.faq-item p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  color: var(--muted);
  line-height: 1.65;
  transition: max-height .25s ease, padding .25s ease;
}
.faq-item.active p { max-height: 170px; padding: 0 1.2rem 1.2rem; }

.lead-form { padding: 1.3rem; display: grid; gap: 1rem; }
.lead-form label { display: grid; gap: .45rem; font-weight: 800; color: var(--ink); }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  background: color-mix(in srgb, var(--surface), transparent 2%);
  color: var(--ink);
  outline: none;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary), transparent 84%);
}
.form-status { margin: 0; color: var(--primary); font-weight: 800; }

.final-cta {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  text-align: center;
  padding: clamp(2.2rem, 6vw, 5rem);
  border-radius: 30px;
  color: white;
  background:
    linear-gradient(135deg, rgba(140,207,192,.16), transparent),
    linear-gradient(135deg, var(--ink), var(--primary));
  box-shadow: var(--shadow);
}
.final-cta .eyebrow { color: color-mix(in srgb, var(--accent), white 20%); }
.final-cta h2 { max-width: 820px; margin-left: auto; margin-right: auto; }
.site-footer {
  padding: 2rem clamp(1rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 72px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .hero, .solution, .showcase, .contact, .split-section { grid-template-columns: 1fr; }
  .section-label { writing-mode: horizontal-tb; }
  .service-grid, .plans-grid, .quotes-grid, .timeline, .stats-band { grid-template-columns: 1fr; }
  .visual-stack { min-height: 420px; }
  .plan.featured { transform: none; }
  .site-footer { flex-direction: column; }
  h1 { max-width: 11ch; font-size: clamp(2.8rem, 15vw, 5rem); }
}

@media (max-width: 620px) {
  .section-pad { padding-inline: 1rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .floating-card { position: static; margin-top: 1rem; width: 100%; }
  .visual-stack img:first-child, .visual-stack img:last-child { position: static; width: 100%; height: auto; margin-bottom: 1rem; }
  .visual-stack { min-height: auto; }
  .benefit-list li { grid-template-columns: 1fr; }
}
