/* Variables & Reset */
:root {
  --primary-color: #6a26cd;
  --primary-light: #8949e6;
  --primary-dark: #4e1a9e;
  --secondary-color: #a98aed;
  --accent-color: #e63946;
  --text-color: #333333;
  --text-light: #666666;
  --text-dark: #1a1a1a;
  --background-color: #f5f7fa;
  --background-light: #ffffff;
  --background-dark: #e7eaef;
  --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 15px;
  --border-radius-sm: 8px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --container-width: 1200px;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

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

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

/* Neuromorphism Styles */
.neuro-card {
  border-radius: var(--border-radius);
  background: var(--background-light);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05), 
              -10px -10px 20px rgba(255, 255, 255, 0.8);
  padding: var(--spacing-md);
  transition: var(--transition);
}

.neuro-card:hover {
  box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.07), 
              -15px -15px 30px rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
}

.neuro-button {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1),
              -5px -5px 10px rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.neuro-button:hover {
  background: var(--primary-light);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15),
              -3px -3px 5px rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.neuro-button:active {
  box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.1),
              inset -3px -3px 5px rgba(255, 255, 255, 0.7);
  transform: translateY(0);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.navbar {
  padding: 1rem 0;
}

.navbar-item {
  font-weight: 500;
  transition: var(--transition);
}

.navbar-item:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero-body {
  padding: var(--spacing-xl) 0;
}

.hero .title, 
.hero .subtitle {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .button {
  margin-top: var(--spacing-md);
}

.icon-scroll {
  width: 30px;
  height: 50px;
  margin: 0 auto;
  border: 2px solid white;
  border-radius: 25px;
  position: relative;
  animation: floating 2s ease-in-out infinite;
}

.icon-scroll::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Sections Common */
.section {
  padding: var(--spacing-lg) 0;
}

.section .title {
  margin-bottom: var(--spacing-sm);
  position: relative;
  display: inline-block;
}

.section .title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.section .subtitle {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.section h3 {
  margin-bottom: 30px;
}

/* Cards */
.card {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin-bottom: var(--spacing-md);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

.card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card .title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.card .subtitle {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.card .content {
  flex-grow: 1;
  margin-bottom: var(--spacing-md);
}

.card .button {
  align-self: flex-start;
}

/* Buttons */
.button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(106, 38, 205, 0.3);
}

.button:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(106, 38, 205, 0.4);
}

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

.button.is-primary:hover {
  background-color: var(--primary-light);
}

.button.is-rounded {
  border-radius: 9999px;
}

/* Marcas Section */
.marcas-section {
  background-color: var(--background-light);
}

/* Precios Section */
.precios-section {
  background-color: var(--background-color);
}

.precios-section .card {
  text-align: center;
}

.precios-section .card .title {
  color: var(--primary-dark);
}

.precios-section .card .subtitle {
  font-weight: 700;
}

/* Services Section */
.services-section {
  background-color: var(--background-light);
}

.services-section .card {
  text-align: left;
}

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

.faq-item {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item .title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  cursor: pointer;
}

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

.timeline {
  position: relative;
  margin-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--primary-color);
}

.timeline-item {
  margin-bottom: var(--spacing-md);
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid white;
  top: 0;
}

.timeline-content {
  margin-left: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-content .title {
  color: var(--primary-color);
}

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

/* Insights Section */
.insights-section {
  background-color: var(--background-light);
}

/* Process Section */
.process-section {
  background-color: var(--background-color);
}

.process-item {
  position: relative;
  padding: var(--spacing-md);
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: var(--spacing-md);
}

.process-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.carousel-container {
  overflow: hidden;
  position: relative;
}

.carousel-slide {
  display: none;
}

.carousel-slide:first-child {
  display: block;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-md);
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
  border: 5px solid var(--primary-color);
}

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

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

.testimonial-author {
  font-style: italic;
  color: var(--text-light);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

/* News Section */
.noticias-section {
  background-color: var(--background-color);
}

.noticias-section .date {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: var(--spacing-xs);
}

/* Events Section */
.eventos-section {
  background-color: var(--background-light);
}

.event-card {
  display: flex;
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background: var(--primary-color);
  color: white;
  min-width: 100px;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 1.2rem;
}

.event-content {
  padding: var(--spacing-md);
  flex-grow: 1;
}

.event-content .title {
  margin-bottom: var(--spacing-xs);
}

.event-content .location {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

/* Contact Section */
.contacto-section {
  background-color: var(--background-color);
}

.contact-info {
  padding: var(--spacing-md);
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
}

.info-item .icon {
  margin-right: var(--spacing-sm);
  color: var(--primary-color);
}

.map-container {
  margin-top: var(--spacing-md);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.map-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contact-form {
  padding: var(--spacing-md);
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form .label {
  font-weight: 600;
  color: var(--text-dark);
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  box-shadow: none;
  transition: var(--transition);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(106, 38, 205, 0.1);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: white;
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer .title {
  color: white;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: var(--spacing-xs);
}

.footer a {
  color: var(--secondary-color);
  transition: var(--transition);
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-direction: column;
}

.social-links a {
  margin-bottom: var(--spacing-xs);
}

.newsletter .input {
  border: none;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
}

.newsletter .button {
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.footer-bottom {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

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

.success-content {
  max-width: 600px;
  padding: var(--spacing-md);
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* Utility Classes */
.has-text-primary {
  color: var(--primary-color) !important;
}

.has-background-primary {
  background-color: var(--primary-color) !important;
}

.mb-1 {
  margin-bottom: var(--spacing-xs) !important;
}

.mb-2 {
  margin-bottom: var(--spacing-sm) !important;
}

.mb-3 {
  margin-bottom: var(--spacing-md) !important;
}

.mt-1 {
  margin-top: var(--spacing-xs) !important;
}

.mt-2 {
  margin-top: var(--spacing-sm) !important;
}

.mt-3 {
  margin-top: var(--spacing-md) !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-6 {
  margin-top: 3rem !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-body {
    padding: var(--spacing-lg) 0;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: var(--spacing-sm);
  }
  
  .timeline {
    margin-left: 15px;
  }
  
  .timeline-content {
    margin-left: var(--spacing-sm);
    padding: var(--spacing-sm);
  }
  
  .process-number {
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .testimonial-card {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }
  
  .card-image {
    height: 200px;
  }
  
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.2rem !important;
  }
}