:root {
  --primary-color: #333;
  --primary-light: #555;
  --primary-dark: #222;
  --accent-color: #666;
  --accent-light: #999;
  --accent-dark: #444;
  --text-color: #333;
  --text-light: #666;
  --text-white: #fff;
  --bg-color: #f5f5f5;
  --bg-dark: #222;
  --bg-light: #fff;
  --border-radius: 8px;
  --card-radius: 15px;
  --transition: all 0.3s ease;
  --box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  --glassmorphism: rgba(255, 255, 255, 0.25);
  --glassmorphism-dark: rgba(0, 0, 0, 0.25);
  --gradient: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  --section-padding: 80px 0;
  --container-padding: 0 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

p {
  margin-bottom: 15px;
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Button Styles - GLOBAL */
.btn, 
button,
input[type="submit"] {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-radius: var(--border-radius);
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover, 
button:hover,
input[type="submit"]:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

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

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

/* Section Styles */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  color: var(--primary-dark);
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light);
}

/* Glassmorphism Style */
.glassmorphism {
  background: var(--glassmorphism);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--box-shadow);
  border-radius: var(--card-radius);
}

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

header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 24px;
}

.logo span {
  color: var(--primary-light);
  margin-left: 5px;
}

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

.desktop-menu ul li {
  margin-left: 30px;
}

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

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

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

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-dark);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  opacity: 0;
  transform: translateY(-20px);
  transition: var(--transition);
  z-index: 999;
}

.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  margin-bottom: 15px;
}

.mobile-menu ul li a {
  color: var(--text-color);
  font-weight: 600;
}

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

.hero:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.servicios-carousel {
  position: relative;
  margin-top: 50px;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  gap: 30px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}

.carousel-controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-controls button:hover {
  background: var(--primary-light);
  transform: scale(1.1);
}

/* Card Styles */
.card {
  background: var(--bg-light);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  max-width: 400px;
  flex: 0 0 calc(33.333% - 20px);
}

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

.card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

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

.card-content p {
  color: var(--text-color);
  margin-bottom: 20px;
}

/* Proceso Section */
.proceso {
  background-color: var(--bg-light);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.proceso:before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 200px;
  background: var(--bg-light);
  transform: skewY(-5deg);
  z-index: -1;
}

.proceso-steps {
  margin-top: 50px;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--card-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
  background: var(--primary-color);
  color: var(--text-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  margin-right: 30px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.step-content p {
  color: var(--text-color);
}

/* Equipo Section */
.equipo {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.cargo {
  font-size: 16px;
  color: var(--primary-light);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Detrás de las Escenas Section */
.detras-escenas {
  padding: var(--section-padding);
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.gallery-container {
  position: relative;
  margin-top: 50px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.gallery-item {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 20px;
  color: var(--text-white);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.gallery-controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-controls button:hover {
  background: var(--primary-light);
  transform: scale(1.1);
}

/* Recursos Section */
.recursos {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

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

.recurso-card {
  background: var(--bg-light);
  border-radius: var(--card-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.recurso-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--primary-dark);
  text-align: center;
}

.recurso-card ul {
  list-style: none;
}

.recurso-card ul li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.recurso-card ul li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.recurso-card ul li a {
  color: var(--text-color);
  transition: var(--transition);
}

.recurso-card ul li a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Estadísticas Section */
.estadisticas {
  padding: var(--section-padding);
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--card-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: inline-block;
}

.stat-percentage {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-block;
  margin-left: 5px;
}

.stat-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 15px;
}

.stat-item p {
  color: var(--text-color);
  font-size: 16px;
}

/* FAQ Section */
.faq {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  margin-bottom: 20px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-question {
  padding: 20px 30px;
  background: var(--primary-color);
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question h3 {
  font-size: 18px;
  margin: 0;
  color: var(--text-white);
}

.toggle-icon {
  font-size: 24px;
  transition: var(--transition);
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px 30px;
  max-height: 1000px; /* Adjust based on content */
}

/* Contacto Section */
.contacto {
  padding: var(--section-padding);
  background-color: var(--bg-light);
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.info-item {
  margin-bottom: 30px;
}

.info-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.info-item p {
  color: var(--text-color);
  margin-bottom: 8px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: var(--card-radius);
  box-shadow: var(--box-shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: var(--text-color);
  transition: var(--transition);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 80px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo h2 {
  color: var(--text-white);
  margin-bottom: 15px;
  font-size: 28px;
}

.footer-logo span {
  color: var(--accent-light);
}

.footer-logo p {
  color: var(--accent-light);
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 50px;
}

.links-column h3 {
  color: var(--text-white);
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.links-column h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.links-column ul {
  list-style: none;
}

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

.links-column ul li a {
  color: var(--accent-light);
  transition: var(--transition);
}

.links-column ul li a:hover {
  color: var(--text-white);
  padding-left: 5px;
}

.social-links li a {
  display: inline-block;
  color: var(--accent-light);
  transition: var(--transition);
}

.social-links li a:hover {
  color: var(--text-white);
  transform: translateY(-3px);
}

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

.footer-bottom p {
  color: var(--accent-light);
  margin-bottom: 5px;
}

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

.success-content {
  max-width: 600px;
  padding: 50px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--card-radius);
  box-shadow: var(--box-shadow);
}

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

.success-content p {
  color: var(--text-color);
  margin-bottom: 30px;
}

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

.page-content h1 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-dark);
}

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

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

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

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

/* Media Queries */
@media (max-width: 1200px) {
  .section-title {
    font-size: 32px;
  }
  
  .hero-content h1 {
    font-size: 42px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-logo {
    margin-bottom: 40px;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .desktop-menu {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .btn, button, input[type="submit"] {
    width: 100%;
  }
  
  .faq-question h3 {
    font-size: 16px;
  }
}

/* Animations */
@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.morph-bg {
  animation: morphing 8s ease-in-out infinite;
  background: var(--gradient);
  position: absolute;
  z-index: -1;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  z-index: 9999;
}

.custom-cursor.active {
  transform: translate(-50%, -50%) scale(2);
  background-color: rgba(0, 0, 0, 0.1);
}

/* Read More Links */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 10px;
  position: relative;
  padding-right: 20px;
  transition: var(--transition);
}

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

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

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

/* Cookie Consent styles are inline in HTML */
h1{
  font-size: 20px;
}
.burger-menu{
  display: none;
}