/* ============================================================
   «Чистка крыш от снега — Екатеринбург» — WOW-дизайн
   Тёмная ледяная тема: глубокий синий, неоново-голубой, glassmorphism
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #060d1f;
  --bg-2: #0a1630;
  --bg-3: #0e1d3d;
  --card: rgba(255,255,255,.045);
  --card-border: rgba(125,211,252,.16);
  --ice: #7dd3fc;
  --ice-bright: #38bdf8;
  --cyan: #22d3ee;
  --violet: #818cf8;
  --text: #eaf2ff;
  --muted: #93a5c4;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(2,8,25,.55);
  --glow: 0 0 40px rgba(56,189,248,.25);
  --grad: linear-gradient(135deg, var(--ice-bright) 0%, var(--cyan) 50%, var(--violet) 100%);
  --grad-text: linear-gradient(120deg, #bae6fd 0%, #38bdf8 40%, #818cf8 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(56,189,248,.12), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(129,140,248,.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--ice-bright); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ── Шапка ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,13,31,.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(125,211,252,.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; max-width: 1120px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; color: var(--white); font-family: 'Unbounded', sans-serif; }
.logo .tree { font-size: 28px; filter: drop-shadow(0 0 10px rgba(56,189,248,.6)); animation: floaty 3.5s ease-in-out infinite; }
.logo small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); font-family: 'Manrope', sans-serif; letter-spacing: .4px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 9px 14px; border-radius: 10px; font-size: 13.5px; color: var(--text); font-weight: 600; opacity: .85; }
.nav a:hover { background: rgba(125,211,252,.1); color: var(--ice); opacity: 1; }

/* ── Кнопки ── */
.btn {
  display: inline-block; background: var(--grad); color: #04121f !important;
  padding: 14px 30px; border-radius: 14px; font-weight: 800; font-size: 15px;
  border: none; cursor: pointer; text-align: center; transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 8px 30px rgba(56,189,248,.35), inset 0 1px 0 rgba(255,255,255,.35);
  font-family: 'Manrope', sans-serif;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(56,189,248,.5), inset 0 1px 0 rgba(255,255,255,.35); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--ice) !important; border: 2px solid rgba(125,211,252,.5); box-shadow: none; font-weight: 700; }
.btn-outline:hover { background: rgba(125,211,252,.1); border-color: var(--ice); box-shadow: 0 0 30px rgba(56,189,248,.2); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ── Герой ── */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(5,12,28,.78) 0%, rgba(6,13,31,.55) 45%, var(--bg) 100%), url('../img/hero-new.jpg') center/cover no-repeat;
  color: #fff; padding: 110px 0 90px; text-align: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 300px at 50% 0%, rgba(125,211,252,.14), transparent 70%);
}
.hero .sub-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(125,211,252,.1); border: 1px solid rgba(125,211,252,.35);
  padding: 7px 18px; border-radius: 40px; font-size: 13px; font-weight: 600;
  color: var(--ice); margin-bottom: 24px; backdrop-filter: blur(8px);
  letter-spacing: .3px;
}
.hero .sub-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
.hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(30px, 5.2vw, 54px);
  font-weight: 800; line-height: 1.15; margin-bottom: 20px;
  max-width: 860px; margin-left: auto; margin-right: auto;
  text-shadow: 0 4px 40px rgba(2,8,25,.6);
}
.hero h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 17.5px; max-width: 660px; margin: 0 auto 30px; color: #e2edff; background: rgba(4,10,24,.35); border-radius: 12px; padding: 10px 18px; backdrop-filter: blur(6px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }

/* Статистика */
.hero-stats {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 46px;
}
.hero-stats .stat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(125,211,252,.18);
  border-radius: 16px; padding: 16px 26px; backdrop-filter: blur(10px);
  min-width: 150px; transition: transform .25s, border-color .25s;
}
.hero-stats .stat:hover { transform: translateY(-4px); border-color: rgba(125,211,252,.5); }
.hero-stats .stat b { display: block; font-family: 'Unbounded', sans-serif; font-size: 26px; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stats .stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .3px; }

/* ── Секции ── */
.section { padding: 84px 0; position: relative; }
.section.alt { background: rgba(10,22,48,.5); border-top: 1px solid rgba(125,211,252,.08); border-bottom: 1px solid rgba(125,211,252,.08); }
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 3vw, 32px); font-weight: 700;
  text-align: center; margin-bottom: 16px; line-height: 1.25;
}
.section-title .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; font-size: 15.5px; }

/* ── Карточки услуг ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.service-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px 26px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(125,211,252,.45);
  box-shadow: var(--glow), var(--shadow);
}
.service-card:hover::before { opacity: 1; }
.service-card .ico {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-bottom: 16px;
  background: rgba(56,189,248,.1); border: 1px solid rgba(125,211,252,.3);
  box-shadow: inset 0 0 24px rgba(56,189,248,.1), 0 0 24px rgba(56,189,248,.12);
  padding: 6px;
}
.service-card .ico img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 11px;
  transition: transform .35s ease, filter .35s ease;
}
.service-card:hover .ico img { transform: scale(1.08); filter: brightness(1.15) drop-shadow(0 0 12px rgba(56,189,248,.5)); }
.service-card h3 { font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 10px; color: var(--white); line-height: 1.35; }
.service-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; flex-grow: 1; }
.service-card .price {
  display: inline-block; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 16.5px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 14px; text-shadow: 0 0 20px rgba(56,189,248,.3);
}
.service-card .card-btn {
  display: block; text-align: center; margin-top: auto;
  padding: 12px 18px; border-radius: 11px; font-weight: 800; font-size: 13.5px;
  background: linear-gradient(135deg, rgba(56,189,248,.18), rgba(129,140,248,.18));
  border: 1.5px solid rgba(56,189,248,.55);
  color: var(--ice) !important;
  box-shadow: 0 0 18px rgba(56,189,248,.15), inset 0 0 12px rgba(56,189,248,.08);
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.service-card .card-btn:hover {
  background: linear-gradient(135deg, rgba(56,189,248,.35), rgba(129,140,248,.35));
  border-color: var(--ice); transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(56,189,248,.45), inset 0 0 16px rgba(56,189,248,.15);
}

/* ── Калькулятор ── */
.calc {
  max-width: 640px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.calc label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 12px; color: var(--ice); }
.calc select {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-size: 15px;
  background: rgba(6,13,31,.8); color: var(--text);
  border: 1px solid rgba(125,211,252,.25); outline: none;
  font-family: 'Manrope', sans-serif; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.calc select:focus { border-color: var(--ice-bright); box-shadow: 0 0 0 3px rgba(56,189,248,.15); }
.calc-result {
  margin-top: 20px; padding: 16px 20px; border-radius: 12px;
  background: rgba(56,189,248,.08); border: 1px solid rgba(125,211,252,.25);
  font-size: 15px; color: var(--text); text-align: center;
}
.calc-result b { font-family: 'Unbounded', sans-serif; font-size: 22px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ── Шаги ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step {
  position: relative; text-align: center;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px 20px;
  backdrop-filter: blur(10px); transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(125,211,252,.45); }
.step b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #04121f; font-size: 18px; font-weight: 800;
  font-family: 'Unbounded', sans-serif; margin-bottom: 14px;
  box-shadow: 0 0 30px rgba(56,189,248,.4);
}
.step p { font-size: 14.5px; color: var(--text); font-weight: 600; }
.step small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }

/* ── CTA + форма ── */
.cta-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(125,211,252,.2);
  background: linear-gradient(180deg, rgba(5,12,28,.82), rgba(8,18,40,.9)), url('../img/cta-new.jpg') center/cover no-repeat;
  padding: 56px 40px; box-shadow: var(--shadow);
}
.cta-wrap h2 { font-family: 'Unbounded', sans-serif; font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin-bottom: 12px; text-align: center; }
.cta-wrap h2 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-wrap > p { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 34px; font-size: 15px; }

.lead-form {
  max-width: 560px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 13px;
}
.lead-form h3 { font-family: 'Unbounded', sans-serif; font-size: 18px; text-align: center; margin-bottom: 4px; }
.lead-form .hint { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-size: 14.5px;
  background: rgba(6,13,31,.75); color: var(--text);
  border: 1px solid rgba(125,211,252,.22); outline: none;
  font-family: 'Manrope', sans-serif;
  transition: border-color .2s, box-shadow .2s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  border-color: var(--ice-bright); box-shadow: 0 0 0 3px rgba(56,189,248,.14);
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #5d6f8f; }
.lead-form .btn { width: 100%; }

/* ── Страницы-статьи ── */
.page { padding: 48px 0 70px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--ice); }
.page h1 { font-family: 'Unbounded', sans-serif; font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; margin-bottom: 18px; line-height: 1.2; }
.page h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page h2 { font-family: 'Unbounded', sans-serif; font-size: 21px; font-weight: 600; margin: 34px 0 14px; }
.page h3 { font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 600; margin: 24px 0 10px; color: var(--ice); }
.page p { margin-bottom: 14px; color: #c6d6ee; font-size: 15px; }
.page ul, .page ol { margin: 0 0 16px 22px; color: #c6d6ee; font-size: 15px; }
.page li { margin-bottom: 7px; }
.page img { max-width: 100%; border-radius: 14px; border: 1px solid var(--card-border); margin: 10px 0; }
.page blockquote { border-left: 3px solid var(--ice-bright); padding: 12px 18px; background: rgba(56,189,248,.07); border-radius: 0 12px 12px 0; margin: 16px 0; color: #dbeafe; }
.lead { font-size: 17px; color: #dbeafe; line-height: 1.7; margin-bottom: 20px; }
.callout {
  border-radius: 14px; padding: 16px 20px; margin: 18px 0;
  background: rgba(129,140,248,.08); border: 1px solid rgba(129,140,248,.3);
  color: #dbeafe; font-size: 14.5px;
}
.cta-box {
  margin-top: 40px; padding: 30px; text-align: center;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); backdrop-filter: blur(10px);
}
.cta-box h3 { font-family: 'Unbounded', sans-serif; font-size: 18px; margin-bottom: 8px; }
.cta-box p { color: var(--muted); margin-bottom: 16px; }

/* ── Таблица цен ── */
.price-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.price-table th {
  text-align: left; padding: 13px 16px; font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--ice); background: rgba(56,189,248,.07);
  border-bottom: 1px solid rgba(125,211,252,.25);
}
.price-table td { padding: 13px 16px; border-bottom: 1px solid rgba(125,211,252,.1); color: #c6d6ee; }
.price-table tr:hover td { background: rgba(125,211,252,.05); }
.price-table td:last-child { color: var(--white); font-weight: 700; white-space: nowrap; }

/* ── FAQ ── */
.faq-body { max-width: 780px; margin: 0 auto; }
.faq-item {
  margin-bottom: 14px; border-radius: 14px; overflow: hidden;
  background: var(--card); border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--white);
  list-style: none; position: relative; padding-right: 44px; transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--ice); font-weight: 400; transition: transform .25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { color: var(--ice); }
.faq-item .faq-body-inner { padding: 0 22px 18px; color: var(--muted); font-size: 14.5px; }

/* ── Подвал ── */
.footer {
  border-top: 1px solid rgba(125,211,252,.12);
  background: rgba(4,9,20,.7); backdrop-filter: blur(12px);
  padding: 44px 0 36px; margin-top: 20px;
}
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.footer h4 { font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--white); }
.footer p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.footer a { display: block; font-size: 13.5px; color: var(--muted); padding: 4px 0; transition: color .2s, transform .2s; }
.footer a:hover { color: var(--ice); transform: translateX(3px); }

/* ── Снежинки ── */
.snow {
  position: absolute; top: -20px; border-radius: 50%;
  background: #fff; pointer-events: none; z-index: 2;
  animation: fall linear infinite;
  box-shadow: 0 0 10px rgba(255,255,255,.7), 0 0 3px rgba(255,255,255,.9);
  opacity: .9;
}
@keyframes fall {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: .9; }
  100% { transform: translateY(105vh) translateX(40px); opacity: .2; }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* ── Появление при скролле ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ── Адаптив ── */
@media (max-width: 720px) {
  .header-inner { flex-direction: column; gap: 10px; padding: 12px 16px; }
  .nav { justify-content: center; gap: 2px; }
  .nav a { padding: 7px 10px; font-size: 12.5px; }
  .hero { padding: 70px 0 60px; }
  .hero-stats .stat { min-width: 120px; padding: 13px 18px; }
  .hero-stats .stat b { font-size: 20px; }
  .cta-wrap { padding: 40px 22px; }
  .section { padding: 60px 0; }
}
