@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Variables de colores y fuentes */
:root {
    --color-primary: #d46215;
    --color-secondary: #0d8bbd;
    --color-tertiary: #2a9426;
    --color-dark: #333333;
    --color-light: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Teléfonos móviles medianos */
@media (max-width: 767px) {
    body {
        font-family: var(--font-body);
        margin: 0;
        padding: 0;
        background-color: var(--color-light);
        color: var(--color-dark);
        line-height: 1.6;
    }

    header {
        display: flex;
        flex-direction: row;
        color: var(--color-dark);
        text-align: center;
        justify-content: space-evenly;
        border-bottom: 5px solid var(--color-primary);
        margin-top: 0.6rem;
        padding-bottom: 0.6rem;
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: var(--color-light);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    header img {
        width: 80px;
        height: 80px;
    }
    
    nav {
        display: none;
        justify-content: center;
        align-items: end;
    }
    
    nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 0.1rem 0;
    }
    
    nav ul li {
        display: inline;
        margin: 0 1.2rem;
    }
    
    nav ul li:hover {
        border-bottom: 2px solid #000;
        transition: width 0.3s ease-in-out;
        width: 0;
    }
    
    nav ul li:hover {
        width: 100%;
    }
    
    nav ul li a {
        color: var(--color-dark);
        text-decoration: none;
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    nav ul li a:hover {
        color: var(--color-primary);
    }
    
    nav ul li a.active {
        border-bottom: 2px solid var(--color-primary);
        color: var(--color-primary);
        font-weight: 600;
    }
    
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    #inicio {
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-image: url(../img/main/wave-haikei.svg);
        background-position: bottom;
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
    }
    
    .cabezal {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-top: 0;
    }
    
    .cabezal-izquierdo {
        padding-top: 5px;
        border-right: 5px solid var(--color-primary);
        text-align: end;
        padding-right: 20px;
    }
    
    .cabezal-izquierdo h1 {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 2.2rem;
        color: var(--color-dark);
        letter-spacing: 0.5px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    }
    
    .cabezal-derecho {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        margin-left: 30px;
        padding-top: 10px;
    }
    
    .cabezal-derecho .blancalinda,
    .cabezal-derecho .laseverina,
    .cabezal-derecho .alboran {
        width: 200px;
        height: 28px;
        font-size: 20px;
        font-weight: 600;
        font-family: var(--font-body);
        border-radius: 10px;
        opacity: 0.95;
        text-shadow: 0px 1px 2px rgba(0,0,0,0.2);
        text-align: center;
        margin-bottom: 8px;
        transition: transform 0.3s ease;
    }
    
    .cabezal-derecho h3:hover {
        transform: translateX(5px);
    }
    
    .cabezal-derecho .blancalinda {
        background-color: var(--color-secondary);
    }
    
    .cabezal-derecho .laseverina {
        background-color: var(--color-tertiary);
    }
    
    .cabezal-derecho .alboran {
        background-color: rgb(121, 30, 30);
    }
    
    .carrusel {
        width: 90%;
        height: 60vh;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-top: 50px;
        padding: 0;
    }
    
    .imagenes {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: end;
        width: 100%;
        height: 45vh;
    }
    
    .imagenes .img {
        width: 100%;
        height: 60vh;
        object-fit: cover;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        border-radius: 5px;
    }
    
    .imagenes .texto {
        position: absolute;
        flex-direction: column;
        transform: translate(0px);
        margin-bottom: 1px;
        backdrop-filter: blur(5px);
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 30px;
        width: 80%;
    }
    
    .imagenes .texto h3 {
        text-shadow: 0 0 15px rgba(0,0,0,0.8);
        padding-top: 6vh;
        color: var(--color-light);
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .imagenes .texto p {
        align-items: center;
        padding: 10px 15px;
        color: var(--color-light);
        font-size: 16px;
        font-weight: 400;
        line-height: 1.6;
        font-size: 0.8em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
        text-shadow: 0px 0px 10px black;
    }
    
    .key_slider {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    .atras, .adelante {
        img {
            width: 30px;
            height: 30px;
        }
    }
    
    .atras {
        margin-right: 20px;
        margin-bottom: 5px;
    }
    
    .adelante {
        margin-left: 20px;
        margin-bottom: 5px;
    }
    
    .puntos {
        display: flex;
        
    }
    
    .puntos p {
        font-size: 50px;
        font-weight: 500;
        color: black;
        margin-top: -20px;
    }
    
    .puntos .bold {
        font-weight: 700;
        color: #d46215;
    }

    #harina {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 100px 0 100px 0;
        background-color: #a19f9f;
        color: #fff;
        background-image: url(../logo.png);
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    
    #harina h2 {
        font-style: oblique;
        font-style: italic;
        align-items: center;
        background-color: transparent;
        padding-bottom: 20px;
    }
    
    .harina-inf {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
        background-color: transparent;
        width: 80%;
        background-color: #333;
        opacity: 0.8;
        border-radius: 10px;
    }
    
    .container-cards {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px;
    
    }
    
    .container-cards p {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }
    
    
    .card-izquierda {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 14px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        margin-top: 40px;
    }
    
    .card-derecha {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 14px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        margin-top: 40px;
    }
    
    .card img {
        width: 300px;
        padding: 5px;
        margin-right: 5px;
        margin-left: 5px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        background-color: var(--color-primary);
    }
    
    .card h4 {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 1.5rem;
        color: var(--color-primary);
        margin-bottom: 15px;
    }
    
    .card p {
        font-family: var(--font-body);
        font-size: 1rem;
        line-height: 1.6;
        color: var(--color-dark);
    }
    
    .card strong {
        color: var(--color-primary);
        font-weight: 600;
    }
    
    .container-text {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }
    
    .container-text h4 {
        background-color: #d46215;
        color: #fff;
        text-align: center;
        margin-bottom: 20px;
        padding: 10px;
        border-radius: 10px;
    }
    
    #subproducto {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 0 30px 0;
        background-image: url(../img/main/subproducto.svg);
        background-position: top;
        background-size: cover;
        width: 100%;

    }

    #subproducto h2 {
        font-style: italic;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 25px;
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 2rem;
        color: var(--color-dark);
        position: relative;
        padding-bottom: 15px;
    }
    
    #subproducto h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--color-primary);
    }
    
    #subproducto p {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
        width: 80%;
    }
    
    #subproducto .fondo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 40vh;
        background-image: url(../img/main/subproducto.png);
        background-size: cover;
        background-position: center;
        border: #d46215 2px solid;
        border-radius: 10px;
    }
    
    #contacto {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        background-color: #333;
        width: 80%;
        min-height: 82vh;
        border: 2px solid #d46215;
        border-bottom: none;
        margin-top: 70px;
    }
    
    .contacto-maps {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        width: 100%;
        padding: 10px;
        background-color: #333;
        color: #fff;
    }
    
    .contacto-maps iframe {
        width: 100%;
        height: 200px;
        border: 0;
    }
    
    .contacto-container {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: start;
        padding: 20px;
        background-color: #333;
        width: 100%;
        height: 100%;
    }
    
    .contacto-info {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 100%;
        padding: 10px;
        margin-right: 30px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        height: 100%;
    }
    
    .contacto-info h4 {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 1.6rem;
        color: var(--color-primary);
        margin-bottom: 15px;
        margin-top: 20px;
    }
    
    .contacto-info p {
        font-family: var(--font-body);
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    
    .contacto-info strong {
        font-weight: 600;
        color: var(--color-dark);
    }
    
    .contacto-info .hr-contactos {
        color: #fff;
        margin: 0 0 20px 0;
    }
    
    .contacto-info p {
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 20px;
        letter-spacing: 0.06em;
    }
    
    .contacto-info a {
        width: 70px;
        height: 100px;
    }
    
    .contacto-info a img {
        width: 70px;
        height: 80px;
    }
    
    .contacto-form {
        color: #fff;
        display: flex;
        width: 100%;
        height: 100%;
        flex-direction: column;
        justify-content: space-around;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }
    
    .contacto-form h4 {
        color: #fff;
        margin-top: 20px;
    }
    
    .contacto-form .hr-contactos {
        color: #fff;
        margin: 0 0 20px 0;
    }
    
    .contacto-form input,
    .contacto-form textarea {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border-radius: 5px;
        border: 1px solid #d46215;
    }
    
    .contacto-form button {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border-radius: 5px;
        border: 1px solid #333;
        background-color: #d46215;
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        cursor: pointer;
    }
    
    footer {
        background-color: var(--color-dark);
        color: var(--color-light);
        text-align: center;
        width: 100%;
        border-top: var(--color-primary) 2px solid;
        padding: 10px 0 10px 0;
        font-family: var(--font-body);
    }
    
    footer p {
        font-size: 0.8rem;
        margin: 0;
        padding: 2px 0 0 0;
    }
}

/* Tabletas */
@media (min-width: 768px) and (max-width: 1044px) {
    body {
        font-family: "Tauri", serif;
        margin: 0;
        padding: 0;
        background-color: #ffffffea;
    }

    header {
        display: flex;
        flex-direction: row;
        color: #000000;
        text-align: center;
        justify-content: space-evenly;
        border-bottom: 5px solid #d46215;
        margin-top: 0.6rem;
        padding-bottom: 0.6rem;
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #fff;
    }
    
    header img {
        width: 80px;
        height: 80px;
    }
    
    nav {
        display: flex;
        justify-content: center;
        align-items: end;
    }
    
    nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 0.1rem 0;
    }
    
    nav ul li {
        display: inline;
        margin: 0 1.2rem;
    }
    
    nav ul li:hover {
        border-bottom: 2px solid #000;
        transition: width 0.3s ease-in-out;
        width: 0;
    }
    
    nav ul li:hover {
        width: 100%;
    }
    
    nav ul li a {
        color: #000000;
        text-decoration: none;
        font-family: "Tauri", serif;
        font-size: 1rem;
    }
    
    nav ul li a.active {
        border-bottom: 2px solid #d46215;
        color: #d46215;
    }
    
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    #inicio {
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-image: url(../img/main/wave-haikei.svg);
        background-position: bottom;
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
    }
    
    .cabezal {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-top: 0;
    }
    
    .cabezal-izquierdo {
        padding-top: 5px;
        border-right: 5px solid #d46215;
        text-align: end;
        padding-right: 20px;
    }
    
    .cabezal-derecho {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        margin-left: 30px;
        padding-top: 10px;
    }
    
    .cabezal-derecho .blancalinda,
    .cabezal-derecho .laseverina,
    .cabezal-derecho .alboran {
        width: 200px;
        height: 25px;
        font-size: 20px;
        font-weight: 700;
        border-radius: 10px;
        opacity: 0.9;
        text-shadow: #ffffff 0px 0px 2px;
        text-align: center;
    }
    
    .cabezal-derecho .blancalinda {
        background-color: rgb(13, 139, 189);
    }
    
    .cabezal-derecho .laseverina {
        background-color: rgb(42, 148, 38);
    }
    
    .cabezal-derecho .alboran {
        background-color: rgb(121, 30, 30);
    }
    
    .carrusel {
        width: 90%;
        height: 60vh;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-top: 60px;
        margin-bottom: 0;
        padding: 0;
    }
    
    .imagenes {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: end;
        width: 100%;
        height: 45vh;
    }
    
    .imagenes .img {
        width: 100%;
        height: 60vh;
        object-fit: cover;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        border-radius: 5px;

    }
    
    .imagenes .texto {
        position: absolute;
        flex-direction: column;
        transform: translate(0px);
        margin-bottom: 1px;
        backdrop-filter: blur(5px);
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 30px;
        width: 80%;
    }
    
    .imagenes .texto h3 {
        text-shadow: 0 0 15px black;
        padding-top: 6vh;
        color: #fff;
        font-weight: 300;
        font-size: 25px;
    }
    
    .imagenes .texto p {
        align-items: center;
        padding: 10px;
        color: #fff;
        font-size: 0px;
        font-weight: 300;
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
        text-shadow: 0px 0px 10px black;
    }
    
    .key_slider {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    .atras, .adelante {
        img {
            width: 30px;
            height: 30px;
        }
    }
    
    .atras {
        margin-right: 20px;
        margin-bottom: 5px;
    }
    
    .adelante {
        margin-left: 20px;
        margin-bottom: 5px;
    }
    
    .puntos {
        display: flex;
        
    }
    
    .puntos p {
        font-size: 50px;
        font-weight: 500;
        color: black;
        margin-top: -20px;
    }
    
    .puntos .bold {
        font-weight: 700;
        color: #d46215;
    }

    #harina {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 100px 0 100px 0;
        background-color: #a19f9f;
        color: #fff;
        background-image: url(../logo.png);
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    
    #harina h2 {
        font-style: oblique;
        font-style: italic;
        align-items: center;
        background-color: transparent;
        padding-bottom: 20px;
    }
    
    .harina-inf {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
        background-color: transparent;
        width: 80%;
        background-color: #333;
        opacity: 0.8;
        border-radius: 10px;
    }
    
    .container-cards {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px;
    
    }
    
    .container-cards p {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }
    
    
    .card-izquierda {
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
        padding: 14px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        margin-top: 40px;
    }
    
    .card-derecha {
        display: flex;
        flex-direction: row;
        padding: 14px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        margin-top: 40px;
        margin-left: auto;
    }
    
    .card img {
        width: 300px;
        padding: 5px;
        margin-right: 5px;
        margin-left: 5px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        background-color: #d46215;
    }
    
    .container-text {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }
    
    .container-text h4 {
        background-color: #d46215;
        color: #fff;
        text-align: center;
        margin-bottom: 20px;
        padding: 10px;
        border-radius: 10px;
    }
    
    #subproducto {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 0 30px 0;
        background-image: url(../img/main/subproducto.svg);
        background-position: top;
        background-size: cover;
        width: 100%;

    }

    #subproducto h2 {
        font-style: oblique;
        font-style: italic;
    }
    
    #subproducto p {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
        width: 80%;
    }
    
    #subproducto .fondo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 40vh;
        background-image: url(../img/main/subproducto.png);
        background-size: cover;
        background-position: center;
        border: #d46215 2px solid;
        border-radius: 10px;
    }
    
    #contacto {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        background-color: #333;
        width: 80%;
        min-height: 82vh;
        border: 2px solid #d46215;
        border-bottom: none;
        margin-top: 70px;
    }
    
    .contacto-maps {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        width: 100%;
        padding: 10px;
        background-color: #333;
        color: #fff;
    }
    
    .contacto-maps iframe {
        width: 100%;
        height: 200px;
        border: 0;
    }
    
    .contacto-container {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: start;
        padding: 20px;
        background-color: #333;
        width: 100%;
        height: 100%;
    }
    
    .contacto-info {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 100%;
        padding: 10px;
        margin-right: 30px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        height: 100%;
    }
    
    .contacto-info h4 {
        color: #fff;
        margin-bottom: 29px;
        margin-top: 20px;
    }
    
    .contacto-info .hr-contactos {
        color: #fff;
        margin: 0 0 20px 0;
    }
    
    .contacto-info p {
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 20px;
        letter-spacing: 0.06em;
    }
    
    .contacto-info a {
        width: 70px;
        height: 100px;
    }
    
    .contacto-info a img {
        width: 70px;
        height: 80px;
    }
    
    .contacto-form {
        color: #fff;
        display: flex;
        width: 100%;
        height: 100%;
        flex-direction: column;
        justify-content: space-around;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }
    
    .contacto-form h4 {
        color: #fff;
        margin-top: 20px;
    }
    
    .contacto-form .hr-contactos {
        color: #fff;
        margin: 0 0 20px 0;
    }
    
    .contacto-form input,
    .contacto-form textarea {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border-radius: 5px;
        border: 1px solid #d46215;
    }
    
    .contacto-form button {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border-radius: 5px;
        border: 1px solid #333;
        background-color: #d46215;
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        cursor: pointer;
    }
    
    footer {
        background-color: #333;
        color: #fff;
        text-align: center;
        width: 100%;
        border-top: #d46215 2px solid;
        padding: 10px 0 10px 0;
    }
    
    footer p {
        font-size: 0.8rem;
        margin: 0;
        padding: 2px 0 0 0;
    }
}

@media (min-width: 1045px) {
    body {
        font-family: "Tauri", serif;
        margin: 0;
        padding: 0;
        background-color: #ffffffea;
    }
    
    header {
        display: flex;
        flex-direction: row;
        color: #000000;
        text-align: center;
        justify-content: space-evenly;
        border-bottom: 5px solid #d46215;
        margin-top: 0.6rem;
        padding-bottom: 0.6rem;
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #fff;
    }
    
    header img {
        width: 80px;
        height: 80px;
    }
    
    nav {
        display: flex;
        justify-content: center;
        align-items: end;
    }
    
    nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 0.1rem 0;
    }
    
    nav ul li {
        display: inline;
        margin: 0 1.2rem;
    }
    
    nav ul li:hover {
        border-bottom: 2px solid #000;
        transition: width 0.3s ease-in-out;
        width: 0;
    }
    
    nav ul li:hover {
        width: 100%;
    }
    
    nav ul li a {
        color: #000000;
        text-decoration: none;
        font-family: "Tauri", serif;
        font-size: 1rem;
    }
    
    nav ul li a.active {
        border-bottom: 2px solid #d46215;
        color: #d46215;
    }
    
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    
    #inicio {
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-image: url(../img/main/wave-haikei.svg);
        background-position: bottom;
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
    }
    
    .cabezal {
        display: flex;
        flex-direction: row;
        width: 200vh;
        justify-content: center;
        align-items: center;
        margin-top: 0;
    }
    
    .cabezal-izquierdo {
        padding-top: 5px;
        border-right: 5px solid #d46215;
        text-align: end;
        padding-right: 20px;
    }
    
    .cabezal-derecho {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        margin-left: 30px;
        padding-top: 10px;
    }
    
    .cabezal-derecho .blancalinda,
    .cabezal-derecho .laseverina,
    .cabezal-derecho .alboran {
        width: 200px;
        height: 25px;
        font-size: 20px;
        font-weight: 700;
        border-radius: 10px;
        opacity: 0.9;
        text-shadow: #ffffff 0px 0px 2px;
        text-align: center;
    }
    
    .cabezal-derecho .blancalinda {
        background-color: rgb(13, 139, 189);
    }
    
    .cabezal-derecho .laseverina {
        background-color: rgb(42, 148, 38);
    }
    
    .cabezal-derecho .alboran {
        background-color: rgb(121, 30, 30);
    }
    
    .carrusel {
        width: auto;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-top: 10px;
        margin-bottom: 0;
        padding: 0;
    }
    
    .imagenes {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: end;
        width: 180vh;
        height: 65vh;
    }
    
    .imagenes .img {
        width: 180vh;
        height: 65vh;
        object-fit: cover;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        border-radius: 5px;

    }
    
    .imagenes .texto {
        position: absolute;
        flex-direction: column;
        transform: translate(0px);
        margin-bottom: 1px;
        backdrop-filter: blur(5px);
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 30px;
        width: 600px;
        height: 100px;
        transition: 1s;
    }
    
    .imagenes .texto h3 {
        text-shadow: 0 0 15px black;
        padding-top: 6vh;
        color: #fff;
        font-weight: 300;
        font-size: 25px;
    }
    
    .imagenes .texto p {
        align-items: center;
        padding: 10px;
        color: #fff;
        font-size: 0px;
        font-weight: 300;
    }
    
    .imagenes:hover .texto {
        transform: height 1s, transform 1s, background-color 1s;
        transform: translateY(-150px);
        background-color: rgba(0, 0, 0, 0.5);
        height: 250px;
    }
    
    .imagenes:hover .texto p {
        transition: font-size 0s .2s linear;
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
        text-shadow: 0px 0px 10px black;
    }
    

    .key_slider {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    .atras, .adelante {
        img {
            width: 30px;
            height: 30px;
        }
    }
    
    .atras {
        margin-right: 20px;
        margin-bottom: 5px;
    }
    
    .adelante {
        margin-left: 20px;
        margin-bottom: 5px;
    }
    
    .puntos {
        display: flex;
        
    }
    
    .puntos p {
        font-size: 50px;
        font-weight: 500;
        color: black;
        margin-top: -20px;
    }
    
    .puntos .bold {
        font-weight: 700;
        color: #d46215;
    }
    
    #harina {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 100px 0 100px 0;
        background-color: #a19f9f;
        color: #fff;
        background-image: url(../logo.png);
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    
    #harina h2 {
        font-style: oblique;
        font-style: italic;
        align-items: center;
        background-color: transparent;
    }
    
    .harina-inf {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
        background-color: transparent;
        width: 150vh;
    }
    
    .container-cards {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px;
    
    }
    
    .container-cards p {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }
    
    
    .card-izquierda {
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
        width: 50%;
        padding: 14px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        margin-top: 40px;
        margin-left: 25vh;
    }
    
    .card-derecha {
        display: flex;
        flex-direction: row;
        width: 50%;
        padding: 14px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        margin-top: 40px;
        margin-left: auto;
        margin-right: 25vh;
    }
    
    .card img {
        width: 300px;
        padding: 5px;
        margin-right: 5px;
        margin-left: 5px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        background-color: #d46215;
    }
    
    .container-text {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }
    
    .container-text h4 {
        background-color: #d46215;
        color: #fff;
        text-align: center;
        margin-bottom: 20px;
        padding: 10px;
        border-radius: 10px;
    }
    
    #subproducto {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 0 30px 0;
        background-image: url(../img/main/subproducto.svg);
        background-position: top;
        background-size: cover;
        width: 100%;

    }
    
    #subproducto h2 {
        font-style: oblique;
        font-style: italic;
    }
    
    #subproducto p {
        font-size: 1em;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.8;
        width: 150vh;
    }
    
    #subproducto .fondo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 150vh;
        height: 60vh;
        background-image: url(../img/main/subproducto.png);
        background-size: cover;
        background-position: center;
        border: #d46215 2px solid;
        border-radius: 10px;
    }
    
    #contacto {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        background-color: #333;
        width: 150vh;
        min-height: 82vh;
        border: 2px solid #d46215;
        border-bottom: none;
        margin-top: 70px;
    }
    
    .contacto-maps {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        width: 100%;
        padding: 10px;
        background-color: #333;
        color: #fff;
    }
    
    .contacto-maps iframe {
        width: 100%;
        height: 200px;
        border: 0;
    }
    
    .contacto-container {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: start;
        padding: 20px;
        background-color: #333;
        width: 100%;
        height: 100%;
    }
    
    .contacto-info {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 50%;
        padding: 10px;
        margin-right: 30px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        height: 100%;
    }
    
    .contacto-info h4 {
        color: #fff;
        margin-bottom: 29px;
        margin-top: 20px;
    }
    
    .contacto-info .hr-contactos {
        color: #fff;
        margin: 0 0 20px 0;
    }
    
    .contacto-info p {
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 20px;
        letter-spacing: 0.06em;
    }
    
    .contacto-info a {
        width: 70px;
        height: 100px;
    }
    
    .contacto-info a img {
        width: 70px;
        height: 80px;
    }
    
    .contacto-form {
        color: #fff;
        display: flex;
        width: 50%;
        height: 100%;
        flex-direction: column;
        justify-content: space-around;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }
    
    .contacto-form h4 {
        color: #fff;
        margin-top: 20px;
    }
    
    .contacto-form .hr-contactos {
        color: #fff;
        margin: 0 0 20px 0;
    }
    
    .contacto-form input,
    .contacto-form textarea {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border-radius: 5px;
        border: 1px solid #d46215;
    }
    
    .contacto-form button {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border-radius: 5px;
        border: 1px solid #333;
        background-color: #d46215;
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        cursor: pointer;
    }
    
    footer {
        background-color: #333;
        color: #fff;
        text-align: center;
        width: 100%;
        border-top: #d46215 2px solid;
        padding: 10px 0 10px 0;
    }
    
    footer p {
        font-size: 0.8rem;
        margin: 0;
        padding: 2px 0 0 0;
    }
}

.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}