:root {
    --primary: #AD5B26;
    --primary-dark: #8d471b;
    --text-dark: #1F1F1F;
    --text-light: #777;
    --bg-light: #f9f9f9;
    --bg-soft: #ffffffc7;
    --header-height: 90px;
}

.header {
    position: relative;
    z-index: 10;
}

#hero.hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    padding: calc(var(--header-height) + 3rem) 1.5rem 7.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #000000, #535353);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 100% 89%, 49% 100%, 0 89%, 0 75%);
}

#hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.85));
    z-index: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    width: 100%;
    color: #fff;
    margin: 0 auto;
}

#hero .hero-left img {
    width: 220px;
    max-width: 75%;
    margin: 0 auto 1.2rem;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
    opacity: 0;
    animation: fadeInLogo 1.1s ease forwards;
}

@keyframes fadeInLogo {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.94);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#hero .hero-content h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.6rem;
}

#hero .hero-content p {
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0.5rem auto 1.5rem;
    line-height: 1.45;
    color: #e8e8e8;
}

#hero .cta {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.9rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.25s ease;
}

#hero .cta:hover {
    background: var(--primary-dark);
}

@media (max-width: 680px) {
    #hero.hero {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 6rem;
    }

    #hero .hero-left img {
        width: 150px;
        margin-bottom: 1rem;
    }

    #hero .hero-content h1 {
        font-size: 1.9rem;
    }

    #hero .hero-content p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    #hero .cta {
        font-size: 0.9rem;
        padding: 0.7rem 1.6rem;
    }
}

.cta {
    display: inline-block;
    background: var(--primary);
    color: #fff !important;
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.25s ease;
}

.cta:hover {
    background: var(--primary-dark);
}

#section2 {
    padding: 4.5rem 1rem;
}

#section2 p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.65;
}

#section2 .sobre-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

#section2 .sobre-text {
    flex: 1 1 420px;
}

#section2 .sobre-img {
    flex: 1 1 420px;
    display: flex;
    justify-content: center;
}

#section2 .sobre-img img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 6px 18px #0002;
    object-fit: cover;
}

#section2 .cta {
    width: fit-content;
}

@media (max-width: 768px) {
    #section2 .sobre-wrapper {
        flex-direction: column;
        text-align: center;
    }

    #section2 .sobre-img img {
        max-width: 90%;
    }

    #section2 .cta {
        margin: 1.2rem auto 0;
    }
}

.tipologia-wrapper {
    margin-top: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.tipologia-img img {
    width: 430px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 18px #0002;
}

.tipologia-info ul {
    list-style: none;
    padding: 0;
}

.tipologia-info li {
    margin: 0.6rem 0;
    font-size: 1.05rem;
}

.tipologia-info li b {
    color: var(--primary);
}

.beneficios-list {
    margin: 2rem auto;
    max-width: 680px;
}

.beneficios-list li {
    font-size: 1.1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eaeaea;
    color: var(--text-dark);
}

.contador-box {
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    max-width: 420px;
    text-align: center;
}

#countdown {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1rem;
    letter-spacing: 2px;
}



.proceso-wrapper {
    margin-top: 2rem;
}

.proceso-paso {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 3px 10px #0001;
    font-size: 1.05rem;
}

.proceso-paso span {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 1rem;
}


#section8 .contacto-box {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contacto-box a {
    border: 2px solid var(--primary);
    border-radius: 50%;
    padding: 8px 12px;
    font-size: 2.2rem;
    color: var(--primary);
    text-decoration: none;
    transition: 0.2s ease;
}

.contacto-box a:hover {
    color: #fff;
    background-color: var(--primary);
}

@media (max-width: 992px) {
    .tipologia-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .proceso-wrapper {
        max-width: 500px;
        margin: auto;
    }
}

@media (max-width: 480px) {
    #countdown {
        font-size: 1.7rem;
    }

    .tipologia-info li {
        font-size: 0.95rem;
    }
}


#section6 .cta {
    width: fit-content;
}

#section4 {
    max-width: 100%;
    background-color: var(--bg-soft);

}

.bonos-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin: 2.5rem auto;
    max-width: 1100px;
}

.bono-card {
    flex: 1 1 30%;
    background: #fff;
    padding: 2rem 1.4rem;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 14px #00000012;
    transition: transform .25s ease, box-shadow .25s ease;
    min-height: 260px;
}


.bono-card img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.bono-card h3 {
    position: relative;
    color: var(--text-dark);
    margin-bottom: .6rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.bono-card h3::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.bono-card p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.45;
}

.bono-subtitle {
    font-size: 1.3rem;
    text-align: center;
}

@media (max-width: 900px) {
    .bonos-wrapper {
        gap: 1.4rem;
    }

    .bono-card img {
        width: 75px;
        height: 75px;
    }

    #section6 .cta {
        order: 3;
    }
}

@media (max-width: 768px) {

    .bonos-wrapper {
        flex-direction: column;
        align-items: center;
        max-width: 420px;
    }

    .bono-card {
        width: 100%;
        max-width: 380px;
    }
}


.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 1.4rem;
}

.time-box {
    background: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    min-width: 95px;

    display: flex;
    flex-direction: column;
    align-items: center;

    transition: transform .25s ease, box-shadow .25s ease;
}

.time-box:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.time-box .num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-dark);
    transition: opacity .25s ease, transform .25s ease;
}

.time-box small {
    margin-top: .35rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: .75;
}

.tick {
    animation: tickAnim .35s ease;
}

@keyframes tickAnim {
    0% {
        transform: scale(1);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .time-box {
        min-width: 80px;
        padding: 0.8rem 1rem;
    }

    .time-box .num {
        font-size: 1.9rem;
    }

    .time-box small {
        font-size: .75rem;
    }
}



.tipos-section {
    padding: 4.5rem 1rem;
    background: #fafafa;
}

.tipos-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.tipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: auto;
}

.tipo-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tipo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.tipo-img img {
    width: 100%;
    height: 260px;
    display: block;
}

.tipo-info {
    padding: 1.8rem;
}

.tipo-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: .6rem;
    color: var(--primary);
}

.tipo-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tipo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
}

.tipo-list li {
    padding: .4rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid #eee;
}

.tipo-list b {
    color: var(--primary);
}

.tipo-info .cta {
    display: inline-block;
    margin-top: .6rem;
}

.tipos-cta {
    margin: 3rem auto 0;
    display: block;
    width: fit-content;
}


@media(max-width:640px) {

    .serv-title,
    .obras-title {
        font-size: 1.9rem !important;
    }
}

@media(max-width: 1075px) {
    #section2 {
        padding: 4rem 1rem;
    }

    #section2 .sobre-wrapper {
        gap: 0;
    }

    #section2 .sobre-text {
        padding: 0;
        margin: 0;
        flex: 0;
    }

    #section2 .sobre-img img {
        width: 80%;
    }

    #section2 p {
        font-size: 1.05rem;
    }
}

@media(max-width:900px) {
    #section2 .sobre-text {
        display: block;
    }

    #section2 .sobre-img {
        display: none;
    }

    #section2 .cta {
        order: 3;
    }
}

@media (max-width: 768px) {
    #section2 .sobre-img img {
        max-width: 85%;
    }

    #section2 .cta {
        margin: 1.5rem auto 0;
    }
}

@media (max-width: 480px) {
    #section2 {
        padding: 3.2rem 1rem;
    }

    #section2 p {
        font-size: 1rem;
        line-height: 1.55;
    }

    #section2 .sobre-img img {
        max-width: 100%;
        border-radius: 10px;
    }
}


.tipologia-section {
    background-color: var(--bg-light);
    padding: 5rem 1.6rem;
    position: relative;
}

.tipologia-section .obras-title {
    text-align: center;
    font-size: 2.45rem;
    font-weight: 800;
    margin-bottom: 3.2rem;
    color: var(--text-dark);
    position: relative;
}

.tipologia-section .obras-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: var(--primary);
    margin: 0.5rem auto 0;
    border-radius: 3px;
}


.tipologia-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}


.img-frame {
    padding: 12px;
    border-radius: 18px;
    transition: transform .35s ease, box-shadow .35s ease;
}

.tipologia-img img {
    width: 460px;
    max-width: 100%;
    border-radius: 14px;
    object-fit: cover;
}


.card-float {
    padding: 2rem 2.4rem;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    max-width: 480px;
    animation: fadeInUp .7s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.tipologia-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
}

.tipologia-list li {
    font-size: 1.15rem;
    margin: 0.75rem 0;
    color: var(--text-dark);
    line-height: 1.5;
}

.tipologia-list b {
    color: var(--primary);
    font-size: 1.18rem;
}

.tipologia-list a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.tipologia-list a:hover {
    text-decoration: underline;
}

.tipologia-cta {
    margin-top: 0 !important;
}

.map-container {
    margin: 1.6rem 0 2rem;
    border-radius: 14px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 260px;
    border: none;
}

@media (max-width: 980px) {
    .tipologia-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }

    .card-float {
        max-width: 600px;
        padding: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tipologia-list li {
        font-size: 1rem;
    }

    .map-container iframe {
        height: 220px;
    }
}

.map-fullwidth {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0;
    border-radius: 14px;
    overflow: hidden;
}

.map-fullwidth iframe {
    width: 100%;
    height: 320px;
    border: none;
}


@media (max-width: 980px) {
    .map-fullwidth iframe {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .map-fullwidth iframe {
        height: 220px;
    }
}

.tipologia-info ul li a {
    color: var(--text-dark);
    font-weight: 400;
    text-decoration: underline;
}

.tipologia-info ul li a:hover {
    color: var(--primary);
}