body {
    margin: 0;
    font-family: 'Graphik Trial', sans-serif;
    background: #FFFFFF;
    color: #222;
    line-height: 1.6;
}

main {
    min-height: 60vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

#banner1 {
    padding-bottom: 0;
}

#banner2 {
    padding-top: 0;
}

.banner-content {
    background-image: url('img/banner.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    height: auto;
    min-height: 500px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 2rem;

    @media screen and (max-width: 551px) {

        background-position: 80% center;

    }
}

.boton {
    border-radius: 5px;
    padding: 15px 20px;
    background-color: rgba(217, 217, 217, 0.55);
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 75%;

    @media screen and (max-width: 441px) {
        display: block;

    }
}


.boton h1 {
    font-size: 16px;
    margin: 0;
    color: #E5E7F0;
    white-space: nowrap;
}

.boton button {
    background-color: #64BFB0;
    color: #256057;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-left: auto;
    white-space: nowrap;
    font-weight: 600;
}

.banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    margin-left: 5%;
    max-width: 90%;
    padding: 20px 0;
}

.banner h1,
.banner h2 {
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 600;
    margin: 0;
    color: #FFFFFF;
    text-align: left;
    line-height: 1.2;
}

.banner h2 {
    font-weight: 500;
}

.banner p {
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 400;
    margin: 10px 0 20px;
    color: #FFFFFF;
}

.banner button {
    background-color: #FFFFFF;
    color: #1F2432;
    border: none;
    padding: 12px 20px;
    width: 75%;
    max-width: 250px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

/* Estilos para organiza */
.organiza {
    font-family: 'Graphik Trial', sans-serif;
}

.fecha {
    background-color: #1B6C55;
    color: white;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    max-width: 80%;
    margin: 0 auto;

    @media screen and (max-width: 441px) {
        max-width: 60%;

    }
}

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

.fecha-contenido span {
    display: flex;
    align-items: center;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 500;
}

.icono {
    color: #FFFFFF;
    margin-right: 8px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

.linea-vertical {
    height: 30px;
    width: 2px;
    background-color: #FFFFFF;
    margin: 0 5px;

    @media screen and (max-width: 441px) {
        display: none;

    }
}

.cuando,
.hora,
.lugar {
    display: flex;
    align-items: center;
    line-height: 1.4;
    font-size: clamp(14px, 2vw, 16px);
    color: #FFFFFF;
}

.info {
    display: flex;
    gap: 30px;
    padding: 3rem 20px;
    border-radius: 0 0 8px 8px;
    flex-wrap: wrap;
}

.columna-fotos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 300px;
    align-items: center;
}

.foto-grande {
    width: 100%;
    max-width: 550px;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 25px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.foto1 {
    background-image: url('img/foto1.png');
}

.foto2 {
    background-image: url('img/foto2.png');
    max-width: 650px;
}

.columna-texto {
    flex: 1;
    min-width: 300px;
}

.columna-texto h1 {
    color: #1F2432;
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 20px;
    margin-top: 0;
}

.columna-texto p {
    color: #555;
    font-size: clamp(16px, 2.5vw, 24px);
    line-height: 1.6;
    margin-bottom: 30px;
}

.columna-texto #Organiza {
    font-size: 18px;
    font-weight: 400;
    color: #979797;
    margin-bottom: 10px;
}

.logos {

    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.logo-pequeno {
    height: 50px;
    width: auto;
}

/* Estilos para INVITACION */
.invitacion {
    background: linear-gradient(to bottom, #FFFFFF 60%, #F1F5FB 50%);
}

.bannerbajo {
    background-color: #64BFB0;
    padding: 3rem 2rem;
    text-align: center;

    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-start;
}

.contenido {
    max-width: 800px;
    width: 100%;
    text-align: left;

}

.contenido h1 {
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 600;
    margin-bottom: 20px;
    color: #1F2432;
}

.contenido p {
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 400;
    margin-bottom: 20px;
    color: #1F2432;
}

.contenido button {
    background-color: #FFFFFF;
    font-weight: 600;
    color: #1F2432;
    border: none;
    padding: 12px 20px;
    width: 75%;
    max-width: 250px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.fechas-bannerbajo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.fecha-contenido #bannerbajo {
    display: flex;
    color: #1F2432;
    justify-content: center;
    align-items: center;


    padding: 10px;
    border-radius: 10px;
    flex-wrap: wrap;
}

#bajo {
    color: #1F2432;
}

/* Estilos para CLIENTES */
.clientes {
    background-color: #F1F5FB;
    padding: 0px 20px;
}

.clientes h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 0;
}

.testimonios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonio {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
}

.testimonio .mensaje {
    font-weight: 14px;
    margin-bottom: 15px;
}

.testimonio .estrellas {
    color: #64BFB0;
    font-size: 2rem;
    margin-bottom: 10px;
}

.testimonio .nombre {
    font-weight: bold;
    color: #1F2432;
    margin-bottom: 5px;
}

.testimonio .cargo,
.testimonio .cliente {
    font-size: 14px;
    color: #7285AC;
}

.controles {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
}

.controles button {
    background-color: #1B6C55;
    color: #fff;
    border: none;
    padding: 15px 15px;
    margin: 0 10px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.2rem;
}

.testimonio {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

#testimonios-container {
    transition: opacity 0.6s ease-in-out;
    opacity: 1;
}

.fade-out {
    opacity: 0;
}

.testimonio.principal {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
    z-index: 2;
}

.testimonio.lateral {
    transform: scale(0.95);
    opacity: 0.5;
    filter: blur(2px);
    z-index: 1;

    @media screen and (max-width:1100px) {
        display: none;

    }
}

/* Estilos para contacto */
.contacto {
    background: linear-gradient(to bottom, #F1F5FB 70%, #1F2432 30%);
    padding: 40px 0;
}

.invierte {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 20px auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.formulario {
    padding: 3rem;
    background-color: #FFFFFF;
}

.formulario h1 {
    font-size: 46px;
    margin-bottom: 20px;
    color: #1F2432;
    max-width: 70%;
}

.foto_formulario {
    background-image: url('img/fotos3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 400px;
    height: auto;
    flex: none;
    box-sizing: border-box;
}

.foto_formulario img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.campo {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: #1B6C55;
}

.formulario button {
    background-color: #1B6C55;
    color: #FFFFFF;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.logo-op {
    width: 100px;
    height: auto;
    padding-top: 20px;
    display: block;
    margin: 0 auto
}

@media (min-width: 992px) {
    .bannerbajo {
        padding: 5rem 10rem;
    }
}

/* Media Queries */
@media (min-width: 768px) {
    .banner-content {
        height: 700px;
    }

    .banner {
        margin-left: 11%;
        max-width: 75%;
    }


    .icono {
        width: 50px;
        height: 50px;
    }

    .linea-vertical {
        height: 50px;
    }

    .info {
        padding: 5rem 40px;
    }

    .columna-fotos {
        align-items: flex-end;
    }

    .foto-grande {
        margin-left: auto;
    }



    .invierte {
        flex-direction: row;
    }

    .foto_formulario {
        display: flex;
        flex: 1;
    }
}

@media (min-width: 992px) {

    .banner h1,
    .banner h2 {
        font-size: 46px;
    }

    .banner p {
        font-size: 24px;
    }

    .columna-texto h1 {
        font-size: 34px;
    }

    .columna-texto p {
        font-size: 24px;
    }

    .contenido h1 {
        font-size: 46px;
    }

    .contenido p {
        font-size: 24px;
    }

    .fecha-contenido {
        gap: 5rem;
    }
}

.footer {
    background-color: #1F2432;
    color: #fff;
    padding: 40px 20px 20px;
}

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

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: auto;
    gap: 30px;
}

.footer-column {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-column.main {
    flex: 2 1 400px;
}

.footer-column h3 {
    margin-top: 20px;
    color: #fff;
    font-size: 24px;
}

.footer-column h1 {
    margin-top: 0;
    color: #fff;
    font-size: 42px;
}

.footer-column p {
    margin: 10px 0;
    color: #ccc;
    font-size: 16px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    background-color: rgba(114, 133, 172, 0.15);
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 30px;
    font-size: 16px;
    color: #aaa;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .footer-content {
        gap: 20px;
        row-gap: 30px;
    }

    .footer-column {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .footer-column.main {
        flex: 1 1 100%;
        order: -1;
        /* Mueve la columna principal arriba en móvil */
    }

    .footer-social {
        justify-content: center;
    }
}

@media (min-width: 1200px) {
    .footer-column {
        flex: 1 1 250px;
    }

    .footer-column.main {
        flex: 2 1 400px;
    }
}