body, html {
    height: 100vh; /* Asegura que el body y html ocupen toda la ventana */
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Arial, sans-serif;
    box-sizing: border-box;
}

.home-main-scroll {
    display: flex;
    flex-direction: column;
    height: 100vh;           /* <-- Agrega esto */
    overflow-y: auto;        /* <-- Ya lo tienes */
    scroll-snap-type: y mandatory;
    padding-top: 0;
    padding-bottom: 80px;
}
.class-home {
    scroll-snap-align: start;
    /* height: 100vh;  <-- QUITA ESTA LÍNEA */
    min-height: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}
.class-home:first-child {
    scroll-margin-top: 0;
}
.home-header {
    background:
        linear-gradient(0deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.10) 100%),
        url('municipalidad.jpg') center 60% / cover no-repeat;
    color: #1a2747;
    text-align: center;
    min-height: 100vh; /* Quita el - 90px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.home-header-content {
    background: rgba(255,255,255,0.72);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
    border-radius: 1.5rem;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: inline-block;
    max-width: 90vw;
    /* Quita el padding-top: 90px; */
}
.home-header h1, .home-header p, .home-header span {
    text-shadow: 0 2px 16px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.10);
    position: relative;
    z-index: 2;
}
.home-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    color: #000000;
    text-shadow: 0 2px 16px rgba(0,0,0,0.10);
}
.home-header p {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0 auto;
    max-width: 700px;
    color: #234;
    text-shadow: 0 1px 2px rgba(0,0,0,0.07);
}
.home-header span {
    color: #eca539;
    font-weight: 600;
    display: block;
    margin-top: 0.5em;
    text-shadow: none;
}
.home-cta {
    background:
        linear-gradient(0deg, rgba(255,255,255,0.70) 0%, rgba(255,255,255,0.70) 100%),
        url('ticket.jpg') center center / cover no-repeat;
    text-align: center;
    min-height: 100vh; /* Cambiado de 60vh a 100vh */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0; /* Asegura que no haya margen extra */
    padding: 0; /* Opcional, si no necesitas padding */
}
.home-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a2747;
    text-shadow: 0 2px 16px rgba(0,0,0,0.13), 0 1px 2px rgba(0,0,0,0.10);
    margin-bottom: 0.7em;
    letter-spacing: 1px;
}

.home-cta p {
    font-size: 1.22rem;
    color: #232946;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto 1.5em auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.07);
    line-height: 1.6;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(270deg, #ffb347, #ffcc33, #ffb347, #ffcc33);
    background-size: 400% 400%;
    animation: gradientScroll 3s linear infinite;
    color: #232946;
    font-weight: 700;
    border-radius: 1.1em;
    padding: 1.1em 2.5em;
    font-size: 1.25em;
    margin-top: 1.8em;
    box-shadow: 0 4px 18px rgba(255, 179, 71, 0.18), 0 1.5px 8px rgba(255,204,51,0.10);
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    min-width: 180px;
    min-height: 56px;
    letter-spacing: 0.5px;
    font-family: inherit;
}

@keyframes gradientScroll {
    0% {background-position: 0% 50%;}
    100% {background-position: 100% 50%;}
}

.cta-btn:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 28px rgba(255, 179, 71, 0.22), 0 2px 12px rgba(255,204,51,0.13);
}

.cta-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 179, 71, 0.10);
}
.home-benefits {
    background: linear-gradient(120deg, #eafaf3 0%, #b7eacb 100%);
}
.benefits-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
}
.benefit-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(123,182,230,0.07);
    padding: 2rem 1.5rem;
    min-width: 220px;
    max-width: 330px;
    flex: 1 1 250px;
    text-align: center;
    margin: 0.5rem 0;
}
.benefit-card h5 {
    color: #4e54c8;
    font-weight: 700;
    margin-bottom: 0.7em;
}
.home-features {
    background:
        linear-gradient(120deg, rgba(0, 107, 207, 0.25) 0%, rgba(180,210,247,0.18) 100%),
        url('soporte.jpg') center 100% / cover no-repeat;
    text-align: center;
    position: relative;
    min-height: 100vh; /* Cambia height por min-height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: auto;
    z-index: 1;
    width: 100%; /* Quita width: 100vw */
    margin-bottom: 2.5rem; /* Agrega separación inferior */
}

.features-content {
    background: rgba(255,255,255,0.92);
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px rgba(44,62,80,0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 1200px;
    width: 95vw;
    margin: 2rem auto 2rem auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 350px;
    z-index: 2;
}

.features-content h1 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #1a2747;
    margin-bottom: 0.6em;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(44,62,80,0.07);
}

.features-content p {
    color: #232946;
    margin-bottom: 2em;
    font-size: 1.13em;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(44,62,80,0.07);
}

.features-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.feature-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(123,182,230,0.07);
    padding: 2rem 1.5rem;
    min-width: 220px;
    max-width: 330px;
    flex: 1 1 250px;
    text-align: center;
    margin: 0.5rem 0;
}

.feature-card h5 {
    color: #038eb8;
    font-weight: 700;
    margin-bottom: 0.7em;
}
.home-tips {
    background:
        
        url('fondo.jpg') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    width: 100%;
    padding: 4vh 0 4vh 0;
    position: relative;
    z-index: 1;
    margin-top: 2.5rem;
    box-sizing: border-box;
    overflow: hidden;
}

.tips-container {
    background: rgba(255,255,255,0.92);
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px rgba(44,62,80,0.10);
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    max-width: 1700px;      /* Más grande */
    width: 102vw;            /* Más ancho */
    margin: 5.5rem auto 2.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.tips-title {
    font-size: 2.1rem;
    font-weight: 900;
    color: #1a2747;
    margin-bottom: 0.3em;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(44,62,80,0.10), 0 1px 2px rgba(44,62,80,0.07);
    background: linear-gradient(90deg, #357ab8 0%, #249c5b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-align: center;
}

.tips-title::after {
    content: "";
    display: block;
    margin: 0.5em auto 0 auto;
    width: 70px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #249c5b 0%, #357ab8 100%);
    opacity: 0.7;
}

.tips-desc {
    color: #357ab8;
    margin-bottom: 1.2em;
    font-size: 1.08em;
    font-weight: 500;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-shadow: 0 1px 8px rgba(44,62,80,0.07);
}

.tips-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    margin-top: 1.5rem;
}

.tip-card {
    background: rgba(255,255,255,0.98);
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(44,62,80,0.07);
    padding: 1.5rem 2.5rem 1.5rem 2.5rem; /* Más padding horizontal */
    flex: 1 1 340px;         /* Más ancho base */
    min-width: 300px;        /* Más ancho mínimo */
    max-width: 400px;        /* Más ancho máximo */
    text-align: left;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: stretch;
    opacity: 1;
    animation: tipFadeInUp 0.7s cubic-bezier(.4,0,.2,1) forwards;
    transition: box-shadow 0.2s, transform 0.2s;
    overflow-wrap: normal;
    hyphens: manual;
    word-break: normal;
}
.tip-card:hover {
    box-shadow: 0 8px 32px rgba(44,62,80,0.13);
    transform: translateY(-4px) scale(1.03);
}

.tip-icon {
    font-size: 2rem;
    border-radius: 0.7em;
    color: #fff;
    margin-bottom: 0.7em;
    padding: 0.3em 0.6em;
    display: inline-block;
}

/* Footer moderno, oscuro y elegante */
.site-footer, footer {
    width: 100%;
    margin: 0;
    background: transparent;
    color: #223046;
    text-align: center;
    padding: 2.5rem 0 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    box-shadow: none;
    border: none;
    min-height: 0;
}

.site-footer .footer-content, footer .footer-content {
    background: rgba(245, 248, 252, 0.85);
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(44,62,80,0.06);
    padding: 0.9rem 2.2rem 0.7rem 2.2rem;
    max-width: 370px;
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.site-footer .footer-logo, footer .footer-logo {
    font-size: 1.08em;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.1em;
    letter-spacing: 0.5px;
}

.site-footer .footer-copy, footer .footer-copy {
    font-size: 0.97em;
    color: #000000;
    margin-top: 0.1em;
    letter-spacing: 0.2px;
}

@media (max-width: 600px) {
    .site-footer .footer-content, footer .footer-content {
        padding: 0.7rem 0.5rem 0.5rem 0.5rem;
        max-width: 98vw;
    }
}
