/* styles.css - Estilos comunes para todas las páginas */
:root {
  --primary: #6C63FF;
  --secondary: #4A44C6;
  --dark: #0b0f16;
  --light: #e6eef8;
  --gray: #8C8CA1;
  --shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

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

.highlight {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

.btn--primary:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.btn--secondary:hover {
  background-color: rgba(108, 99, 255, 0.1);
  transform: translateY(-3px);
}

.btn--block {
  display: block;
  width: 100%;
}

.btn--whatsapp {
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn--whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
}

.btn-quote {
  color: #4CAF50;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.btn-quote:hover {
  color: #388E3C;
  transform: scale(1.05);
}

/* Header / Navegación común */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(11, 15, 22, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
  border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  letter-spacing: 1px;
  text-decoration: none;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.nav__toggle, .nav__close {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--light);
}

/* Footer común */
.footer {
  background: rgba(11, 15, 22, 0.95);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(108, 99, 255, 0.1);
  margin-top: auto;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 40px;
}

.footer__brand {
  flex: 1;
  min-width: 300px;
}

.footer__logo {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--light);
}

.footer__description {
  color: var(--gray);
  max-width: 400px;
}

.footer__links {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer__column {
  min-width: 150px;
}

.footer__title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--light);
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__list a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
}

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

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

.footer__copyright {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Hero común */
.hero {
  padding-top: 140px;
  background: linear-gradient(135deg, rgba(11, 15, 22, 0.9) 0%, rgba(20, 25, 36, 0.9) 100%);
  position: relative;
  overflow: hidden;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero__description {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cards comunes */
.card {
  background: rgba(30, 35, 48, 0.7);
  border-radius: var(--border-radius);
  padding: 30px;
  transition: var(--transition);
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

/* Responsive Design común */
@media (max-width: 992px) {
  .section__title {
    font-size: 2.2rem;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--dark);
    padding: 80px 40px;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  }
  
  .nav__menu.active {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav__toggle, .nav__close {
    display: block;
  }
  
  .nav__close {
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero__buttons .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .section__title {
    font-size: 1.8rem;
  }
  
  .hero {
    padding-top: 120px;
  }
}