:root{
    /* PALETA DE COLORES */
    --dom:#00FE83;
    --sec:#E4EFF2;
    --acc1:#0556D2;
    --acc2:#C1A0FD;

    --texto:#111;
    --texto-suave:#333;
    --white:#ffffff;
    --padding-sm: 16px; 
    --padding-lg: 20px;
}

body{
    font-family:"Geologica";
    background:var(--sec);
    color:var(--texto);
    margin:0;
    padding:0;
    padding-top: 30px;
    padding-right: 5px;
}

header{
    position:fixed;
    top:0;left:0;right:0;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(4px);
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
    z-index:40;
}

.logo {
    width: 130px; 
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    margin-left: -20px;
}
.nav-wrap{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:14px var(--padding-lg);
}

.logo{
    font-size:22px;
    font-weight:700;
    color:var(--acc1);
    letter-spacing:-0.5px;
}

nav{display:flex;align-items:center;gap:14px}
.menu{
    display:flex;
    gap:18px;
    list-style:none;
    align-items:center;
    padding: 0;
    margin: 0;
}
.menu > li{position:relative}

.menu a{
    color:var(--texto);
    font-weight:500;
    text-decoration: none;
    transition:color .2s;
}

.menu > li > a:hover{
    color:var(--acc1);
}

.submenu{
    position:absolute;
    top:40px;
    left:0;
    background:var(--white);
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    min-width:220px; 
    overflow:hidden;
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition:all .28s ease;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu > li:hover .submenu,
.menu > li:focus-within .submenu{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
}

.submenu li a{
    display:flex;
    align-items:center;
    padding:12px 16px;
    gap:10px;
    border-left:4px solid transparent;
}

.submenu li a:hover{
    background:#F5F6FF;
    border-left:4px solid var(--acc1);
    color:var(--acc1);
}

/* -- BUSCADOR -- */

.search{
    background:var(--acc1);
    border-radius:10px;
    padding:6px 12px;
    color:white;
    display:flex;
    align-items:center;
    gap:8px;
    margin-right: -60px;
    margin-bottom: 5px;

}
.search input{
    border:0;
    background:transparent;
    outline:none;
    width:140px;
    color:white;
}
.search input::placeholder{
    color:rgba(255,255,255,0.7);
}


/* -- RESPONSIVE -- */

.hamburger{
    display: none; 
    font-size: 20px;
    cursor: pointer;
    background: white;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
}

@media (max-width: 1024px) {
    .nav-wrap {
        padding: 12px var(--padding-sm);
    }
    
    .hamburger {
        display: block; 
    }
    
    .search {
        display: none;
    }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 35;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 0;
    }

    #menu-checkbox:checked ~ .hamburger + nav {
        display: block;
    }

    .menu {
        flex-direction: column; 
        align-items: flex-start;
        width: 100%;
        gap: 0;
        list-style: none;
    }
    
    .menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        list-style: none;
    }

    .menu a {
        padding: 12px var(--padding-sm);
        width: 100%;
        display: block;
    }

    .submenu {
        position: static; 
        display: none; 
        opacity: 1;
        transform: none;
        box-shadow: none;
        min-width: unset;
        width: 100%;
        background: #f7f7f7;
        padding: 0;
        margin: 0;
        border-radius: 0;
        list-style: none;
    }
    
    .submenu li {
        list-style: none;
    }

    .submenu li a {
        width: 100%; 
        padding: 10px 30px;
    }

    .menu > li.has-sub:focus-within .submenu,
    .menu > li.has-sub:hover .submenu {
        display: block;
    }
}

/* -- BOTONES -- */

.btn{
    padding:12px 2px;
    font-weight:700;
    border-radius:12px;
    text-decoration:none;
    transition:0.25s;
}

.btn-primary{
    background:var(--dom);
    color:#000;
    box-shadow:0 4px 14px rgba(0,254,131,0.25);
}
.btn-primary:hover{
    filter:brightness(1.1);
}

.btn-secondary{
    background:var(--white);
    border:2px solid var(--acc1);
    color:var(--acc1);
}
.btn-secondary:hover{
    background:var(--acc1);
    color:white;
}

/* -- HERO -- */

#hero{
    margin-top:72px; 
    height:calc(100vh - 72px);
    position:relative;
    overflow:hidden;
}

.hero-text .sub{
    color:var(--acc2);
}

.indicators label{
    background:rgba(255,255,255,0.6);
}
#r1:checked ~ .indicators label[for="r1"],
#r2:checked ~ .indicators label[for="r2"],
#r3:checked ~ .indicators label[for="r3"]{
    background:var(--dom);
}


.filter-header h3{
    color:var(--acc1);
}
.filter-group h4{
    color:var(--acc2);
    font-weight:600;
}

.icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 6px;
    vertical-align: middle;
}

/* --FOOTER -- */

.footer {
    background-color: #1f2a35;
    color: #ecf0f1;
    padding: 50px 25px 25px;
    font-family: 'Geologica', sans-serif;
}

.footer-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 40px;
}

.footer-col {
    flex: 1 1 230px;
    min-width: 200px;
}

.footer-col h3,
.footer-col h4 {
    color: #00FE83;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.2em;
}

.footer-col p,
.footer-col li {
    font-size: 0.95em;
    line-height: 1.7;
    color: #d0d7db;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s ease;
    position: relative;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background-color: #00FE83;
    transition: 0.3s ease;
}

.footer-col a:hover::after {
    width: 100%;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.06);
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
    font-size: 1.2em;
    transition: 0.3s ease;
    color: #ecf0f1;
}

.social-icons a:hover {
    background-color: #00FE83;
    color: #1f2a35;
    transform: translateY(-4px);
}

.social-icons a img {
    width: 22px !important; 
    height: 22px !important;
    object-fit: contain;
    margin: 0; 
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 0.85em;
    color: #96a0a4;
}

/* -- RESPONSIVE -- */

@media (max-width: 768px) {
    .footer {
        padding: 20px 25px; 
    }

    .footer-col {
        width: 90%; 
        text-align: left; 
        margin-bottom: 15px; 
    }

    .footer-col h3, 
    .footer-col h4,
    .footer-col p,
    .footer-col ul {
        margin-top: 0; 
        margin-bottom: 0; 
    }

    .footer-col p, .footer-col ul li {
        line-height: 1.3;
    }

}


/* -- BOTONES ADICIONALES -- */

.dom-bg {
    background-color: var(--dom); 
    color: var(--texto); 
}

.dom-bg:hover {
    background-color: var(--acc1); 
    color: #fff; 
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    margin-left: 0px;
}