:root {
    --color-principal: #000C36;
    --color-secundario: #eaeaea;
    --fuente-principal: 'Raleway', sans-serif;
    --tit-seccion: 2.5rem;
}

body {
    font-family: var(--fuente-principal);
}

img {
    max-width: 100%;
}

section {
    padding: 70px 0;
}

.btnes_flex {
    gap: 20px;
}

.btnPrincipal {
  background-color: var(--color-principal); /* tu azul #000C36 */
  color: #fff;
  padding: 10px 40px;
  border-radius: 15px;       /* esquinas suaves en vez de 50px */
  text-decoration: none;
  font-weight: 600;         /* un poco más fuerte */
  font-size: 15px;
  display: inline-block;
  text-align: center;
  transition: background-color .2s ease;
}

.btnPrincipal:hover {
  background-color: #001f6c; /* un azul un poco más claro al hover */
  color: #fff;
}

/* Secundario estilo outline blanco */
.btnSecundario {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

/* Hover: relleno blanco y texto en el color principal */
.btnSecundario:hover {
  background-color: #fff;
  color: var(--color-principal); /* tu azul */
}

header {
    background-color: transparent;
    padding: 10px;
}

/* Desktop por defecto */
.logo img{
  height: 100px;
  width: auto;   /* mantiene proporción */
  display: block;
}

/* Tablet (<= 991.98px) */
@media (max-width: 991.98px){
  .logo img{ height: 40px; }
}

/* Móvil (<= 575.98px) */
@media (max-width: 575.98px){
  .logo img{ height: 60px; }
}


h1 {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 20px;
}

.tit_seccion {
    font-size: var(--tit-seccion);
    font-weight: 800;
    color: #000C36;
}

.ppal {
    padding: 0;
}

/* Hero box con tu imagen de fondo (sin overlay) */
.ppal .hero-box {
  background-image: url("../img/Imagen-principal.png"); /* tu ruta */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  min-height: 80vh;

  /* aire interno; más arriba para separar del borde superior */
  padding: 130px 40px 80px;
  display: flex;
  align-items: center;
  overflow: hidden; /* para respetar el border-radius con la imagen */
}

/* Columna de contenido: separación entre elementos */
.ppal .content-col { gap: 20px; }

/* Tipografía */
.ppal h1 {
  font-size: 2.50rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.ppal p {
  font-size: 1rem; /* 16px */
  margin: 0;
}

/* Ajustes responsive */
@media (max-width: 767.98px) {
  .ppal .hero-box { padding: 60px 20px 40px; }
  .ppal h1 { font-size: 1.75rem; }
}


.ppal p,
.ppal ul {
    font-size: 1.2rem;
}

/* Estilos para la sección "¿Por qué confiar...?" */
.porque-ags { padding: 60px 0; }

/* Tarjeta */
.razon-card{
  height: 100%;
  padding: 24px;
  border: 1px solid #000C36;
  border-radius: 20px; 
  display: flex;
  gap: 16px;
  background: #fff;
}

/* Contenedor del icono */
.razon-media{
  flex: 0 0 auto;
}

/* Icono */
.razon-icon{
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* Texto */
.razon-body{ display: flex; flex-direction: column; gap: 8px; }
.razon-title{
  font-size: 1rem; /* ~16px */
  margin: 0;
  font-weight: 700;
  color: #0c1b3a;      /* tono azul oscuro similar al de tus títulos */
}
.razon-text{
  margin: 0;
  color: #2b3350;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Hover opcional (suave) */
.razon-card:hover{
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  border-color: #bfc9e1;
}

/* Aplica el color a todos los SVG dentro de la sección */
.porque-ags svg,
.porque-ags .razon-icon {
  fill: #111;   /* Para íconos con relleno */
  stroke: #111; /* Para íconos con trazo */
}


/* Responsive: al apilarse, centramos icono y texto se mantiene limpio */
@media (max-width: 575.98px){
  .razon-card{ align-items: flex-start; }
}


.beneficios {
    padding: 0;
}

.beneficios .container {
    max-width: 1140px;
}

.barra_beneficios {
    background-color: #fff;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    box-shadow: 0px 19px 27px 2px rgba(0, 0, 0, 0.09);
    min-height: 150px;
    margin-top: -60px;
    z-index: 2;
    position: relative;
}

.beneficio {
    text-align: center;
}

.counter {
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(45deg, #e55d87, #5fc3e4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.beneficios p {
    margin-bottom: 0;
    font-weight: 300;
}

.productos {
    padding-top: 100px;
}

.box_producto {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    border: 1px solid #eaeaea;
    border-radius: 25px;
}

.box_producto img {
    width: 80px;
}

.box_producto h3 {
    font-size: 1.3rem;
    font-weight: 800;
}

.box_producto p {
    font-size: 1rem;
    font-weight: 400;
}

.nosotros {}

.nosotros .container {
    max-width:1140px;
}

.nosotros img {
    border-radius: 20px;
    max-width:85%;
    display:block;
    margin:0 auto;
}

.testimonios {
    background:#000C36;
}

.box_testimonio {
    display:flex;
    flex-direction: column;
    align-items: center;
    /* gap:20px; */
    padding: 30px;
    background-color: transparent;
    border-radius: 20px;
    box-shadow: 0 0 15px #6c757d30;
    text-align:center;
    color: #fff;
}

.box_testimonio img {
    width:100px;
    height:100px;
    border-radius:50%;
    margin-bottom:20px;
}

.box_testimonio h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight:800;
}

.box_testimonio h5 {
    font-size:.8rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.box_testimonio p {
    font-size: 0.9rem;
}

.faq .container {
    max-width:900px;
}

.faq .accordion-button:not(.collapsed) {
    background: var(--color-principal);
    color:#fff;
}

.contacto .container {
    max-width:1040px;
}

.box_contacto {
    display:flex;
    border-radius: 25px;
    overflow:hidden;
    box-shadow: 0 0 15px #6c757d30;
}

.box_form, .box_img_form {
    width: 100%;
}

.box_form {
    padding: 35px 50px;
    background: #000C36;
    color: #fff;
}

.box_img_form {
    background: #000 url(../img/contacto.jpg) no-repeat center;
    background-size: cover;
}

.form_row {
    margin-bottom: 20px;
}

footer {
    border:0;
    border-top: 1px solid #eaeaea;
    padding: 45px 0 20px;
    text-align:center;
}

.copy_dev {
    font-size: 13px;
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }

    .ppal {
        padding: 0 20px;
        text-align: center;
    }

    .btnes_flex {
        flex-direction: column;
        align-items: center;
    }

    .tit_seccion {
        text-align:center;
    }

    h1 {
        font-size: 3.5rem;
    }

    .ppal ul {
        text-align:left;
    }

    .ppal .container .row .col-sm:first-of-type {
        align-items:center;
        padding: 45px 20px;
    }

    .barra_beneficios {
        position: static !important;   /* quita absolute/fixed */
        transform: none !important;    /* quita translate/offset */
        margin-top: 16px;              /* separada del hero */
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 16px 4%;
        padding: 16px;                 /* aire interno */
        border-radius: 12px;
    }
    
    

    .beneficio {
        width: 48%;
    }

    .box_producto, .box_testimonio {
        margin-bottom:20px;
    }

    .nosotros p {
        text-align:center;
    }

    .nosotros img {
        margin-bottom: 30px;
    }

    .nosotros .btnes_flex {
        margin-bottom: 25px;
    }

    .nosotros .row {
        flex-direction: column-reverse;
    }

    .box_form {
        padding: 30px;
    }

    .box_img_form {
        width:0;
    }
}