/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #080808;
    color: #f5eee4;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}



/* =========================================
   VARIABLES
========================================= */

:root {

    --orange: #ed5b2d;
    --orange-light: #ff7040;

    --orange-dark: #7d2d15;

    --background: #080808;
    --card: #0c0c0c;

    --border: rgba(237, 91, 45, 0.45);

    --text: #f5eee4;
    --text-gray: #a7a3a0;

}



/* =========================================
   NAVBAR
========================================= */

.navbar {

    height: 58px;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 7.5%;

    border-bottom: 1px solid rgba(255,255,255,0.15);

    background: rgba(5,5,5,0.92);

    position: relative;

    z-index: 100;

}



/* LOGO */

.logo-container {

    display: flex;

    align-items: center;

    gap: 12px;

}


.logo-box {

    width: 40px;

    height: 40px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 6px;

    background: linear-gradient(
        135deg,
        #ff7443,
        #b63718
    );

    font-size: 14px;

    font-weight: bold;

}


.logo-text h2 {

    font-size: 14px;

    letter-spacing: 1px;

}


.logo-text span {

    font-size: 9px;

    color: #aaa;

}



/* MENU */

.menu {

    display: flex;

    align-items: center;

    gap: 27px;

}


.menu a {

    color: #c8c4c1;

    text-decoration: none;

    font-size: 12px;

    transition: 0.3s;

    position: relative;

}


.menu a:hover {

    color: white;

}


.menu a.active {

    color: white;

}


.menu a.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    height: 2px;

    bottom: -8px;

    background: var(--orange);

}


.save-button {

    margin-left: 8px;

}



/* MENU MOBILE */

.menu-toggle {

    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 22px;

}



/* =========================================
   MAIN
========================================= */

.contact-section {

    min-height: 605px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 45px;

    padding: 48px 7.5% 50px;

    position: relative;

    overflow: hidden;

}



/* BRILLO DEL FONDO */

.background-glow {

    position: absolute;

    width: 650px;

    height: 650px;

    right: -250px;

    top: 80px;

    background: radial-gradient(
        circle,
        rgba(150,45,10,0.28),
        transparent 65%
    );

    pointer-events: none;

}



/* =========================================
   INFORMACIÓN
========================================= */

.contact-information {

    position: relative;

    z-index: 2;

}


.section-title {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--orange);

    font-weight: bold;

    font-size: 16px;

    margin-bottom: 5px;

}


.title-line {

    width: 30px;

    height: 2px;

    background: var(--orange);

}



/* TITULO */

.contact-information h1 {

    font-size: clamp(42px, 4vw, 52px);

    line-height: 0.98;

    letter-spacing: -2px;

    margin-bottom: 17px;

}


.contact-information h1 strong {

    color: var(--orange);

    display: block;

}



/* DESCRIPCIÓN */

.description {

    color: #b7b3af;

    font-size: 15px;

    line-height: 1.55;

    max-width: 470px;

    margin-bottom: 30px;

}



/* =========================================
   TARJETAS
========================================= */

.contact-cards {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    max-width: 705px;

}


.contact-card {

    min-height: 116px;

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 15px;

    display: flex;

    align-items: center;

    gap: 16px;

    text-decoration: none;

    color: white;

    background: linear-gradient(
        120deg,
        rgba(25,14,10,0.7),
        rgba(7,7,7,0.8)
    );

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

}


.contact-card:hover {

    transform: translateY(-5px);

    border-color: var(--orange);

    box-shadow:
        0 10px 35px rgba(237,91,45,0.13);

}



/* ICONOS */

.icon-container {

    min-width: 58px;

    height: 58px;

    border-radius: 12px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 26px;

    color: var(--orange);

    border: 1px solid rgba(237,91,45,0.45);

    background:
        radial-gradient(
            circle at center,
            rgba(237,91,45,0.2),
            rgba(30,15,8,0.8)
        );

    box-shadow:
        inset 0 0 15px rgba(237,91,45,0.1);

}


.card-content h3 {

    font-size: 14px;

    margin-bottom: 7px;

}


.card-content p {

    color: #9c9895;

    font-size: 12px;

    line-height: 1.4;

    margin-bottom: 6px;

}


.card-content strong {

    color: var(--orange);

    font-size: 12px;

}



/* =========================================
   SEGURIDAD
========================================= */

.security-card {

    width: 100%;

    max-width: 705px;

    height: 67px;

    border: 1px solid var(--border);

    border-radius: 40px;

    margin-top: 15px;

    padding: 8px 20px;

    display: flex;

    align-items: center;

    gap: 16px;

    background:
        linear-gradient(
            90deg,
            rgba(35,17,10,0.6),
            rgba(10,10,10,0.5)
        );

}


.security-icon {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--orange);

    background: rgba(237,91,45,0.12);

}


.security-card h3 {

    font-size: 12px;

    margin-bottom: 3px;

}


.security-card p {

    color: #8e8b88;

    font-size: 11px;

}



/* =========================================
   IMAGEN
========================================= */

.visual-section {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    padding-top: 22px;

}



/* CONTENEDOR DE IMAGEN */

.image-frame {

    width: min(100%, 640px);

    height: 325px;

    position: relative;

}



/* BORDE PRINCIPAL */

.image-main {

    position: absolute;

    top: 0;

    left: 0;

    width: 86%;

    height: 100%;

    border: 2px solid var(--orange);

    border-radius: 40px;

    overflow: hidden;

    z-index: 2;

}


.image-main::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.2),
            rgba(120,30,5,0.08)
        );

    pointer-events: none;

}


.image-main img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}



/* SEGUNDO BORDE */

.image-decoration {

    position: absolute;

    width: 86%;

    height: 88%;

    right: 0;

    top: 35px;

    border: 2px solid var(--orange);

    border-left: none;

    border-radius: 0 55px 55px 0;

    opacity: 0.9;

}



/* =========================================
   SLOGAN
========================================= */

.slogan {

    position: absolute;

    right: 12%;

    bottom: 15px;

    color: var(--orange);

    transform: rotate(-3deg);

    text-align: center;

}


.slogan span {

    font-family: cursive;

    font-size: 23px;

    font-weight: bold;

}


.slogan-line {

    width: 140px;

    height: 3px;

    background: var(--orange);

    margin: 5px auto;

    transform: rotate(-8deg);

}



/* =========================================
   FAQ
========================================= */

.faq-section {

    padding: 90px 7.5%;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(120,35,10,0.15),
            transparent 50%
        );

}


.faq-title {

    text-align: center;

    margin-bottom: 45px;

}


.faq-title > span {

    color: var(--orange);

    font-weight: bold;

    font-size: 15px;

}


.faq-title h2 {

    font-size: 40px;

    margin-top: 8px;

}


.faq-title strong {

    color: var(--orange);

}


.faq-container {

    max-width: 800px;

    margin: auto;

}


.faq-item {

    border: 1px solid rgba(237,91,45,0.35);

    border-radius: 12px;

    margin-bottom: 12px;

    padding: 20px;

    background: rgba(15,15,15,0.7);

}


.faq-item summary {

    list-style: none;

    cursor: pointer;

    font-weight: bold;

    display: flex;

    justify-content: space-between;

}


.faq-item summary::-webkit-details-marker {

    display: none;

}


.faq-item summary i {

    color: var(--orange);

    transition: 0.3s;

}


.faq-item[open] summary i {

    transform: rotate(45deg);

}


.faq-item p {

    color: #a7a3a0;

    line-height: 1.6;

    margin-top: 15px;

    font-size: 14px;

}



/* =========================================
   ANIMACIONES SCROLL
========================================= */

.reveal {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

}


.reveal.active {

    opacity: 1;

    transform: translateY(0);

}



/* =========================================
   RESPONSIVE TABLET
========================================= */

@media (max-width: 1000px) {

    .navbar {

        padding: 0 5%;

    }


    .menu {

        gap: 15px;

    }


    .menu a {

        font-size: 11px;

    }


    .contact-section {

        padding: 45px 5%;

        grid-template-columns: 1fr;

    }


    .contact-information {

        max-width: 750px;

        margin: auto;

    }


    .visual-section {

        max-width: 700px;

        width: 100%;

        margin: 20px auto 0;

    }


    .image-frame {

        height: 350px;

    }


    .slogan {

        right: 5%;

        bottom: -30px;

    }

}



/* =========================================
   RESPONSIVE MÓVIL
========================================= */

@media (max-width: 700px) {

    .navbar {

        height: 65px;

        padding: 0 20px;

    }


    .menu {

        position: absolute;

        top: 65px;

        left: 0;

        width: 100%;

        padding: 20px;

        background: #080808;

        border-bottom: 1px solid rgba(237,91,45,0.4);

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        transform: translateY(-150%);

        opacity: 0;

        transition: 0.4s;

    }


    .menu.show {

        transform: translateY(0);

        opacity: 1;

    }


    .menu-toggle {

        display: block;

        cursor: pointer;

    }


    .contact-section {

        display: block;

        padding: 40px 20px 70px;

    }


    .contact-information h1 {

        font-size: 43px;

    }


    .description {

        font-size: 14px;

    }


    .contact-cards {

        grid-template-columns: 1fr;

    }


    .contact-card {

        min-height: 105px;

    }


    .security-card {

        height: auto;

        min-height: 70px;

        border-radius: 20px;

        padding: 12px 15px;

    }


    .visual-section {

        margin-top: 50px;

    }


    .image-frame {

        height: 240px;

    }


    .image-main {

        width: 90%;

        border-radius: 25px;

    }


    .image-decoration {

        width: 88%;

        border-radius: 0 30px 30px 0;

    }


    .slogan {

        position: relative;

        right: auto;

        bottom: auto;

        margin-top: 25px;

    }


    .slogan span {

        font-size: 19px;

    }


    .faq-section {

        padding: 65px 20px;

    }


    .faq-title h2 {

        font-size: 32px;

    }

}



/* =========================================
   MÓVIL PEQUEÑO
========================================= */

@media (max-width: 400px) {

    .logo-text h2 {

        font-size: 13px;

    }


    .contact-information h1 {

        font-size: 37px;

    }


    .icon-container {

        min-width: 50px;

        height: 50px;

        font-size: 21px;

    }


    .card-content h3 {

        font-size: 13px;

    }


    .image-frame {

        height: 200px;

    }

}