/* Кододел — аккуратная версия под рекламу и хостинг */
:root {
  --bg: #121521;
  --panel: #191d2b;
  --panel-2: #202537;
  --text: #ffffff;
  --muted: rgba(255,255,255,.72);
  --soft: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.12);
  --orange: #ff7a1a;
  --cyan: #16d6d2;
  --purple: #7c3cff;
  --radius: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0 0, rgba(255,122,26,.16), transparent 30%),
    radial-gradient(circle at 100% 0, rgba(124,60,255,.18), transparent 34%),
    var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18,21,33,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.03em;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #121521;
  background: var(--orange);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 20px;
  background: #fff;
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.28);
}

.btn-primary {
  background: var(--orange);
  color: #121521;
  border-color: var(--orange);
}

.hero {
  padding: 42px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  gap: 18px;
  align-items: stretch;
}

.hero-panel {
  min-height: 470px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(25,29,43,.98), rgba(20,23,35,.98));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.eyebrow,
.label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255,122,26,.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,122,26,.12);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -.045em;
  text-transform: none;
}

.stroke {
  color: var(--orange);
  -webkit-text-stroke: 0;
}

.hero-panel p {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.repair-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.repair-card {
  min-height: 228px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  display: flex;
  flex-direction: column;
}

.repair-card::after {
  display: none;
}

.repair-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--cyan);
  color: #11131a;
  font-size: 18px;
  font-weight: 900;
}

.repair-card:nth-child(2) .repair-icon {
  background: var(--orange);
}

.repair-card:nth-child(3) .repair-icon {
  background: var(--purple);
  color: #fff;
}

.repair-card:nth-child(4) .repair-icon {
  background: #fff;
}

.repair-card b {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.repair-card span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

section {
  padding: 48px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

h2 {
  max-width: 820px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-transform: none;
}

.muted {
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.service {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  overflow: hidden;
}

.service.big,
.service.medium,
.service.small {
  grid-column: auto;
}

.service::after {
  display: none;
}

.service .tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--orange);
  color: #11131a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.service:nth-child(2) .tag {
  background: var(--cyan);
}

.service:nth-child(3) .tag {
  background: var(--purple);
  color: #fff;
}

.service:nth-child(4) .tag {
  background: #fff;
}

.service h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.service p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.diagnostics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  gap: 16px;
}

.price-list,
.why-card,
.post-main,
.post-side {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  overflow: hidden;
}

.price-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.status {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--orange);
  color: #11131a;
  font-weight: 900;
}

.price-row:nth-child(2) .status {
  background: var(--cyan);
}

.price-row:nth-child(3) .status {
  background: var(--purple);
  color: #fff;
}

.price-row:nth-child(4) .status {
  background: #fff;
}

.price-row strong {
  display: block;
  margin-bottom: 3px;
  font-size: 17px;
}

.price-row span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.price-value {
  color: var(--orange);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.why-card {
  padding: 26px;
}

.why-card h2,
.why-card h3 {
  margin: 14px 0;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: none;
}

.why-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  color: rgba(255,255,255,.84);
  font-size: 13px;
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
  counter-reset: process;
}

.process-step {
  min-height: 166px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.process-step::before {
  counter-increment: process;
  content: "0" counter(process);
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--orange);
  color: #11131a;
  font-size: 13px;
  font-weight: 900;
}

.process-step::after {
  display: none;
}

.process-step:nth-child(2)::before {
  background: var(--cyan);
}

.process-step:nth-child(3)::before {
  background: var(--purple);
  color: #fff;
}

.process-step:nth-child(4)::before {
  background: #fff;
}

.process-step h3,
.faq-item h3 {
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.process-step p,
.faq-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 16px;
}

.post-cover {
  min-height: 160px;
  background: linear-gradient(135deg, rgba(255,122,26,.78), rgba(124,60,255,.58));
}

.post-cover::after {
  display: none;
}

.post-content {
  padding: 22px;
}

.meta {
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.post-content h3 {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.12;
}

.post-content p,
.mini-post p {
  color: var(--muted);
  font-size: 15px;
}

.mini-post {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.mini-post:last-child {
  border-bottom: 0;
}

.mini-post h3 {
  margin-bottom: 7px;
  font-size: 20px;
  line-height: 1.18;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.faq-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.faq-item::after {
  display: none;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
}

.contact-left {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.05);
}

.contact-left h2 {
  margin: 14px 0;
}

.contact-left p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
}

.contact-methods {
  display: grid;
  gap: 10px;
}

.method {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
}

.method strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
}

.form {
  display: grid;
  gap: 10px;
  padding: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 15px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,.45);
}

select option {
  background: var(--panel);
  color: #fff;
}

textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255,122,26,.62);
  box-shadow: 0 0 0 3px rgba(255,122,26,.12);
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-counters {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.counter-slot {
  min-width: 82px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 8px;
  color: rgba(255,255,255,.45);
  font-size: 11px;
}

.admin-body {
  background: #f3f5fb;
  color: #12131a;
}

.admin-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
}

.admin-card {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0,0,0,.06);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.admin-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  background: #11131a;
  color: #fff;
  font-weight: 700;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid #e7eaf0;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #f6f7fb;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  background: #fff;
  color: #12131a;
  border: 1px solid #d8dce8;
}

.admin-form textarea {
  min-height: 150px;
}

.admin-btn {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #ff7a1a;
  color: #11131a;
  font-weight: 900;
  cursor: pointer;
}

.admin-btn.dark {
  background: #11131a;
  color: #fff;
}

.notice {
  padding: 12px 14px;
  border-radius: 12px;
  background: #e9fff8;
  border: 1px solid #a7ead8;
  color: #075c4a;
  margin-bottom: 14px;
}

.danger {
  background: #ffecec;
  border-color: #ffcaca;
  color: #8a1212;
}

@media (max-width: 1100px) {
  .hero-grid,
  .diagnostics,
  .blog-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
  }

  .nav > .btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #191d2b;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: .18s ease;
  }

  .nav-links a {
    padding: 11px 12px;
    border-radius: 10px;
    background: var(--soft);
  }

  .mobile-menu-toggle:checked ~ .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero {
    padding: 28px 0 24px;
  }

  .hero-panel {
    padding: 22px;
    border-radius: 20px;
  }

  h1 {
    font-size: clamp(31px, 9vw, 42px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(27px, 7vw, 36px);
  }

  .repair-board,
  .services-grid,
  .process-grid,
  .faq-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .repair-card,
  .service,
  .process-step,
  .faq-item {
    min-height: auto;
  }

  .price-row {
    grid-template-columns: 38px minmax(0,1fr);
  }

  .price-value {
    grid-column: 2;
  }

  .contact-left {
    padding: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-counters {
    justify-content: flex-start;
  }

  .admin-table {
    display: block;
    overflow-x: auto;
  }
}
