:root {
  --ink: #17202a;
  --night: #251c3d;
  --plum: #6d3f8c;
  --coral: #ff6b5f;
  --gold: #f7c65b;
  --mint: #6fd3b2;
  --paper: #fbf7ef;
  --surface: #ffffff;
  --soft: #f0eadf;
  --muted: #6c6a64;
  --line: rgba(23, 32, 42, .14);
  --shadow: 0 28px 70px rgba(34, 26, 51, .15);
  --radius-xl: 30px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* { 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(90deg, rgba(23, 32, 42, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 107, 95, .08), transparent 34rem),
    var(--paper);
  background-size: 54px 54px, auto, auto;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; object-fit: cover; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
.section-pad { padding: clamp(4.5rem, 7vw, 7.5rem) 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);
  background: rgba(251, 247, 239, .82);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}

.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;
  color: var(--paper);
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--coral), var(--gold), var(--mint), var(--plum), var(--coral));
  box-shadow: 0 14px 28px rgba(109, 63, 140, .22);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 750;
}

.main-nav a {
  padding: .65rem .85rem;
  border-radius: 999px;
}

.main-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .72); }
.nav-cta { color: var(--paper) !important; background: var(--night) !important; }
.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: 88vh;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(330px, 1.06fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(3rem, 7vw, 5.6rem);
}

.eyebrow {
  color: var(--plum);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.1rem, 7.6vw, 7rem);
  line-height: .88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.6vw, 4.7rem);
  line-height: .96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: .65rem;
  font-size: 1.22rem;
  line-height: 1.15;
  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.45vw, 1.16rem);
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .9rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--paper);
  background: linear-gradient(135deg, var(--night), var(--plum) 54%, var(--coral));
  box-shadow: 0 18px 36px rgba(109, 63, 140, .28);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border-color: var(--line);
}

.hero-media {
  position: relative;
  isolation: isolate;
  padding: clamp(.65rem, 1.4vw, 1rem);
  border-radius: 42px 42px 42px 8px;
  background: linear-gradient(135deg, var(--mint), var(--gold) 48%, var(--coral));
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 8% -2.2rem 16%;
  z-index: -1;
  height: 5rem;
  background: var(--plum);
  border-radius: 999px;
  opacity: .18;
  filter: blur(22px);
}

.hero-media img {
  aspect-ratio: 4 / 3;
  border-radius: 32px 32px 32px 6px;
  filter: saturate(.96) contrast(1.04);
}

.language-strip {
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
  display: grid;
  grid-template-columns: repeat(2, 38px);
  gap: .35rem;
}

.language-strip span {
  display: grid;
  place-items: center;
  height: 38px;
  border-radius: 50%;
  color: var(--paper);
  background: rgba(23, 32, 42, .78);
  font-size: .76rem;
  font-weight: 950;
  backdrop-filter: blur(12px);
}

.floating-card {
  position: absolute;
  left: -1.2rem;
  bottom: 1.6rem;
  width: min(280px, 78%);
  padding: 1rem;
  color: var(--paper);
  background: rgba(37, 28, 61, .88);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.floating-card strong,
.floating-card span { display: block; }
.floating-card span { margin-top: .25rem; color: rgba(251, 247, 239, .74); font-size: .9rem; }

.stats-band {
  width: min(1120px, calc(100% - 2rem));
  margin: -2rem auto 0;
  padding: .8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  background: var(--night);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.stats-band article {
  padding: 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}

.stats-band strong {
  display: block;
  color: var(--gold);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
}

.stats-band span { color: rgba(251, 247, 239, .76); }

.split-section {
  display: grid;
  grid-template-columns: .32fr 1.1fr .72fr;
  gap: 2rem;
  align-items: start;
}

.section-label {
  color: var(--plum);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.insight-card,
.service-card,
.step,
.plan,
.quote,
.faq-item,
.lead-form {
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 46px rgba(34, 26, 51, .08);
}

.insight-card {
  padding: 1.35rem;
  background: var(--night);
  color: var(--paper);
}

.insight-card span { color: var(--gold); font-weight: 950; }
.insight-card p { color: rgba(251, 247, 239, .76); line-height: 1.7; }

.solution,
.showcase,
.contact {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.visual-stack {
  position: relative;
  min-height: 520px;
}

.visual-stack img {
  position: absolute;
  box-shadow: var(--shadow);
}

.visual-stack img:first-child {
  width: 72%;
  height: 74%;
  left: 0;
  top: 0;
  border-radius: 36px 8px 36px 8px;
}

.visual-stack img:last-child {
  width: 62%;
  height: 58%;
  right: 0;
  bottom: 0;
  border: 10px solid var(--paper);
  border-radius: 8px 36px 8px 36px;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: .85rem;
}

.benefit-list li {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, .76);
  border-left: 5px solid var(--coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.benefit-list strong { color: var(--night); }
.benefit-list span { color: var(--muted); line-height: 1.55; }

.section-heading {
  max-width: 850px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 168px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -42px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(111, 211, 178, .28);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(109, 63, 140, .36);
  background: var(--surface);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: .8rem;
  color: var(--paper);
  background: var(--plum);
  border-radius: 50%;
  font-weight: 950;
}

.service-card:nth-child(2n) span { background: var(--coral); }
.service-card:nth-child(3n) span { background: var(--night); }
.service-card p,
.step p,
.plan p,
.quote p {
  color: var(--muted);
  line-height: 1.65;
}

.showcase-card {
  padding: .75rem;
  background: var(--night);
  border-radius: 8px 34px 34px 34px;
  box-shadow: var(--shadow);
}

.showcase-card img {
  aspect-ratio: 1.13;
  border-radius: 4px 26px 26px 26px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.2rem;
  border-top: 5px solid var(--mint);
}

.step:nth-child(2) { border-top-color: var(--gold); }
.step:nth-child(3) { border-top-color: var(--coral); }
.step:nth-child(4) { border-top-color: var(--plum); }
.step small {
  color: var(--plum);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.plan {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  color: var(--paper);
  background: linear-gradient(145deg, var(--night), var(--plum));
  transform: translateY(-14px);
}

.plan.featured p,
.plan.featured .plan-tag { color: rgba(251, 247, 239, .76); }
.plan-tag {
  color: var(--plum);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.price {
  margin: .6rem 0;
  color: var(--coral);
  font-size: 2.35rem;
  font-weight: 950;
  line-height: 1;
}

.plan.featured .price { color: var(--gold); }
.btn-plan { margin-top: auto; color: var(--ink); background: var(--soft); border-color: transparent; }

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quote { padding: 1.45rem; }
.quote strong { color: var(--plum); }

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: .75rem;
}

.faq-item { overflow: hidden; }
.faq-item button {
  width: 100%;
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.faq-item p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0 1.15rem;
  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.15rem 1.15rem; }

.lead-form {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  background: var(--surface);
}

.lead-form label {
  display: grid;
  gap: .45rem;
  color: var(--ink);
  font-weight: 850;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: .9rem 1rem;
  color: var(--ink);
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 4px rgba(109, 63, 140, .14);
}

.form-status { margin: 0; color: var(--plum); font-weight: 850; }

.final-cta {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  padding: clamp(2.2rem, 6vw, 5rem);
  text-align: center;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(255, 107, 95, .2), transparent 35%),
    linear-gradient(145deg, var(--night), var(--plum));
  border-radius: 34px 8px 34px 8px;
  box-shadow: var(--shadow);
}

.final-cta .eyebrow { color: var(--gold); }
.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(24px);
  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;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    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.7rem, 13vw, 5rem); }
}

@media (max-width: 620px) {
  .section-pad { padding-inline: 1rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-media { border-radius: 28px 28px 28px 8px; }
  .floating-card { position: static; width: 100%; margin-top: .8rem; }
  .visual-stack img:first-child,
  .visual-stack img:last-child {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-width: 0;
  }
  .visual-stack { min-height: auto; }
  .benefit-list li { grid-template-columns: 1fr; }
  .language-strip {
    top: 1rem;
    right: 1rem;
    grid-template-columns: repeat(4, 32px);
  }
  .language-strip span { width: 32px; height: 32px; font-size: .68rem; }
}
