/* ====== RESET BÁSICO ====== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Mulish", Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.25;
}

label {
    display: hidden;
}

/* ====== ENCABEZADO ====== */
header {
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  padding: 20px 10px 30px 10px;
}

#logo-personas {
  padding-right: 50px;
  height: 50px;
}

#header-divider {
  min-width: 3px;
  min-height: 75px;
  background-color: #2C256C;
}

#brand-claim {
  font-size: 16px;
  color: #2C256C;
  padding: 10px 0 10px 50px;
  max-width: 250px;
}

#brand-claim span {
  font-weight: bold;
}

.header-logo img {
    height: 40px;
}

/* ====== SECCIÓN HERO ====== */

.hero {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 10px;
}

.left-hero-section {
    width: 50%;
}

.left-hero-section img {
    max-width: 100%;
    display: block;
}

.right-hero-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 25px;
}

.right-hero-section-texts {
    font-size: 24px;
    color: #2c256c;
    text-align: center;
    padding: 10px 0;
}

.hero .compare-box .img_hero {
    width: 100%;
}

/* ====== FORMULARIO ====== */

.form-hipotecario {
    width: 90%;
    background-color: #f4f4f4;
    padding: 25px;
    border-radius: 25px;
}

.form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 1em;
}

.form-group label {
    display: none;
    font-weight: bold;
    margin-bottom: 0.3em;
}

.form-group label.label-show {
    font-weight: bold;
    display: flex;
    align-items: center;
}

.label-show {
    display: flex;
    align-items: center;
    font-size: 13.33px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: "Mulish", Arial, Helvetica, sans-serif;
}

.form-group-inline {
    display: flex;
    align-items: center;
}

.form-group-inline span {
    display: block;
    width: 50%;
    font-size: 13.33px;
}

.form-group-inline .radio-options {
    display: flex;
    gap: 20px;
    width: 50%;
}

.form-group .radio-options input {
    margin-right: 5px;
}

input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 30px;
    min-width: 30px;
    height: 30px;
    border: 2px solid #ccc;
    border-radius: 0;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
    margin-right: 8px;
    background-color: #fff;
}

/* Cambia el borde al pasar el cursor */
input[type="radio"]:hover {
    border-color: #888;
}

/* Estado seleccionado: indicamos el "check" con un pseudo-elemento cuadrado */
input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 0; /* Indicador cuadrado */
    background-color: #007bff;
}

.btn-submit {
    display: flex;
    background-color: #00c8f5;
    color: #2c25c6;
    padding: 12px 50px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    margin: 15px auto 0;
    font-family: "Mulish", Arial, Helvetica, sans-serif;
}

.btn-submit:hover {
    background-color: #2c25c6;
    color: #ffffff;
}

/* ======= SECCIÓN EXPLAINER ======= */
.explainer {
    background: linear-gradient(
        180deg,
        #f4f4f4 0%,
        #f4f4f4 80%,
        #ffffff 80%,
        #ffffff 100%
    );
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.explainer-container {
    max-width: 900px; /* Ajusta según tu diseño */
    width: 100%;
    margin: 0 auto;
    text-align: center; /* Centra el texto y el iframe */
}

.explainer-title {
    font-size: 2em;
    color: #2c256c; /* Color que usas en el resto de la web */
    margin-bottom: 25px;
    font-weight: 700;
}

.explainer-subtitle {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 20px;
}

.explainer-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.explainer-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.benefits-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #fffaf2;
}

.benefits-section h2 {
    font-size: 2em;
    color: #2c256c;
    margin-bottom: 1.5em;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
}

.benefit-card {
    background-color: #00c8f5;
    color: #2c256c;
    border-radius: 10px;
    padding: 30px 30px 30px 40px;
    width: 400px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: left;
}
.benefit-card-right {
    padding: 30px 40px 30px 30px;
}

.icon-container-1 {
    width: 80px;
    height: 80px;
    background-color: #2c256c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1em auto;
    position: absolute;
    top: 50px;
    left: -50px;
}

.icon-container-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1em auto;
    position: absolute;
    background-color: #2c256c;
    top: 50px;
    right: -50px;
}

.icon-container-1 img,
.icon-container-2 img {
    width: 50px;
    height: auto;
}

.benefit-card h3 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.benefit-card p {
    line-height: 1.6rem;
    font-size: 1.5rem;
}

.benefit-card:nth-of-type(2) {
    background-color: #00c8f5;
}

.simulation-section {
    background-color: #ffffff;
    padding: 40px 20px;
    width: 85%;
    margin: 0 auto;
}

.simulation-content {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px; 
    margin: 0 auto;
    background-color: #021e71;
    border-radius: 45px;
}

.simulation-left {
    width: 60%;
    color: #ffffff;
    text-align: center;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.simulation-left h2 {
    font-size: 25px;
    padding: 25px 25px 0;
}

.simulation-left span {
    font-size: 24px;
    display: block;
    padding: 25px 25px 0;
}

.simulation-details {
    background-color: #021e71;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 50%;
    margin-right: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.simulation-details h2 {
    font-size: 1.8em;
    margin-bottom: 0.5em;
}

.simulation-details small {
    display: block;
    margin-bottom: 1.5em;
    font-size: 0.9em;
}

.simulation-compare {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.compare-box {
    flex: 1 1 45%;
    margin: 25px;
    background-color: #fff;
    color: #021e71;
    border-radius: 10px;
    padding: 15px 0;
}

.compare-box img {
    width: 90%;
}

.compare-box h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.compare-box span {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.compare-box p {
    font-size: 0.85em;
    margin-top: 5px;
    color: #444;
}

.simulation-image {
    flex: 1;
    overflow: hidden;
}

.simulation-image img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    display: block;
    border-radius: 0 10px 10px 0;
}

.simulation-image img.img-mobile {
    display: none;
}

/* ======= FOOTER GENERAL ======= */

.site-footer {
    background-color: #060D32; 
    color: #fff;
    padding: 30px 20px; 
    font-family: 'Mulish', sans-serif; 
  }
  
  .footer-content {
    max-width: 1200px; 
    margin: 0 auto;    
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;   
    gap: 20px;
  }
  
  /* ======= LOGO ======= */

  .footer-logo img {
    height: 40px; 
    display: block;
  }
  
  /* ======= REDES SOCIALES ======= */

  .footer-social a {
    margin-right: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }
  
  .footer-social img {
    height: 36px;
    width: auto;
  }
  
  /* ======= CONTACT CENTER ======= */

  .footer-contact {
    font-size: 0.9em;
    line-height: 1.4;
  }
  
  /* ======= NÚMEROS DE TELÉFONO ======= */

  .footer-phone-numbers {
    display: flex;
    gap: 30px;
  }
  
  .phone-section h4 {
    margin-bottom: 5px;
    font-size: 1em;
    font-weight: 700;
  }

  .container-icon {
    display: flex;
    flex-direction: column;
    gap: .4rem;
  }

  .img-and-p {
    flex-direction: row;
    display: flex;
    gap: .3rem;
    align-items: flex-start;
  }
  .title-left {
    text-align: center;
    color: #2c256c;
    padding: 0 10px;
}

/* ======= financiamiento ======= */

.financiamiento-info {
  background-color: #ffffff;
  text-align: center;
  padding: 50px 20px;
  padding-top: 10px;
}

.financiamiento-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.financiamiento-wrapper-column {
    width: 50%;
}

.financiamiento-texto {
  font-size: 2rem;
  color: #2c256c;
  margin-bottom: 5px;
}

.boton-principal {
  display: inline-block;
  background-color: #00c8f5;
  color: #2c25c6;
  padding: 12px 50px;
  border: none;
  border-radius: 25px;
  font-size: 1em;
  cursor: pointer;
  margin: 15px auto 0;
  font-family: "Mulish", Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.boton-principal:hover {
  background-color: #2c25c6;
  color: #ffffff;
}

  /* ======= requisitos ======= */

  
.requisitos-section {
  padding: 50px 20px;
  text-align: center;
}

.requisitos-section h2 {
  font-size: 2em;
  color: #2c256c;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 1.5rem;
}

.requisitos-lista {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.requisitos-lista li {
  margin-bottom: 1.6rem;
  line-height: 1.8rem;
  font-size: 1.5rem;
  color: #2c256c;
}
  
  /* ======= RESPONSIVE ======= */

  @media (max-width: 1090px) {
    .right-hero-section-texts {
        font-size: 22px;
    }
    .form-group input[type="text"], .form-group input[type="email"] {
        height: 30px;
    }

    .benefits-section {
        padding: 20px 20px;
    }

    .benefits-container {
        gap: 25px;
        flex-direction: column;
        align-items: center;
    }

    .benefit-card {
        width: 80%;
        padding-left:60px;
    }

    .benefit-card p {
        font-size: 1.5em;
        padding-right: 50px;
    }

    .icon-container-1, .icon-container-2 {
        top: 35px;
    }

    .simulation h2   {
        font-size: 20px;
    }

    .simulation-left span {
        font-size: 20px;
    }

    }
    
  @media (max-width: 934px) {
    .icon-container-1, .icon-container-2 {
        top: 55px;
    }
  }

  @media (max-width: 900px) {
    .simulation-section {
        width: 80%;
    }

    .simulation-left h2 {
        font-size:18px;
    }

    .simulation-left span {
        font-size: 16px;
    }

    .footer-content {
        align-items: center;
        gap: 0px;
      }
  }

@media (max-width: 860px) {    
    .hero {
        flex-direction: column;
    }

    .left-hero-section {
        width: 100%;
    }

    .hero-text,
    .form-container {
        width: 100%;
        margin-bottom: 20px;
        padding-right: 0;
    }

    .right-hero-section {
        width:100%;
    }

    .right-hero-section-texts {
        padding-top:25px;
    }

    .hero-text h1 {
        font-size: 1.8em;
    }

    .simulation-content {
        flex-direction: column-reverse;
    }

    .simulation-left {
        width: 100%;
    }

    .simulation-left h2 {
        font-size:28px;
    }

    .simulation-left span {
        font-size:24px;
    }

    .simulation-details {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    .simulation-image {
        width: 100%;
    }

    .simulation-image img {
        display: none;
    }

    .simulation-image img.img-mobile {
        display: block;
    }
    
    .footer-phone-numbers {
        flex-direction: column;
        gap: 10px;
      }
    }

@media (max-width: 768px) {
    .benefits-container {
        flex-direction: column;
        align-items: center;
    }
    .benefit-card {
        width: 80%;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap:25px;
    }

    .footer-contact p {
        text-align: center;
        font-size: 24px;
    }

    .footer-phone-numbers {
        flex-direction: row;
        gap: 50px;
    }
    .form-group input[type="text"], .form-group input[type="email"] {
        font-size: 1rem;
    }
}

@media (max-width: 593px) {
    .icon-container-1, .icon-container-2 {
        top: 75px;
    }
    .simulation-left h2 {
        padding: 0;
        font-size: 24px;
    }

    .simulation-left span {
        font-size: 18px;
    }
}
@media (max-width: 767px) {
    .benefit-card {
        padding-left: 50px;
    }
    .benefit-card p {
        padding-right: 0px;
    }
    .benefit-card-left {
        padding-left: 40px;
    }
    .benefit-card-right {
        padding-right: 40px;
    }
    .header-container {
        width: 65%;
        flex-direction: column;
        padding: 0;
    }
    #logo-personas {
        padding-top: 30px;
        width: 200px;
        height: auto;
        padding-right: 0;
        padding-bottom: 10px;
    }
    #header-divider {
        display: none;
    }
    #brand-claim {
        padding: 0;
        text-align: center;
        margin-block-start: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .icon-container-1 img, .icon-container-2 img {
        width: 30px;
    }
    .icon-container-1 {
        width: 50px;
        height: 50px;
        left: -30px;
    }
    .icon-container-2 {
        width: 50px;
        height: 50px;
        right: -30px;  
    }
     .benefit-card-left {
        padding-left: 30px;
    }
    .benefit-card-right {
        padding-right: 30px;
        padding-left: 20px;
    }
    .benefit-card h3 {
        font-size: 1.8em;
    }
     .benefit-card p {
        font-size: 1.3em;
        line-height: 1.4rem;
     }
     .compare-box {
        margin: 0 5px 5px;
        padding: 0 5px 5px;
    }
}

@media screen and (min-width: 767px) {
    #footer-divider {
        min-width: 1px;
        min-height: 65px;
        background-color: #ffffff;
    }
}
 /* End of CSS */
 .legal .cont-legal {
    max-width: 1200px;
    margin: 0 auto 20px;
    width:100%;
}
.legal .cont-legal p {
    font-size:12px;
    color:#2c256c;
    margin-bottom:8px
}
.banner img {
    max-width: 900px;
    width:100%;
    margin: 0 auto 40px;
    height:auto;
    display: block;
}
section.legal {
    padding: 0 20px;
}