/* Estilos globales */
:root {
  --bg-color: #0a0a23;
  --accent-color: #fdc500;
  --accent-color-2: #03cea4;
  --text-color: #ffffff;
  --text-color-muted: #cfcfcf;
  --card-bg: #1b1b4e;
  --card-border: #2a2a5e;
  --header-height: 70px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color-2);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #ffa500);
  color: var(--bg-color);
  box-shadow: 0 4px 15px rgba(253, 197, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(253, 197, 0, 0.4);
  color: var(--bg-color);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-color-2), #05a88a);
  color: var(--bg-color);
  box-shadow: 0 4px 15px rgba(3, 206, 164, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(3, 206, 164, 0.4);
  color: var(--bg-color);
}

.btn-nav {
  padding: 8px 16px;
  background: var(--accent-color);
  color: var(--bg-color);
}

/* Encabezado */
.main-header {
  background-color: rgba(10, 10, 35, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  height: var(--header-height);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo a {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  letter-spacing: 1px;
  text-transform: lowercase;
}

/* Navegación principal */
.main-nav {
  height: 100%;
  display: contents;
}

.nav-list {
  display: flex;
  list-style: none;
  height: 100%;
}

.nav-list li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-list a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 15px;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: var(--accent-color);
}

/* Menú móvil */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 2;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 8px;
}

.menu-icon span:nth-child(3) {
  top: 16px;
}

/* Secciones */
.section {
  padding-block: 80px;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--accent-color);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-color-2);
  margin: 15px auto 0;
  border-radius: 2px;
}

.accent-bg {
  background-color: rgba(27, 27, 78, 0.7);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(10, 10, 35, 0.8), rgba(10, 10, 35, 0.9)),
    url(../img/AYkcB.jpg);
  background-size: cover;
  background-position: center;
  padding: 0;
  margin-top: var(--header-height);
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: var(--text-color-muted);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--accent-color-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-card h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
}

.service-content p {
  margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.testimonial-content::before {
  content: '"';
  font-size: 60px;
  color: var(--accent-color-2);
  position: absolute;
  top: -20px;
  left: 0;
  opacity: 0.3;
}

.testimonial-author {
  text-align: right;
  color: var(--accent-color);
}

/* Process Section */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 20px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent-color),
    transparent
  );
  z-index: -1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--bg-color);
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  color: var(--accent-color-2);
  margin-bottom: 10px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background-color: var(--card-bg);
  color: var(--text-color);
  cursor: pointer;
  position: relative;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item input[type="checkbox"]:checked + .faq-question {
  background-color: var(--card-border);
}

.faq-item input[type="checkbox"]:checked + .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(27, 27, 78, 0.5);
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 15px 20px;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 20px;
  color: var(--accent-color);
}

.contact-list {
  list-style: none;
  margin-bottom: 30px;
}

.contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  height: 300px;
}

.contact-form form {
  display: grid;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  color: var(--text-color-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--card-border);
  border-radius: 5px;
  color: var(--text-color);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color-2);
  box-shadow: 0 0 0 2px rgba(3, 206, 164, 0.2);
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.form-group.checkbox input {
  width: auto;
}

/* Personalizar select */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FDC500' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px !important;
}

/* Personalizar options */
select option {
  background-color: var(--card-bg);
  color: var(--text-color);
  padding: 10px;
}

/* Footer */
.main-footer {
  background-color: rgba(10, 10, 35, 0.9);
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links,
.contact-list {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-color-muted);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--text-color-muted);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--card-bg);
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  flex: 1;
}

/* Policy Pages */
.policy-container {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 40px;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin: var(--header-height) auto 0;
  max-width: 900px;
}

.policy-container h1 {
  color: var(--accent-color);
  margin-bottom: 30px;
  text-align: center;
}

.policy-content {
  margin-bottom: 30px;
}

.policy-content h2 {
  color: var(--accent-color-2);
  margin: 30px 0 15px;
}

.policy-content p,
.policy-content ul {
  margin-bottom: 15px;
}

.policy-content ul {
  padding-left: 20px;
}

/* Thanks Page */
.thanks-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.thanks-container {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
}

.thanks-container h1 {
  color: var(--accent-color);
  margin-bottom: 20px;
}

.thanks-container p {
  margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .process-steps {
    flex-direction: column;
  }

  .process-step {
    margin-bottom: 30px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  /* Menu móvil */
  .menu-icon {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1;
  }

  .menu-toggle:checked ~ .nav-list {
    right: 0;
  }

  .nav-list li {
    width: 100%;
    margin: 10px 0;
    height: auto;
  }

  .nav-list a {
    width: 100%;
    padding: 10px 0;
    height: auto;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section {
    padding-block: 60px;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .benefit-card,
  .service-card,
  .testimonial-card {
    padding: 20px;
  }

  .policy-container {
    padding: 20px;
  }
}
