:root {
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.82);
  --panel-strong: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.22);
  --brand: #38bdf8;
  --brand-2: #22c55e;
  --brand-dark: #0369a1;
  --warning: #fbbf24;
  --error: #f87171;
  --success: #4ade80;
  --shadow: 0 22px 70px rgba(0,0,0,.35);
  --anchor-offset: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.svg-sprite { display: none; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 189, 248, .22), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(34, 197, 94, .16), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(14, 165, 233, .12), transparent 36%);
  z-index: -2;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(2, 6, 23, .72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: -.04em; }
.logo img { width: 120px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 750; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: white; }
.nav-actions { display:flex; align-items:center; gap: 12px; margin-left: auto; }
.nav-cta { display:inline-flex; align-items:center; justify-content:center; padding: 11px 16px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #00111f !important; border: 0; text-decoration:none; font-weight: 800; box-shadow: 0 10px 28px rgba(14,165,233,.18); }
.header-phones { display:flex; flex-direction: column; align-items: stretch; gap: 6px; }
.header-phone { display:inline-flex; align-items:center; justify-content: space-between; gap: 8px; min-height: 32px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 12px; background: rgba(15,23,42,.65); color: #e2e8f0; text-decoration:none; font-size: 12px; font-weight: 800; white-space: nowrap; }
.header-phone:hover { border-color: rgba(56,189,248,.6); color: #f8fafc; }
.operator-badge { display:inline-flex; align-items:center; justify-content:center; min-width: 34px; height: 20px; padding: 0 7px; border-radius: 7px; color: white; font-size: 10px; line-height: 1; font-weight: 900; }
.operator-badge.mts { background: #e30613; }
.operator-badge.life { background: #7ac143; color: #052e16; }

.hero { padding: 82px 0 50px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.eyebrow { display:inline-flex; align-items:center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #bae6fd; background: rgba(15,23,42,.66); font-size: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--brand-2); box-shadow: 0 0 18px var(--brand-2); }
h1 { margin: 18px 0 18px; font-size: clamp(38px, 6vw, 72px); line-height: .98; letter-spacing: -.06em; }
.lead { font-size: 20px; color: var(--muted); max-width: 720px; }
.hero-actions { display:flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap: 10px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); text-decoration:none; font-weight: 800; cursor:pointer; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #00111f; border: 0; }
.btn-secondary { background: rgba(15, 23, 42, .7); color: var(--text); }
.hero-card { min-height: 420px; border: 1px solid var(--line); border-radius: 28px; overflow:hidden; box-shadow: var(--shadow); background: linear-gradient(180deg, rgba(15,23,42,.1), rgba(15,23,42,.95)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80') center/cover; position: relative; }
.hero-card-panel { position:absolute; left: 22px; right: 22px; bottom: 22px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(2,6,23,.72); backdrop-filter: blur(16px); }
.hero-card-panel strong { display:block; font-size: 20px; }
.hero-card-panel span { color: var(--muted); }

.section { padding: 66px 0; }
#top, .section[id] { scroll-margin-top: var(--anchor-offset); }
.section-head { display:flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 26px; }
.section h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.section-desc { margin: 0; color: var(--muted); max-width: 560px; }
.contact-links { display:flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.contact-links a { display:inline-flex; align-items:center; min-height: 38px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 12px; background: rgba(15,23,42,.58); color: #dbeafe; text-decoration: none; font-size: 14px; font-weight: 800; }
.contact-links a:hover { border-color: rgba(56,189,248,.6); color: #f8fafc; }
.grid-3 { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.grid-4 { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.card, .price-card, .notice, .form-wrap { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: 22px; box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.card h3, .price-card h3 { margin: 0 0 8px; font-size: 20px; }
.card p, .price-card p { margin: 0; color: var(--muted); }
.card ul { display:grid; gap: 7px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; line-height: 1.45; }
.card li { position: relative; padding-left: 16px; }
.card li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 14px rgba(56,189,248,.45); }
.card .icon { width: 44px; height: 44px; border-radius: 14px; display:grid; place-items:center; margin-bottom: 14px; background: rgba(56,189,248,.14); color: #7dd3fc; font-size: 22px; }
.card .icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.price-card { position: relative; overflow:hidden; }
.price { font-size: 30px; line-height: 1; font-weight: 900; margin: 14px 0; color: #f8fafc; }
.price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-card ul { padding-left: 18px; color: var(--muted); margin: 16px 0 0; }
.price-card.featured { border-color: rgba(56,189,248,.55); background: linear-gradient(180deg, rgba(56,189,248,.12), rgba(15,23,42,.88)); }
.badge { display:inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 12px; color: #bbf7d0; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25); }

.image-strip { display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.image-tile { min-height: 230px; border-radius: 24px; overflow:hidden; background-color: #020617; background-size: cover; background-position: center; position: relative; box-shadow: 0 16px 46px rgba(0,0,0,.24); }
.image-tile span { position:absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(2,6,23,.9); border: 1px solid rgba(148,163,184,.18); font-weight: 800; box-shadow: 0 8px 28px rgba(0,0,0,.28); }
.tile-site { background-image: linear-gradient(180deg, rgba(2,6,23,.28), rgba(2,6,23,.62) 58%, rgba(2,6,23,.94)), url('https://images.unsplash.com/photo-1542744173-05336fcc7ad4?auto=format&fit=crop&w=900&q=82'); }
.tile-wifi { background-image: linear-gradient(180deg, rgba(2,6,23,.28), rgba(2,6,23,.62) 58%, rgba(2,6,23,.94)), url('https://images.unsplash.com/photo-1695668548342-c0c1ad479aee?auto=format&fit=crop&w=900&q=82'); }
.tile-pc { background-image: linear-gradient(180deg, rgba(2,6,23,.28), rgba(2,6,23,.62) 58%, rgba(2,6,23,.94)), url('https://images.unsplash.com/photo-1721333089073-215a56fd710c?auto=format&fit=crop&w=900&q=82'); }

.two-col { display:grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: start; }
.checklist { display:grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checklist li { display:flex; gap: 10px; color: var(--muted); }
.checklist li::before { content:"✓"; color: var(--success); font-weight: 900; }

.form { display:grid; gap: 12px; }
.form label { display:grid; gap: 7px; color: #cbd5e1; font-weight: 700; font-size: 14px; }
.form input, .form select, .form textarea { width:100%; border: 1px solid var(--line); background:#020617; color:var(--text); border-radius: 14px; padding: 13px 14px; font: inherit; transition: border-color .18s ease, box-shadow .18s ease; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: rgba(56,189,248,.62); box-shadow: 0 0 0 3px rgba(56,189,248,.12); }
.form input[data-invalid="true"], .form select[data-invalid="true"], .form textarea[data-invalid="true"] { border-color: rgba(248,113,113,.78); box-shadow: 0 0 0 3px rgba(248,113,113,.12); }
.form textarea { min-height: 130px; resize: vertical; }
.hidden { display:none; }
#form-status { margin: 2px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(15,23,42,.68); color: var(--muted); font-weight: 700; }
#form-status[hidden] { display: none; }
#form-status[data-type="success"] { color: #bbf7d0; border-color: rgba(74,222,128,.34); background: rgba(22,101,52,.16); }
#form-status[data-type="error"] { color: #fecaca; border-color: rgba(248,113,113,.4); background: rgba(127,29,29,.2); }

#toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: min(420px, calc(100% - 44px)); padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(74,222,128,.34); background: rgba(15,23,42,.94); color: #bbf7d0; box-shadow: 0 20px 60px rgba(0,0,0,.34); font-weight: 800; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
#toast.is-visible { opacity: 1; transform: translateY(0); }
#toast[data-type="error"] { color: #fecaca; border-color: rgba(248,113,113,.4); }

.socials { display:flex; flex-wrap:wrap; gap: 8px; }
.socials a { width: 40px; height: 40px; display:grid; place-items:center; text-decoration:none; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(15,23,42,.65); font-weight: 800; }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials a:hover { border-color: rgba(56,189,248,.6); color: #bae6fd; }
.footer { padding: 34px 0; color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid { display:flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 14px; }

@media (max-width: 920px) {
  :root { --anchor-offset: 104px; }
  .nav { flex-wrap: wrap; }
  .nav-actions { flex-wrap: wrap; justify-content: flex-end; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .image-strip { grid-template-columns: 1fr; }
  .section-head { display:block; }
}
@media (max-width: 640px) {
  :root { --anchor-offset: 144px; }
  .container { width: min(100% - 28px, 1120px); }
  .nav { align-items:center; gap: 12px; }
  .nav-links { display:none; }
  .nav-actions { width: 100%; justify-content: space-between; margin-left: 0; }
  .header-phones { order: 3; width: 100%; display:grid; grid-template-columns: 1fr; gap: 8px; }
  .header-phone { justify-content: space-between; width: 100%; }
  .socials a { width: 38px; height: 38px; border-radius: 12px; }
  .nav-cta { padding: 10px 12px; font-size: 13px; }
  #toast { left: 14px; right: 14px; bottom: 14px; max-width: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
}
