/* sdelanoplus.ru — plain CSS, no framework */
:root {
  --orange: #F97316;
  --orange-dark: #EA6A0A;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.2em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 700; margin: 0 0 16px; color: var(--slate-900); }
h1 { font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
p { color: var(--slate-600); margin: 0 0 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s; text-align: center;
}
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: white; border-color: var(--slate-200); color: var(--slate-700); }
.btn-outline:hover { background: var(--orange); border-color: var(--orange); color: white; }
.btn-outline-light { background: white; border-color: white; color: var(--slate-800); }
.btn-outline-light:hover { background: var(--slate-100); }
.btn-lg { height: 56px; padding: 0 32px; font-size: 1.125rem; }
.btn-block { width: 100%; }
.icon { width: 16px; height: 16px; fill: currentColor; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  background: transparent; transition: all .2s;
}
.site-header.scrolled, .site-header.not-home {
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,.08); border-bottom: 1px solid var(--slate-200);
}
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { width: 32px; height: 32px; border-radius: 6px; background: var(--orange); color: white; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.brand-name { font-weight: 700; font-size: 1.25rem; color: white; transition: color .2s; }
.site-header.scrolled .brand-name, .site-header.not-home .brand-name { color: var(--slate-900); }
.brand-name-light { color: white !important; }
.nav-desktop { display: none; gap: 24px; font-weight: 500; font-size: .9rem; color: var(--slate-200); }
.site-header.scrolled .nav-desktop, .site-header.not-home .nav-desktop { color: var(--slate-700); }
.nav-link:hover, .nav-link-active { color: var(--orange); }
.header-actions { display: none; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: white; }
.site-header.scrolled .header-phone, .site-header.not-home .header-phone { color: var(--slate-900); }
.header-phone .icon { color: var(--orange); }
.burger { display: flex; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; cursor: pointer; }
.burger span { width: 24px; height: 2px; background: white; transition: background .2s; }
.site-header.scrolled .burger span, .site-header.not-home .burger span { background: var(--slate-900); }

@media (min-width: 1024px) {
  .nav-desktop, .header-actions { display: flex; }
  .burger { display: none; }
}

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 40; background: white;
  padding: 96px 24px 24px; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; font-size: 1.1rem; font-weight: 500; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--slate-200); }
.mobile-menu-footer { margin-top: auto; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.mobile-phone { text-align: center; padding: 16px 0; font-weight: 700; font-size: 1.25rem; }
.mobile-fixed-cta { position: fixed; bottom: 0; left: 0; width: 100%; padding: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-top: 1px solid var(--slate-200); z-index: 40; }
@media (min-width: 1024px) { .mobile-fixed-cta { display: none; } }

/* Hero */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; padding-top: 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--slate-900), rgba(15,23,42,.5) 60%, rgba(15,23,42,.6)); }
.hero-inner { position: relative; z-index: 10; padding: 48px 24px; display: grid; gap: 48px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: white; font-size: .875rem; font-weight: 500; margin-bottom: 24px; }
.hero-text h1 { color: white; margin-bottom: 24px; }
.hero-lead { color: var(--slate-200); font-size: 1.15rem; max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-card { background: white; border-radius: 20px; padding: 32px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); }
.hero-card h3 { margin-bottom: 8px; }
.hero-card > p { font-size: .875rem; margin-bottom: 24px; }

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 7fr 5fr; align-items: center; padding: 96px 24px; }
}

/* Sections */
.section { padding: 64px 0; }
.section-gray { background: var(--slate-50); }
.section-dark { background: var(--slate-800); padding: 64px 0; border-bottom: 1px solid var(--slate-700); }
.section-dark h2 { color: white; display: flex; align-items: center; gap: 12px; }
.section-dark p { color: var(--slate-400); }
.pulse-dot { width: 12px; height: 12px; border-radius: 50%; background: #ef4444; display: inline-block; }
.section-header-row { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.section-header-center { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-footer-center { text-align: center; margin-top: 48px; }
@media (min-width: 768px) {
  .section-header-row { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Emergency grid */
.emergency-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.emergency-card { display: block; background: var(--slate-900); border: 1px solid var(--slate-700); border-radius: 12px; padding: 20px; color: white; font-weight: 500; transition: background .2s, color .2s; }
.emergency-card:hover { background: var(--slate-700); color: var(--orange); }
@media (min-width: 768px) { .emergency-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .emergency-grid { grid-template-columns: repeat(5, 1fr); } }

/* Service grid / cards */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); border: 1px solid var(--slate-100); display: flex; flex-direction: column; transition: box-shadow .2s; }
.service-card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); }
.service-card-image { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card-image:hover img { transform: scale(1.08); }
.badge-emergency { position: absolute; top: 16px; right: 16px; background: #ef4444; color: white; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.service-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.service-card-body h3 { font-size: 1.25rem; margin-bottom: 4px; }
.service-card-body p { font-size: .9rem; flex: 1; margin-bottom: 20px; }

/* Steps */
.steps-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step { text-align: center; padding: 0 16px; }
.step-num { width: 64px; height: 64px; margin: 0 auto 24px; background: #fff7ed; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--orange); }

/* Benefits */
.benefits-grid, .benefits-grid-3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } .benefits-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit, .benefit-card { background: white; padding: 32px; border-radius: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.05); border: 1px solid var(--slate-100); text-align: left; }
.benefit-card { text-align: center; }

/* Lead form */
.lead-form-card { background: white; padding: 32px; border-radius: 24px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); border: 1px solid var(--slate-100); }
.lead-form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 640px) {
  .lead-form-grid:not(.lead-form-grid-compact) { grid-template-columns: repeat(2, 1fr); }
}
.field-span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .875rem; font-weight: 500; color: var(--slate-700); }
.field input, .field select, .field textarea {
  border: 1px solid var(--slate-200); border-radius: 10px; padding: 12px 14px; font-size: 1rem;
  font-family: inherit; background: var(--slate-50);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.form-hint { font-size: .75rem; text-align: center; color: var(--slate-500); margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 32px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 16px; }
.form-success h3 { color: #166534; }
.form-success p { color: #15803d; }
.lead-form.submitted .form-success { display: block; }
.lead-form.submitted .lead-form-grid, .lead-form.submitted button[type="submit"], .lead-form.submitted .form-hint { display: none; }

.lead-section-grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .lead-section-grid { grid-template-columns: 1fr 1fr; } }
.lead-section-text { font-size: 1.125rem; margin-bottom: 32px; }
.trust-list { display: flex; flex-direction: column; gap: 24px; }
.trust-item h4 { margin-bottom: 4px; }
.trust-item p { margin: 0; }

/* Reviews */
.reviews-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: white; padding: 32px; border-radius: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.05); border: 1px solid var(--slate-100); }
.stars { color: #facc15; margin-bottom: 16px; letter-spacing: 2px; }
.review-author { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--slate-100); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--slate-500); }
.review-author h4 { margin: 0; }
.review-city { margin: 0; font-size: .875rem; }

/* Banner */
.section-banner { position: relative; padding: 96px 0; }
.section-banner-bg { position: absolute; inset: 0; z-index: 0; }
.section-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.section-banner-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.8); }
.section-banner-content { position: relative; z-index: 10; text-align: center; }
.section-banner-content h2 { color: white; }
.section-banner-content p { color: var(--slate-300); max-width: 600px; margin: 0 auto 40px; font-size: 1.25rem; }

/* Page hero (about/catalog) */
.page-hero { background: var(--slate-50); padding: 128px 0 64px; }
.page-hero-dark { background: var(--slate-900); }
.page-hero-dark h1, .page-hero-dark p { color: white; }
.page-hero-dark .accent { color: var(--orange); }
.page-hero p { font-size: 1.125rem; max-width: 700px; }

/* About */
.about-grid { display: grid; gap: 64px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.stat-card { background: var(--slate-50); padding: 32px; border-radius: 20px; }
.stat-num { font-size: 2rem; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.about-selection-card { max-width: 800px; margin: 0 auto; background: white; padding: 48px; border-radius: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.05); border: 1px solid var(--slate-100); text-align: center; }
.about-selection-card p { text-align: left; }
.numbered-list { list-style: none; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 16px; color: var(--slate-700); counter-reset: step; }
.numbered-list li { padding-left: 40px; position: relative; counter-increment: step; }
.numbered-list li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 24px; height: 24px; border-radius: 50%; background: #fff7ed; color: var(--orange); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }

/* Partners */
.partners-hero-content { position: relative; z-index: 10; text-align: center; max-width: 800px; margin: 0 auto; }
.partners-hero-content h1, .partners-hero-content p { color: white; }
.partner-form-wrap { max-width: 760px; margin: 0 auto; }

/* Service detail page */
.service-hero { position: relative; padding: 160px 0 96px; background-size: cover; background-position: center; }
.service-hero-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.7); }
.service-hero-overlay-strong { background: rgba(15,23,42,.8); }
.service-hero-content { position: relative; z-index: 10; max-width: 760px; }
.breadcrumbs { color: var(--slate-300); font-size: .9rem; margin-bottom: 24px; }
.breadcrumbs a:hover { color: white; }
.breadcrumbs span { margin: 0 8px; }
.service-hero h1 { color: white; }
.service-hero-lead { color: var(--slate-200); font-size: 1.25rem; }
.badge-red { background: #ef4444; color: white; }

.service-layout { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .service-layout { grid-template-columns: 2fr 1fr; gap: 80px; } }
.service-main { display: flex; flex-direction: column; gap: 48px; }
.works-list { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .works-list { grid-template-columns: 1fr 1fr; } }
.works-list li { background: var(--slate-50); padding: 16px; border-radius: 12px; font-weight: 500; color: var(--slate-700); }
.accordion-item { border-bottom: 1px solid var(--slate-200); padding: 16px 0; }
.accordion-item summary { cursor: pointer; font-weight: 500; font-size: 1.1rem; color: var(--slate-800); padding: 8px 0; }
.accordion-item summary:hover { color: var(--orange); }
.accordion-content { padding: 12px 0 4px; color: var(--slate-600); }
.service-sidebar { display: flex; flex-direction: column; gap: 32px; }
.sidebar-call { background: var(--slate-900); border-radius: 20px; padding: 32px; color: white; text-align: center; }
.sidebar-call h3 { color: white; }
.sidebar-call p { color: var(--slate-300); }
.other-services { display: flex; flex-direction: column; gap: 12px; }
.other-service-link { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-radius: 12px; border: 1px solid var(--slate-100); font-weight: 500; color: var(--slate-700); transition: all .2s; }
.other-service-link:hover { border-color: var(--orange); color: var(--orange); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.seo-text { border-top: 1px solid var(--slate-200); font-size: .8rem; color: var(--slate-500); }
.seo-text h3 { font-size: 1rem; color: var(--slate-700); }

/* Footer */
.site-footer { background: var(--slate-900); color: var(--slate-300); padding: 64px 0; }
.footer-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid h4 { color: white; margin-bottom: 24px; font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: .9rem; }
.footer-grid ul a:hover { color: white; }
.footer-link-accent { color: var(--orange); }
.footer-about { font-size: .9rem; max-width: 280px; margin: 24px 0; }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-phone { color: white; font-weight: 600; }
.brand-footer { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid var(--slate-800); margin-top: 48px; padding-top: 32px; display: flex; flex-direction: column; gap: 16px; font-size: .875rem; color: var(--slate-500); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* 404 */
.not-found { text-align: center; padding: 160px 0; }
.not-found h1 { font-size: 6rem; color: var(--orange); }
