@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
    --padding-container: 100px 0;
    --color-title: #001a49;
}



body {
    font-family: 'Poppins', sans-serif;
    /*background-color: #834eff22; /*COLOR DEL FONDO DE LA PAGINA*/
}


.container{
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);

}

.hero{
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #000000; /*COLOR DEL TEXTO DE LA PORTADA*/
}

.hero::before{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 120%;
background-image: 
    linear-gradient(180deg, #fffafa00 0%, #ffffff00 100%),
    url("../images/LOGOATENCION2.JPG.jpg");
background-repeat: no-repeat, no-repeat;
background-size: cover;  /* AQUÍ está la solución */
background-position: center, center;
z-index: -1;
}

/* Contenedor principal */
.ticker-container {
    width: 100%;
    overflow: hidden;
    background: #0E0E0E;
    padding: 10px 0;
    border-top: 2px solid #222;
    border-bottom: 2px solid #222;
    display: flex;
}

/* Animación */
.ticker {
    display: flex;
    gap: 40px;
    animation: scroll 22s linear infinite;
    white-space: nowrap;
}

@keyframes scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* Cada item */
.ticker__item {
    display: flex;
    align-items: center;
    background: #151515;
    padding: 8px 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
    gap: 10px;
    color: #eee;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

/* Nombre de moneda */
.currency {
    font-weight: 600;
    color: #4da6ff;
}

/* Bandera */
.ticker__item img {
    width: 22px;
    height: auto;
    border-radius: 3px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .ticker__item {
        font-size: 12px;
        padding: 6px 10px;
        gap: 6px;
    }
}


/* Nav */
/* ============================
   NAVBAR GENERAL
============================ */

.navbar {
    width: 100%;
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================
   LOGO
============================ */

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
  
}

.nav-logo img {
    height: 48px;
}

.nav-logo span {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0A2A66;
    font-family: "Poppins", sans-serif;
}

/* ============================
   ENLACES
============================ */

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #0A2A66;
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: 0.3s ease;
}

/* Efecto hover elegante */
.nav-links a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #D49126; /* dorado corporativo */
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================
   MENÚ HAMBURGUESA (MÓVIL)
============================ */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #0A2A66;
    border-radius: 5px;
    transition: 0.3s ease;
}

/* Animación del toggle */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 900px) {

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 75px;
        right: 0;
        background: #ffffff;
        width: 100%;
        flex-direction: column;
        gap: 20px;
        padding: 25px 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: 0.35s ease;
    }

    /* Menú visible */
    .nav-links.active {
        transform: translateY(0%);
        opacity: 1;
    }
}


/* Hero CONTEINER */

 .hero__container{
    max-width: 800px;
    --padding-container:0;
    display: grid;
   grid-auto-rows: max-content;
   align-content: center;
   gap: 1em;
   padding-bottom: 100px;
   text-align: center;
}

.hero__title{
    font-size: 3em; /*TAMAÑO DE LA LETRA DEL TITULO*/
}

.hero__paragraph{
    margin-bottom: 20px;
}


/* ABOUT */
/* ---- ESTILOS GENERALES ---- */

:root {
    --primary: #0A2A66;
    --text: #2E2E2E;
    --gray: #6f6f6f;
    --bg-light: #f5f7fa;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.usuario-section {
    padding: 80px 20px;
    background: #f6f8fc;
    font-family: "Poppins", sans-serif;
}

.usuario-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.usuario-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #002b5c;
}

.usuario-header p {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

.usuario-tabs {
    max-width: 1000px;
    margin: auto;
}

.usuario-tabs input {
    display: none;
}

.usuario-tabs label {
    display: inline-block;
    padding: 15px 25px;
    cursor: pointer;
    background: #e9eef7;
    color: #003366;
    font-size: 16px;
    margin-right: 10px;
    border-radius: 12px;
    transition: .3s;
    font-weight: 600;
}

.usuario-tabs label:hover {
    background: #d7e3ff;
}

.usuario-tabs input:checked + label {
    background: #003366;
    color: #fff;
}

.content {
    background: #ffffff;
    margin-top: 25px;
    padding: 40px;
    border-radius: 18px;
    display: none;
    animation: fadeIn .5s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2 {
    display: block;
}

.content h3 {
    color: #002b5c;
    font-size: 28px;
    margin-bottom: 15px;
}

.intro {
    color: #444;
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.item {
    background: #f0f4ff;
    padding: 20px;
    border-radius: 14px;
    border-left: 5px solid #003366;
    transition: .3s;
}

.item:hover {
    background: #e4ecff;
    transform: translateY(-3px);
}

.item h4 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 18px;
}

.item p {
    color: #555;
    font-size: 14px;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to   {opacity: 1; transform: translateY(0);}
}


/* ================================
   SECCIÓN RECLAMACIONES
================================ */

.reclamaciones {
    margin-top: 70px;
    background: #ffffff;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    animation: fadeIn .6s ease;
}

.reclamaciones-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #002b5c;
}

.reclamaciones-title span {
    color: #003366;
}

.reclamaciones-sub {
    text-align: center;
    color: #555;
    margin-top: 8px;
    margin-bottom: 35px;
}

.reclamaciones-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.reclam-item {
    text-align: center;
    background: #f0f4ff;
    padding: 25px 40px;
    border-radius: 14px;
    width: 260px;
    transition: .3s;
    border-left: 5px solid #003366;
}

.reclam-item:hover {
    background: #e4ecff;
    transform: translateY(-4px);
}

.icon-rec {
    font-size: 45px;
    margin-bottom: 10px;
}

.reclam-item h4 {
    color: #003366;
    font-size: 18px;
    margin-bottom: 5px;
}

.reclam-item p {
    color: #444;
    font-size: 14px;
}

.reclamaciones-info {
    margin-top: 40px;
    background: #003366;
    color: #fff;
    padding: 18px 25px;
    border-radius: 10px;
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
}



/* ================================
   ESTILO GENERAL MEJORADO
=================================== */

.SocialSection {
    padding: 60px 0;
    background: linear-gradient(180deg, #f6f7e5 0%, #ffffff 100%);
    border-top: 4px solid #181a5b17;
}

/* CONTENEDOR */
/* ================================
   CONTENEDOR PRINCIPAL
=================================== */



/* FOOTER ES LA LINEA DE ABAJO DE LA PAGINA*/

/* ---------- FOOTER GENERAL ---------- */
.footer {
    background-color: #000000;      /* Azul corporativo */
    color: #ffffff;
    
    font-family: 'Arial', sans-serif;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* ---------- PARTE SUPERIOR ---------- */
.footer__top {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* ---------- CONTACTO ---------- */
.footer__contact .footer__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer__contact p {
    margin: 8px 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer__contact i {
    margin-right: 8px;
    color: #4DB6F6;
}

.footer__question {
    margin-top: 15px;
    font-weight: bold;
}

.footer__socials {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.footer__socials i {
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s;
}

.footer__socials i:hover {
    color: #4DB6F6;
}

/* CERTIFICACIONES — DE ESQUINA A ESQUINA */
.footer__seals {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Las lleva a las esquinas */
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.footer__seals img {
    width: 38%;        /* Para que ambas ocupen todo el ancho */
    max-width: 260px;  /* Evita que se deformen en pantallas grandes */
    filter: brightness(0.95);
    transition: 0.3s ease;
}

.footer__seals img:hover {
    transform: scale(1.03);
    filter: brightness(1);
}

/* ---------- COLUMNS ---------- */
.footer__links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer__column h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer__column a {
    display: block;
    color: #dcdcdc;
    text-decoration: none;
    margin: 6px 0;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer__column a:hover {
    color: #4DB6F6;
    padding-left: 5px;
}

/* ---------- PARTE INFERIOR ---------- */
.footer__bottom {
    margin-top: 40px;
    padding: 18px 0;
    background-color: #092033;
    text-align: center;
    font-size: 0.9rem;
    color: #cfcfcf;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .footer__top {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer__links {
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .footer__column {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer__socials {
        justify-content: flex-start;
    }

    .footer__seals img {
        width: 130px;
    }
}


/* MEDIA QUERIES */

@media (max-width:800px){
    .nav__menu{
        display: block;

    }

    .nav__link--menu{ 
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column; /*PARA QUE LOS ELEMENTOS SE PONGAN UNO DEBAJO DEL OTRO, EN COLUMNAS*/
        justify-content: space-evenly; /*PARA REPARTIR EL ESPACIO EQUITATIVAMENTE*/
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show{
        --show: block;
        opacity: 1;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .hero__title{
        font-size: 2.5rem;
    }

    .about__main{
        gap: 2em;
    }

    .about__icons:last-of-type{
        grid-column: 1/-1;
    }

    .Knowledge__container{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }
    .Knowledge__picture{
        grid-row: 1/2;
        justify-self: center;
    }

    .testimony__container{
        grid-template-columns: 30px 1fr 30px;
    }

    .testimony__body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items: center;
    }

    .testimony__img{
        width: 200px;
        height: 200px;
    }

    .questions__copy{
        width: 100%;
    }

    .footer__container{
        flex-wrap: wrap;
    }

    .nav--footer{
        width: 100%;
        justify-items: center;
    }

    .nav__link--footer{
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }

    .footer__form{
        width: 100%;
        justify-content: space-evenly;
    }

    .footer__input{
        flex: 1;

    }

}

@media (max-width:600px){
    
    .hero__title{
        font-size: 2rem;
    }
    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }
    .price__element{
        width: 90%;
    }
    .price__element--best{
        width: 90%;
    }   

    .price__price{
        font-size: 2em;

    }

    .testimony{
        --padding-container: 60px 0;

    }

    .testimony__container{
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .testimony__arrow{
        width: 100%;
    }

    .testimony__course{
        margin-top: 15px;
    }

    .questions__title{
        font-size: 1rem;
    }

    .footer__title{
        justify-self: start;
    }

    .nav--footer{
        padding: 0;
        margin-bottom: 60px;
    }

    .nav__link--footer{
        justify-content: space-between;
    }

    .footer__inputs{
        flex-wrap: wrap;
    }
    .footer__input{
        flex-basis: 100%;
        margin-bottom: 16px;
    }

    .footer__submit{
        margin-right: auto;
         /*PARA QUE SE VEA EL BOTON AMPLIO
        margin: 0; 
        width:100%*/

    }

}