section.hero {
    background-image: url('/hilera-de-edificios-antiguos-de-estilo-clasico-en-barcelona-espana.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100dvh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    section.hero {
        height: auto;
        width: 100%;
        background-attachment: scroll;
        min-height: 80vh;
        padding: 1rem 0;
        display: block;
        background-position: center;
        margin-bottom: 0 !important;
    }
}

section.hero .hero-content {
    text-align: center;
    color: white;
    padding: 2rem;
    backdrop-filter: blur(1px);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--brand) 60%, transparent);
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    section.hero .hero-content {
        padding: 1.5rem;
        max-height: none;
        overflow: visible;
        margin: 2rem auto 0;
        width: calc(100% - 2rem);
        background: color-mix(in srgb, var(--brand) 75%, transparent);
        border-radius: 12px;
    }
}

section.hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

@media (max-width: 1024px) {
    section.hero .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    section.hero .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
}

section.hero .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    section.hero .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}

section.hero .hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

section.hero .hero-button {
    background-color: var(--brand);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

section.hero .hero-button:hover {
    background-color: var(--brand-3);
}

section.hero .hero-ghost {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

section.hero .hero-ghost:hover {
    background-color: white;
    color: var(--brand);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.trust-text {
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-trust {
        margin-top: 1rem;
        gap: 0.4rem;
    }

    .trust-text {
        font-size: 0.8rem;
    }
}

section.hero .hero-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 1rem;
    text-align: left;
    max-width: 100%;
    font-size: 1rem;
}

section.hero .hero-features li {
    margin-bottom: 0.6rem;
    font-size: 1rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    section.hero .hero-features {
        max-width: 100%;
        padding: 0;
        margin-bottom: 0.8rem;
    }

    section.hero .hero-features li {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }
}

.horizontal-scroll-wrapper>section.hero {
    margin-bottom: calc(100vw - 100dvh)
}

section#valorador {
    background-image: url('/basin-5050580_1280.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    section#valorador {
        padding: 2rem 1rem;
        min-height: auto;
        background-attachment: scroll;
        display: block;
        position: relative;
        z-index: 1;
        height: auto;
        transform: none;
    }
}

section#valorador .container {
    backdrop-filter: blur(2px);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--brand-3);
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    section#valorador .container {
        padding: 1.5rem;
        border: 1px solid var(--brand);
        gap: 1.5rem;
        flex-direction: column;
        background: color-mix(in srgb, var(--brand) 60%, transparent);
    }
}

section#valorador .container:first-child {
    order: 2;
    background: color-mix(in srgb, var(--brand) 60%, transparent);
    border: 1px solid var(--brand);
    padding: 1.5rem;
    border-radius: var(--radius);
    max-height: 60vh;
    overflow: hidden;
}

@media (max-width: 768px) {
    section#valorador .container:first-child {
        order: 1;
        max-height: none;
        overflow: visible;
    }
}

section#valorador .container:last-child {
    order: 1;
    text-align: center;
}

@media (max-width: 768px) {
    section#valorador .container:last-child {
        order: 2;
    }
}

section#more-info {
    background-image: url('/tiro-vertical-de-angulo-bajo-de-un-edificio-de-hormigon-blanco.jpg');
    background-size: cover;
    background-position: bottom;
    color: white;
}

#valorador .section-title {
    text-align: center;
    margin: 0 0 0.5rem 0;
    text-shadow: var(--text-shadow);
    font-size: 2.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    #valorador .section-title {
        font-size: 1.8rem;
        margin: 0 0 0.5rem 0;
    }
}

#valorador .section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: var(--text-shadow);
    font-size: 1.2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    #valorador .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

#valorador .features-list {
    list-style: none;
    margin: 0;
    padding: 2rem;
    color: white;
    backdrop-filter: blur(1px);
    width: 100%;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

#valorador .features-list .feature-item {
    margin-bottom: 0;
    font-size: 1.1rem;
    text-shadow: var(--text-shadow);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: calc(var(--radius) / 2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    #valorador .features-list {
        width: 100%;
        padding: 1rem;
        grid-template-columns: 1fr;
        gap: 1rem;
        background: transparent;
        border: none;
    }

    #valorador .features-list .feature-item {
        padding: 1rem;
        font-size: 0.95rem;
    }
}



#valorador .feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

#valorador .feature-header .feature-title {
    font-size: 1.3rem;
    margin: 0;
    text-shadow: var(--text-shadow);
    font-weight: 600;
    line-height: 1.2;
}

#valorador .feature-header .feature-icon {
    font-size: 1.8rem;
    color: var(--brand-3);
    opacity: 0.9;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

@media (max-width: 768px) {
    #valorador .feature-header {
        gap: 0.8rem;
        margin-bottom: 0.6rem;
    }

    #valorador .feature-header .feature-title {
        font-size: 1.1rem;
    }

    #valorador .feature-header .feature-icon {
        font-size: 1.4rem;
    }
}/* App containers responsive */
#app-extra {
    width: 100%;
    margin-bottom: 1rem !important;
}

#app {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    #app-extra {
        margin-bottom: 0.8rem !important;
    }

    #app {
        margin: 0;
        padding: 0;
        width: 100%;
    }
}

/* Horizontal scroll wrapper */
.horizontal-scroll-wrapper>section.hero {
    margin-bottom: calc(100vw - 100dvh);
}

section#more-info {
    background-image: url('/tiro-vertical-de-angulo-bajo-de-un-edificio-de-hormigon-blanco.jpg');
    background-size: cover;
    background-position: bottom;
    color: white;
}