:root {
  --bg-main: #05070c;
  --bg-light: #0b0f1a;
  --text-main: #e9f1ff;
  --text-muted: #a0acc0;
  --accent-blue: #2cc7ff;
  --accent-green: #2cffb3;
  --accent-purple: #4f46e5;
  --glass: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

h2 {
  text-align: center;
  padding-bottom: 60px;
}

.bg-color {
  background-color: var(--bg-light);
}

.nav-link {
  color: var(--text-main);
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo {
  background-image: url(../img/AR-logo.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 45px;
  height: 45px;
}

.section {
  padding: 5rem 1.5rem;
}

.section-light {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-light);
}

.section-cta {
  height: 50vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-light);
}

.section-valor {
  height: 50vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  max-width: 100%;
  margin-bottom: 3rem;
  color: var(--text-muted);
}

.nav a {
  margin-left: 2rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url(../img/background/hero.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
}

.hero h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
  color: #000;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(44, 199, 255, 0.25);
}

#whatsapp,
#instagram {
  margin-left: 8px;
}

#sobre {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-card {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.about-photo {
  background-image: url(../img/perfil/mi-perfil.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  max-width: 350px;
  width: 100%;
  height: 50vh;
  border: solid 8px var(--bg-main);
  border-radius: 12px;
}

.about-text {
  flex: 1;
}

#servicios {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(../img/background/beneficios.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
}

.wallpaper {
  background-color: rgba(33, 37, 41, 0.75);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.process-step span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-purple);
}

#beneficios {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(../img/background/circuitos.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.benefits-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.benefits-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-green);
}

#proyectos {
  text-align: center;
}

#faq {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(../img/background/Ondas\ cibernéticas\ de\ luz\ brillante.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
}

.faq-list {
  display: grid;
  gap: 1.5rem;
}

.faq-item h3 {
  margin-bottom: 0.5rem;
}

#faq .accordion {
  --bs-accordion-bg: var(--bg-light);
  --bs-accordion-border-color: rgba(255, 255, 255, 0.1);

  --bs-accordion-btn-bg: linear-gradient(
    90deg,
    var(--accent-blue),
    var(--accent-green)
  );
  --bs-accordion-btn-color: #fff;

  --bs-accordion-active-bg: linear-gradient(
    90deg,
    var(--accent-blue),
    var(--accent-green)
  );
  --bs-accordion-active-color: #fff;
}

#faq .accordion-button {
  font-weight: 600;
}

#faq .accordion-button::after {
  filter: brightness(0) invert(1);
}

#faq .accordion-body {
  background-color: #0b0f1a;
  color: var(--text-main);
}

#faq .accordion-item {
  border-radius: 0.75rem;
  overflow: hidden;
}

#faq .accordion-button:focus {
  box-shadow: none;
}

.list-FAQ {
  list-style: circle;
}

.list-number-FAQ {
  list-style: decimal;
}

.cta {
  background: #111827;
  text-align: center;
  color: white;
}

.cta p {
  max-width: 600px;
  margin: 1rem auto 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form input,
.form textarea {
  padding: 1rem;
  background: var(--glass);
  border: none;
  color: var(--text-main);
  font-size: 1rem;
}

#valores {
  background-image: url(../img/background/contacto.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
}

.content-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p {
    font-size: 0.8rem;
  }

  #sobre {
    padding: 1rem 2rem;
  }

  .about-text h2 {
    margin-bottom: -3rem;
  }

  .about-card {
    gap: 1.5rem;
  }

  .about-photo {
    max-width: auto;
    height: 80vh;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  #servicios {
    height: auto;
    padding: 5rem 1.5rem;
  }

  #proceso {
    margin-top: 4.3rem;
  }

  #proceso h2 {
    margin-bottom: -3rem;
  }

  .process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }

  #beneficios {
    height: auto;
    padding: 5rem 1.5rem;
  }

  #faq {
    height: auto;
    padding: 5rem 1.5rem;
  }

  #valores {
    height: auto;
    padding: 5rem 1.5rem;
  }

  .section-valor {
    height: auto;
    padding: 5rem 1.5rem;
  }

  .section-cta {
    height: auto;
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.6rem;
    padding-bottom: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .section-intro {
    font-size: 0.95rem;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding: 6rem 1.25rem 4rem;
    background-position: center center;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 1rem;
    margin-top: 1rem;
  }

  .btn {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    margin-top: 2rem;
  }

  .nav a {
    margin-left: 0;
  }

  .navbar-collapse {
    background-color: var(--bg-light);
    padding: 1rem 1.25rem;
    border-radius: 0 0 12px 12px;
    margin-top: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .section-light {
    height: auto;
    min-height: unset;
    padding: 4rem 1.25rem;
  }

  .about-card {
    margin-top: 3rem;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .about-photo {
    background-size: cover;
    background-position: center;
    max-width: auto;
    height: 100vh;
    border-width: 5px;
  }

  .about-text h2 {
    padding-bottom: 4rem;
  }

  .about-text p {
    padding-bottom: 3rem;
  }

  .about-text .card-text {
    font-size: 0.95rem;
    text-align: left;
  }

  #servicios {
    height: auto;
    padding: 4rem 1.25rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #proceso h2 {
    padding-bottom: 4rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #beneficios {
    height: auto;
    padding: 4rem 1.25rem;
  }

  .benefits-list li {
    font-size: 0.95rem;
  }

  #faq {
    height: auto;
    padding: 4rem 1.25rem;
  }

  #faq .accordion-button {
    font-size: 0.92rem;
  }

  #faq .accordion-body {
    font-size: 0.9rem;
  }

  .section-cta {
    height: auto;
    padding: 3.5rem 1.25rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta p {
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  #valores {
    height: auto;
    padding: 4rem 1.25rem;
  }

  .section-valor {
    height: auto;
    padding: 4rem 1.25rem;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  #contacto {
    height: auto !important;
    padding: 4rem 1.25rem;
  }

  .content-contact {
    text-align: center;
    gap: 1rem;
  }

  .content-contact p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    height: 65vw;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

html{outline:10px solid red !important}