/* ============================================
   sections.css - Diseño de secciones y sliders
   ANCHOS FIJOS - SIN DINÁMICA
   VERSIÓN UNIFICADA CON SECCIONES FIJAS
   ============================================ */

/* Contenedor principal */
main {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* Título principal h1 */
.bott h1 {
    text-align: center;
    margin: 40px 0 60px 0;
    /*font-size: 2.5rem;*/
    /*color: #333;*/
}

/* ============================================
   SECCIONES DINÁMICAS CON ANCHOS FIJOS
   ============================================ */

/* Sección individual */
.section {
    display: flex;
    /*gap: 50px;*/
    margin-bottom: 80px;
    align-items: center;
    width: 100%;
    justify-content: space-around;
}

/* Columna de texto - ANCHO FIJO */
.text-col {
    width: 700px;
    max-width: 700px;
    line-height: 1.8;
    font-size: 16px;
    color: #444;
}

/* Columna del slider - ANCHO FIJO */
.slider-col {
    width: 350px;
    max-width: 350px;
}

/* ============================================
   ORDEN DE COLUMNAS POR SECCIÓN
   ============================================ */

/* Sección 1: Texto izquierda, Slider derecha */
.section-text-left .text-col {
    order: 1;
}

.section-text-left .slider-col {
    order: 2;
}

/* Sección 2: Slider izquierda, Texto derecha */
.section-text-right .text-col {
    order: 2;
}

.section-text-right .slider-col {
    order: 1;
}

/* Sección 3: Igual que Sección 1 */
.section-text-left .text-col {
    order: 1;
}

.section-text-left .slider-col {
    order: 2;
}

/* ============================================
   ESTILOS DE TEXTO DENTRO DE LAS COLUMNAS
   ============================================ */

.text-col h2 {
    font-size: 1.5rem;
    color: #7D6C60;
    margin: 30px 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 500;
}

.text-col h2:first-child {
    margin-top: 0;
}

.text-col p {
    margin-bottom: 20px;
    text-align: justify;
    color: #7D6C60;
}

.text-col ul, .text-col ol {
    margin: 20px 0;
    padding-left: 25px;
}

.text-col li {
    margin-bottom: 10px;
}

.text-col strong, .text-col b {
    color: #667eea;
}

/* ============================================
   SLIDER - CENTRADO
   ============================================ */

.slider-col {
    display: flex;
    justify-content: center;
}

.slider-col > div[id^="slider_"] {
    margin: 0 auto;
}

/* ============================================
   SECCIONES FIJAS
   ============================================ */

/* ============================================
   SECCIÓN ABOUT US - DISEÑO MODERNO
   ============================================ */

.section-about {
    width: 100%;
    padding: 60px 0;
    margin-bottom: 80px;
    background: #EFE7DE;
    border-radius: 20px;
}

.section-about h2 {
    text-align: center;
    color: #7D6C60;
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    font-weight: 500;
}

.section-about h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #7D6C60;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Grid de dos columnas */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 40px;
}

/* Tarjetas individuales */
.about-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /*opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;*/
}

/* Efecto hover en tarjetas */
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Animación para cada tarjeta con delay */
.about-card-left {
    animation-delay: 0.2s;
}

.about-card-right {
    animation-delay: 0.4s;
}

/* Animación fade-in up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Iconos de las tarjetas */
.about-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Títulos de tarjetas */
.about-card h3 {
    text-align: center;
    color: #7D6C60;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 500;
}

/* Nombre de la fundadora */
.about-name {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #7D6C60;
    margin-bottom: 5px;
}

.about-title {
    text-align: center;
    font-size: 0.95rem;
    color: #7D6C60;
    margin-bottom: 20px;
    font-style: italic;
}

/* Descripción general */
.about-description {
    line-height: 1.7;
    color: #7D6C60;
    margin-bottom: 25px;
    text-align: justify;
}

/* Secciones internas */
.about-section {
    margin-top: 20px;
}

.about-section h4 {
    color: #7D6C60;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.about-section ul {
    list-style: none;
    padding-left: 0;
}

.about-section li {
    padding: 6px 0;
    color: #7D6C60;
    position: relative;
    padding-left: 20px;
}

.about-section li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #7D6C60;
}

/* Filosofía */
.about-philosophy {
    font-style: italic;
    color: #7D6C60;
    line-height: 1.6;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid #7D6C60;
    margin-top: 10px;
}

/* ========== PARTNERS ========== */
.section-partners {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.section-partners h2 {
    text-align: center;
    color: #7D6C60;
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    font-weight: 500;
}

.section-partners h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #7D6C60;
    margin: 15px auto 0;
    border-radius: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.partner-link {
    display: block;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.partner-link:hover {
    opacity: 0.7;
}

.partner-logo {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-link:hover .partner-logo {
    filter: grayscale(0%);
}

/* ========== TESTIMONIALS ========== */
.section-testimonials {
    width: 100%;
    background: #EFE7DE;
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 80px;
    text-align: center;
    box-sizing: border-box;
}

.section-testimonials h2 {
    color: #7D6C60;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 4rem;
    color: #7D6C60;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #7D6C60;
    margin: 15px 0;
    font-style: italic;
}

.testimonial-name {
    font-weight: bold;
    color: #7D6C60;
    margin-top: 15px;
}

/* ============================================
   BOTÓN DE LLAMADA (bt.php)
   ============================================ */

.bt-container, 
.call-button, 
.btn-llamada {
    text-align: center;
    margin: 40px 0;
}

.bt-container button,
.call-button button,
.btn-llamada button {
    padding: 12px 30px;
    font-size: 1.2rem;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.bt-container button:hover,
.call-button button:hover,
.btn-llamada button:hover {
    background-color: #5a67d8;
    transform: scale(1.05);
}

/* ============================================
   CÓDIGOS POSTALES (zcod)
   ============================================ */

.zcod {
    text-align: center;
    margin: 50px 0 30px 0;
    padding: 20px;
    background-color: #EFE7DE;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.zcod a {
    color: #7D6C60;
    text-decoration: none;
    font-size: xx-small;
}

.zcod a:hover {
    text-decoration: none;
}

/* ============================================
   RESPONSIVE (MÓVIL)
   ============================================ */

@media (max-width: 768px) {
    main {
        padding: 0 15px;
        max-width: 100%;
        width: auto;
    }
    
    .bott h1 {
        font-size: 1.8rem;
        margin: 30px 0 40px 0;
    }
    
    /* Secciones dinámicas en móvil */
    .section {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .text-col,
    .slider-col {
        width: 100%;
        max-width: 100%;
    }
    
    .section .slider-col {
        order: 1;
    }
    
    .section .text-col {
        order: 2;
    }
    
    .text-col h2 {
        font-size: 1.5rem;
    }
    
    .text-col {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .text-col p {
        padding: 0 30px;
    }
    
    /* About Us en móvil */
    .section-about {
        padding: 40px 15px;
        margin-bottom: 50px;
    }
    
    .section-about h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .about-card {
        padding: 25px;
    }
    
    .about-card h3 {
        font-size: 1.3rem;
    }
    
    .about-name {
        font-size: 1.1rem;
    }
    
    /* Partners en móvil */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .section-partners h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .partner-logo {
        max-width: 100px;
    }
    
    /* Testimonials en móvil */
    .section-testimonials {
        padding: 30px;
        margin-bottom: 50px;
    }
    
    .section-testimonials h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zcod {
        font-size: 12px;
        padding: 15px;
        margin: 30px 0 20px 0;
    }
}

/* ============================================
   PANTALLAS MUY PEQUEÑAS (≤480px)
   ============================================ */

@media (max-width: 480px) {
    main {
        padding: 0 12px;
        max-width: 100%;
        width: auto;
    }
    
    .bott h1 {
        font-size: 1.5rem;
        margin: 20px 0 30px 0;
    }
    
    .section {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .text-col {
        font-size: 14px;
    }
    
    .text-col p {
        padding: 0 30px;
    }
    
    .text-col h2 {
        font-size: 1.1rem;
        padding: 0 30px;
        text-align: center;
        line-height: normal;
        border-bottom: 2px solid #e0e0e0;
    }
    

    
.slider-col {
        display: flex;
        justify-content: center;
        width: 100%;
}
    
    
    
    /* About Us en móvil pequeño */
    .section-about {
        padding: 30px 10px;
        width: auto;
    }
    
    .about-card {
        padding: 20px;
    }
    
    .about-icon {
        font-size: 2.5rem;
    }
    
    .about-section h4 {
        font-size: 1rem;
    }
    
    /* Partners en móvil pequeño */
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .partner-logo {
        max-width: 120px;
    }
    
    /* Testimonials en móvil pequeño */
    .section-testimonials {
        padding: 20px;
    }
    
    .section-testimonials h2 {
        font-size: 1.4rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .quote-icon {
        font-size: 3rem;
    }
}

/* ============================================
   PANTALLAS GRANDES (≥1200px)
   ============================================ */

@media (min-width: 1200px) {
    .text-col {
        font-size: 15px;
    }
    
    /*.bott h1 {
        font-size: 3rem;
    }*/
}