/* Основные стили для сайта финансового аудита в Испании */

:root {
  --primary: #1B1F3B;    /* Темно-синий графитовый */
  --accent: #F9A826;     /* Яркий янтарный */
  --background: #F6F5F1; /* Мягкий бежевый */
  --secondary-text: #5B6270; /* Серый антрацит */
  --gradient: linear-gradient(135deg, #E3F0FF, #F9F9F9);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--primary);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--secondary-text);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.section {
  padding: 80px 0;
}

/* Header */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 50px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

/* Hero */
.hero {
  background: url('../img/ulL9bb.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 140px 0 80px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 31, 59, 0.7);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  animation: fade-in 1s ease;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  animation: fade-in 1.2s ease;
  color: white;
}

.hero .btn {
  animation: fade-in 1.4s ease;
}

/* About */
.about {
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Features */
.features {
  background: var(--gradient);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  flex: 1 1 300px;
  max-width: 350px;
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

/* Services */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 1 1 300px;
  max-width: 350px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 25px;
}

/* Testimonials */
.testimonials {
  background: var(--gradient);
  text-align: center;
}

.testimonials-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding: 20px 0;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  flex: 0 0 100%;
  scroll-snap-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Case Studies */
.cases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.case-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 1 1 300px;
  max-width: 350px;
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-10px);
}

.case-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-content {
  padding: 25px;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  background: white;
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  transition: var(--transition);
}

.faq-answer {
  background: #f9f9f9;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:target .faq-answer {
  padding: 20px;
  max-height: 500px;
}

.faq-item:target .faq-question::after {
  content: '-';
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h4 {
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-link {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-text {
  flex: 1;
  padding-right: 20px;
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fade-in 0.8s ease;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    position: relative;
  }

  .hero {
    padding-top: 30px;
  }

  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 20px;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .feature-card, .service-card, .case-card {
    flex: 1 1 100%;
  }
  
  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px 0 60px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
} 