
:root {
  --primary: #d71616;
  --primary-dark: #930d0d;
  --bg: #050505;
  --panel: #111111;
  --panel-soft: #191919;
  --text: #f5f5f5;
  --muted: #c9c9c9;
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 44px rgba(0,0,0,.35);
  --radius: 22px;
  --container: 1180px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.lead { font-size: 1.05rem; color: #d7dae1; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card-head, .actions-bar, .admin-topbar, .print-header, .print-grid { display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.card-head { margin-bottom: 18px; }
.card h2, .card h3 { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 18px; border: 1px solid var(--border); font-weight: 700; transition: .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, var(--primary), var(--primary-dark)); border-color: transparent; color: white; }
.btn-outline { background: transparent; color: white; }
.btn-danger { background: rgba(197,48,48,.12); border-color: rgba(197,48,48,.4); color: #fecaca; }
.btn-sm { padding: 8px 12px; font-size: .92rem; }
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: .84rem; border: 1px solid var(--border); }
.badge.success { background: rgba(31,157,85,.15); color: #b7f0ce; }
.badge.muted { background: rgba(255,255,255,.04); color: var(--muted); }
.flash { padding: 14px 18px; border-radius: 16px; margin: 18px 0; border: 1px solid var(--border); }
.flash.success { background: rgba(31,157,85,.12); }
.flash.error { background: rgba(197,48,48,.12); }
.actions-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.site-body { background: radial-gradient(circle at top, rgba(255,0,0,.13), transparent 25%), linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.4)), #070707; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); background: rgba(8,8,8,.88); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { min-height: 86px; display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.logo-wrap { display: inline-flex; align-items: center; }
.site-logo { width: 150px; }
.site-nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: #ececec; font-weight: 600; }
.site-nav a.active { color: white; text-decoration: underline; text-underline-offset: 6px; }
.wix-hero, .wix-page-hero, .wix-section { padding: 56px 0; }
.wix-hero { min-height: 72vh; display: flex; align-items: center; text-align: center; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.35)), radial-gradient(circle at center, rgba(255,255,255,.05), transparent 42%), #050505; }
.wix-hero-inner, .wix-section-narrow { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.wix-phone { color: #ddd; margin-bottom: 24px; font-size: .95rem; }
.wix-phone strong { display: block; font-size: 1.3rem; margin-top: 6px; }
.wix-main-logo { width: min(420px, 90%); margin: 0 auto 26px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.wix-tagline { color: #dddddd; font-size: 1.2rem; margin-bottom: 8px; }
.wix-hero h1, .wix-page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; margin: 0 0 16px; }
.wix-subtitle { font-size: 1.15rem; color: #ececec; max-width: 680px; margin: 0 auto; line-height: 1.8; }
.wix-hero-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.wix-info-strip { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.wix-info-strip > div, .wix-pill, .wix-why-card, .wix-service-block, .wix-tariff-block, .wix-contact-card { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; box-shadow: var(--shadow); }
.wix-info-strip > div { padding: 18px 20px; }
.info-label, .wix-section-kicker, .wix-mini-subtitle { color: #ff6d6d; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; font-size: .78rem; }
.wix-section { border-top: 1px solid rgba(255,255,255,.05); }
.wix-section-alt { background: rgba(255,255,255,.02); }
.wix-section-title { margin: 8px 0 18px; font-size: clamp(2rem, 5vw, 3rem); }
.wix-lead { color: #e7e7e7; line-height: 1.9; max-width: 860px; }
.wix-pill-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.wix-pill { padding: 18px 14px; text-align: center; font-weight: 700; }
.wix-why-grid, .wix-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 24px; }
.wix-why-card { padding: 24px; }
.wix-why-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.wix-why-card p, .wix-service-intro, .wix-note, .page-content, .wix-contact-card p { color: #e4e4e4; line-height: 1.8; }
.wix-bottom-cta { margin-top: 34px; padding: 28px; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(135deg, rgba(215,22,22,.18), rgba(255,255,255,.03)); text-align: center; }
.wix-page-hero { text-align: center; padding-top: 80px; padding-bottom: 28px; }
.wix-page-hero p { color: #e5e5e5; max-width: 700px; margin: 0 auto; line-height: 1.8; }
.wix-services-list, .wix-tariff-list { display: grid; gap: 18px; }
.wix-service-block, .wix-tariff-block, .wix-contact-card { padding: 24px; }
.wix-service-block h2, .wix-tariff-block h2, .wix-contact-card h2 { margin-top: 0; margin-bottom: 10px; }
.wix-check-list { margin: 16px 0 0; padding-left: 1.2rem; color: #f0f0f0; line-height: 1.9; }
.wix-poster-card { padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 26px; background: rgba(255,255,255,.03); margin-bottom: 26px; }
.wix-poster-card img { border-radius: 18px; width: 100%; }
.wix-tariff-row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px dashed rgba(255,255,255,.16); }
.wix-details-box { margin-top: 20px; padding: 24px; border-radius: 20px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.wix-details-box ul { margin: 12px 0 0; color: #ededed; line-height: 1.8; }
.wix-contact-list { display: grid; gap: 18px; margin-top: 20px; }
.wix-contact-list span { display: block; color: #ff6d6d; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: 6px; }
.wix-contact-list strong { font-size: 1.15rem; line-height: 1.8; }
.site-footer { padding: 34px 0 28px; border-top: 1px solid var(--border); background: rgba(0,0,0,.22); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; align-items: flex-start; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 18px; border-top: 1px solid var(--border); margin-top: 20px; color: var(--muted); }
.two-col-form { display: grid; gap: 22px; grid-template-columns: 1.1fr .9fr; align-items: start; }
.info-stack { display: grid; gap: 18px; }
.public-form-card { padding: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid > .full, .line-items-row.full { grid-column: 1 / -1; }
.form-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; }
.field span { font-weight: 700; font-size: .95rem; }
.field input, .field textarea, .field select, .line-items-row input { width: 100%; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: #11141a; color: white; padding: 12px 14px; outline: none; }
.field textarea { resize: vertical; }
.field-hint { font-size: .84rem; color: var(--muted); margin-top: -4px; }
.checkbox { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.line-items-row { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 10px; }
.table-wrap { overflow-x: auto; }
.table-wrap table, .print-table { width: 100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td, .print-table th, .print-table td { border-bottom: 1px solid rgba(255,255,255,.08); padding: 12px 10px; text-align: left; vertical-align: top; }
.table-wrap th, .print-table th { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; }
.actions-bar { margin-bottom: 16px; }
@media (max-width: 980px) {
  .wix-pill-grid, .wix-why-grid, .wix-contact-grid, .footer-grid, .two-col-form, .form-grid, .form-grid.two-col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .header-inner, .site-nav, .footer-grid, .two-col-form, .wix-info-strip, .wix-pill-grid, .wix-why-grid, .wix-contact-grid, .form-grid, .form-grid.two-col { display: grid; grid-template-columns: 1fr; }
  .site-nav { width: 100%; }
}
.admin-body { background: #0a0b0e; }
.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-sidebar { border-right: 1px solid var(--border); background: linear-gradient(180deg, #0d0f14, #12151c); padding: 24px 18px; position: sticky; top: 0; height: 100vh; }
.brand-block { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.brand-logo { width: 68px; border-radius: 14px; }
.nav-link { display: block; padding: 12px 14px; border-radius: 14px; color: #d6dae5; margin-bottom: 6px; }
.nav-link.active, .nav-link:hover { background: rgba(225,25,25,.14); color: white; }
.danger-link:hover { background: rgba(197,48,48,.16); }
.admin-main { padding: 28px; }
.admin-topbar { margin-bottom: 22px; }
.auth-wrap { display: grid; place-items: center; min-height: calc(100vh - 180px); }
.auth-card { width: min(480px, 100%); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.demo-box { margin-top: 18px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.04); color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid > .full, .line-items-row.full { grid-column: 1 / -1; }
.form-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; }
.field span { font-weight: 700; font-size: .95rem; }
.field input, .field textarea, .field select, .line-items-row input { width: 100%; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: #11141a; color: white; padding: 12px 14px; outline: none; }
.field textarea { resize: vertical; }
.field-hint { font-size: .84rem; color: var(--muted); margin-top: -4px; }
.checkbox { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.line-items-row { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 10px; }
.table-wrap { overflow-x: auto; }
.table-wrap table, .print-table { width: 100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td, .print-table th, .print-table td { border-bottom: 1px solid rgba(255,255,255,.08); padding: 12px 10px; text-align: left; vertical-align: top; }
.table-wrap th, .print-table th { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; }
.actions-bar { margin-bottom: 16px; }
.stats-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 22px; }
.stat-card { padding: 18px; }
.stat-label { color: var(--muted); font-size: .92rem; }
.stat-value { font-size: 2rem; font-weight: 800; margin-top: 8px; }
.stat-hint { color: var(--muted); margin-top: 6px; }

.print-body { background: white; color: #111; }
.print-doc { max-width: 960px; margin: 0 auto; padding: 24px; }
.print-logo { width: 130px; }
.print-header { align-items: flex-start; }
.print-meta { text-align: right; }
.print-grid { align-items: flex-start; margin: 20px 0; }
.print-note { margin-top: 18px; }

@media (max-width: 1100px) {
  .feature-grid, .review-grid, .stats-grid, .tariff-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
}
@media (max-width: 820px) {
  .hero-grid, .two-col-form, .service-card-full, .tariff-grid, .footer-grid, .section-head, .header-inner, .cta-panel, .print-grid, .print-header { grid-template-columns: 1fr; display: grid; }
  .service-grid, .feature-grid, .review-grid, .stats-grid, .tariff-grid.compact, .form-grid, .form-grid.two-col { grid-template-columns: 1fr; }
  .site-nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-meta { grid-template-columns: 1fr; }
  .line-items-row { grid-template-columns: 1fr; }
}
