/* ============================================================
   CAT-OH FOOTER 2026 v2 — CSS
   Autora: Katheryn 
   ============================================================ */

/* ─── RESET SOLO PARA EL FOOTER ─────────────────────────── */
#catoh-footer,
#catoh-footer * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#catoh-footer {
    font-family: 'Nunito', 'Poppins', system-ui, sans-serif;
    width: 100%;
}

/* ════════════════════════════════════════════════════════════
   BLOQUE 1 — NEWSLETTER
════════════════════════════════════════════════════════════ */
.catoh-newsletter-bar {
    background-color: #f5c9a0;
    background-image: url('https://cat-oh.com/wp-content/uploads/2020/05/avion-1.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto 85%;
    padding: 48px 24px;
    position: relative;
    overflow: hidden;
}
.catoh-newsletter-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    /* empuja el contenido a la derecha para dejar espacio a la imagen */
    padding-left: 240px;
}

/* Texto newsletter */
.catoh-nl-text h2 {
    font-size: 38px;
    font-weight: 900;
    color: #308e95;
    line-height: 1.1;
    margin-bottom: 10px;
}
.catoh-nl-sub {
    font-size: 15px;
    font-weight: 700;
    color: #273B42;
    margin-bottom: 8px;
}
.catoh-nl-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    max-width: 340px;
}

/* Formulario Mailchimp */
.catoh-nl-form #mc_embed_signup {
    background: transparent !important;
    font-family: 'Nunito', system-ui, sans-serif !important;
    font-size: 14px !important;
    width: 100% !important;
}
.catoh-nl-form .indicates-required {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}
.catoh-nl-form .mc-field-group {
    margin-bottom: 12px;
    width: 100% !important;
}
.catoh-nl-form label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #273B42;
    margin-bottom: 4px;
}
.catoh-nl-form input[type="text"],
.catoh-nl-form input[type="email"] {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1.5px solid #ddd !important;
    border-radius: 8px !important;
    font-family: 'Nunito', system-ui, sans-serif !important;
    font-size: 14px !important;
    background: #fff !important;
    color: #273B42 !important;
    transition: border-color .2s !important;
}
.catoh-nl-form input[type="text"]:focus,
.catoh-nl-form input[type="email"]:focus {
    border-color: #308e95 !important;
    outline: none !important;
}
.catoh-nl-form .input-group strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #273B42;
    margin-bottom: 6px;
}
.catoh-nl-form .input-group ul {
    display: flex;
    gap: 16px;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
}
.catoh-nl-form .input-group ul li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #273B42;
}
.catoh-nl-form input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    accent-color: #308e95;
    cursor: pointer;
}
.catoh-nl-form input[type="submit"],
.catoh-nl-btn {
    background: #308e95 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 11px 32px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    font-family: 'Nunito', system-ui, sans-serif !important;
    cursor: pointer !important;
    transition: background .15s !important;
    margin-top: 12px !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
}
.catoh-nl-form input[type="submit"]:hover,
.catoh-nl-btn:hover {
    background: #236970 !important;
}
#mce-success-response {
    background: #d4edda;
    color: #155724;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
}
#mce-error-response {
    background: #f8d7da;
    color: #721c24;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
}


/* ════════════════════════════════════════════════════════════
   BLOQUE 2 — FOOTER PRINCIPAL
════════════════════════════════════════════════════════════ */
.catoh-footer-main {
    background-color: #308e95;
    background-image: url('https://cat-oh.com/wp-content/uploads/2020/05/textura_inferior_negro-1.png');
    background-repeat: repeat;
    background-size: auto;
    background-blend-mode: multiply;
    padding: 48px 24px 40px;
}
.catoh-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

/* Títulos */
.catoh-footer-title {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    font-family: 'Nunito', system-ui, sans-serif;
}
.catoh-footer-title-mt {
    margin-top: 28px;
}

/* Columna 1: Visítanos */
.catoh-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
}
.catoh-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.5;
}
.catoh-contact-list li img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
    filter: brightness(0) invert(1);
}

/* Columna 2: Cita + Te ayudamos */
.catoh-quote {
    border: none;
    margin-bottom: 24px;
    text-align: center;
    padding: 16px;
    position: relative;
}
.catoh-quote::before {
    content: '\201C';
    font-size: 56px;
    color: rgba(255,255,255,.25);
    position: absolute;
    top: -8px;
    left: 0;
    line-height: 1;
    font-family: Georgia, serif;
}
.catoh-quote::after {
    content: '\201D';
    font-size: 56px;
    color: rgba(255,255,255,.25);
    position: absolute;
    bottom: -28px;
    right: 0;
    line-height: 1;
    font-family: Georgia, serif;
}
.catoh-quote p {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    font-family: 'Nunito', system-ui, sans-serif;
}
.catoh-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}
.catoh-links-list li a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .15s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.catoh-links-list li a::before {
    content: '•';
    color: rgba(255,255,255,.4);
    flex-shrink: 0;
}
.catoh-links-list li a:hover {
    color: #fff;
}
.catoh-libro-link {
    display: inline-block;
    margin-top: 6px;
}
.catoh-libro-link::before {
    display: none;
}
.catoh-libro-link img {
    width: 110px;
    height: auto;
    border-radius: 6px;
    display: block;
    transition: opacity .15s;
}
.catoh-libro-link:hover img {
    opacity: .85;
}

/* Columna 3: Redes + Pagos */
.catoh-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.catoh-social a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    transition: all .15s;
}
.catoh-social a:hover {
    background: rgba(255,255,255,.28);
    border-color: rgba(255,255,255,.7);
    transform: translateY(-2px);
}
.catoh-payments {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.catoh-payments img {
    height: 28px;
    width: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    padding: 3px 6px;
}
.catoh-payments-placeholder {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    font-style: italic;
}


/* ════════════════════════════════════════════════════════════
   BLOQUE 3 — COPYRIGHT
════════════════════════════════════════════════════════════ */
.catoh-footer-bottom {
    background: #236970;
    padding: 12px 24px;
    text-align: center;
}
.catoh-footer-bottom p {
    font-size: 12.5px;
    color: rgba(255,255,255,.75);
    font-family: 'Nunito', system-ui, sans-serif;
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .catoh-newsletter-bar {
        background-size: 40% auto;
        background-position: center bottom;
        padding: 32px 20px 200px;
    }
    .catoh-newsletter-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-left: 0; /* quitar el padding-left del desktop */
    }
    .catoh-nl-text {
        text-align: center;
    }
    .catoh-nl-desc {
        max-width: 100%;
        margin: 0 auto;
    }
    .catoh-footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .catoh-footer-col-center {
        border-top: 1px solid rgba(255,255,255,.15);
        border-bottom: 1px solid rgba(255,255,255,.15);
        padding: 28px 0;
    }
}

@media (max-width: 480px) {
    .catoh-newsletter-bar {
        padding: 28px 16px 180px;
        background-size: 55% auto;
    }
    .catoh-nl-text h2 {
        font-size: 28px;
    }
    .catoh-footer-main {
        padding: 32px 16px;
    }
    /* Márgenes en mobile para las columnas */
    .catoh-footer-col {
        padding: 0 4px;
    }
    .catoh-contact-list li {
        font-size: 13.5px;
    }
    .catoh-social a {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .catoh-footer-bottom {
        padding: 10px 16px;
        font-size: 11.5px;
    }
    /* Formulario Mailchimp en mobile */
    .catoh-nl-form .input-group ul {
        flex-direction: column;
        gap: 8px;
    }
    .catoh-nl-form input[type="submit"],
    .catoh-nl-btn {
        width: 100% !important;
        text-align: center !important;
    }
}