@font-face {
    font-display: swap;
    font-family: 'Aboreto';
    font-style: normal;
    font-weight: 100;
    src: url('../webfonts/aboreto-v2-latin-regular.woff2') format('woff2');
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #fff;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.aboreto {
    font-family: 'Aboreto', sans-serif;
}

.direccion {
    text-align: center;
    font-size: 14px;
    color: #444;
    background-color: #f5f5f5;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-bottom: 1px solid #ddd;
}

.logo img {
    height: 54px;
    margin-bottom: -5px;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin-right: 20px;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease-in-out;
}

nav a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
    min-width: fit-content;
}

nav a:hover {
    color: #fff;
    background-color: #d4af37;
}

nav#menu.active {
    background: #f7f7f7;
}

.hero {
    position: relative;
}

.slogan {
    text-align: center;
    padding: 1rem;
    background: #d4af37;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.slides-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    margin-bottom: 10px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 250px;
}

.slide {
    min-width: 100%;
    padding: 4rem 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
    text-align: center;
    flex: 0 0 100%;
    position: relative;
}

.slide h3 {
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.slide p {
    font-size: 1.2rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.dots button {
    font-size: 1.5rem;
    background: none;
    border: 2px solid #d4af37;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dots button.active {
    background: #d4af37;
    color: #fff;
}

.container {
    padding: 2rem;
    padding-top: 0;
    padding-bottom: 0;
    max-width: 1000px;
    margin: auto;
    margin-top: 1rem !important;
}

section {
    margin-bottom: 1rem;
    scroll-margin-top: 80px;
}

h2:not(#title) {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    text-align: left;
    padding: 0;
    font-family: 'Aboreto', sans-serif;
}

.text-center {
    text-align: center;
    margin-top: 20px;
    align-items: center;
    gap: 2rem;
}

.elemento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    max-width: 900px;
    margin: 0 auto;
    margin-left: 10px;
}

#tarifas .elemento-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.elemento-item {
    background: #f7f7f7;
    border: 2px solid #e3e3e3;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elemento-item p {
    margin-top: 0.5rem;
    color: black;
    font-size: 1rem;
}

.elemento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    border-color: #ffd700;
}

#tarifas .elemento-item {
    border: 4px solid #ffffff;
    animation: resplandor 2s infinite alternate;
    background-color: #d4af37;
    color: black;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

@keyframes resplandor {
    0% {
        box-shadow: 0 0 10px #ffd700;
    }

    100% {
        box-shadow: 0 0 25px #ffd700;
    }
}

.elemento-item h3 {
    margin-bottom: 0.5rem;
    color: black;
    font-size: 1.4rem;
}

.elemento-item .precio {
    font-size: 3.5rem;
    margin: 0.5rem 0;
    position: relative;
    background: linear-gradient(90deg, black 10%, #b0b0b0 50%, black 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes shine {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.addressWidth {
    max-width: 46%;
}

.elemento-item .descripcion {
    font-size: 1rem;
    /* color: #666; */
    line-height: 1.4;
    margin: 0;
}

.opiniones .opinion {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f1f1f1;
    border-left: 5px solid #d4af37;
}

.elemento-item .euro {
    width: max-content;
    margin: 0;
    font-size: 1.4rem;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #d4af37;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #b8942f;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    background: #25D366;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
    height: 60px;
}

.whatsapp-float::before {
    content: "\f232";
    font-family: "Font Awesome 5 Free";
    position: absolute;
}

footer {
    text-align: center;
    padding: 1rem 1rem;
    background: #f4f4f4;
    color: #777;
    font-size: 0.9rem;
}

footer a {
    color: #777;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.proceso-pasos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.paso {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 175px;
    height: 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.paso:hover {
    transform: scale(1.05);
}

.icono {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.paso p {
    font-size: 0.9rem;
    color: #444;
    margin: 0;
    line-height: 1.2;
}

.flecha {
    font-size: 1.5rem;
    color: #888;
}

#spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.spinner-text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top: 5px solid #d4af37;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


@media (max-width: 768px) {
    .proceso-pasos {
        flex-direction: column;
    }

    .addressWidth {
        max-width: 100%;
    }

    .flecha {
        transform: rotate(90deg);
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    #tarifas .elemento-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.3rem;
        max-width: 900px;
        margin: 0 auto;
    }

    .elemento-item h3 {
        font-size: 1rem;
        margin: -1rem 0;

    }

    .elemento-item .descripcion {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: -0.2rem 0;
    }

    .elemento-item .euro {
        margin: 0;
        font-size: 1rem;
    }

    #tarifas .elemento-item {
        padding: 1rem;
        max-width: 97%;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
        font-size: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    @keyframes resplandor {
        0% {
            box-shadow: 0 0 10px #ffd700;
        }

        100% {
            box-shadow: 0 0 6px #ffd700;
        }
    }

    .elemento-item .precio {
        font-size: 2.3rem;
        margin: 0.3rem 0;
    }

    .precio-brillante {
        font-size: 2.3rem;
    }

    .addressBottom {
        margin-top: 1rem;
    }
}