* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --text: #0f172a;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --success: #22c55e;
  --radius: 14px;
}

body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: var(--bg); border-bottom: 1px solid #e5e7eb; padding: 12px 0; position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.logo { font-size: 1.3rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--primary); }
.logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 10px; color: #fff; font-size: 1.2rem; font-weight: 800; }
.header-phone { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.header-phone a { color: var(--text); }
nav { display: flex; gap: 20px; font-size: 0.95rem; }
nav a { color: var(--text); font-weight: 500; }
nav a:hover { color: var(--primary); text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%); color: #fff; padding: 60px 0; text-align: center; }
.hero h1 { font-size: 2.2rem; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.2s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,0.4); text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); text-decoration: none; }

/* Advantages */
.advantages { padding: 50px 0; background: var(--bg-light); }
.advantages h2 { text-align: center; font-size: 1.6rem; margin-bottom: 30px; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.adv-card { background: var(--bg); padding: 24px; border-radius: var(--radius); text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.adv-card .icon { font-size: 2.2rem; margin-bottom: 10px; }
.adv-card h3 { font-size: 1rem; margin-bottom: 6px; }
.adv-card p { font-size: 0.85rem; color: var(--text-light); }

/* Services preview */
.services-preview { padding: 50px 0; }
.services-preview h2 { text-align: center; font-size: 1.6rem; margin-bottom: 30px; }
.serv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.serv-item { background: var(--bg-light); padding: 20px; border-radius: var(--radius); text-align: center; border: 2px solid transparent; transition: border-color 0.2s; }
.serv-item:hover { border-color: var(--primary); }
.serv-item .icon { font-size: 2rem; margin-bottom: 8px; }
.serv-item h3 { font-size: 0.95rem; margin-bottom: 4px; }
.serv-item .price { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* Form */
.form-section { padding: 50px 0; background: var(--bg-light); }
.form-section h2 { text-align: center; font-size: 1.6rem; margin-bottom: 8px; }
.form-section .subtitle { text-align: center; color: var(--text-light); margin-bottom: 30px; }
.form-wrap { max-width: 600px; margin: 0 auto; background: var(--bg); padding: 30px; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 0.95rem; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.15); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--text-light); margin-bottom: 16px; }
.form-check input { margin-top: 3px; }
.btn-submit { width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.btn-submit:hover { background: var(--primary-dark); }
.form-success { display: none; text-align: center; padding: 30px; color: var(--success); font-weight: 600; font-size: 1.1rem; }

/* Price table */
.price-section { padding: 50px 0; }
.price-section h2 { text-align: center; font-size: 1.6rem; margin-bottom: 30px; }
.price-category { margin-bottom: 30px; }
.price-category h3 { font-size: 1.15rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-bottom: 1px solid #e5e7eb; }
.price-table td { padding: 10px 0; }
.price-table td:last-child { text-align: right; font-weight: 600; color: var(--primary); white-space: nowrap; }

/* Steps */
.steps { padding: 50px 0; background: var(--bg-light); }
.steps h2 { text-align: center; font-size: 1.6rem; margin-bottom: 30px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step { text-align: center; padding: 20px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--text-light); }

/* Legal */
.legal-page { padding: 40px 0; }
.legal-page h1 { font-size: 1.6rem; margin-bottom: 24px; }
.legal-page h2 { font-size: 1.2rem; margin: 24px 0 8px; }
.legal-page p, .legal-page li { font-size: 0.9rem; color: var(--text); margin-bottom: 8px; }
.legal-page ul { padding-left: 20px; }

/* Footer */
.footer { background: var(--bg-dark); color: #9ca3af; padding: 30px 0; font-size: 0.85rem; }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer a { color: #9ca3af; }
.footer a:hover { color: #fff; }
.footer-left { max-width: 400px; }
.footer-left p { margin-bottom: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }

/* Marquee */
.marquee-wrap { background: var(--bg-dark); overflow: hidden; white-space: nowrap; padding: 10px 0; }
.marquee-content { display: inline-block; animation: marquee 25s linear infinite; color: #94a3b8; font-size: 0.9rem; }
.marquee-content span { margin: 0 40px; }
.marquee-content span strong { color: var(--accent); }
@keyframes marquee { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* Mobile */
@media (max-width: 768px) {
  .header .container { flex-direction: column; text-align: center; }
  nav { flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 1rem; }
  .footer .container { flex-direction: column; }
}
