:root {
  color-scheme: light;
  --ink: #191728;
  --muted: #565265;
  --paper: #f8f7fc;
  --white: #fff;
  --line: #dfdbe9;
  --accent: #d6c9ff;
  --purple: #5135b1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 "Segoe UI", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #8060ea; outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 4rem)); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.nav, nav, .actions, footer .wrap { display: flex; align-items: center; gap: 1rem; }
.nav, footer .wrap { justify-content: space-between; }
.nav { min-height: 78px; }
nav { gap: 2rem; color: var(--muted); font-weight: 600; }
nav a:hover, footer a:hover { color: var(--purple); }
.brand { display: inline-flex; align-items: center; gap: .28em; font-weight: 850; white-space: nowrap; }
.brand b { color: var(--purple); }
.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: .4em;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-size: 1.25rem;
}
.outline, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 50px;
  font-weight: 720;
  text-align: center;
  transition: background-color .2s, color .2s;
}
.outline:hover { background: #eae4fa; }
.button { color: #20163a; background: var(--accent); border-color: var(--accent); }
.button:hover { background: #ebe2ff; }
.hero { padding-top: 1.4rem; }
.hero-content {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 47vw, 610px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: clamp(2rem, 5.1vw, 4.5rem);
  border-radius: 30px;
  background: #181626;
  color: #fff;
}
.hero-content::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 33%;
  content: "";
  background:
    linear-gradient(90deg,#181626 0%,#1816264d 38%,transparent 74%),
    linear-gradient(0deg,#211a36c9,transparent 50%),
    url("https://images.unsplash.com/photo-1589149536608-5a3b601f42a4?auto=format&fit=crop&w=1600&q=82") center / cover,
    radial-gradient(ellipse at 70% 55%,#6f5caa,#26203c 65%);
}
.hero-content .eyebrow { color: var(--accent); }
.hero .outline { border-color: #c6b9e180; background: #18162640; }
.hero .outline:hover { background: #665584; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: var(--purple);
  font-size: .875rem;
  font-weight: 760;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.02; }
h1 { font-size: clamp(3.3rem, 8vw, 7.1rem); font-weight: 760; letter-spacing: -.07em; }
h1 span { color: var(--accent); }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); font-weight: 760; letter-spacing: -.062em; }
h3 { font-size: 1.35rem; line-height: 1.18; letter-spacing: -.025em; }
.lead { max-width: 370px; margin: 1.5rem 0 1.8rem; color: #ece6f7; font-size: 1.2rem; }
.actions { flex-wrap: wrap; gap: .7rem; }
.section { padding-block: clamp(3.4rem, 7.6vw, 6.3rem); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; }
.grid li, .grid article { padding: 1.55rem; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.grid p, .intro, details p, footer p { color: var(--muted); }
.grid p { margin: .6rem 0 0; }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1.75rem;
  border-radius: 50%;
  background: #eee8ff;
  color: var(--purple);
  font-weight: 780;
}
.tinted { background: #eeebf7; border-block: 1px solid var(--line); }
article strong { display: block; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); color: var(--purple); }
.faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2rem; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 32px; text-align: center; line-height: 32px; border-radius: 50%; background: #eee8ff; color: var(--purple); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 1rem; }
.contact { padding-block: 0 clamp(3.4rem, 7.6vw, 6.3rem); }
.contact .wrap {
  padding: clamp(1.7rem, 6vw, 4rem);
  border: 1px solid #d6c8fa;
  border-radius: 28px;
  background: radial-gradient(ellipse at 95% 0%,#c0a9ff,transparent 56%), #e8dfff;
}
.contact p:last-child { margin-bottom: 0; }
footer { padding-block: 1.25rem; border-top: 1px solid var(--line); }
footer p { margin: 0; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-content { padding: 2rem; }
  .hero-content::before { inset-inline-start: 12%; }
  .grid { gap: .7rem; }
  .grid li, .grid article { padding: 1.2rem; }
}
@media (max-width: 620px) {
  .nav { flex-wrap: wrap; padding-block: .75rem; gap: .65rem; }
  .nav nav { order: 3; width: 100%; justify-content: space-between; gap: .35rem; padding: .35rem 0; font-size: .9rem; }
  .nav > .outline { min-height: 40px; padding-inline: .8rem; }
  .hero { padding-top: .75rem; }
  .hero-content { min-height: 560px; justify-content: flex-end; padding: 1.5rem; border-radius: 23px; }
  .hero-content::before {
    inset: 0;
    background:
      linear-gradient(0deg,#181626 8%,#181626d9 37%,#18162615 82%),
      url("https://images.unsplash.com/photo-1589149536608-5a3b601f42a4?auto=format&fit=crop&w=850&q=80") 52% 12% / auto 72% no-repeat,
      radial-gradient(ellipse at 70% 16%,#6f5caa,#26203c 65%);
  }
  h1 { font-size: clamp(2.65rem, 11.2vw, 4.25rem); }
  .lead { margin: 1rem 0 1.25rem; font-size: 1rem; }
  .actions { width: 100%; }
  .actions a { width: 100%; }
  .grid, .faq { grid-template-columns: 1fr; }
  .faq { gap: 1rem; }
  footer .wrap { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .outline, .button { transition: none; }
}

/* Keep the page usable for keyboard navigation before a section enters view. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1);
  }
  .reveal-visible, .reveal:focus-within {
    opacity: 1;
    transform: none;
  }
  .reveal:focus-within { transition: none; }
  .grid > :nth-child(2).reveal-visible { transition-delay: .08s; }
  .grid > :nth-child(3).reveal-visible { transition-delay: .16s; }
}

@media (max-width: 620px) {
  .hero-content {
    min-height: clamp(450px, 82svh, 560px);
    padding: clamp(1.15rem, 5vw, 1.75rem);
  }
  .hero-content::before { background-position: center, 52% 0, center; }
  .nav nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .nav > .outline { min-height: 44px; }
  .grid li, .grid article { padding: 1.3rem; }
  .steps li::before { margin-bottom: .95rem; }
  summary { min-height: 54px; }
  .contact .wrap { padding: 1.5rem; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 1.5rem); }
  .brand { font-size: .875rem; }
  .nav nav { font-size: .875rem; }
  .hero-content { border-radius: 18px; }
  .hero h1 { font-size: clamp(2.3rem, 12vw, 2.7rem); }
}

.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.extra-service {
  margin-top: 1rem;
  padding: 1.35rem 1.55rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #eeebf7;
}
.extra-service h3 { font-size: 1.2rem; }
.extra-service .eyebrow { margin-bottom: .5rem; }
.extra-service p:last-child { margin: .5rem 0 0; color: var(--muted); }
.services + .section { padding-top: 0; }
@media (max-width: 800px) {
  nav { gap: 1rem; }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
  .extra-service { padding: 1.3rem; }
}

/* Logo + contacts */
.mark { width: 36px; height: 36px; margin-right: .4em; border-radius: 10px; background: none; display: block; }
.hero-logo { width: 64px; height: 64px; margin-bottom: 1.4rem; border-radius: 16px; box-shadow: 0 0 0 1px #d6c9ff40, 0 10px 30px #0006; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.contact-actions .button, .contact-actions .outline { gap: .55rem; font-size: 1.05rem; }
.contact .wa { color: #fff; background: #1f9d55; border-color: #1f9d55; }
.contact .wa:hover { background: #17834a; }
.contact .phone { background: #fff; border-color: #d6c8fa; color: var(--ink); }
.contact .phone:hover { background: #f4f0ff; }
footer p a { color: var(--purple); font-weight: 700; }
@media (max-width: 620px) {
  .hero-logo { width: 52px; height: 52px; margin-bottom: 1rem; }
  .contact-actions a { width: 100%; }
}
