* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, system-ui, sans-serif; background: #f9fbfd; color: #1e293b; line-height: 1.5; scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 70px 0; }
.section-title { font-size: 2.2rem; font-weight: 700; text-align: center; margin-bottom: 20px; color: #0a2f3c; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 48px; color: #475569; font-size: 1.1rem; }
.hidden { display: none !important; }

/* Шапка */
.header { background: white; box-shadow: 0 4px 20px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo i { font-size: 2.2rem; color: #0f4c5c; }
.logo-text { font-weight: 700; font-size: 1.4rem; color: #0b3b47; line-height: 1.2; }
.logo-text small { display: block; font-size: 0.7rem; font-weight: 500; color: #4b5563; }
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; }
.nav-links a { text-decoration: none; color: #334155; font-weight: 500; font-size: 0.9rem; transition: color 0.2s; cursor: pointer; }
.nav-links a:hover { color: #0e7490; }
.header-phone { background: #0f4c5c; color: white; padding: 10px 20px; border-radius: 40px; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.header-phone:hover { background: #0b3b47; }

/* Hero */
.hero { background: linear-gradient(135deg, #eef6f9, #d9eaf1); padding: 60px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content h1 { font-size: 2.8rem; font-weight: 700; color: #0a2f3c; line-height: 1.2; margin-bottom: 20px; }
.hero-content .highlight { color: #0e7490; border-bottom: 3px solid #0e7490; }
.hero-content p { font-size: 1.2rem; color: #2d3a4a; margin-bottom: 28px; }
.hero-image img { width: 100%; border-radius: 24px; box-shadow: 0 12px 30px rgba(0,0,0,0.1); display: block; }
.btn-primary { background: #0f4c5c; color: white; padding: 14px 32px; border-radius: 48px; font-weight: 600; font-size: 1rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; box-shadow: 0 8px 18px rgba(15,76,92,0.25); transition: 0.2s; }
.btn-primary:hover { background: #0b3b47; transform: translateY(-2px); }
.btn-outline { background: white; color: #0f4c5c; border: 2px solid #0f4c5c; padding: 12px 28px; border-radius: 40px; font-weight: 600; cursor: pointer; transition: 0.2s; margin-top: 18px; display: inline-block; }
.btn-outline:hover { background: #0f4c5c; color: white; }
.btn-sm { padding: 12px 28px; font-size: 0.9rem; margin-top: 18px; align-self: center; }

/* Услуги */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; margin-top: 20px; }
.service-card { background: white; padding: 32px 24px; border-radius: 28px; box-shadow: 0 12px 30px rgba(0,0,0,0.04); text-align: center; transition: all 0.3s; }
.service-card:hover { transform: translateY(-6px); }
.service-icon { font-size: 2.8rem; color: #0e7490; margin-bottom: 18px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; color: #0f3b47; }

/* Шаги работы */
.steps-arrows { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 30px; }
.step-arrow-item { background: white; border-radius: 16px; padding: 28px 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.04); text-align: center; flex: 1 1 0; min-width: 200px; max-width: 260px; display: flex; flex-direction: column; justify-content: center; }
.step-arrow-item h3 { font-size: 1rem; color: #0a2f3c; margin-bottom: 6px; }
.step-arrow-item p { font-size: 0.85rem; color: #475569; }
.arrow-wrapper { display: flex; align-items: center; justify-content: center; padding: 0 10px; flex-shrink: 0; }
.arrow-icon { color: #0f4c5c; font-size: 1.6rem; }

/* Консультация */
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.consult-images { display: flex; flex-direction: column; gap: 20px; }
.consult-images img { width: 100%; border-radius: 24px; box-shadow: 0 12px 30px rgba(0,0,0,0.08); display: block; }
.consult-content h1 { font-size: 2rem; margin-bottom: 20px; color: #0a2f3c; }
.consult-content h2 { margin: 24px 0 16px; font-size: 1.3rem; }
.consult-content p { text-align: justify; }
.consult-list { list-style: none; display: grid; gap: 10px; }
.consult-list li { display: flex; align-items: flex-start; gap: 10px; text-align: left; }
.consult-list i { color: #0f4c5c; margin-top: 3px; flex-shrink: 0; }

/* Этапы консультации */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.step-card { background: white; padding: 28px 24px; border-radius: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.04); display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; }
.step-card p { text-align: center; flex-grow: 1; margin-bottom: 12px; }
.step-badge { background: #e0f2fe; color: #0f4c5c; padding: 6px 14px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; display: inline-block; width: fit-content; }
.step-card h4 { margin: 14px 0 8px; }

/* Юристы */
.lawyers-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lawyer-card { background: white; border-radius: 24px; padding: 28px 20px; text-align: center; box-shadow: 0 12px 30px rgba(0,0,0,0.04); display: flex; flex-direction: column; height: 100%; }
.lawyer-card img { width: 130px; height: 130px; border-radius: 24px; object-fit: cover; margin: 0 auto 16px; display: block; }
.lawyer-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.lawyer-role { color: #0e7490; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.lawyer-card p { font-size: 0.9rem; color: #475569; flex-grow: 1; margin-bottom: 8px; }
.lawyer-card .btn-outline { margin-top: auto; align-self: center; width: fit-content; }

/* Отзывы */
.review-card { background: white; padding: 36px 32px; border-radius: 24px; text-align: center; max-width: 500px; margin: 0 auto; box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.review-card img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; display: block; }
.review-author { font-weight: 600; margin-top: 12px; color: #0a2f3c; }

/* Контакты */
.contact-block { background: white; border-radius: 24px; padding: 32px; box-shadow: 0 8px 24px rgba(0,0,0,0.04); max-width: 700px; margin: 0 auto; }
.contact-info i { color: #0f4c5c; width: 24px; }
.contact-info p { margin: 14px 0; display: flex; align-items: center; gap: 12px; }
.contact-info a { color: #0f4c5c; text-decoration: none; }

/* Модальное окно */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal-content { background: white; border-radius: 24px; padding: 32px; max-width: 460px; width: 90%; position: relative; }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #64748b; }
.modal-content h3 { margin-bottom: 8px; color: #0a2f3c; font-size: 1.4rem; }

/* Футер */
.footer { background: #0a2f3c; color: #cbd5e1; padding: 30px 0; font-size: 0.9rem; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.footer-info p { margin-bottom: 6px; }
.footer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.footer-details strong { color: #94a3b8; margin-right: 6px; }

/* Swiper */
.swiper-button-prev, .swiper-button-next { color: #0f4c5c; }
.swiper-pagination-bullet-active { background: #0f4c5c; }

@media (max-width: 768px) {
  .hero-grid, .consult-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 12px; }
  .steps-arrows { flex-direction: column; align-items: center; gap: 8px; }
  .arrow-wrapper { transform: rotate(90deg); padding: 4px 0; }
  .step-arrow-item { max-width: 100%; min-width: auto; }
  .lawyers-row { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-details { grid-template-columns: 1fr; text-align: left; }
}