/* Legal Pages Styles - Serrurier Dépannage 24 */

:root {
  /* Использование цветовой палитры из основного сайта */
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --accent-color: #27AE60;
  --dark-color: #1A252F;
  --light-color: #ECF0F1;
  --text-color: #34495E;
  --danger-color: #E74C3C;
  --warning-color: #F39C12;
  --success-color: #27AE60;
  --info-color: #3498DB;

  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  --gradient-hero: linear-gradient(165deg, #1A252F 0%, #2C3E50 50%, #34495E 100%);
  --gradient-accent: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);

  /* Тени */
  --shadow-sm: 0 2px 4px rgba(44, 62, 80, 0.1);
  --shadow-md: 0 4px 12px rgba(44, 62, 80, 0.15);
  --shadow-lg: 0 8px 24px rgba(44, 62, 80, 0.2);
  --shadow-xl: 0 16px 48px rgba(44, 62, 80, 0.25);
}

/* Reset для страницы */
.legal-main * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(44, 62, 80, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.875rem;
  color: var(--text-color);
  opacity: 0.8;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.home-link,
.blog-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.home-link {
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--shadow-sm);
}

.home-link img {
  filter: brightness(0) invert(1);
}

.home-link:hover {
  background: var(--secondary-color) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white !important;
}

.blog-link {
  background: white;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
}

.blog-link:hover {
  background: var(--primary-color);
  color: white !important;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Main Content */
.legal-main {
  padding-top: 100px;
  min-height: 100vh;
  background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
}

/* Mentions Section */
.mentions-section {
  padding: 3rem 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.mentions-content {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.mentions-content::before {
  content: '🔐';
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 150px;
  opacity: 0.05;
  transform: rotate(-15deg);
}

.mentions-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--secondary-color);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 2rem;
  text-align: center;
}

.mentions-info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--secondary-color);
}

.mentions-info h2:first-child {
  margin-top: 0;
}

.mentions-info h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 30px;
}

.mentions-info h3::before {
  content: '🔑';
  position: absolute;
  left: 0;
  font-size: 1rem;
  opacity: 0.5;
}

.info-block {
  background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--accent-color);
}

.info-block p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.info-block p:last-child {
  margin-bottom: 0;
}

.info-block strong {
  color: var(--dark-color);
  font-weight: 600;
}

.info-block a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.info-block a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Fixed Call Button */
.fixed-call-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: var(--gradient-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 25px rgba(230, 126, 34, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.fixed-call-button:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 35px rgba(230, 126, 34, 0.6);
}

.fixed-call-button svg {
  width: 30px;
  height: 30px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 5px 25px rgba(230, 126, 34, 0.4);
  }
  50% {
    box-shadow: 0 5px 35px rgba(230, 126, 34, 0.6);
  }
  100% {
    box-shadow: 0 5px 25px rgba(230, 126, 34, 0.4);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-container {
    padding: 0.75rem 1rem;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .logo-title {
    font-size: 1.1rem;
  }

  .logo-subtitle {
    font-size: 0.75rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .home-link,
  .blog-link {
    padding: 0.6rem 1rem;
  }

  .home-link span,
  .blog-link span {
    display: none;
  }

  .legal-main {
    padding-top: 80px;
  }

  .mentions-section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .mentions-content {
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }

  .mentions-title {
    font-size: 1.75rem;
  }

  .mentions-info h2 {
    font-size: 1.5rem;
  }

  .mentions-info h3 {
    font-size: 1.2rem;
  }

  .info-block {
    padding: 1rem;
  }

  .fixed-call-button {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .fixed-call-button svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-subtitle {
    display: none;
  }

  .home-link,
  .blog-link {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
  }

  .mentions-content {
    padding: 1.5rem 1rem;
  }

  .mentions-title {
    font-size: 1.5rem;
  }

  .mentions-info h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
  }

  .mentions-info h3 {
    font-size: 1.1rem;
    padding-left: 25px;
  }

  .info-block {
    padding: 0.875rem;
    margin-bottom: 0.75rem;
  }

  .info-block p {
    font-size: 0.95rem;
  }
}

/* Минимальные экраны (375px) */
@media (max-width: 375px) {
  .header-container {
    padding: 0.5rem;
  }

  .logo-section {
    gap: 0.5rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .logo-title {
    font-size: 0.95rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .home-link,
  .blog-link {
    padding: 0.45rem 0.65rem;
  }

  .home-link svg,
  .blog-link svg {
    width: 18px;
    height: 18px;
  }

  .mentions-section {
    padding: 1.5rem 0;
  }

  .mentions-content {
    padding: 1.25rem 0.875rem;
  }

  .mentions-title {
    font-size: 1.35rem;
  }

  .mentions-info h2 {
    font-size: 1.25rem;
  }

  .mentions-info h3 {
    font-size: 1rem;
  }

  .info-block {
    padding: 0.75rem;
  }

  .info-block p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .fixed-call-button {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .fixed-call-button svg {
    width: 22px;
    height: 22px;
  }
}