:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0ea5e9;
  --primary-2: #0284c7;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.10);
  --focus: 0 0 0 4px rgba(14, 165, 233, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Poppins, Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 10% -10%, rgba(14, 165, 233, 0.14), transparent 55%),
    radial-gradient(900px 450px at 92% 6%, rgba(2, 132, 199, 0.10), transparent 55%),
    var(--bg);
}

a {
  color: var(--primary-2);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover { text-decoration: underline; }

.pill:hover { text-decoration: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; color: var(--muted); }
strong { color: var(--text); }

ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

li { margin: 0.35rem 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 10px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.lang-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn:hover {
  background: var(--surface-2);
}

.lang-btn[aria-pressed="true"] {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.25);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--muted);
  font-weight: 500;
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

nav { padding: 0 0 14px; }

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.nav-toggle-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--text);
  opacity: 0.7;
  border-radius: 2px;
  box-shadow: 0 5px 0 rgba(15, 23, 42, 0.7), 0 10px 0 rgba(15, 23, 42, 0.7);
}

.nav-toggle:checked + .nav-toggle-label {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.25);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav li { position: relative; }

.nav-details {
  position: relative;
}

.nav-details > summary {
  list-style: none;
}

.nav-details > summary::-webkit-details-marker { display: none; }

.nav-details > summary.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background 120ms ease, border-color 120ms ease;
}

.nav-details > summary.nav-link:hover {
  background: var(--surface-2);
  border-color: var(--border);
}

.nav-details > summary.nav-link.active {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.25);
}

.nav-details > summary.nav-link::after {
  content: "▾";
  font-size: 0.85em;
  color: var(--muted);
}

.nav-details[open] > summary.nav-link::after {
  content: "▴";
}

nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: background 120ms ease, border-color 120ms ease;
}

nav a:hover {
  background: var(--surface-2);
  border-color: var(--border);
  text-decoration: none;
}

nav a.active {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.25);
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  min-width: 230px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.nav-details[open] .submenu { display: block; }

.submenu li { position: static; }

.submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text);
  border: 1px solid transparent;
  font-weight: 700;
}

.submenu a:hover {
  background: var(--surface-2);
  border-color: var(--border);
  text-decoration: none;
}

main {
  padding: 28px 0 48px;
}

.hero {
  padding: 34px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-md);
  background:
    radial-gradient(900px 420px at 15% 20%, rgba(14, 165, 233, 0.22), transparent 55%),
    radial-gradient(900px 420px at 90% 10%, rgba(2, 132, 199, 0.18), transparent 55%),
    var(--surface);
}

.hero h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--text); }
.hero p { font-size: 1.05rem; max-width: 70ch; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease;
}

.btn:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn.secondary:hover { background: var(--surface-2); }

.section-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.card-link:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.25);
  text-decoration: none;
}

.card-link .media {
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.75), rgba(241, 245, 249, 0.25));
  padding: 10px;
  margin-bottom: 10px;
}

.card-link .media .illustration {
  max-width: 100%;
}

.kpi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.kpi .item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.75), rgba(241, 245, 249, 0.25));
}

.kpi .item b { display: block; color: var(--text); margin-bottom: 2px; }

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
}

.price {
  color: var(--primary-2);
  border-color: rgba(14, 165, 233, 0.25);
  background: rgba(14, 165, 233, 0.10);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: var(--text);
  font-weight: 800;
}

.faq-item > summary::-webkit-details-marker { display: none; }

.faq-item > summary::after {
  content: "▾";
  color: var(--muted);
  font-weight: 900;
  flex: none;
}

.faq-item[open] > summary::after { content: "▴"; }

.faq-item > summary:hover {
  background: var(--surface-2);
  border-radius: var(--radius);
}

.faq-item .faq-content {
  padding: 0 14px 14px;
}

.faq-item .faq-content > :last-child { margin-bottom: 0; }

.faq-item + .faq-item { margin-top: 12px; }

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

input, textarea, select {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

textarea { resize: vertical; min-height: 120px; }

footer {
  padding: 22px 0 30px;
  color: var(--muted);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.footer-links a {
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.footer-links a:hover {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }

  .nav-toggle-label {
    display: inline-flex;
    margin-bottom: 10px;
  }

  nav ul.nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
  }

  .nav-toggle:checked + .nav-toggle-label + ul.nav-list {
    display: flex;
  }

  nav li { width: 100%; }

  .hero { padding: 26px 16px; }

  .header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    width: 100%;
    justify-content: space-between;
  }

  .nav-details { width: 100%; }
  .nav-details > summary.nav-link { width: 100%; justify-content: space-between; }

  .badge {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  nav ul { gap: 6px; }

  nav a,
  .nav-details > summary.nav-link {
    padding: 8px 10px;
    font-size: 0.95rem;
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 10px 0 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
  }

  .nav-details[open] .submenu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .submenu a {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    font-weight: 700;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    order: -1;
  }
  .illustration {
    max-width: 560px;
  }
}
