:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-bg: #090a0d;
  --color-surface: #111318;
  --color-surface-card: #151821;
  --color-surface-hover: #1c202c;
  --color-border: rgba(255, 110, 0, 0.14);
  --color-border-bright: rgba(255, 145, 0, 0.45);
  
  --fire-orange: #ff5500;
  --fire-amber: #ff9100;
  --fire-gold: #ffc400;
  
  --grad-fire: linear-gradient(135deg, #ff2a00 0%, #ff6b00 48%, #ffb800 100%);
  --grad-card: linear-gradient(180deg, rgba(24, 27, 36, 0.85) 0%, rgba(14, 15, 20, 0.95) 100%);
  --grad-master-card: linear-gradient(180deg, rgba(28, 31, 42, 0.9) 0%, rgba(16, 17, 24, 0.95) 100%);
  
  --text-primary: #f5f6fa;
  --text-secondary: #9da3b4;
  --text-muted: #646b7c;
  
  --shadow-glow: 0 0 28px rgba(255, 85, 0, 0.35);
  --shadow-glow-intense: 0 0 40px rgba(255, 115, 0, 0.6);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --container-max: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.bg-ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}

.glow-orb-1 {
  width: 500px;
  height: 500px;
  background: #ff4500;
  top: -100px;
  right: -50px;
}

.glow-orb-2 {
  width: 450px;
  height: 450px;
  background: #ffa600;
  bottom: 20%;
  left: -100px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 13, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(255, 85, 0, 0.5));
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-top: -2px;
}

.nav-contacts {
  display: flex;
  align-items: center;
  gap: 28px;
}

.contact-quick {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.phone-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.phone-link:hover {
  color: var(--fire-amber);
}

.work-hours {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--grad-fire);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow-intense);
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-bright);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 110, 0, 0.12);
  border-color: var(--fire-amber);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* Hero */
.hero-section {
  padding: 90px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.3);
  font-size: 13px;
  font-weight: 600;
  color: var(--fire-gold);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fire-amber);
  box-shadow: 0 0 10px var(--fire-amber);
}

.hero-title {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-title .gradient-text {
  background: var(--grad-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.stat-value {
  font-size: 30px;
  font-weight: 800;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Express Form */
.hero-card-visual {
  background: var(--grad-card);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.hero-card-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-fire);
}

.card-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.card-visual-title {
  font-size: 20px;
  font-weight: 700;
}

.status-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #34d399;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.express-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: rgba(9, 10, 13, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: all 0.25s;
}

.form-control:focus {
  border-color: var(--fire-amber);
  box-shadow: 0 0 0 3px rgba(255, 110, 0, 0.2);
}

.form-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* Sections Global */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fire-amber);
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--grad-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.35s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-bright);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 85, 0, 0.15);
}

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 110, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Steps */
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--grad-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--fire-amber);
  transform: translateY(-4px);
}

.step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 44px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
}

.step-icon {
  font-size: 28px;
  margin-bottom: 18px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===================================================
   ПРЕМИАЛЬНЫЙ БЛОК НАШИХ МАСТЕРОВ
=================================================== */
.masters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.master-card {
  background: var(--grad-master-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.master-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-fire);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.master-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-bright);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 85, 0, 0.22);
}

.master-card:hover::before {
  opacity: 1;
}

.master-avatar-wrapper {
  position: relative;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2a00 0%, #ff9100 50%, #ffc400 100%);
  box-shadow: 0 0 20px rgba(255, 85, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.master-card:hover .master-avatar-wrapper {
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(255, 115, 0, 0.65);
}

.master-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  background-color: var(--color-surface-hover);
  border: 3px solid #111318;
}

.master-status-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: #10b981;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid #111318;
  box-shadow: 0 0 8px #10b981;
}

.master-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.master-role-badge {
  display: inline-block;
  background: rgba(255, 110, 0, 0.12);
  border: 1px solid rgba(255, 145, 0, 0.3);
  color: #ffb800;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  line-height: 1.4;
}

.master-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 40px;
}

.master-stats-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.master-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.master-stat-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.master-stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

.rating-gold {
  color: #fbbf24;
}

.btn-master-call {
  width: 100%;
  margin-top: auto;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--grad-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #fbbf24;
  font-size: 15px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.author-name {
  font-weight: 600;
}

.author-problem {
  color: var(--fire-amber);
  font-size: 12px;
}

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, rgba(214, 28, 4, 0.25) 0%, rgba(255, 85, 0, 0.3) 50%, rgba(255, 184, 0, 0.18) 100%), var(--color-surface);
  border: 1px solid var(--fire-amber);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta-banner-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 50px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 14px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.modal-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  border: 2px solid #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #34d399;
  margin: 0 auto 20px;
}

.fab-sticky {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: none;
}

@media (max-width: 1100px) {
  .masters-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-wrapper { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 34px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps-wrapper { grid-template-columns: 1fr; }
  .masters-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .nav-contacts .contact-quick { display: none; }
  .fab-sticky { display: block; }
}