/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #1F2937; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --blue: #1A56DB;
  --blue-dark: #1044B0;
  --yellow: #FBBF24;
  --yellow-dark: #D97706;
  --white: #FFFFFF;
  --gray: #F3F4F6;
  --text: #1F2937;
  --text-light: #6B7280;
}

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-yellow { background: var(--yellow); color: #1F2937; }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(251,191,36,0.4); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--blue); }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: 10px; }
.btn-full { width: 100%; text-align: center; }

/* ===== TOPBAR ===== */
.topbar { background: var(--blue-dark); color: #fff; font-size: 13px; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-phone { font-weight: 700; color: var(--yellow); font-size: 15px; }
.topbar-phone:hover { text-decoration: underline; }

/* ===== HEADER ===== */
.header { background: var(--blue); padding: 16px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; }
.logo-dom { color: var(--yellow); }
.logo-master { color: #fff; }
.nav { display: flex; gap: 24px; }
.nav a { color: #fff; font-weight: 500; opacity: 0.9; transition: opacity 0.2s; }
.nav a:hover { opacity: 1; text-decoration: underline; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1044B0 60%, #0D3494 100%);
  color: #fff;
  padding: 80px 0 60px;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.yellow { color: var(--yellow); }
.hero p { font-size: 18px; opacity: 0.92; margin-bottom: 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); padding: 6px 14px; border-radius: 20px; font-size: 14px; }
.hero-card { background: #fff; color: var(--text); border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 16px; margin-bottom: 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.hero-card-icon { font-size: 36px; }
.hero-card-text { display: flex; flex-direction: column; }
.hero-card-text strong { font-size: 17px; color: var(--blue); }
.hero-card-text span { font-size: 13px; color: var(--text-light); }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.stat { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 16px; text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 900; color: var(--yellow); }
.stat-label { font-size: 12px; opacity: 0.85; }

/* ===== SECTION COMMON ===== */
.section-title { font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-title.white { color: #fff; }
.section-sub { text-align: center; color: var(--text-light); font-size: 17px; margin-bottom: 48px; }

/* ===== SERVICES ===== */
.services { padding: 80px 0; background: var(--gray); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.service-card.featured { border: 2px solid var(--yellow); }
.service-badge { position: absolute; top: -12px; left: 24px; background: var(--yellow); color: #1F2937; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.service-icon { font-size: 40px; }
.service-card h3 { font-size: 20px; font-weight: 700; }
.service-card ul { flex: 1; }
.service-card ul li { padding: 5px 0; color: var(--text-light); font-size: 14px; border-bottom: 1px dashed #E5E7EB; }
.service-card ul li::before { content: "✓ "; color: var(--blue); font-weight: 700; }
.service-cta { background: var(--blue); color: #fff; align-items: center; text-align: center; }
.service-cta h3 { color: #fff; }
.service-cta p { color: rgba(255,255,255,0.85); font-size: 15px; }

/* ===== WHY ===== */
.why { background: var(--blue); padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; padding: 32px 24px; color: #fff; }
.why-icon { font-size: 36px; margin-bottom: 12px; }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; opacity: 0.85; line-height: 1.6; }

/* ===== HOW ===== */
.how { padding: 80px 0; background: #fff; }
.steps { display: flex; align-items: flex-start; gap: 8px; }
.step { flex: 1; text-align: center; padding: 24px 16px; }
.step-num { width: 56px; height: 56px; background: var(--blue); color: #fff; border-radius: 50%; font-size: 22px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.step-arrow { font-size: 28px; color: var(--yellow); padding-top: 40px; flex-shrink: 0; font-weight: 700; }

/* ===== PRICES ===== */
.prices { padding: 80px 0; background: var(--gray); }
.prices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 20px; }
.price-block { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.price-block h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--yellow); }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed #E5E7EB; font-size: 14px; gap: 12px; }
.price-row:last-child { border-bottom: none; }
.price { font-weight: 700; color: var(--blue); white-space: nowrap; }
.prices-note { text-align: center; color: var(--text-light); font-size: 13px; }

/* ===== CONTACT ===== */
.contact { padding: 80px 0; background: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-text h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.contact-text p { color: var(--text-light); font-size: 16px; margin-bottom: 32px; line-height: 1.7; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-item { font-size: 16px; }
.contact-item a { color: var(--blue); font-weight: 700; }
.contact-item a:hover { text-decoration: underline; }
.contact-form { background: var(--gray); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.contact-form h3 { font-size: 22px; font-weight: 700; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--blue); }
.contact-form textarea { resize: vertical; }
.form-note { font-size: 12px; color: var(--text-light); text-align: center; }

/* ===== FOOTER ===== */
.footer { background: #111827; color: #fff; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo .logo-dom { color: var(--yellow); font-size: 28px; font-weight: 900; }
.footer-logo .logo-master { color: #fff; font-size: 28px; font-weight: 900; }
.footer-logo p { color: #9CA3AF; font-size: 14px; margin-top: 8px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4, .footer-contact h4 { color: var(--yellow); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.footer-links a { color: #9CA3AF; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact p { color: #9CA3AF; font-size: 14px; }
.footer-contact a { color: var(--yellow); }
.footer-bottom { border-top: 1px solid #374151; padding: 20px 0; text-align: center; color: #6B7280; font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero-image { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); padding: 0; margin: 0 auto; }
  .prices-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; }
  .nav { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
}
