
/* Reset CSS clásico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Para h1, h2, h3 usar fuente Montserrat */
h1,
h2,
h3,
h4, 
h5,
h6,
.accordion-button {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Para los párrafos usar fuente Lora */
p, 
body {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
}

/* Para los enlaces usar fuente Montserrat */
a,
.title {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
}



/* --- Navbar --- */
.custom-navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-transparent);
    backdrop-filter: blur(5px);
    z-index: 999;
    border-bottom: 1px solid var(--text);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 1rem auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.brand-logo img {
    display: block;
}

/* Hamburger button */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

/* Menu links */
.nav-menu {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: var(--bg-transparent);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        backdrop-filter: blur(5px);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
}


/* Hero */
.custom-container {
    width: 100%;    
    position: relative;    
}

/* Contenedor interno */
.inner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Contenedor de contenido */
.content-wrapper {
    position: relative;    
    display: flex;
    align-items: center;
    padding: 2rem;
    border: 1px solid var(--text-light);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

/* Fondo con imagen */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/assets/madre-hija.avif') no-repeat center center;
    background-size: cover;
    opacity: 1;
    z-index: -1;
}

/* Contenido de texto */
.text-content {
    position: relative;
    z-index: 1;
    width: 80%;
    max-width: 600px;
    padding: 1rem;
    background-color: var(--bg-transparent);
    border-radius: 1rem;
    color: var(--text-alt);
}

.title-content {
    border-bottom: 1px solid var(--text-alt);
}

/* Título */
.title {
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--text-alt);
    line-height: 1.2;
}

/* Subtítulo */
.subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 1rem;
}

.description {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 1rem;    
    flex-grow: 0;
}

/* Llamado a la acción */
.call-to-action {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text);
}

/* Botón */
.button-container {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.contact-button {
    background-color: var(--button-bg);
    color: var(--button-text);
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-button:hover {
    background-color: var(--button-hover-bg);
    transform: scale(1.05);
}


/* --- About Us ---*/
.about-us-inner {
    display: flex;
    flex-direction: column;
    align-items: start;
}

/* Grid para texto e imagen */
.about-us-grid {
    display: grid;
    height: 100%;
    padding: 1rem;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    border-top: 1px solid var(--text-alt);
}

.about-us-text {
    display: flex;
    flex-direction: column;
}

.about-us-title{
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* Imagen */
.about-us-image {
    display: flex;
    width: 100%;
    justify-content: center;
    max-height: 80%; 
    
}

.about-us-img {
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Responsive: para pantallas pequeñas */
@media (max-width: 768px) {
    .about-us-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-us-text {
        align-items: center;
        text-align: center;
    }

    .about-us-image {
        align-items: center;
    }
}

/* Fondo con imagen */
.about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/assets/nosotros.avif') no-repeat center center;
    background-size: cover;
    opacity: 1;
    z-index: -1;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.about-card {
    flex: 1 1 calc(50% - 1rem);
    /* 2 tarjetas por fila en pantallas grandes */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--bg-alt);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}


@media (max-width: 768px) {
    .about-card {
        flex: 1 1 100%;
    }
}


/*--- Produts ---*/
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 1rem;
    gap: 20px 20px;
    align-items: stretch;
}

/* Tarjeta individual de producto */
.product-card {
    background-color: var(--bg);
    border: 1px solid var(--text-alt);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* Imagen del producto */
.product-image {
    width: 100%;
    object-fit: cover;
    max-height: 80%;
}

/* Contenido de cada producto */
.product-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    padding: 1.5rem;
    border-top: 1px solid var(--text-alt);
}

/* Título del producto */
.product-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* Responsive: para pantallas pequeñas */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-info {
        align-items: center;
        text-align: center;
    }

    .product-image {
        align-items: center;
    }
}

.contenedor-principal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg);
    border: 1px solid var(--text-alt);
    border-radius: 12px;
    padding: 40px 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: auto;
}

.btn-contacto:hover {
    background-color: var(--button-hover-bg);
}

.contenido-imagen {
    flex: 1 1 35%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.contenido-imagen img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 12px;
}

/* Secciones con dos columnas */
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 1rem;
}


.reverse {
    flex-direction: row-reverse;
}

/* Columnas */
.col,
.column {
    flex: 1;
    min-width: 300px;
    justify-content: center;
    padding: 1rem;
}

.image-col,
.image-column {
    flex: 0 0 40%;
    justify-content: center;
    align-items: center;
}

.image-col img,
.image-column img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Listas */

ul.description {
    padding-left: 20px;
}

ul.description li {
    margin-bottom: 10px;
}

/*--cta action--*/
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.cta-text {
    flex: 1 1 55%;
}



.cta-form {
    flex: 1 1 40%;
}

.form-box {
    background-color:var(--bg-alt);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid var(--text-alt);
    border-radius: 6px;
    resize: vertical;
}

.invalid-feedback {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color:var(--button-bg);
    color: var(--button-text);
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--button-hover-bg);
}

.divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid var(--text-alt);
}

.form-note {
    font-size: 0.9rem;
    color:var(--text);
}
@media (max-width: 768px) {
    .cta-row {
        flex-direction: column;
    }

    .cta-text,
    .cta-form {
        flex: 1 1 100%;
    }
}

.hero-section {
    width: 100%;
    background-color: var(--bg);
    /* Usa el color de fondo que desees */   
    justify-content: center;
    padding: 2rem 0;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid var(--text-alt);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 1rem;
    background-color: var(--bg-transparent);
}

.hero-left {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    flex: 1 1 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.75rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    object-fit: cover;
    max-height: 480px;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        padding: 1rem;
    }

    .hero-left,
    .hero-right {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
        height: auto;
    }
}



/*--- FAQ---*/
.faq-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    align-items: center;
    
}

.faq-intro {
    flex: 1 1 45%;
    min-width: 300px;
}

/* FAQ columna o introducción */
.accordion {
    flex: 1 1 48%;
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 0.5rem;
   
}

/* Ítem del acordeón */
.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid var(--text-alt);
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Botón del acordeón (pregunta) */
.accordion-button {
    width: 100%;
    text-align: left;
    color: var(--text);
    padding: 1rem;
    background-color: var(--bg-alt);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background 0.3s, color 0.3s;
    text-transform: none;
}

/* Hover sobre el botón del acordeón */
.accordion-button:hover {
    background-color: var(--button-bg);
    color: var(--bg-alt);
}

.accordion-content {
    display: none;
    padding: 1rem;
    font-size: 1rem;
    color: var(--text-alt);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.accordion-button.active+.accordion-content {
    display: block;
}

@media (max-width: 768px) {
    .faq-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .faq-intro,
    .accordion {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .faq-intro .description,
    .faq-intro .subtitle {
        text-align: center;
    }

    .button-container {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
}


/* Contacto */
.contact-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-card {
    flex: 1 1 30%;
    display: flex;
    align-items: center;
    background: var(--bg-alt);
    padding: 1rem;
    border-radius: 0.5rem;
    gap: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.icon-square {
    background: var(--bg-alt);
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.contact-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    color: var(--text);
}

.contact-text,
.contact-link {
    font-size: 1.1rem;
    color: var(--text-alt);
    text-decoration: none;
    font-weight: normal;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-form,
.map-container {
    flex: 1 1 48%;
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--text-alt);
    border-radius: 0.5rem;
    resize: vertical;
    background-color: var(--bg);
    color: var(--text);
}

.invalid-feedback {
    font-size: 0.875rem;
    display: none;
    color: var(--primary);
}

.button-container {
    display: flex;
    justify-content: center;
    margin: 1.2rem;

}

.contact-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: var(--button-hover-bg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    .contact-info-container {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-card {
        flex: 1 1 100%;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-form,
    .map-container {
        flex: 1 1 100%;
    }
}



/*--- Footer ---*/
.custom-footer {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 1.5rem 1rem;
    border-top: 1px solid var(--text-alt);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-alt);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-alt);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-brand:hover {
    color: var(--text);
}

.footer-brand img {
    width: 40px;
    height: 40px;
}

.footer-social {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.footer-social a {
    color: var(--text-alt);
    font-size: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--text);
}

/* Responsive: diseño vertical en móviles */
@media (max-width: 768px) {
    .custom-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
        gap: 2rem;
    }

    .footer-social a {
        font-size: 2rem;
    }
}


.no-bullets {
    list-style: none;
    padding-left: 0;
}
