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

button, input, select, textarea {
    font-family: inherit;
}

:root {
    --navbar-top: 15px;
    --navbar-width: 90%;
    --navbar-max-width: 1350px;
}

html {
    height: -webkit-fill-available;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    background-color: #1e2a24;
}

.bg-fixed {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(20, 19, 19, 0.611), /*arriba*/ rgba(0, 0, 0, 0.186)), /*abajo*/
        url('../img/Lamparas-75.jpg');

    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}

/* ================== NAVBAR y relacionados ==================*/

.navbar {
    position: fixed;
    top: var(--navbar-top);
    left: 0;
    right: 0;
    margin: 0 auto;
    width: var(--navbar-width);
    max-width: var(--navbar-max-width);
    height: 60px;
    z-index: 1000;
    opacity: 0;
    animation: fadeDown 1s ease-out forwards;
}

.navbar-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-links {
    display: flex;
    flex: 1;
    justify-content: center;
    list-style: none;
    gap: 5rem; /*espacio entre links del navbar*/
    margin: 0 2rem;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #eee7e7d5;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
    white-space: nowrap;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #cf9a5c;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #cf9a5c;
}

@media (min-width: 769px) {
    .nav-links {
        position: fixed;
        top: var(--navbar-top);
        left: 0;
        right: 0;
        margin: 0 auto;
        width: var(--navbar-width);
        max-width: var(--navbar-max-width);
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(1.5rem, 5vw, 6rem);
        padding: 0 clamp(120px, 12%, 180px);
        z-index: 1000;
        pointer-events: none;
        opacity: 0;
        animation: fadeDown 1s ease-out forwards;
    }
    .nav-links a {
        pointer-events: auto;
        font-size: clamp(0.9rem, 1vw + 0.55rem, 1.1rem);
        white-space: nowrap;
    }
    .nav-icons .btn-buscar {
        font-size: 1.05rem;
    }
    
}

/* Breakpoint intermedio: laptops chicas / tablets grandes */
@media (min-width: 769px) and (max-width: 1200px) {
    .nav-links {
        gap: 2.5rem;
        padding: 0 100px;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .btn-buscar {
        padding: 8px 20px;
    }
    .btn-buscar span {
        display: none;
    }
}

.toggle-menu {
    font-size: 2.2rem;
    color: #ffffff;
    cursor: pointer;
}
 
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    transform: translateY(2px);
}

.logo-accent {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.75;
    margin-left: 1rem;
}

.logo {
    text-decoration: none;
}

.nav-icons {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 1.5rem;
    color: #ffffff;
}

.btn-buscar {
    font-weight: 400;
    font-size: 1.2rem;
    text-decoration: none;
    color: #eee7e7ca;
    background-color: transparent;
    padding: 8px 40px;
    border: none rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    transition: color 0.3s, border-color 0.3s;
}

.btn-buscar i {
    font-size: 1rem;
}

.btn-buscar span {
    position: relative;
}

.btn-buscar span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1.5px;
    background: #cf9a5c;
    transition: width 0.3s ease;
}

.btn-buscar:hover {
    color: #cf9a5c;
    border-color: #cf9a5c;
}

.btn-buscar:hover span::after {
    width: 100%;
}

body.nav-hidden .navbar,
body.nav-hidden .nav-links {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease;
}

/*======================= HERO =======================*/

.hero-content {  /*todo el texto*/
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeSlide 1.6s ease-out 0.3s forwards;
}


.hero h1 {
    font-size: clamp(2.3rem, 8vw, 4rem);
    font-weight: 600;
    color: hsla(0, 7%, 97%, 0.721);
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    line-height: 1.1;
}

.hero-content h2 {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    font-weight: 300;
    color: #ffffffde;
    opacity: 0.85;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
    max-width: 600px;
}

.hero {
    position: relative;
    min-height: 100vh;
}

/*================== BOTÓN VER PRODUCTOS =====================*/ 

.btn-verproductos {
    background-color: #cf9a5c;
    color: #fff;
    padding: 12px 28px;
    margin-top: 100px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color .3s ease, transform .2s ease;
} 

/* boton hver suave (efecto) */
.btn-verproductos:hover {
    background-color: #093a09d2;
    transform: translateY(-2px);
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%); /* empieza un poquito más arriba */
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%); /* vuelve al centro */
    }
}
@keyframes fadeDown {
    0%   { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    0%   { opacity: 0; transform: translate(-50%, 20px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
}

/*======================= QUIÉNES SOMOS =======================*/

.about {
    position: relative;
    padding: 7rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about::before {
    content: "";
    position: absolute;
    inset: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-content h2 { /* quienes somos*/
    font-size: 3rem; /*tamaño*/
    font-weight: 600;
    color: #ffffffde;
    margin-bottom: 1.5rem;
}
.about-content h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #cf9a5c;
    margin: 1.5rem auto 2rem;
}

.about-content p { /*texto dentro de quienes somos*/
    font-size: 23px; /* tamaño dentro de texto quienes somos*/
    font-weight: 300;
    line-height: 1.6;
    color: #ffffffde;
}
.about-signature {
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.6;
    letter-spacing: 1px;
}

/*======================= CONTACTO =======================*/

.contact {
    position: relative;
    padding: 7rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.contact-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-content h2 {
    font-size: 3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0;
}

.contact-divider {
    width: 60px;
    height: 2px;
    background: #cf9a5c;
    margin: 1.5rem auto 2rem;
}

.contact-content p { /* texto dentro de contactanos*/
    font-size: 23px;
    font-weight: 300;
    line-height: 1.6;
    color: #ffffffde;
    margin-bottom: 2.5rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.contact-item i {
    font-size: 1.4rem;
}

.contact-item:hover {
    background-color: rgba(207, 83, 0, 0.2);
    border-color: #cf9a5c;
}

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

.footer {
    margin-top: auto; /* lo empuja al final cuando el contenido es corto */
    width: 100%;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    background-color: rgba(129, 125, 125, 0);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 40px;
    gap: 0.9rem; /* antes: 2rem */
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0;
}

.footer-contact {
    display: flex;
    gap: 1.5rem;
}

.footer-contact a {
    text-decoration: none;
    color: #eee7e7d5;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #cf9a5c;
}

.footer-socials {
    position: static;
    left: auto;
    transform: none;
    display: flex;
    gap: 1.6rem; /* antes: 3rem */
    font-size: 1.15rem; /* antes: 1.5rem */
    margin-top: 0;
}

.footer-socials a {
    color: #ffffff;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #cf9a5c;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0.9rem auto 0; 
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem; /* antes: 0.85rem */
    color: #ffffff99;
}

.footer-bottom a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #cf9a5c;
}

.footer-credito {
    margin-top: 0.4rem;
    font-size: 0.7rem !important;
    color: #cfc9c3;
}

.faq-legal {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    color: rgba(238, 231, 231, 0.65);
}
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }
}

/*======================= BOTÓN VOLVER ARRIBA =======================*/

#back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;

    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: rgba(160, 85, 32, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: #cf9a5c;
}

/*==================RESPONSIVIDAD==============*/


@media (max-width: 768px) {

    /* ------------------- NAVBAR -------------------- */
    .navbar {
        width: calc(100% - 2rem);
        padding: 0 1.2rem;
        height: 58px;
        top: 16px;
        z-index: 1002;
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

        /* ------------------- QUIÉNES SOMOS / CONTACTO ------------------- */
    .about-content h2,
    .contact-content h2 {
        font-size: 2rem;     
    }

    .about-content p,
    .contact-content p {
        font-size: 17px;     
    }

    .faq-summary-text {
        font-size: 16px;     
    }

    .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    transform: translateY(2px);
    }

    .logo-accent {
    font-size: 1rem;
    font-weight: 300;
    color: #cfc9c3;
    }
    
    .nav-icons {
        gap: 1.3rem;
        z-index: 1002;
    }
    .nav-icons > i:not(.toggle-menu) {
        display: none;
    }
    
    .nav-icons .btn-buscar {
    display: none;
}
    .toggle-menu {
        position: relative;
        z-index: 1003;
        font-size: 2rem;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    .toggle-menu:active {
        transform: scale(0.88);
    }

   #nav-links {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100dvh;
    max-width: none;

    margin: 0;
    padding: 5.5rem 2rem 1.5rem;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    list-style: none;
    background:
        linear-gradient(
            135deg,
            rgba(77, 91, 78, 0.90),
            rgba(35, 44, 37, 0.95)
        );

    backdrop-filter: blur(25px) saturate(72%);
    -webkit-backdrop-filter: blur(25px) saturate(72%);

    border: 1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        0 25px 80px rgba(0, 0, 0, 0.30);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease,
        transform 0.45s cubic-bezier(.22, 1, .36, 1);

    z-index: 1001;
}

    #nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #nav-links::before {
        display: none;
    }

       /* items */
    #nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.10);
        opacity: 0;
        transform: translateY(14px);
    }
    #nav-links li:last-child {
        border-bottom: none;
    }
    #nav-links.active li {
        animation: menuItemIn 0.6s cubic-bezier(.22,1,.36,1) forwards;
    }
    #nav-links.active li:nth-child(1) { animation-delay: 0.20s; }
    #nav-links.active li:nth-child(2) { animation-delay: 0.28s; }
    #nav-links.active li:nth-child(3) { animation-delay: 0.36s; }
    #nav-links.active li:nth-child(4) { animation-delay: 0.44s; }
    #nav-links.active li:nth-child(5) { animation-delay: 0.52s; }
    #nav-links.active li:nth-child(6) { animation-delay: 0.60s; }

    /* ================= LINKS ================= */
    #nav-links a {
        padding: 0.7rem 0;
        font-size: 1.25rem;
        font-weight: 600;
    }

    #nav-links .btn-buscar {
        font-size: 18px;
        font-weight: 500;
        padding: 10px 0;
        border-radius: 30px;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: #ffffff;
    }

    .nav-search-item {
        display: flex;
        justify-content: flex-start;
        padding: 1.4rem 0;
    }


    /* ================= MI CUENTA ================= */
    .btn-sesion-mobile {
        display: none;
    }
    body.menu-open .btn-sesion-mobile {
        display: block;
        position: fixed;
        left: 2rem;
        right: 2rem;
        bottom: 2rem;
        padding: 11px 0;
        text-align: center;
        color: #ffffff;
        text-decoration: none;
        background: rgba(20, 17, 15, 0.48);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 25px;
        z-index: 1002;
    }

    /* ================= BLOQUEAR SCROLL ================= */
    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }

}

@keyframes menuItemIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 769px) {
    .toggle-menu { display: none; }
    .nav-search-item,
    .nav-socials-item { display: none; }
}


/*======================= BUSCADOR =======================*/

/* =========================================
   OVERLAY
   ========================================= */

.search-overlay {
    position: fixed;
    inset: 0;

    background: rgba(8, 15, 11, 0.16);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 6rem 1.5rem 1.5rem;

    z-index: 2000;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   SEARCH BOX (contenedor invisible)
   ========================================= */

.search-box {
    position: relative;

    width: 100%;
    max-width: 540px;

    transform:
        translateY(-20px)
        scale(0.96);

    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-overlay.active .search-box {
    transform:
        translateY(0)
        scale(1);
}


/* =========================================
   INPUT (pill)
   ========================================= */

.search-input-row {
    position: relative;

    display: flex;
    align-items: center;

    gap: 0.75rem;

    padding: 0.6rem 0.6rem 0.6rem 1.3rem;

    background:
        linear-gradient(
            135deg,
            rgba(77, 91, 78, 0.92),
            rgba(35, 44, 37, 0.96)
        );

    backdrop-filter: blur(25px) saturate(72%);
    -webkit-backdrop-filter: blur(25px) saturate(72%);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

    transition: border-color 0.3s;
}

.search-input-row:focus-within {
    border-color: #cf9a5c;
}


/* icono */

.search-input-row i.bi-search {
    color: #cf9a5c;

    font-size: 1.05rem;

    flex-shrink: 0;
}


/* input */

#search-input {
    flex: 1;

    min-width: 0;

    background: transparent;

    border: none;
    outline: none;

    color: #eee7e7e0;

    font-size: 1rem;
    font-weight: 400;

    letter-spacing: 0.01em;
}

#search-input::placeholder {
    color: rgba(238, 231, 231, 0.5);
}


/* botón cerrar */

.search-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 50%;

    color: rgba(255, 255, 255, 0.65);

    cursor: pointer;

    font-size: 0.9rem;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.13);

    color: #ffffff;

    transform: rotate(90deg);
}


/* =========================================
   RESULTADOS (tarjeta aparte)
   ========================================= */

.search-results {
    max-height: 340px;

    overflow-y: auto;

    margin-top: 0.75rem;

    padding: 0.4rem 0;

    background:
        linear-gradient(
            135deg,
            rgba(77, 91, 78, 0.92),
            rgba(35, 44, 37, 0.96)
        );

    backdrop-filter: blur(25px) saturate(72%);
    -webkit-backdrop-filter: blur(25px) saturate(72%);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.search-results:empty {
    display: none;
}


/* cada resultado */

.search-result-item {
    position: relative;

    display: flex;
    align-items: center;

    gap: 1rem;

    margin: 0.15rem 0.5rem;

    padding: 0.75rem 1rem;

    border-radius: 16px;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.09);

    transform: translateX(3px);
}


/* imagen */

.search-result-item img {
    width: 48px;
    height: 48px;

    object-fit: cover;

    border-radius: 14px;

    flex-shrink: 0;

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.25);
}


/* información */

.search-result-info {
    min-width: 0;
}

.search-result-info h4 {
    margin: 0 0 0.18rem;

    font-size: 0.95rem;
    font-weight: 600;

    color: #eee7e7e0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-info span {
    font-size: 0.85rem;
    font-weight: 600;

    color: #cf9a5c;
}


/* =========================================
   EMPTY STATE
   ========================================= */

.search-empty {
    padding: 2rem 1.5rem;

    text-align: center;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.9rem;
}


/* =========================================
   SCROLLBAR
   ========================================= */

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);

    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .search-overlay {
        padding: 5rem 1rem 1rem;
    }

    .search-box {
        max-width: 100%;
    }

    .search-input-row {
        padding: 0.5rem 0.5rem 0.5rem 1.1rem;
    }

    .search-results {
        border-radius: 20px;
    }

    .search-result-item {
        margin: 0.15rem 0.35rem;
        padding: 0.7rem 0.8rem;
    }

}



/* ======================== COLOR TODA FUENTE DEL INDEX ===============*/
.search-box , .logo, .about , .hero h1 , .hero-content h2 , .nav-links a , .about-content h2 , .about-content p , .contact-content h2 , .contact-content p , .contact-item , .footer-logo , .footer-contact a , .footer-socials a , .footer-bottom p {
color: #eee7e7;
}

/* =========================================================
   MODAL FAQ
   ========================================================= */

.faq-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1.5rem;

    background: rgba(8, 15, 11, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.faq-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   MODAL
   ========================================================= */

.faq-box {
    position: relative;

    width: 100%;
    max-width: 760px;
    max-height: 85vh;

    overflow-y: auto;

    padding: 2.5rem;

    color: #eee7e7e0;

    background: linear-gradient(145deg, rgba(77, 91, 78, 0.92), rgba(35, 44, 37, 0.96));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);

    transform: translateY(12px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);

    scrollbar-width: thin;
    scrollbar-color: #cf9a5c transparent;
}

/* =========================================================
   BRILLO SUPERIOR DEL VIDRIO
   ========================================================= */

.faq-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 8%;
    right: 8%;

    height: 1px;

    background: rgba(255, 255, 255, 0.55);

    filter: blur(1px);

    opacity: 0.7;

    pointer-events: none;
}

.faq-overlay.active .faq-box {
    transform: translateY(0) scale(1);
}

/* =========================================================
   HEADER
   ========================================================= */

.faq-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;

    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-header h2 {
    margin: 0;
    color: #eee7e7e0;
    font-size: 2rem;
    font-weight: 600;
}


/* =========================================================
   BOTÓN CERRAR
   ========================================================= */

.faq-close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    padding: 0;

    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    cursor: pointer;
    font-size: 1rem;

    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.faq-close:hover {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    transform: rotate(90deg);
}


/* =========================================================
   PREGUNTAS
   ========================================================= */

.faq-box .faq-section-title {
    margin: 2rem 0 0.7rem;
    color: #cf9a5c;
    font-size: 1.15rem;
    font-weight: 600;
}

.faq-box .faq-section-title:first-of-type {
    margin-top: 0;
}

/* =========================================================
   RESPUESTAS
   ========================================================= */

.faq-pair {
    margin-bottom: 1.2rem; /* separación entre preguntas */
}

.faq-pair:last-child {
    margin-bottom: 0;
}

.faq-pair p {
    margin: 0 0 0.3rem; /* separación chica entre pregunta y su respuesta */
    max-width: 620px;
    color: #eee7e7e0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-pair p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   DESTACADOS / TEXTO EN NEGRITA
   ========================================================= */

.faq-box p strong {
    color: #f5f0e8;
    font-weight: 700;
}


/* =========================================================
   LINKS
   ========================================================= */

.faq-box a {
    color: #cf9a5c;

    text-decoration: none;
}

.faq-box a:hover {
    text-decoration: underline;
}


/* =========================================================
   SCROLL
   ========================================================= */

.faq-box::-webkit-scrollbar {
    width: 4px;
}

.faq-box::-webkit-scrollbar-track {
    background: transparent;
}

.faq-box::-webkit-scrollbar-thumb {
    background: rgba(207, 154, 92, 0.5);
    border-radius: 10px;
}


/* =========================================================
   MOBILE
   ========================================================= */


@media (max-width: 768px) {

    .faq-overlay {
        padding: 1rem;
    }

    .faq-box {
        max-height: 88vh;
        padding: 1.6rem 1.3rem;
        border-radius: 20px;
    }

    .faq-header h2 {
        font-size: 1.6rem;
    }

    .faq-close {
        width: 32px;
        height: 32px;
    }

    .faq-pair p {
        font-size: 0.9rem;
    }
}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .faq-overlay,
    .faq-box,
    .faq-close {
        transition: none;
    }
}



/* ================== MENÚ MOBILE — NUEVO REDISEÑO ================== */
@media (max-width: 768px) {

    #nav-links {
        gap: 0;
        padding: 6.5rem 2rem 2rem;
    }

    /* Buscar como "pill" */
    #nav-links .nav-search-item {
        padding: 0 0 2rem;
        border-bottom: none;
    }
    #nav-links .nav-search-item .btn-buscar {
        width: 100%;
        padding: 0.85rem 1.2rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.05);
        font-size: 1rem;
        font-weight: 400;
        color: rgba(238, 231, 231, 0.65);
        transition: border-color 0.3s, background 0.3s;
    }
    #nav-links .nav-search-item .btn-buscar i {
        color: #cf9a5c;
    }
    #nav-links .nav-search-item .btn-buscar::after,
    #nav-links .nav-search-item .btn-buscar span::after {
        display: none;
    }
    #nav-links .nav-search-item .btn-buscar:active {
        border-color: #cf9a5c;
        background: rgba(255, 255, 255, 0.09);
    }

    /* Línea arriba del primer link */
    #nav-links .nav-search-item + li {
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    /* Links (todos menos Buscar y redes) */
    #nav-links li:not(.nav-search-item, .nav-socials-item) > a {
        display: flex;
        align-items: baseline;
        width: 100%;
        padding: 1.1rem 0;
        font-size: 1.6rem;
        font-weight: 400;
        letter-spacing: -0.01em;
        color: #eee7e7e0;
        transition: color 0.3s, padding-left 0.3s;
    }


    #nav-links li:not(.nav-search-item, .nav-socials-item):active > a {
        color: #ffffff;
        padding-left: 0.4rem;
    }
    #nav-links li:not(.nav-search-item, .nav-socials-item):active > a::after {
        opacity: 1;
        transform: translateX(0);
    }

    @media (hover: hover) {
        #nav-links li:not(.nav-search-item, .nav-socials-item) > a:hover {
            color: #ffffff;
            padding-left: 0.4rem;
        }
        #nav-links li:not(.nav-search-item, .nav-socials-item) > a:hover::after {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Redes sociales */
    #nav-links .nav-socials-item {
        display: flex;
        gap: 0.9rem;
        margin-top: auto;
        padding-top: 2.5rem;
        border-bottom: none;
    }
    #nav-links .nav-socials-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        font-size: 1.15rem;
        color: #eee7e7e0;
        transition: color 0.3s, border-color 0.3s, background 0.3s;
    }
    #nav-links .nav-socials-item a::after {
        display: none;
    }
    #nav-links .nav-socials-item a:active {
        color: #cf9a5c;
        border-color: #cf9a5c;
    }
    @media (hover: hover) {
        #nav-links .nav-socials-item a:hover {
            color: #cf9a5c;
            border-color: #cf9a5c;
            background: rgba(255, 255, 255, 0.09);
        }
    }
    #nav-links.active li:nth-child(7) {
        animation-delay: 0.68s;
    }

    /* Firma abajo de las redes */
    #nav-links::after {
        content: "Hecho en Uruguay – ATMOS DECO";
        padding-top: 1.2rem;
        font-size: 0.72rem;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: rgba(238, 231, 231, 0.4);
        opacity: 0;
        transition: opacity 0.6s ease 0.6s;
    }
    #nav-links.active::after {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nav-links li {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

