@font-face {
    font-family: 'Geometos';
    src: url('../fonts/geometos_neue_bold.otf') format('opentype');
    font-weight: bold;
}

@font-face {
    font-family: 'Geometos';
    src: url('../fonts/geometos_neue_extrabold.otf') format('opentype');
    font-weight: 900;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #E3E2E0;
    perspective: 1000px;
    font-family: 'Geometos', sans-serif;
}

.card { 
    position: relative;
    width: 43.75rem;
    height: 25rem;
    background: url(../img/Tarjeta\ de\ Presentación\ Antonio\ Cortés.png);
    background-size: cover;
    background-position: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
    cursor: pointer; 
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    transform: translateX(-15.625rem);
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.lateral{
    position: absolute;
    right: 0;
    background: #012169;
    width: 31.25rem;
    height: 100%;
    overflow-y: auto;
    padding: 1.875rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}



.download-btn{
    position: absolute;
    bottom: 1.875rem;
    left: 1.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.download{
    background: #012169;
    color: #FFF;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); */
    text-decoration: none;
    font-weight: bold;
    padding: 0.625rem 0.9375rem;
    border-radius: 0.0625rem;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.download i {
    margin-left: 0.3125rem;
}

.download:hover{
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
}

.phone{
    color: #FFF;
    margin: 0 8em;
}

.phone-item{
    border: 0.0625rem solid #FFF;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone a {
    color: #FFF;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone a i{
    margin-right: 1rem;
}

.section-title {
    margin-top: 5em;
    border-bottom: solid 1px white;
    width: 90%;
    color: white;
    padding-bottom: 0.5em;
}

.section-title-office {
    margin-top: 4em;
    border-bottom: solid 1px white;
    width: 90%;
    color: white;
    padding-bottom: 0.5em;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-capitalize {
    text-transform: capitalize;
}

/* Botones de menú - solo visibles en móvil */
.menu-toggle,
.menu-close {
    display: none;
}

/* Media Queries - Responsive Design */
@media (max-width: 48rem) {
    body {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3.75rem;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0.9375rem;
        right: 0.9375rem;
        z-index: 999;
        width: 2.8125rem;
        height: 2.8125rem;
        background: #012169;
        color: #FFF;
        border: none;
        border-radius: 0.3125rem;
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.3);
    }

    .menu-toggle:active {
        transform: scale(0.95);
    }

    .card {
        width: 90%;
        max-width: 31.25rem;
        height: 17.5rem;
        transform: translateX(0);
        margin: 1.25rem auto;
        margin-top: 50%;
    }

    .download-btn {
        position: relative;
        bottom: auto;
        left: auto;
        width: 90%;
        max-width: 31.25rem;
        margin: 0.9375rem auto;
        gap: 0.625rem;
        flex-direction: row;
        justify-content: center;
    }

    .download {
        flex: 1;
        max-width: 12.5rem;
        padding: 0.75rem 0.9375rem;
        font-size: 0.75rem;
    }

    a.download {
    display: flex;
    align-items: center;
    justify-content: center;
    }

    .lateral {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        max-width: 21.875rem;
        height: 100vh;
        background: #012169;
        z-index: 998;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 3.125rem 1.25rem 1.25rem 1.25rem;
    }

    .lateral.active {
        left: 0;
    }

    .menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0.9375rem;
        right: 0.9375rem;
        width: 2.5rem;
        height: 2.5rem;
        background: transparent;
        color: #FFF;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .contact-container {
        gap: 0.9375rem;
    }

    .section-title,
    .section-title-office {
        margin-top: 2em;
        width: 100%;
    }

    .phone {
        margin: 0;
    }

    .phone-item {
        padding: 0.625rem 0.5rem;
        font-size: 0.75rem;
    }

    .phone a {
        font-size: 0.75rem;
    }
}

@media (max-width: 30rem) {
    .menu-toggle {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
        top: 0.625rem;
        right: 0.625rem;
    }

    .card {
        width: 95%;
        height: 13.75rem;
        margin: 0.9375rem auto;
        margin-top: 50%;
    }

    .download-btn {
        width: 95%;
        margin: 0.75rem auto;
    }

    .download {
        font-size: 0.6875rem;
        padding: 0.625rem 0.75rem;
    }

    .lateral {
        max-width: 17.5rem;
        padding: 2.8125rem 0.9375rem 0.9375rem 0.9375rem;
    }

    .menu-close {
        width: 2.1875rem;
        height: 2.1875rem;
        font-size: 1.25rem;
    }

    .contact-container {
        gap: 0.75rem;
    }

    .section-title,
    .section-title-office {
        margin-top: 1.5em;
        font-size: 0.8125rem;
    }

    .phone-item {
        padding: 0.5rem 0.375rem;
        font-size: 0.6875rem;
    }

    .phone a {
        font-size: 0.6875rem;
    }

    .phone a i {
        margin-right: 0.5rem;
    }
}

