/* =====================================================
   RESET
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --gris-suave: #d8d8d8;
    --gris-medio: #cfcfcf;
    --blanco-sucio: #f5f3ee;
    --blanco-sucio-claro: #f7f5f0;
    --primary: #4A90D9;
    --primary-dark: #357ABD;
    --bg-page: #F7FAFC;
    --bg-white: #FFFFFF;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --border: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
    /* Degradados */
    --degradado-suave: linear-gradient(to bottom, var(--gris-suave), var(--blanco-sucio));
    --degradado-claro: linear-gradient(to bottom, #e0e0e0, var(--blanco-sucio-claro));
    --degradado-contraste: linear-gradient(to bottom, var(--gris-medio), #f2f0eb );
    --degradado-diagonal: linear-gradient(135deg, #d9d9d9 0%, var(--blanco-sucio-claro) 100% );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url('../img/fondo.jpg');
    
}

main {
    flex: 1;
}



/* =====================================================
   HEADER
===================================================== */

.header {
    width: 100%;
    min-height: 80px;
   padding: 0 30px;
    display: flex;
    align-items: center;
    /*background: #fff;*/
    background: var(--degradado-claro);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
        position: relative;
    z-index: 1000;
}



/* =====================================================
   LOGO
===================================================== */

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 70px;
    gap: 20px;
    flex-shrink: 0;
}

.logo {
    width: 85px;
    height: 70px;
    flex-shrink: 0;
}

.logo img {
    margin-top: 10px;
    width: 85px;
    height: 70px;
}


/*.logo {
    height: 75px;
    display: flex;
    align-items: center;
    text-decoration: none;
}


.logo img {
    width: 150px;
    height: 50px;
    object-fit: contain;
    object-position: center;
}*/


/* =====================================================
   ANAGRAMA
===================================================== */

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    color: var(--text-secondary);
    
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-shadow: 1px 1px 2px #a49f9f;
}


.brand-anagram {
    font-size: 1.3rem;
    font-weight: 500;
        letter-spacing: 0.6px;
        text-shadow: 1px 1px 2px #a49f9f;
}


/* =====================================================
   NAVEGACIÓN
===================================================== */

.nav {
    margin-left: auto;
}


.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
}


.menu > li {
    position: relative;
}



/* =====================================================
   ENLACES PRINCIPALES
===================================================== */

.menu > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    text-shadow: 0.5px 0.5px 1px #a49f9f;
    font-size: 22px;
    white-space: nowrap;
    transition:   background .25s ease, color .25s ease;
}


.menu > li > a:hover {
    background: #edf4f2;
    color: #2d756d;
    border-radius: 10px;
}

/* =====================================================
   DETAILS
===================================================== */

details {
    position: relative;
}

details summary {
    list-style: none;
    cursor: pointer;
}

details summary::-webkit-details-marker {
    display: none;
}

/* =====================================================
   MENÚ PRINCIPAL
===================================================== */

.menu > li > details > summary {
    min-height: 48px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background .25s ease,
        color .25s ease;
}

.menu > li > details > summary:hover {
    background: #edf4f2;
    color: #2d756d;
}



/* =====================================================
   FLECHA PRINCIPAL
===================================================== */
.arrow {
    font-size: 10px;
    transition:
        transform .25s ease;
}


details[open] > summary .arrow {
    transform:
        rotate(180deg);
}


/* =====================================================
   CONTENIDO
===================================================== */

.contenido {
    padding: 120px 30px;
    text-align: center;
    /*color: var(--text-secondary);*/
    color: var(--bg-white);
}

.contenido h1 {
    margin-bottom: 20px;
}

.contenido .boton{
margin-top: 50px;
 display: inline-block;
  padding: 14px 20px;
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-family: sans-serif;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contenido .boton:hover {
  background-color: #0056b3;
}

/* =====================================================
   HAMBURGUESA
===================================================== */

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    display: block;
    background: #333;
    border-radius: 3px;
    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* =====================================================
   ANIMACIÓN HAMBURGUESA
===================================================== */

.menu-toggle:checked
~ .hamburger span:nth-child(1) {
    transform:
        translateY(8px)
        rotate(45deg);
}

.menu-toggle:checked
~ .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked
~ .hamburger span:nth-child(3) {
    transform:
        translateY(-8px)
        rotate(-45deg);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {
    .header {
        padding: 0 20px;
    }

    .brand {
    
    gap: 35px;
    
}
   .logo img {
        width: 125px;
    }

    .anagrama img {
        width: 60px;
        height: 50px;
    }

    .menu > li > a,
    .menu > li > details > summary {
        padding: 12px 10px;
        font-size: 16px;
    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 760px) {

    .brand {
        height: 60px;
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        min-width: 0;
    }

    .logo {
        width: auto;
        height: 50px;
        display: flex;
        align-items: center;
    }


    .logo img {
        width: 110px;
        height: 50px;
        object-fit: contain;
    }

     .anagrama {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .anagrama img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

}


@media (max-width: 760px) {


    /* -----------------------------------------------
       HEADER
    ------------------------------------------------ */
    .header {
        min-height: 70px;
        padding: 0 15px;
        flex-wrap: wrap;
    }


    /* -----------------------------------------------
       BRAND
    ------------------------------------------------ */

    .brand {
        flex: 1;
        min-width: 0;
    }


    .logo img {
        width: 120px;
    }

   .anagrama img {
        width: 38px;
        height: 38px;
    }


    /* -----------------------------------------------
       HAMBURGUESA
    ------------------------------------------------ */

    .hamburger {
        display: flex;
    }


    /* -----------------------------------------------
       NAV
    ------------------------------------------------ */

    .nav {
        width: 100%;
        margin-left: 0;
        max-height: 0;
        overflow: hidden;
        transition:
            max-height .4s ease;
    }


    .menu-toggle:checked
    ~ .nav {
        max-height:
            calc(100vh - 70px);
        overflow-y: auto;
    }


    /* -----------------------------------------------
       MENÚ
    ------------------------------------------------ */

    .menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding:
            10px 0 20px;
    }


    .menu > li {
        width: 100%;
    }


    /* -----------------------------------------------
       ENLACES
    ------------------------------------------------ */

    .menu > li > a {
        width: 100%;
        min-height: 48px;
        padding:
            13px 10px;
        border-bottom:
            1px solid #eee;
    }


    /* -----------------------------------------------
       SUMMARY PRINCIPAL
    ------------------------------------------------ */

    .menu > li > details > summary {
        width: 100%;
        min-height: 48px;
        padding:
           13px 10px;
        border-bottom:
            1px solid #eee;
    }






}



/* =====================================================
   MÓVILES MUY ESTRECHOS
===================================================== */

@media (max-width: 420px) {

    .header {
        padding:
            0 10px;
    }
 .brand {
    
    gap: 15px;
    
}

    .logo img {
        width: 100px;
    }


/* =====================================================
   ANAGRAMA
===================================================== */

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.2rem;
    
}
    .anagrama img {
        width: 50px;
        height: 50px;
    }

    .hamburger {
        width: 38px;
    }

    .hamburger span {
        width: 23px;
    }

    .menu > li > a,
    .menu > li > details > summary {
        font-size: 18px;
        padding-left: 8px;
        padding-right: 8px;
    }





}