/* ================================================= */
/* CSS для сайта финансового аудита в Португалии    */
/* Цветовая палитра: #D81159, #1EAD8F, #B6F0FF,   */
/* #232323, #FFF4F0                                 */
/* ================================================= */

:root {
  --primary-fuchsia: #D81159;
  --secondary-emerald: #1EAD8F;
  --accent-blue: #B6F0FF;
  --dark-graphite: #232323;
  --light-peach: #FFF4F0;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #666;
  --border-light: #e0e0e0;
}

/* Reset и базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-graphite);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-fuchsia);
}

h2 {
  font-size: 2rem;
  color: var(--secondary-emerald);
}

h3 {
  font-size: 1.5rem;
  color: var(--dark-graphite);
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Контейнеры */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--light-peach);
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary-fuchsia) 0%, var(--secondary-emerald) 100%);
  color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 50px;
  width: auto;
}

.domain-text {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.nav {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 15px;
  border-radius: 20px;
}

.nav a:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--light-peach) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./img/kOvUZN.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--medium-gray);
}

/* SVG Check Icon */
.check-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-fuchsia), var(--secondary-emerald));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(216, 17, 89, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(216, 17, 89, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-fuchsia);
  border: 2px solid var(--primary-fuchsia);
}

.btn-secondary:hover {
  background-color: var(--primary-fuchsia);
  color: var(--white);
}

/* Grid система */
.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Карточки */
.card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--secondary-emerald);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary-fuchsia), var(--secondary-emerald));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--white);
}

/* Услуги */
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-fuchsia);
  transform: translateY(-10px);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

/* Форма */
.form-container {
  background: linear-gradient(135deg, var(--primary-fuchsia) 0%, var(--secondary-emerald) 100%);
  border-radius: 25px;
  padding: 40px;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(216, 17, 89, 0.3);
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--white);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 15px;
  font-size: 1rem;
  background-color: rgba(255,255,255,0.9);
  color: var(--dark-graphite);
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
  transform: scale(1.02);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 5px;
  transform: scale(1.2);
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Footer */
.footer {
  background: var(--dark-graphite);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--secondary-emerald);
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.footer-section a:hover {
  color: var(--primary-fuchsia);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #999;
}

/* FAQ - Modern Design */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(30, 173, 143, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-color: var(--secondary-emerald);
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-fuchsia), var(--secondary-emerald));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-toggle {
  display: none;
}

.faq-question {
  background: transparent;
  padding: 25px 70px 25px 75px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-graphite);
  transition: all 0.3s ease;
  position: relative;
  display: block;
  user-select: none;
}

.faq-question:hover {
  background: linear-gradient(135deg, rgba(182, 240, 255, 0.1), rgba(30, 173, 143, 0.05));
  color: var(--secondary-emerald);
}

.faq-question::before {
  content: '?';
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary-fuchsia), var(--secondary-emerald));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-fuchsia);
  color: white;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
  content: '−';
  transform: translateY(-50%);
  background: var(--secondary-emerald);
}

.faq-toggle:checked + .faq-question::before {
  background: linear-gradient(135deg, var(--secondary-emerald), var(--accent-blue));
  transform: translateY(-50%) scale(1.1);
}

.faq-toggle:checked + .faq-question {
  background: linear-gradient(135deg, rgba(182, 240, 255, 0.15), rgba(30, 173, 143, 0.08));
  color: var(--secondary-emerald);
}

.faq-answer {
  padding: 0 75px 0 75px;
  max-height: 0;
  overflow: hidden;
  line-height: 1.7;
  transition: all 0.4s ease;
  background: linear-gradient(135deg, rgba(244, 244, 255, 0.5), rgba(255, 255, 255, 0.8));
  color: var(--dark-graphite);
  font-size: 0.95rem;
  position: relative;
}

.faq-answer::before {
  content: '';
  position: absolute;
  left: 75px;
  top: 0;
  width: calc(100% - 150px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 25px 75px 30px 75px;
}

/* FAQ Section Specific Styling */
#faq {
  background: linear-gradient(135deg, rgba(182, 240, 255, 0.03), rgba(255, 244, 240, 0.05));
}

#faq h2 {
  color: var(--dark-graphite);
  margin-bottom: 15px;
  position: relative;
}

#faq h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-fuchsia), var(--secondary-emerald));
  border-radius: 2px;
}

/* FAQ Animation Effects */
@keyframes pulseIcon {
  0% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.1);
  }
  100% {
    transform: translateY(-50%) scale(1);
  }
}

.faq-toggle:checked + .faq-question::before {
  animation: pulseIcon 0.3s ease;
}

.faq-item {
  animation: slideInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ Hover Effects */
.faq-question:active {
  transform: scale(0.98);
}

.faq-answer {
  opacity: 0;
  transform: translateY(-10px);
}

.faq-toggle:checked ~ .faq-answer {
  opacity: 1;
  transform: translateY(0);
}

/* Отзывы */
.testimonial {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  position: relative;
  margin-bottom: 30px;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-fuchsia);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  padding-left: 30px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--secondary-emerald);
  text-align: right;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-graphite);
  color: var(--white);
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease;
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .logo-section {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .nav {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 25px;
    border-radius: 15px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .card {
    padding: 20px;
  }
  
  .service-card {
    padding: 25px;
  }
  
  /* FAQ Mobile Responsiveness */
  .faq-question {
    padding: 20px 60px 20px 60px;
    font-size: 1rem;
  }
  
  .faq-question::before {
    left: 20px;
    width: 25px;
    height: 25px;
    font-size: 1rem;
  }
  
  .faq-question::after {
    right: 20px;
    width: 16px;
    height: 16px;
  }
  
  .faq-answer {
    padding: 0 60px 0 60px;
    font-size: 0.9rem;
  }
  
  .faq-toggle:checked ~ .faq-answer {
    padding: 20px 60px 25px 60px;
  }
  
  .faq-answer::before {
    left: 60px;
    width: calc(100% - 120px);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 15px;
  }
  
  .service-image {
    height: 150px;
  }
  
  .logo-section {
    gap: 5px;
  }
  
  .domain-text {
    font-size: 1rem;
  }
}

/* Animações suaves */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
} 