*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #3B043B;
    font-family: 'Montserrat', sans-serif;
}

/* BANNER */
.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px;
    padding: 0 40px;
    background: #210225;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* Grupo izquierda (icono + logo) */
.banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.iconbanner {
    width: 60px;
}

.logobanner {
    width: 115px;
}

/* Menú derecha */
.banner-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.banner {
    position: relative;
}

.banner-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}
.banner-menu a {
    position: relative;
}

.banner-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #D15A32;
    transition: width 0.3s ease;
}

.banner-menu a:hover::after {
    width: 100%;
}


/* Botón contáctanos */
.contact-btn {
    padding: 10px 22px;
    border-radius: 12px;
    background: #D15A32;
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;


    display: inline-block;
    width: fit-content; 
}

.contact-btn::after {
    display: none;
}

.contact-btn {
    transition: 
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.2s ease;
}

.contact-btn:hover {
    background-color: #E06A3F; /* un poco más claro */
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 40px;
    gap: 40px;
}

/* Columna izquierda */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 520px;
}

/* Logo grande */
.hero-logo {
    width: 360px;
}

/* Texto */
.hero-text {
    font-size: 20px;
    color: white;
    margin: 0;
    line-height: 1.4;
}

/* Imagen derecha */
.hero-right img {
    width: 700px;
    max-width: 100%;
}

.services-section {
    text-align: center;
    padding: 100px 40px;
    color: white;
    background: #240229;
}

/* GRID de tarjetas */
.services-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 460px);
    justify-content: center;
    gap: 30px;
}

/* Tarjetas individuales */
.service-card {
    height: 260px;
    border-radius: 20px;
    padding: 24px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: linear-gradient(
    135deg,
    rgba(69, 9, 63, 0.3),
    rgba(186, 51, 96, 0.3)
);


    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

    text-align: center;
}

/* Imagen dentro de la tarjeta */
.service-card img {
    width: 80px;
    max-width: 100%;
    height: auto;
}
.service-card {
    height: auto; /* 🔥 clave para mobile */
    min-height: 240px;
}
/* Última tarjeta centrada abajo */
.service-card-center {
    grid-column: span 2;
    justify-self: center;
    width: 460px;
}

/* SECCIÓN ¿QUIÉNES SOMOS? */
.about-section {
    background: #9F588F;
    color: white;
    padding: 100px 40px;
}

/* Título centrado */
.about-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
}

/* Contenedor izquierda-derecha */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Columna izquierda */
.about-left {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: justify;
}

.about-left p {
    font-size: 20px;
    line-height: 1.5;
    margin: 0;
}
.about-left p:last-of-type {
    text-align: center;
}

/* Imagen derecha */
.about-right img {
    width: 500px;
    max-width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: #210225;
    color: white;
    padding: 60px 40px 30px;
}
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Contenedor superior en fila */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ----- IZQUIERDA ----- */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    align-items: center;
}

.footer-icon {
    width: 50px;
}

.footer-logo {
    width: 110px;
}

.footer-description {
    margin-top: 15px;
    max-width: 260px;
    font-size: 16px;
    line-height: 1.5;
}

/* ----- DIVISOR VERTICAL ----- */
.footer-divider {
    width: 1px;
    height: 170px;
    background: #B83360;
}

/* ----- CENTRO (MENÚ) ----- */
.footer-center {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 17px;   /* ← más grande */
    text-align: left; /* ← centrado respecto a la línea */
}

.footer-center p {
    margin: 0;
    cursor: pointer;
}

/* ----- DERECHA (CONTACTO) ----- */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 6px 0;
    font-size: 17px;
}

.footer-contact img {
    width: 22px;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social img {
    width: 22px;
    width: auto;    
    object-fit: contain;
    cursor: pointer;
}

/* ----- TEXTO FINAL ----- */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    opacity: 0.7;
}

.footer-center a {
    position: relative;
}

.footer-center a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #D15A32;
    transition: width 0.3s ease;
}

.footer-center a:hover::after {
    width: 100%;
}

.footer-center a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
}

.contact-section {
    padding: 60px 40px 100px;
    
}


.contact-title {
    text-align: center;
    color: white;
    
}


.contact-container {
    margin-top: 60px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

/* Tarjetas */
.contact-card {
    flex: 1;
    background: linear-gradient(
    130deg,
    rgba(69, 9, 63, 0.3),
    rgba(186, 51, 96, 0.3));
    
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

/* -------- IZQUIERDA -------- */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 16px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.contact-info p img {
    width: 20px;
}

/* -------- DERECHA (FORMULARIO) -------- */

.contact-text {
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Inputs */
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #330634;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    color: #9F588F;
    margin-bottom: 14px;
    font-family: inherit;
    font-size: 14px;
}

/* Altura especial del textarea */
.contact-form textarea {
    height: 110px;
    resize: none;
}

/* Botón reutiliza .contact-btn existente */
.contact-form .contact-btn {
    margin-top: 10px;
}

.contact-image {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 14px;
    display: block;
}

/*  COSAS DE RESPONSIVIDAD   */

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .banner {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: auto;
        padding: 20px;
    }

    .banner-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #210225;

        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;

        /* estado oculto */
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;

        transition: 
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .banner-menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .hero-left {
        align-items: center;
    }

    .hero-logo {
        width: 260px;
    }

    .hero-right img {
        width: 100%;
        max-width: 420px;
    }
}


@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-center {
        grid-column: span 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-right img {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-divider {
        display: none;
    }

    .footer-social {
        justify-content: center;
    }
    .footer-left {
        align-items: center;
        text-align: center;
    }

}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white !important;
    text-decoration: none !important;
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info a,
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white !important;
    text-decoration: none !important;
}

.footer-contact a:hover {
    opacity: 0.8;
}
.contact-btn {
    text-decoration: none !important;
}


/* ===== MÉTODO (SECCIÓN COMPLETA) ===== */

.method-section {
    background: #4B0A4D; /* NUEVO color distintivo */
    padding: 100px 40px;
    color: white;
    text-align: center;
}

.method-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Título principal (igual lógica que about/services) */
.method-section h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

/* Subtítulo */
.method-section h2 {
    font-size: 24px;
    color: #D15A32; /* naranja consistente */
    margin-bottom: 30px;
}

/* Texto */
.method-text {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    align-items: flex-start;
}