#j-test{--ink:#1e2f40;--blue:#088ae7;--gold:#f9b224;--light:#f6f5f2;--line:#dce2e5;--muted:#586777;--green:#0da043;--amber:#b96e08;--red:#b93636}
#j-test{box-sizing:border-box}
#j-test{scroll-behavior:smooth}
#j-test{margin:0;color:var(--ink);background:#fff;font:17px/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
#j-test a{color:var(--blue)}
#j-test .topline{height:6px;background:var(--gold)}
#j-test .header{background:#fff;box-shadow:0 2px 12px #182d4012}
#j-test .head-inner{max-width:1150px;margin:auto;min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 24px}
#j-test .brand{font-family:Georgia,serif;font-size:27px;font-weight:700;color:#19344b;text-decoration:none;line-height:1.05;letter-spacing:.03em}
#j-test .brand small{display:block;font:11px/1.5 system-ui,Arial;letter-spacing:.18em;color:var(--gold);font-weight:700}
#j-test .navlinks{display:flex;gap:22px;align-items:center}
#j-test .navlinks a{text-decoration:none;font-size:14px;font-weight:600}
#j-test .navlinks .contact{padding:11px 16px;color:#fff;background:var(--blue);border-radius:6px}
#j-test .hero{background:linear-gradient(115deg,#142f46,#245575);color:#fff;padding:54px 24px 60px;text-align:center}
#j-test .eyebrow{letter-spacing:.16em;text-transform:uppercase;color:#e3c898;font-size:12px;font-weight:750}
#j-test .hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,5vw,48px);font-weight:600;line-height:1.18;max-width:850px;margin:13px auto}
#j-test .hero p{max-width:750px;margin:10px auto 0;color:#edf2f5}
#j-test .crumb{max-width:1040px;margin:24px auto;padding:0 22px;color:#6b737b;font-size:14px}
#j-test .wrap{padding:0 20px 70px;max-width:960px;margin:auto}
#j-test .panel{border:1px solid var(--line);border-radius:18px;padding:clamp(22px,4vw,48px);background:#fff;box-shadow:0 14px 55px #1f354310}
#j-test .headstep{display:flex;justify-content:space-between;gap:14px;font-size:14px;color:#fcf8e3;margin-bottom:12px}
#j-test .bar{height:6px;background:#e5e8ea;border-radius:10px;overflow:hidden}
#j-test .bar>div{height:100%;background:var(--gold);width:0;transition:width .25s ease}
#j-test .question{font:600 clamp(25px,3.4vw,36px)/1.23 Georgia,serif;margin:32px 0 22px;color:#19334b}
#j-test .help{margin:-8px 0 22px;color:var(--muted);font-size:15px}
#j-test .options{display:grid;gap:13px}
#j-test .option{width:100%;display:block;text-align:left;background:white;border:1.5px solid var(--line);border-radius:10px;padding:18px 21px;color:var(--ink);font:inherit;cursor:pointer;transition:.15s}
#j-test .option:hover, #j-test .option:focus-visible{border-color:var(--blue);background:#f2f7fa;outline:2px solid transparent;box-shadow:0 0 0 3px #9dc3de55}
#j-test .actions{margin-top:26px;display:flex;justify-content:space-between;align-items:center;gap:12px}
#j-test .back, #j-test .restart{border:0;background:transparent;color:var(--blue);padding:12px 4px;text-decoration:underline;cursor:pointer;font:inherit}
#j-test .disclaimer{margin-top:22px;color:black;font-size:13px}
#j-test .result{text-align:center}
#j-test .lightbox{height:90px;width:90px;border-radius:50%;display:grid;place-items:center;margin:10px auto 14px;color:white;font-weight:800;font-size:46px;border:7px solid #ffffff82;box-shadow:0 0 0 5px #e5e5e5}
#j-test .traffic{width:92px;margin:10px auto 20px;padding:10px;border-radius:21px;background:#1d2934;display:grid;gap:8px;box-shadow:0 8px 20px #0002}
#j-test .traffic .bulb{width:60px;height:60px;border-radius:50%;display:block;background:#55616a;opacity:.3;border:3px solid #ffffff30}
#j-test .traffic .bulb.red.active{background:#ff0202;opacity:1;box-shadow:0 0 20px #ff0202}
#j-test .traffic .bulb.orange.active{background:#eda22a;opacity:1;box-shadow:0 0 20px #eda22a88}
#j-test .traffic .bulb.green.active{background:#04e257;opacity:1;box-shadow:0 0 20px #04e257}
#j-test .result h2{font:600 clamp(28px,4vw,39px)/1.2 Georgia,serif;margin:10px auto 18px}
#j-test .result.green h2{color:var(--green)}
#j-test .result.orange h2{color:var(--amber)}
#j-test .result.red h2{color:var(--red)}
#j-test .result p{max-width:650px;margin:0 auto 15px}
#j-test .reasonbox{text-align:left;max-width:690px;margin:25px auto;background:var(--light);padding:22px 28px;border-radius:12px}
#j-test .reasonbox ul{padding-left:20px;margin:9px 0 0}
#j-test .reasonbox li{margin:7px 0}
#j-test .cta{display:inline-block;background:var(--blue);padding:14px 24px;border-radius:7px;color:white;font-weight:700;text-decoration:none;margin:8px}
#j-test .secondary{border:1px solid var(--blue);color:var(--blue);background:white}
#j-test .result .fine{font-size:13px;color:black;margin-top:18px}
#j-test .more{margin:28px auto 0;max-width:850px}
#j-test .more h2{font:600 27px Georgia,serif}
#j-test .more p{color:black;}
#j-test .footer{background:#142b3c;color:#dbe6ed;padding:30px 24px;text-align:center;font-size:14px}
#j-test .footer a{color:#fff}
#j-test .hidden{display:none!important}
#j-test button:focus-visible, #j-test a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
@media (max-width:650px){#j-test .head-inner{min-height:80px}
#j-test .brand{font-size:21px}
#j-test .navlinks>a:first-child{display:none}
#j-test .hero{padding:43px 20px}
#j-test .panel{border-radius:13px}
#j-test .question{margin-top:25px}
#j-test .option{padding:15px}
#j-test .navlinks .contact{font-size:12px;padding:9px}}
#j-test{font-family:Arial,sans-serif;font-size:17px;line-height:1.55;color:#1e2f40;background:#fff}#j-test button{font-family:inherit}#j-test .option{height:auto}#j-test .hero h1{color:white}#j-test .question{letter-spacing:0}#j-test .wrap{width:auto}
/* INFORMACIÓN CON IMAGEN Y PREGUNTAS FRECUENTES */

/* =========================================================
   INFORMACIÓN CON IMAGEN Y PREGUNTAS FRECUENTES
   Estilos aislados dentro de #j-test
   ========================================================= */

#j-test .j-info-section {
  padding: 45px 0 55px;
  background: #fff;
}

#j-test .j-info-container,
#j-test .j-faq-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

#j-test .j-info-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
}

#j-test .j-info-intro h2,
#j-test .j-faq-heading h2 {
  margin: 10px 0 20px;
  color: #19334b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}

#j-test .j-info-eyebrow {
  color: #976b16;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

#j-test .j-info-intro p {
  margin: 0 0 17px;
  color: #384956;
  font-size: 16px;
  line-height: 1.8;
}

#j-test .j-info-intro .j-info-lead {
  color: #19334b;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.65;
}

#j-test .j-info-image {
  overflow: hidden;
  background: #f1f4f6;
  border-radius: 15px;
  box-shadow: 0 12px 35px rgb(31 53 64 / 12%);
}

#j-test .j-info-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

#j-test .j-info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  margin-top: 8px;
  padding: 13px 21px;
  color: #fff;
  background: #088ae7;
  border: 1px solid #088ae7;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease;
}

#j-test .j-info-button:hover {
  color: #fff;
  background: #076db5;
  border-color: #076db5;
  text-decoration: none;
}

#j-test .j-info-button-full {
  display: flex;
  width: 100%;
  margin: 20px 0 17px;
}

/* FAQ */

#j-test .j-faq-section {
  padding: 62px 0 68px;
  background: #f6f7f8;
  border-top: 1px solid #e7ecef;
}

#j-test .j-faq-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

#j-test .j-faq-heading h2 {
  margin-bottom: 14px;
}

#j-test .j-faq-heading > p {
  max-width: 700px;
  margin: 0 auto;
  color: #586777;
  font-size: 16px;
  line-height: 1.8;
}

#j-test .j-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(245px, 0.9fr);
  align-items: start;
  gap: 30px;
}

#j-test .j-faq-list {
  min-width: 0;
}

#j-test .j-faq-item {
  margin: 0 0 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce2e5;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgb(31 53 64 / 3%);
}

#j-test .j-faq-item summary {
  position: relative;
  display: block;
  padding: 19px 50px 19px 20px;
  color: #19334b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

#j-test .j-faq-item summary::-webkit-details-marker {
  display: none;
}

#j-test .j-faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: #088ae7;
  content: "+";
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

#j-test .j-faq-item[open] summary {
  color: #076db5;
  border-bottom: 1px solid #edf0f2;
}

#j-test .j-faq-item[open] summary::after {
  content: "−";
}

#j-test .j-faq-item summary:hover {
  background: #f8fbfd;
}

#j-test .j-faq-item summary:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid #088ae7;
  outline-offset: -3px;
}

#j-test .j-faq-answer {
  padding: 18px 20px 8px;
}

#j-test .j-faq-answer p {
  margin: 0 0 14px;
  color: #384956;
  font-size: 15px;
  line-height: 1.8;
}

/* Contacto lateral */

#j-test .j-faq-aside {
  min-width: 0;
}

#j-test .j-faq-contact {
  padding: 27px 23px;
  background: #fff;
  border: 1px solid #dce2e5;
  border-top: 4px solid #f9b224;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgb(31 53 64 / 6%);
}

#j-test .j-faq-contact-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  color: #088ae7;
  background: #edf7ff;
  border-radius: 50%;
  font-size: 23px;
}

#j-test .j-faq-contact h3 {
  margin: 0 0 12px;
  color: #19334b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
}

#j-test .j-faq-contact > p {
  color: #586777;
  font-size: 14px;
  line-height: 1.8;
}

#j-test .j-faq-phone,
#j-test .j-faq-email {
  display: block;
  margin-top: 12px;
  color: #176da7;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: none;
}

#j-test .j-faq-phone:hover,
#j-test .j-faq-email:hover {
  text-decoration: underline;
}

#j-test .j-faq-phone .fa {
  margin-right: 7px;
}

#j-test .j-faq-contact .j-faq-small {
  margin: 22px 0 0;
  padding-top: 15px;
  color: #687581;
  border-top: 1px solid #e8ecef;
  font-size: 12px;
  line-height: 1.7;
}

#j-test .j-faq-legal {
  margin: 30px 0 0;
  color: #586777;
  font-size: 13px;
  line-height: 1.7;
}

#j-test .j-faq-legal a {
  color: #176da7;
}

/* Responsive */

@media (max-width: 800px) {
  #j-test .j-info-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  #j-test .j-info-image {
    max-width: 620px;
  }

  #j-test .j-faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  #j-test .j-faq-aside {
    max-width: 520px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  #j-test .j-info-section {
    padding: 34px 0 40px;
  }

  #j-test .j-info-container,
  #j-test .j-faq-container {
    padding-right: 17px;
    padding-left: 17px;
  }

  #j-test .j-info-intro h2,
  #j-test .j-faq-heading h2 {
    font-size: 27px;
  }

  #j-test .j-info-intro p {
    font-size: 15px;
  }

  #j-test .j-info-intro .j-info-lead {
    font-size: 17px;
  }

  #j-test .j-faq-section {
    padding: 42px 0 45px;
  }

  #j-test .j-faq-heading {
    margin-bottom: 26px;
  }

  #j-test .j-faq-heading > p {
    font-size: 15px;
  }

  #j-test .j-faq-item summary {
    padding: 16px 42px 16px 15px;
    font-size: 15px;
  }

  #j-test .j-faq-item summary::after {
    right: 15px;
  }

  #j-test .j-faq-answer {
    padding: 15px 15px 5px;
  }

  #j-test .j-faq-answer p {
    font-size: 14px;
  }

  #j-test .j-faq-contact {
    padding: 23px 19px;
  }
}
