:root {
  /* Цветовая схема "Дополнительная" - ретро стиль с динамическими переходами */
  --primary-color: #ff6b00; /* Основной оранжевый */
  --primary-dark: #e25a00;
  --primary-light: #ff8f3f;
  
  --secondary-color: #1e88e5; /* Дополнительный синий */
  --secondary-dark: #1565c0;
  --secondary-light: #64b5f6;
  
  --accent-color: #8e24aa; /* Акцентный фиолетовый */
  --accent-dark: #6a1b9a;
  --accent-light: #ab47bc;
  
  --background-light: #ffffff;
  --background-off: #f9f7f5;
  --background-tint: #fff8f3;
  
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --text-white: #ffffff;
  
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  
  /* Ретро-элементы */
  --border-radius: 6px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Базовые стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s var(--transition-smooth);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Контейнеры и сетка */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: var(--text-dark);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 20px auto 0;
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-medium);
  font-size: 1.1rem;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s var(--transition-bounce);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text-white);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--text-white);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

button, 
input[type="submit"] {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s var(--transition-bounce);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  background: var(--gradient-primary);
  color: var(--text-white);
}

button:hover, 
input[type="submit"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  background: var(--primary-dark);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 0;
  transition: all 0.3s var(--transition-smooth);
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.logo a {
  color: var(--primary-color);
  transition: all 0.3s var(--transition-smooth);
}

.logo a:hover {
  color: var(--primary-dark);
}

.nav-menu ul {
  display: flex;
  list-style: none;
}

.nav-menu ul li {
  margin-left: 25px;
}

.nav-menu ul li a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-menu ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s var(--transition-bounce);
}

.nav-menu ul li a:hover {
  color: var(--primary-color);
}

.nav-menu ul li a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s var(--transition-bounce);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
  padding-top: 80px;
  color: var(--text-white);
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-content h1 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  color: var(--text-white);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Historia Section */
.historia {
  background-color: var(--background-tint);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-light), var(--secondary-light), var(--accent-light));
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 4px;
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  right: -12px;
  background-color: var(--primary-color);
  border: 4px solid var(--background-light);
  top: 22px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.2);
}

.timeline-item:nth-child(even)::after {
  left: -12px;
}

.year {
  position: absolute;
  display: inline-block;
  padding: 8px 16px;
  background: var(--gradient-primary);
  color: var(--text-white);
  border-radius: var(--border-radius);
  font-weight: 700;
  top: -10px;
  font-family: 'Archivo Black', sans-serif;
}

.timeline-item:nth-child(odd) .year {
  right: -100px;
}

.timeline-item:nth-child(even) .year {
  left: -100px;
}

.timeline-item .content {
  padding: 25px;
  background-color: var(--background-light);
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-item .content h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.timeline-item .image-container {
  margin-top: 20px;
  text-align: center;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.timeline-item .image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s var(--transition-smooth);
  object-fit: cover;
}

.timeline-item:hover .image-container img {
  transform: scale(1.05);
}

/* Servicios Section */
.servicios {
  background-color: var(--background-light);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--background-off);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth);
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.progress-indicator {
  margin-top: 20px;
}

.progress-bar {
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 1.5s var(--transition-bounce);
}

.progress-bar[data-progress="90"]::before {
  width: 90%;
}

.progress-bar[data-progress="85"]::before {
  width: 85%;
}

.progress-bar[data-progress="92"]::before {
  width: 92%;
}

.progress-bar[data-progress="88"]::before {
  width: 88%;
}

.progress-bar[data-progress="95"]::before {
  width: 95%;
}

.progress-bar[data-progress="91"]::before {
  width: 91%;
}

.progress-indicator span {
  font-size: 0.85rem;
  color: var(--text-medium);
  font-weight: 500;
}

/* Recursos Externos Section */
.recursos-externos {
  background-color: var(--background-tint);
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.recurso-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recurso-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.recurso-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-light);
  padding: 5px;
}

.recurso-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s var(--transition-smooth);
}

.recurso-card:hover .recurso-icon img {
  transform: scale(1.1);
}

.recurso-card h3 {
  color: var(--primary-color);
  margin-top: 10px;
  font-size: 1.3rem;
}

.recurso-card p {
  color: var(--text-medium);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Testimonios Section */
.testimonios {
  background-color: var(--background-light);
}

.custom-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.slider-container {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.slider-track {
  display: flex;
  transition: transform 0.5s var(--transition-smooth);
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--background-off);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 4px solid var(--primary-color);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  flex-grow: 1;
}

.testimonial-content .quote {
  font-style: italic;
  color: var(--text-medium);
  position: relative;
  padding: 0 20px;
  margin-bottom: 20px;
}

.testimonial-content .quote::before,
.testimonial-content .quote::after {
  content: '"';
  font-size: 50px;
  color: var(--primary-light);
  opacity: 0.5;
  position: absolute;
  line-height: 0;
}

.testimonial-content .quote::before {
  top: 15px;
  left: -15px;
}

.testimonial-content .quote::after {
  content: '"';
  bottom: -5px;
  right: -15px;
}

.author h4 {
  color: var(--text-dark);
  margin-bottom: 5px;
}

.author p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.prev-btn, .next-btn {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: all 0.3s var(--transition-bounce);
  box-shadow: none;
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin: 0 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-light);
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Prensa Section */
.prensa {
  background-color: var(--background-tint);
}

.prensa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.prensa-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prensa-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.prensa-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.prensa-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth);
}

.prensa-card:hover .card-image img {
  transform: scale(1.1);
}

.prensa-card .card-content {
  padding: 25px;
  text-align: left;
}

.fecha {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.prensa-card .card-content h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.prensa-card .btn {
  margin-top: 15px;
}

/* Webinars Section */
.webinars {
  background-color: var(--background-light);
}

.webinars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.webinar-card {
  background-color: var(--background-off);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s var(--transition-smooth);
  display: flex;
  align-items: flex-start;
}

.webinar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 15px;
  width: 100px;
  flex-shrink: 0;
}

.card-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  font-family: 'Archivo Black', sans-serif;
}

.card-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.webinar-card .card-content {
  padding: 25px;
  text-align: left;
}

.webinar-card .card-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.webinar-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.detail {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.detail .icon {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* Behind the Scenes Section */
.behind-scenes {
  background-color: var(--background-tint);
}

.behind-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.behind-item {
  display: flex;
  gap: 40px;
  align-items: center;
}

.behind-item:nth-child(even) {
  flex-direction: row-reverse;
}

.behind-item .image-container {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.behind-item .image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s var(--transition-smooth);
  object-fit: cover;
}

.behind-item:hover .image-container img {
  transform: scale(1.05);
}

.behind-item .content {
  flex: 1;
}

.behind-item .content h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Contacto Section */
.contacto {
  background-color: var(--background-light);
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.contacto-info {
  background-color: var(--background-off);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contacto-info h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-details {
  margin-top: 30px;
}

.detail {
  display: flex;
  margin-bottom: 20px;
}

.detail .icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-right: 15px;
  flex-shrink: 0;
}

.detail h4 {
  color: var(--text-dark);
  margin-bottom: 5px;
}

.detail p {
  color: var(--text-medium);
  margin-bottom: 0;
}

.contacto-form {
  background-color: var(--background-off);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  background-color: var(--background-light);
  font-size: 1rem;
  transition: border-color 0.3s var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

/* Media Section */
.media {
  background-color: var(--background-tint);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.media-item {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.media-image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth);
}

.media-item:hover .media-image img {
  transform: scale(1.1);
}

.play-button, .download-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 107, 0, 0.8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s var(--transition-bounce);
  z-index: 2;
}

.media-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s var(--transition-smooth);
}

.media-item:hover .media-image::before {
  opacity: 1;
}

.media-item:hover .play-button,
.media-item:hover .download-button {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: rgba(255, 107, 0, 1);
}

.media-content {
  padding: 25px;
  text-align: center;
}

.media-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.duration, .format {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--text-white);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-top: 15px;
}

/* Footer */
.footer {
  background-color: #292929;
  color: var(--text-light);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-logo p {
  color: var(--text-light);
}

.footer h4 {
  color: var(--text-white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: var(--text-light);
  transition: color 0.3s var(--transition-smooth);
}

.footer ul li a:hover {
  color: var(--primary-color);
}

.footer-social ul li a {
  display: flex;
  align-items: center;
}

.footer-social ul li a:hover {
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
  background-color: var(--background-tint);
}

.success-content {
  max-width: 600px;
  background-color: var(--background-light);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  margin: 0 auto 30px;
}

.success-content h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.success-content p {
  margin-bottom: 30px;
}

/* Privacy & Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 50px;
}

.page-content h1 {
  color: var(--primary-color);
  margin-bottom: 30px;
}

.page-content h2 {
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-content p {
  margin-bottom: 20px;
}

.page-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-content ul li {
  margin-bottom: 10px;
}

/* Cookie Consent */
#cookieConsent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 20px;
  text-align: center;
  z-index: 9999;
}

#acceptCookies {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s var(--transition-bounce);
}

#acceptCookies:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item::after {
    left: 19px;
    right: auto;
  }
  
  .timeline-item:nth-child(even)::after {
    left: 19px;
  }
  
  .timeline-item:nth-child(odd) .year,
  .timeline-item:nth-child(even) .year {
    left: -45px;
    right: auto;
    text-align: center;
    width: 90px;
  }
  
  .behind-item,
  .behind-item:nth-child(even) {
    flex-direction: column;
    gap: 30px;
  }
  
  .contacto-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 15px 15px;
    transform: translateY(-150%);
    transition: transform 0.3s var(--transition-bounce);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu ul li {
    margin: 15px 0;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo, .footer-nav, .footer-legal, .footer-social {
    margin-bottom: 30px;
  }
  
  .footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .footer ul li {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .timeline-item {
    padding: 15px 15px 15px 60px;
  }
  
  .timeline-item .content {
    padding: 15px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .contacto-info, .contacto-form {
    padding: 25px;
  }
}

/* Additional Animations and Effects */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float {
  animation: float 5s ease-in-out infinite;
}

.parallax {
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding-right: 20px;
  transition: all 0.3s var(--transition-bounce);
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s var(--transition-bounce);
}

.read-more:hover {
  color: var(--primary-dark);
  padding-right: 25px;
}

.read-more:hover::after {
  right: -5px;
}

/* Dynamic color transitions */
.dynamic-color {
  position: relative;
  overflow: hidden;
}

.dynamic-color::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s var(--transition-smooth);
}

.dynamic-color:hover::before {
  left: 100%;
}

/* Retro design elements */
.retro-pattern {
  position: relative;
}

.retro-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary-light) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.1;
  z-index: -1;
}

.retro-border {
  border: 3px solid;
  border-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color)) 1;
}

.retro-text {
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0px var(--primary-light);
}