:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --ink: #14213d;
  --muted: #5f6f89;
  --line: #dbe6f4;
  --blue: #2447d8;
  --purple: #8f35e8;
  --aqua: #0ea5e9;
  --green: #16a34a;
  --cream: #fff7ed;
  --shadow: 0 22px 60px rgba(28, 47, 88, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, rgba(143,53,232,.12), transparent 34rem), var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--ink); color: white; padding: 8px 12px; border-radius: 10px; z-index: 10; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248,251,255,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219,230,244,.8);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -.02em; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 20px; color: var(--muted); font-weight: 700; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { color: white !important; background: linear-gradient(135deg, var(--blue), var(--purple)); padding: 10px 16px; border-radius: 999px; box-shadow: 0 12px 30px rgba(36,71,216,.2); }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 8px 12px; color: var(--ink); }

.section { max-width: 1180px; margin: 0 auto; padding: 80px 20px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) 430px; align-items: center; gap: 54px; padding-top: 64px; }
.eyebrow { color: var(--blue); font-size: .82rem; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 12px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.075em; margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.03; letter-spacing: -.055em; margin-bottom: 16px; }
h3 { font-size: 1.18rem; line-height: 1.2; margin-bottom: 8px; }
p { color: var(--muted); }
.hero-text { font-size: 1.25rem; max-width: 760px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px; font-weight: 850; border: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: linear-gradient(135deg, var(--blue), var(--purple)); box-shadow: 0 18px 34px rgba(36,71,216,.25); }
.button.secondary { color: white; background: var(--ink); }
.button.ghost { color: var(--blue); background: white; border: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span { color: #184b2d; background: #e8f8ee; border: 1px solid #bfe8ce; border-radius: 999px; padding: 8px 12px; font-weight: 800; font-size: .92rem; }
.hero-card { background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 34px; padding: 28px; box-shadow: var(--shadow); }
.hero-card img { width: 290px; margin: 0 auto 22px; border-radius: 50%; }
.quick-contact { display: grid; gap: 10px; }
.quick-contact a, .quick-contact span { padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); font-weight: 800; color: var(--blue); }
.quick-contact span { color: var(--muted); }

.service-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding-top: 0; }
.service-strip div { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-align: center; font-weight: 850; box-shadow: 0 10px 28px rgba(28,47,88,.07); }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.story-grid article, .cards article, .why-grid article, .testimonials figure, .contact-form, .contact-options a, .expect-grid div, .concerns { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(28,47,88,.08); }
.story-grid article { padding: 22px; }
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head.light p, .why .section-head p, .expectation .section-head p { color: rgba(255,255,255,.72); }
.section-head.light .eyebrow, .why .eyebrow, .expectation .eyebrow { color: #cbd5ff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards article { padding: 24px; }
.cards article span { font-size: 2rem; }
.cards article p { margin-bottom: 0; }

.why, .expectation { max-width: none; background: linear-gradient(135deg, #172554, #4c1d95); color: white; padding-left: max(20px, calc((100vw - 1180px) / 2)); padding-right: max(20px, calc((100vw - 1180px) / 2)); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-grid article { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); box-shadow: none; padding: 24px; }
.why-grid p { color: rgba(255,255,255,.75); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.steps li { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; box-shadow: 0 12px 34px rgba(28,47,88,.08); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--blue), var(--purple)); font-weight: 900; margin-bottom: 16px; }
.steps strong, .steps span { display: block; }
.steps span { color: var(--muted); margin-top: 8px; }

.concerns { display: grid; grid-template-columns: .8fr 1fr; gap: 28px; padding: 34px; }
.concerns ul { margin: 0; padding-left: 22px; color: var(--ink); font-weight: 750; }
.concerns p { grid-column: 1 / -1; margin: 0; }

.testimonials figure { margin: 0; padding: 24px; }
blockquote { margin: 0 0 18px; color: var(--ink); font-size: 1.02rem; }
figcaption { font-weight: 850; }
figcaption span { display: block; color: var(--muted); font-weight: 650; font-size: .92rem; }
.expect-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.expect-grid div { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); box-shadow: none; padding: 22px; display: grid; gap: 12px; }
.expect-grid strong { color: #cbd5ff; font-size: 2rem; line-height: 1; }
.expect-grid span { color: rgba(255,255,255,.86); font-weight: 750; }

.contact { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: start; }
.contact-options { display: grid; gap: 12px; margin-top: 24px; }
.contact-options a { padding: 18px; display: grid; gap: 2px; }
.contact-options strong { font-size: 1.1rem; }
.contact-options span { color: var(--muted); }
.small-note, .form-note { font-size: .9rem; color: var(--muted); }
.contact-form { padding: 24px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; color: var(--ink); font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; background: #fbfdff; color: var(--ink); }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(14,165,233,.18); border-color: var(--aqua); }
.hidden { display: none; }

.footer { background: #0f172a; color: white; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px max(20px, calc((100vw - 1180px) / 2)) 86px; }
.footer p, .footer span, .footer a { color: rgba(255,255,255,.7); display: block; margin-bottom: 8px; }
.footer h3 { color: white; }
.footer-brand { margin-bottom: 14px; }
.mobile-bar { display: none; }

.chat-assistant { position: fixed; right: 20px; bottom: 20px; z-index: 40; font-size: .95rem; }
.chat-toggle { border: 0; color: white; background: linear-gradient(135deg, var(--blue), var(--purple)); border-radius: 999px; box-shadow: 0 18px 48px rgba(28,47,88,.25); padding: 12px 16px; display: grid; gap: 0; cursor: pointer; text-align: left; }
.chat-toggle span { font-size: .78rem; opacity: .86; }
.chat-toggle strong { font-size: 1.02rem; }
.chat-panel { position: absolute; right: 0; bottom: 64px; width: min(360px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 110px)); overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.chat-header { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding: 16px; color: white; background: linear-gradient(135deg, #172554, #4c1d95); }
.chat-header strong, .chat-header span { display: block; }
.chat-header span { color: rgba(255,255,255,.76); font-size: .85rem; }
.chat-close { border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.12); color: white; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.25rem; line-height: 1; }
.chat-messages { display: grid; gap: 10px; max-height: 230px; overflow: auto; padding: 14px; background: #f8fbff; }
.chat-message { border-radius: 16px; padding: 10px 12px; line-height: 1.4; }
.chat-message.bot { background: white; border: 1px solid var(--line); color: var(--ink); }
.chat-message.user { margin-left: 34px; color: white; background: var(--blue); }
.chat-actions { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px; }
.chat-actions button { border: 1px solid var(--line); background: white; color: var(--blue); border-radius: 14px; padding: 10px 12px; cursor: pointer; font-weight: 800; text-align: left; }
.chat-actions button:hover { background: #eef6ff; }
.chat-disclaimer { border-top: 1px solid var(--line); margin: 0; padding: 12px 14px; font-size: .78rem; color: var(--muted); background: #fff7ed; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 71px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; background: white; padding: 16px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero, .split, .contact, .concerns { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .service-strip, .cards, .why-grid, .steps, .expect-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .section { padding: 54px 16px; }
  .hero { padding-top: 40px; gap: 28px; }
  .hero-actions .button { width: 100%; }
  .hero-card { padding: 18px; border-radius: 24px; }
  .hero-card img { width: 220px; }
  .service-strip, .cards, .story-grid, .why-grid, .steps, .expect-grid, .form-row, .footer { grid-template-columns: 1fr; }
  .concerns { padding: 22px; }
  .mobile-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; background: rgba(15,23,42,.9); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; backdrop-filter: blur(16px); box-shadow: 0 18px 48px rgba(0,0,0,.25); }
  .mobile-bar a { color: white; text-align: center; font-weight: 900; padding: 11px 8px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--purple)); }
  .chat-assistant { right: 12px; bottom: 82px; }
  .chat-panel { bottom: 58px; }
}
