:root {
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --accent: #1f4fd8;
  --accent-dark: #173da8;
  --accent-soft: #eef2ff;
  --accent-line: #dfe6ff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 60px rgba(15, 23, 42, .12);
  --container: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.05rem; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text); font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .8rem; font-weight: 600;
}
.lang-switch a, .lang-switch span { padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.lang-switch a:hover { color: var(--ink); text-decoration: none; }
.lang-switch [aria-current="true"] { background: var(--ink); color: #fff; }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 40px; height: 40px; cursor: pointer; padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: "";
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(31, 79, 216, .22); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(31, 79, 216, .28); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 88px 0 96px;
  background: radial-gradient(1200px 420px at 85% -10%, var(--accent-soft), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 0%, transparent 70%);
  opacity: .7;
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: 1.2rem; max-width: 52ch; color: var(--text); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero illustration */
.hero-visual { position: relative; height: 420px; }
.mock-browser {
  position: absolute; top: 0; left: 0; right: 48px; bottom: 44px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; }
.mock-bar > span:nth-child(1) { background: #fca5a5; }
.mock-bar > span:nth-child(2) { background: #fcd34d; }
.mock-bar > span:nth-child(3) { background: #86efac; }
.mock-url { margin-left: 12px; height: 18px; flex: 1; max-width: 240px; border-radius: 9px; background: #fff; border: 1px solid var(--line); }
.mock-body { padding: 22px 24px; }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mock-logo { width: 72px; height: 12px; border-radius: 6px; background: var(--ink); }
.mock-links { display: flex; gap: 10px; }
.mock-links i { display: block; width: 34px; height: 8px; border-radius: 4px; background: #cbd5e1; }
.mock-line { display: block; height: 14px; border-radius: 7px; background: var(--ink); margin-bottom: 10px; }
.mock-line.soft { height: 9px; background: #cbd5e1; }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; }
.mock-cta { display: block; width: 112px; height: 30px; border-radius: 8px; background: var(--accent); margin: 16px 0 26px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards > div { height: 82px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 12px; }
.mock-cards > div::before { content: ""; display: block; width: 18px; height: 18px; border-radius: 6px; background: var(--accent); opacity: .85; margin-bottom: 10px; }
.mock-cards > div::after { content: ""; display: block; width: 70%; height: 7px; border-radius: 4px; background: #c7d2fe; }

.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 152px; height: 300px;
  background: #fff; border: 6px solid var(--ink); border-radius: 30px;
  box-shadow: var(--shadow-lg); padding: 26px 12px 12px; overflow: hidden;
}
.mock-phone::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 8px; border-radius: 4px; background: var(--ink);
}
.mock-phone .mock-line { height: 10px; margin-bottom: 8px; }
.mock-phone .mock-line.soft { height: 7px; }
.mock-phone .mock-cta { width: 100%; height: 26px; margin: 12px 0 14px; }
.mock-tile { height: 52px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); margin-bottom: 8px; }

.mock-badge {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: .82rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.mock-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.mock-badge.b1 { left: -22px; bottom: 84px; }
.mock-badge.b2 { right: 92px; top: -16px; animation-delay: -3s; }
.mock-badge.b2::before { background: var(--accent); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Sections */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 16px; flex-shrink: 0;
}
.icon svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sector:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-line); }
.sector p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: .8rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.sector-wide {
  grid-column: span 3; display: flex; align-items: center; gap: 24px;
  background: linear-gradient(120deg, var(--accent-soft), #fff 70%); border-color: var(--accent-line);
}
.sector-wide .icon { margin-bottom: 0; background: #fff; }
.sector-wide .sector-text { flex: 1; }
.sector-wide .sector-text p { margin-bottom: 0; }
.sector-wide .sector-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.sector-wide .tags li { background: #fff; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent-line); }
.card p.desc { color: var(--muted); font-size: .97rem; }
.price { margin: 4px 0 18px; color: var(--ink); }
.price small { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; }
.price strong { font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; }
.price .unit { font-size: .95rem; color: var(--muted); font-weight: 500; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: .95rem; }
.checklist li { padding-left: 26px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231f4fd8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.card .btn { margin-top: auto; }
.card-wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 40px; }
.card-wide .card-main { flex: 1; }
.card-wide .checklist { grid-template-columns: repeat(2, 1fr); margin: 0; flex: 1; }
.card-wide .card-side { display: flex; flex-direction: column; align-items: flex-start; }
.card-wide .card-side .btn { margin-top: 0; }
.services-note { margin-top: 28px; color: var(--muted); font-size: .95rem; }

/* Included */
.included { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.included .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.included-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.included-item { display: flex; gap: 16px; }
.included-item .icon { margin-bottom: 0; }
.included-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.included-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 2px;
  background: linear-gradient(90deg, var(--ink), var(--accent-line));
}
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.step p { color: var(--muted); font-size: .97rem; margin: 0; }

/* CTA band */
.cta-inner {
  position: relative; overflow: hidden;
  background: var(--ink); color: #cbd5e1; border-radius: 20px;
  padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-inner::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 79, 216, .55), transparent 65%);
  pointer-events: none;
}
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.cta-wrap { padding: 88px 0 0; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 1.05rem;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-info p { color: var(--muted); }
.contact-mail {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.contact-mail svg { width: 20px; height: 20px; color: var(--accent); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.choice-field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.choice-field legend { font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px;
  font-size: .98rem; color: var(--ink); transition: border-color .15s, background .15s;
}
.choice input { margin: 0; accent-color: var(--accent); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.form-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 4px 0 20px; }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.form .btn { width: 100%; }
.form-status { margin: 14px 0 0; font-size: .92rem; color: var(--accent); min-height: 1.4em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* Legal pages */
.legal { padding: 64px 0 88px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin-top: 40px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-top: 48px; }

/* Scroll reveal: hidden state only applies when JS is running */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-group > .reveal:nth-child(2) { transition-delay: .07s; }
.js .reveal-group > .reveal:nth-child(3) { transition-delay: .14s; }
.js .reveal-group > .reveal:nth-child(4) { transition-delay: .21s; }
.js .reveal-group > .reveal:nth-child(5) { transition-delay: .28s; }
.js .reveal-group > .reveal:nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .mock-badge { animation: none; }
  .card, .sector, .btn { transition: none; }
  .card:hover, .sector:hover, .btn:hover { transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .sector-wide { grid-column: span 2; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-column: span 2; flex-direction: column; align-items: stretch; gap: 20px; }
  .included { grid-template-columns: 1fr; gap: 40px; }
  .included .section-head { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-actions .btn { display: none; }
  .header-inner { gap: 12px; }
  .brand { font-size: .95rem; white-space: nowrap; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .hero { padding: 56px 0 64px; }
  .hero-visual { height: 320px; }
  .mock-browser { right: 32px; bottom: 36px; }
  .mock-body { padding: 16px; }
  .mock-cards > div { height: 64px; }
  .mock-phone { width: 118px; height: 232px; border-width: 5px; border-radius: 24px; padding: 22px 9px 9px; }
  .mock-tile { height: 36px; }
  .mock-badge { font-size: .75rem; padding: 6px 11px; }
  .mock-badge.b1 { left: -6px; bottom: 60px; }
  .mock-badge.b2 { right: 60px; }
  section { padding: 64px 0; }
  .cta-wrap { padding-top: 64px; }
  .features, .sectors, .services, .steps, .included-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .card-wide .checklist { grid-template-columns: 1fr; }
  .sector-wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .sector-wide .sector-side { align-items: flex-start; }
  .cta-inner { padding: 32px 24px; border-radius: 16px; }
  .form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}
