:root {
  --evon-dark: #101828;
  --evon-green: #00da80;
  --evon-light: #f4f7fb;
  --evon-white: #ffffff;
  --font-body: 'Poppins', sans-serif;
  --font-heading: 'Intro', 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--evon-dark);
  background: var(--evon-white);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 3rem;
  padding: 6rem 8vw;
  background: linear-gradient(135deg, var(--evon-dark) 55%, #0f2435 100%);
  color: var(--evon-white);
  justify-items: center;
  text-align: center;
  position: relative;
  padding-top: 8.5rem;
}

.topbar {
  position: absolute;
  top: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 4vw));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(11, 21, 32, 0.45);
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.topbar__logo {
  height: 32px;
  width: auto;
}

.topbar__nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.topbar__nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar__nav a:hover {
  color: var(--evon-green);
}

.topbar__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  background: var(--evon-green);
  color: var(--evon-dark);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 218, 128, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar__login:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 218, 128, 0.4);
}

.hero__content {
  max-width: 520px;
}

.hero__logo {
  width: clamp(140px, 18vw, 220px);
  height: auto;
  margin-bottom: 1.5rem;
}

.hero__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  margin: 1rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(0, 218, 128, 0.18);
  color: var(--evon-green);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero__visual img {
  width: min(100%, 480px);
  border-radius: 1.75rem;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--evon-green);
  color: var(--evon-dark);
  box-shadow: 0 18px 35px rgba(0, 218, 128, 0.25);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--evon-white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.section {
  padding: 5rem 8vw;
}

.section--grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--evon-white);
}

.section--climate {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 218, 128, 0.08), rgba(16, 24, 40, 0.04));
  border-radius: 2rem;
  box-shadow: 0 20px 45px rgba(16, 24, 40, 0.08);
}

.climate__content {
  max-width: 520px;
}

.climate__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  color: var(--evon-dark);
}

.climate__content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.climate__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  gap: 0.75rem;
}

.climate__benefits li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 500;
}

.climate__benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--evon-green);
  box-shadow: 0 0 0 4px rgba(0, 218, 128, 0.18);
}

.climate__btn {
  width: fit-content;
}

.climate__visual {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.climate__card {
  width: min(100%, 320px);
  padding: 2.2rem;
  border-radius: 1.75rem;
  background: var(--evon-white);
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.1);
  text-align: center;
}

.climate__card--accent {
  background: var(--evon-dark);
  color: var(--evon-white);
  box-shadow: 0 22px 42px rgba(16, 24, 40, 0.32);
}

.climate__metric {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--evon-green);
  margin-bottom: 0.5rem;
}

.climate__card--accent .climate__metric {
  color: #3ff09f;
}

.section--psychometric {
  background: var(--evon-dark);
  color: var(--evon-white);
  border-radius: 2rem;
  box-shadow: 0 28px 55px rgba(16, 24, 40, 0.32);
}

.psychometric__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.psychometric__intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.psychometric__intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.psychometric__cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.psychometric__card {
  background: #0f1a27;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.psychometric__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.psychometric__card--active {
  background: var(--evon-green);
  color: var(--evon-dark);
  box-shadow: 0 24px 48px rgba(0, 218, 128, 0.35);
}

.psychometric__card p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.psychometric__card--active p {
  color: rgba(16, 24, 40, 0.82);
}

.psychometric__card ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
}

.psychometric__card--active ul {
  color: rgba(16, 24, 40, 0.82);
}

.psychometric__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.psychometric__card--active .psychometric__badge {
  background: rgba(16, 24, 40, 0.12);
}

.psychometric__card ul li {
  list-style: circle;
}

.section--performance {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  background: var(--evon-white);
  border-radius: 2rem;
  box-shadow: 0 24px 50px rgba(16, 24, 40, 0.1);
}

.performance__intro {
  max-width: 540px;
}

.performance__intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--evon-dark);
}

.performance__intro p {
  font-size: 1.06rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.performance__grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.performance__item {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: var(--evon-light);
  box-shadow: 0 16px 30px rgba(16, 24, 40, 0.08);
}

.performance__item h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.performance__item p {
  margin: 0;
  line-height: 1.6;
}

.performance__btn {
  border: 1px solid rgba(16, 24, 40, 0.12);
  color: var(--evon-dark);
}

.performance__visual {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.performance__score {
  width: min(100%, 320px);
  padding: 2.5rem;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #101828, #16263a);
  color: var(--evon-white);
  text-align: center;
  box-shadow: 0 26px 50px rgba(16, 24, 40, 0.32);
}

.performance__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  color: var(--evon-green);
  margin-bottom: 0.5rem;
}

.performance__timeline {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 360px);
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--evon-light);
  box-shadow: 0 18px 30px rgba(16, 24, 40, 0.08);
}

.performance__timeline span {
  display: inline-flex;
  justify-content: space-between;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--evon-dark);
}

.performance__progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.performance__progress span {
  display: block;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.12);
  transition: background 0.3s ease;
}

.performance__progress .is-complete {
  background: var(--evon-green);
}

.performance__progress .is-active {
  background: linear-gradient(90deg, var(--evon-green), #3ff09f);
}

.card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: var(--evon-light);
  box-shadow: 0 18px 30px rgba(16, 24, 40, 0.08);
}

.card h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.section--stats {
  background: var(--evon-dark);
  color: var(--evon-white);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--evon-green);
}

.section--testimonials {
  background: var(--evon-light);
  text-align: center;
}

.carousel {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.testimonial {
  padding: 2.5rem;
  background: var(--evon-white);
  border-radius: 1.25rem;
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.1);
}

.section--cta {
  background: linear-gradient(135deg, var(--evon-green), #3ff09f);
  color: var(--evon-dark);
  text-align: center;
  border-radius: 2rem;
  max-width: 960px;
  margin: 0 auto 5rem auto;
  box-shadow: 0 20px 40px rgba(0, 218, 128, 0.2);
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form input,
.form select,
.form textarea {
  padding: 1rem 1.2rem;
  border-radius: 0.75rem;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form select {
  cursor: pointer;
  background-color: white;
}

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

.form .btn--primary {
  background: #101828;
  color: var(--evon-white);
  box-shadow: 0 18px 35px rgba(16, 24, 40, 0.3);
}

.form .btn--primary:hover {
  background: #16263a;
  box-shadow: 0 18px 35px rgba(16, 24, 40, 0.4);
}

.form__feedback {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 0.75rem;
  background: rgba(16, 24, 40, 0.08);
  color: var(--evon-dark);
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
}

.footer {
  background: #0b1520;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 8vw;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  margin-right: 1.5rem;
}

.footer__legal {
  flex-basis: 100%;
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 720px) {
  .hero {
    padding: 5rem 6vw 4rem;
    padding-top: 11rem;
  }

  .section {
    padding: 4rem 6vw;
  }

  .section--cta {
    border-radius: 1.5rem;
  }

  .section--climate {
    border-radius: 1.5rem;
  }

  .section--psychometric {
    border-radius: 1.5rem;
  }

  .section--performance {
    border-radius: 1.5rem;
  }

  .topbar {
    position: static;
    transform: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 1.25rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(11, 21, 32, 0.75);
    gap: 1rem;
  }

  .topbar__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
  }

  .topbar__login {
    width: 100%;
  }
}

[hidden] {
  display: none !important;
}

/* Modal de confirmación */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 24, 40, 0.85);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--evon-white);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  z-index: 10001;
}

.modal.show .modal__content {
  transform: scale(1);
}

.modal__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--evon-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--evon-white);
  font-weight: bold;
  box-shadow: 0 12px 24px rgba(0, 218, 128, 0.3);
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--evon-dark);
  margin: 0 0 1rem 0;
}

.modal__message {
  font-size: 1.05rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

.modal__button {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .modal__content {
    padding: 2rem 1.5rem;
  }

  .modal__icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .modal__title {
    font-size: 1.5rem;
  }

  .modal__message {
    font-size: 1rem;
  }
}

