:root, :root[data-theme="dark"] {
  --bg: #070b16;
  --bg2: #0c1326;
  --card: #111a32;
  --border: #223052;
  --text: #eef2ff;
  --muted: #9aa7c7;
  --accent: #3b82f6;
  --accent2: #22d3ee;
  --radius: 16px;
  --glow: #16244d;
  --nav-bg: rgba(7,11,22,.8);
  --input-bg: #0a1124;
  --input-text: #fff;
  --ghost-bg: rgba(255,255,255,.06);
  --badge-bg: rgba(255,255,255,.05);
  --hover-text: #fff;
}
:root[data-theme="light"] {
  --bg: #f4f6fc;
  --bg2: #ffffff;
  --card: #ffffff;
  --border: #d9e2f3;
  --text: #0b152c;
  --muted: #5a6a8c;
  --accent: #2563eb;
  --accent2: #0891b2;
  --glow: #dbe7ff;
  --nav-bg: rgba(255,255,255,.85);
  --input-bg: #f1f5fd;
  --input-text: #0b152c;
  --ghost-bg: rgba(11,21,44,.05);
  --badge-bg: rgba(37,99,235,.08);
  --hover-text: #0b152c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  background: radial-gradient(1000px 500px at 50% -10%, var(--glow) 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: var(--nav-bg); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { color: var(--text); text-decoration: none; font-weight: 800; display: flex; gap: 10px; align-items: center; }
.logo-img { height: 58px; width: auto; max-width: 240px; object-fit: contain; display: block; border-radius: 10px; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: var(--hover-text); }
.nav-right { display: flex; gap: 10px; align-items: center; }
.lang-switch { display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: transparent; border: 0; padding: 6px 10px; cursor: pointer; font-size: 1.15rem; line-height: 1; filter: grayscale(60%); opacity: .7; }
.lang-switch button.active { background: rgba(59,130,246,.25); filter: none; opacity: 1; }
.theme-toggle { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); background: var(--ghost-bg); color: var(--text); cursor: pointer; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.hamburger { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 12px; text-decoration: none; font-weight: 700; border: 1px solid var(--border); }
.btn-small { padding: 8px 14px; color: #fff !important; background: var(--accent); border-color: transparent; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border: 0; }
.btn-ghost { color: var(--text); background: var(--ghost-bg); }
.hero { text-align: center; padding: 72px 20px 40px; }
.hero-badge { display: inline-block; border: 1px solid var(--border); background: var(--badge-bg); padding: 6px 14px; border-radius: 999px; color: var(--accent2); font-size: .85rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 14px; max-width: 800px; margin-inline: auto; }
.lead { color: var(--muted); max-width: 680px; margin: 0 auto 24px; font-size: 1.1rem; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 680px; margin: 34px auto 0; }
.stat { border: 1px solid var(--border); background: var(--ghost-bg); padding: 14px 16px; border-radius: 14px; text-align: center; }
.stat strong { display: block; font-size: 1.4rem; }
.stat span { color: var(--muted); font-size: .9rem; }
.section { padding: 56px 0; }
.section.container { padding-left: 20px; padding-right: 20px; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { color: var(--accent2); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; margin: 0 0 6px; }
h2 { margin: 0 0 22px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.muted { color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
:root[data-theme="light"] .card, :root[data-theme="light"] .mini, :root[data-theme="light"] .steps li, :root[data-theme="light"] details, :root[data-theme="light"] .form, :root[data-theme="light"] .stat { box-shadow: 0 6px 24px rgba(11,21,44,.06); }
.card.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(59,130,246,.25); }
.card.price { display: flex; flex-direction: column; }
.card.price .btn { margin-top: auto; align-self: flex-start; }
.card.price ul { margin-bottom: 18px; }
.card ul { padding-left: 18px; color: var(--muted); margin: 12px 0 0; }
.icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(59,130,246,.18); margin-bottom: 12px; }
.mini { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.mini strong { display: block; margin-bottom: 6px; }
.mini span { color: var(--muted); font-size: .92rem; }
.price .amount { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0; min-height: 2.6rem; }
.price .amount .value { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.card.highlight .amount .value { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .amount .value.custom { font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent2); border: 1px dashed var(--border); border-radius: 999px; padding: 7px 14px; background: none; -webkit-background-clip: initial; background-clip: initial; }
.price .amount .suffix { font-size: .95rem; color: var(--muted); font-weight: 500; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.steps strong { display: block; margin-bottom: 6px; }
.steps span { color: var(--muted); }
details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
.form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: .9rem; }
.form input, .form select, .form textarea { background: var(--input-bg); border: 1px solid var(--border); color: var(--input-text); border-radius: 10px; padding: 10px 12px; font: inherit; }
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
.form select { display: block; width: 100%; margin: 0; appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; }
:root[data-theme="dark"] .form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa7c7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
:root[data-theme="light"] .form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a6a8c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.form select option { padding: 8px 12px; background: var(--card); color: var(--text); }
.form-ok { color: #4ade80; margin: 0; }
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; opacity: 0; }
.contact-lines { display: grid; gap: 8px; margin-top: 16px; }
.contact-lines a { color: inherit; text-decoration: none; }
.contact-lines a:hover { color: var(--accent2); }
.wa-link { display: inline-flex; align-items: center; gap: 8px; }
.wa-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.mail-line { display: inline-flex; align-items: center; gap: 8px; }
.mail-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; color: var(--accent2); }
.contact-grid { align-items: stretch; }
.contact-info { display: flex; flex-direction: column; }
.map-embed { margin-top: 16px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; flex: 1; display: flex; min-height: 240px; }
.map-embed iframe { display: block; width: 100%; flex: 1; min-height: 240px; border: 0; transition: filter .3s ease; }
:root[data-theme="dark"] .map-embed iframe { filter: invert(.92) hue-rotate(180deg) saturate(.9) contrast(.95); }
.footer { padding: 22px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) {
  .grid3, .grid4, .grid2, .steps { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .nav-inner { height: 60px; gap: 6px; }
  .logo { min-width: 0; flex-shrink: 1; }
  .logo-img { height: 58px; max-width: 220px; }
  .nav-right { gap: 6px; flex-shrink: 0; }
  .lang-switch button { padding: 7px 9px; font-size: 1.2rem; }
  .theme-toggle { width: 40px; height: 40px; }
  .theme-toggle svg { width: 20px; height: 20px; }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg2); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; font-size: 1.1rem; }
  .hero { padding: 48px 16px 32px; }
  .stats { grid-template-columns: 1fr; max-width: 320px; }
  .section { padding: 40px 0; }
  .section.container { padding-left: 16px; padding-right: 16px; }
  .form input, .form select, .form textarea { font-size: 16px; }
}
@media (max-width: 380px) {
  .lang-switch button { padding: 5px 7px; font-size: 1.1rem; }
  .theme-toggle { width: 36px; height: 36px; }
  .hamburger { width: 36px; height: 36px; }
  .logo-img { max-width: 140px; }
}
