/* ElitePro — новый современный дизайн */
:root {
  --color-bg: #fafbfc;
  --color-surface: #ffffff;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-accent: #0ea5e9;
  --color-accent-hover: #0284c7;
  --color-dark: #0f172a;
  --color-border: #e2e8f0;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 20px 48px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--color-accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}
.site-header .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-header .logo {
  display: flex;
  align-items: center;
}
.site-header .logo img {
  height: 44px;
  width: auto;
}
.site-header .nav-main {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header .nav-main a {
  color: var(--color-text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.site-header .nav-main a:hover,
.site-header .nav-main a.active {
  color: var(--color-accent);
  background: rgba(14, 165, 233, 0.08);
}
.site-header .nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.site-header .nav-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.site-header .nav-actions a:hover {
  color: var(--color-accent);
}
.site-header .btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #25d366;
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.site-header .btn-wa:hover {
  background: #20bd5a;
  color: #fff !important;
}
.site-header .menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-text);
}
.site-header .menu-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 992px) {
  .site-header .nav-main,
  .site-header .nav-actions {
    display: none;
  }
  .site-header .menu-toggle {
    display: block;
  }
  .site-header .nav-mobile {
    display: block;
  }
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 100%);
  height: 100vh;
  background: var(--color-surface);
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  z-index: 1001;
  padding: 24px;
  overflow-y: auto;
}
.nav-mobile.open {
  display: block;
}
.nav-mobile .close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-text);
}
.nav-mobile .nav-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 48px;
}
.nav-mobile .nav-main a {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.nav-mobile .nav-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 24px;
  gap: 12px;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}
.nav-overlay.open {
  display: block;
}

/* Layout */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 12px;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 0 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e3a5f 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,58,95,0.88) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero .lead {
  font-size: 1.125rem;
  opacity: 0.9;
  margin: 0 0 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-actions .btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: none;
}
.hero-actions .btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}
.hero-actions .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}

/* Service grid (home) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  color: inherit;
}
.service-card .thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .thumb img {
  transform: scale(1.06);
}
.service-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.service-card .body {
  padding: 20px;
}
.service-card .body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--color-dark);
}
.service-card .body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Intro block */
.intro-block {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.intro-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--color-dark);
}
.intro-block p {
  margin: 0 0 12px;
  color: var(--color-text);
}
.intro-block b {
  color: var(--color-dark);
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.advantage-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.advantage-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.advantage-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Partners */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.partners-grid img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
}
.partners-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.testimonial-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-card .name {
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--color-dark);
}
.testimonial-card .text {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: var(--color-text);
}
.testimonial-card .meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Page title (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e3a5f 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 8px;
}
.page-hero .lead {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

/* Content grid (service sub-pages) */
.content-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.content-cards a.card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.content-cards .card {
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}
.content-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.content-cards .card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.content-cards .card .card-body {
  padding: 16px;
}
.content-cards .card .card-text {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #fff;
  padding: 48px 0 24px;
}
.site-footer a {
  color: rgba(255,255,255,0.85);
}
.site-footer a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  color: rgba(255,255,255,0.9);
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid ul li {
  margin-bottom: 8px;
}
.footer-grid ul a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.site-footer .logo img {
  height: 40px;
  margin-bottom: 12px;
}
iframe {
  max-width: 100%;
  border: 0;
  border-radius: var(--radius-sm);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float a:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  color: #fff;
}
.whatsapp-float img {
  width: 32px;
  height: 32px;
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
