/*
Theme Name: Legal Advocate Pro
Description: Professional legal services theme for property rights advocacy
Version: 1.0.0
Author: Legal Advocate Pro
Text Domain: legal-theme
*/

/* CSS Custom Properties for Legal Theme Colors */
:root {
  --legal-navy: hsl(220, 100%, 15%);
  --legal-blue: hsl(219, 100%, 25%);
  --legal-gold: hsl(43, 100%, 48%);
  --legal-light: hsl(220, 14.3%, 95.9%);
  --border: hsl(214.3, 31.8%, 91.4%);
  --primary: hsl(222.2, 84%, 4.9%);
  --white: #ffffff;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --accent: hsl(43, 100%, 48%);
  --muted-foreground: hsl(215.4, 16.3%, 46.9%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--legal-navy);
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bg-legal-navy { background-color: var(--legal-navy); }
.bg-legal-blue { background-color: var(--legal-blue); }
.bg-legal-gold { background-color: var(--legal-gold); }
.bg-legal-light { background-color: var(--legal-light); }
.bg-white { background-color: var(--white); }

.text-legal-navy { color: var(--legal-navy); }
.text-legal-blue { color: var(--legal-blue); }
.text-legal-gold { color: var(--legal-gold); }
.text-white { color: var(--white); }
.text-accent { color: var(--accent); }
.text-muted-foreground { color: var(--muted-foreground); }

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--legal-navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--legal-navy);
}

/* Navigation */
.main-navigation {
  display: none;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.main-navigation a {
  color: var(--legal-navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.main-navigation a:hover {
  color: var(--legal-blue);
}

/* CTA Section */
.header-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

/* Phone Link - предотвращаем перенос на две строки */
.phone-link {
    color: var(--legal-navy);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.phone-link:hover {
  color: var(--legal-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--legal-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--legal-navy);
}

.btn-hero {
  background-color: var(--accent);
  color: var(--white);
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.btn-hero:hover {
  background-color: var(--legal-gold);
}

.btn-outline-hero {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.btn-outline-hero:hover {
  background-color: var(--white);
  color: var(--legal-navy);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: block;
  padding: 0.5rem;
  color: var(--legal-navy);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.95);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  display: block;
  color: var(--legal-navy);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.125rem;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--legal-blue);
}

/* Hero Section - FULL SCREEN with background image */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(34, 51, 84, 0.9), rgba(56, 84, 135, 0.8), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero Statistics */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 36rem;
  margin: 0 auto;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--white);
  font-size: 0.875rem;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background-color: var(--legal-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--legal-navy);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  border: none;
  transition: all 0.3s;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

.service-header {
  text-align: center;
  padding: 2rem 2rem 1rem;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--legal-navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--legal-navy);
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: var(--primary);
}

.service-content {
  padding: 0 2rem 2rem;
  text-align: center;
}

.service-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-choose-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--legal-navy);
  margin-bottom: 1.5rem;
}

.why-choose-content p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.advantage-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--accent), var(--legal-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--legal-navy);
  margin-bottom: 0.5rem;
}

.advantage-content p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

.why-choose-image {
  position: relative;
}

.why-choose-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.experience-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--legal-gold));
  color: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  text-align: center;
}

.experience-number {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.experience-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Consultation Form Section */
.consultation-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--legal-blue), var(--legal-navy));
}

.consultation-header {
  text-align: center;
  margin-bottom: 4rem;
}

.consultation-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.consultation-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto;
}

.consultation-grid {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  border: none;
}

.form-header {
  padding: 2rem 2rem 1rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--legal-navy);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--muted-foreground);
}

.form-content {
  padding: 0 2rem 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s;
  height: 3rem;
}

.form-group textarea {
  height: auto;
  resize: vertical;
  min-height: 6rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--legal-blue);
}

.btn-legal {
  background-color: var(--accent);
  color: var(--white);
  width: 100%;
  height: 3rem;
  font-size: 1rem;
  font-weight: 500;
}

.btn-legal:hover {
  background-color: var(--legal-gold);
}

.privacy-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 1rem;
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
  color: var(--white);
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-value {
  color: rgba(255, 255, 255, 0.9);
}

.emergency-card {
  background-color: rgba(255, 193, 7, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.emergency-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.emergency-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.emergency-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* Footer - Восстанавливаем оригинальный дизайн */
.site-footer {
    background-color: var(--legal-navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--legal-gold);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--legal-gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-section-header h3 {
    color: var(--legal-gold);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.footer-section-header .w-10 {
    width: 2.5rem;
}

.footer-section-header .h-10 {
    height: 2.5rem;
}

.footer-section-header .bg-accent {
    background-color: var(--accent);
}

.footer-section-header .rounded-full {
    border-radius: 9999px;
}

.footer-section-header .flex {
    display: flex;
}

.footer-section-header .items-center {
    align-items: center;
}

.footer-section-header .justify-center {
    justify-content: center;
}

.footer-section-header .text-xl {
    font-size: 1.25rem;
}

.footer-section-header .font-bold {
    font-weight: 700;
}

.footer-section .text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section .text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

.footer-section .text-accent {
    color: var(--accent);
}

.footer-section .font-medium {
    font-weight: 500;
}

.footer-section .space-y-3 > * + * {
    margin-top: 0.75rem;
}

.footer-section .space-y-4 > * + * {
    margin-top: 1rem;
}

.footer-section .space-y-2 > * + * {
    margin-top: 0.5rem;
}

.footer-section .mt-4 {
    margin-top: 1rem;
}

.footer-section .flex {
    display: flex;
}

.footer-section .items-center {
    align-items: center;
}

.footer-section .items-start {
    align-items: flex-start;
}

.footer-section .gap-3 {
    gap: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom .md\:flex-row {
    flex-direction: row;
}

.footer-bottom .justify-between {
    justify-content: space-between;
}

.footer-bottom .items-center {
    align-items: center;
}

.footer-bottom .gap-4 {
    gap: 1rem;
}

.footer-bottom .gap-6 {
    gap: 1.5rem;
}

.footer-bottom .text-sm {
    font-size: 0.875rem;
}

.footer-bottom .hover\:text-white:hover {
    color: var(--white);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .transition-colors {
    transition: color 0.2s;
}

/* Responsive Design */
@media (min-width: 768px) {
  .main-navigation,
  .header-cta {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero-content h1,
  .hero-content h2 {
    font-size: 4rem;
  }
  
  .hero-content h1 {
    font-size: 3.75rem;
  }
  
  .hero-content h2 {
    font-size: 3.75rem;
  }
}

@media (max-width: 767px) {
  .hero-content h1,
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .consultation-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .consultation-title {
    font-size: 2rem;
  }
}

@media (max-width: 1023px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .why-choose-image {
    order: -1;
  }
}

/* SVG Icons - Восстанавливаем оригинальные цвета */
.service-svg-icon,
.advantage-svg-icon,
.contact-svg-icon,
.footer-icon,
.logo-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Иконки услуг - белые на синем фоне */
.service-icon .service-svg-icon {
    width: 32px;
    height: 32px;
    color: white;
}

/* Иконки преимуществ - белые на золотом фоне */
.advantage-icon .advantage-svg-icon {
    width: 24px;
    height: 24px;
    color: white;
}

/* Иконки контактов - белые на золотом фоне */
.contact-icon .contact-svg-icon {
    width: 24px;
    height: 24px;
    color: white;
}

/* Иконки футера - белые на темном фоне */
.footer-icon {
    width: 20px;
    height: 20px;
    color: var(--white);
}

/* Логотип - золотой */
.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--legal-gold);
}

/* Service Cards - Восстанавливаем оригинальный дизайн */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--legal-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--legal-navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Advantages */
.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.advantage-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--legal-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-content h3 {
    color: var(--legal-navy);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.advantage-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Contact Info Cards */
.contact-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--legal-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-content h3 {
    color: var(--legal-navy);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.contact-content .emergency {
    color: var(--accent);
    font-weight: 600;
}

/* Footer Icons */
.footer-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-section-header h3 {
    color: var(--legal-navy);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.company-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--legal-navy);
    margin: 0;
}

.company-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Why Choose Us Section - Восстанавливаем оригинальный дизайн */
.why-choose-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-choose-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--legal-navy);
    margin-bottom: 1rem;
}

.why-choose-text p {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.advantage-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--legal-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-content h3 {
    color: var(--legal-navy);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.advantage-content p {
    color: var(--muted-foreground);
    line-height: 1.4;
    font-size: 0.875rem;
}

.why-choose-image {
    position: relative;
}

.why-choose-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--legal-gold));
    color: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    text-align: center;
}

.experience-years {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: block;
}

.experience-text {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Consultation Form Section - Восстанавливаем оригинальный дизайн */
.consultation-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--legal-blue), var(--legal-navy));
}

.consultation-content {
    max-width: 64rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.consultation-form {
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    border: none;
    padding: 2rem;
}

.consultation-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--legal-navy);
    margin-bottom: 0.5rem;
}

.consultation-form p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    height: 3rem;
}

.form-group textarea {
    height: auto;
    resize: vertical;
    min-height: 6rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--legal-blue);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    width: 100%;
    height: 3rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--legal-gold);
}

/* Contact Info Cards - Восстанавливаем оригинальный дизайн */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    color: var(--white);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-content h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.contact-content .emergency {
    color: var(--accent);
    font-weight: 600;
}

/* Form Messages */
.success-message {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #166534;
}

.error-message {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #991b1b;
}

.success-message p,
.error-message p {
    margin: 0;
    font-size: 0.875rem;
}

.section-header h2 {
    color: var(--white);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--white);
    font-size: 1.25rem;
    max-width: 48rem;
    margin: 0 auto;
}
