/*
 Theme Name: Zeta Theme
 Theme URI: https://codigoleft.com
 Description: Child theme de GeneratePress con Bootstrap y FontAwesome
 Author: codigoleft
 Author URI: https://codigoleft.com
 Template: generatepress
 Version: 1.0.0
*/

/************HEADER************/
:root {
    --primary-green: #0da7bb;
    --accent-red: #f95759;
    --dark-blue: #2b2c53;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;   
}

/* Top Alert Banner */
.alert-banner {
    background-color: var(--primary-green);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.phone-btn {
    background-color: white;
    color: var(--primary-green);
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.social-icons a {
    color: white;
    margin-left: 10px;
    font-size: 20px;
    text-decoration: none;
}

/* Main Header */
.main-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-blue);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.logo-container .custom-logo {
    max-height: 70px; 
    width: auto;    
}

.logo i {
    color: var(--accent-red);
    font-size: 42px;
    gap: 18px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--dark-blue);
}

.info-item i {
    color: var(--accent-red);
    font-size: 40px;
    width: 25px;
    text-align: center;
}

.info-text h6 {
    margin: 0;
    font-weight: bold;
    color: var(--dark-blue);
}

.info-text small {
    color: #666;
    margin: 0;
}

/* Mobile Header - Solo visible en móvil */
.mobile-header {
    display: none;
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-logo .logo {
    font-size: 20px;
}

.mobile-logo .logo i {
    font-size: 24px;
}

.mobile-logo .custom-logo {
    max-height: 50px;
    width: auto;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-blue);
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 10000;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary-green);
}

/* Mobile Navigation Dropdown */
.mobile-nav-dropdown {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav-dropdown.active {
    display: block;
    transform: translateX(0);
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: white;
    padding: 60px 20px 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 10001;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    position: relative;
    display: block;
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    transition: color 0.3s, background-color 0.3s;
    overflow: hidden;
}

/* Efectos hover iguales al desktop */
.mobile-nav-links a::before,
.mobile-nav-links a::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    background-color: var(--primary-green);
    transition: width 0.9s ease;
}

.mobile-nav-links a::before {
    top: 0;
    left: 0;
}

.mobile-nav-links a::after {
    bottom: 0;
    right: 0;
}

.mobile-nav-links a:hover::before,
.mobile-nav-links a:hover::after,
.mobile-nav-links a.active::before,
.mobile-nav-links a.active::after {
    width: 100%;
    transition: width 0.9s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: white;
    background-color: var(--primary-green);
    transition: background-color 0.3s, color 0.3s;
    border-radius: 3px;
}

/* Navigation */
.navigation {
    background-color: white;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 100px;
    margin: 0;
    padding: 0;
    font-weight: 800;
    text-transform: uppercase;
    list-style: none;
}

.nav-links a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn-buy {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-buy:hover {
    background-color: #0a8a9a;
    color: white;
}

.btn-appointment {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.nav-links a{
  font-size: 20px;
}

.btn-appointment:hover {
    background-color: #0a8a9a;
    color: white;
}

.nav-links li a {
    position: relative;
    display: inline-block;
    padding: 8px 15px;
    color: var(--dark-blue);
    font-weight: 500;
    text-decoration: none;
    overflow: hidden;
    transition: color 0.3s;
}

.nav-links li a::before,
.nav-links li a::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    background-color: var(--primary-green);
    transition: width 0.9s ease;
}

.nav-links li a::before {
    top: 0;       /* línea arriba */
    left: 0;
}

.nav-links li a::after {
    bottom: 0;    /* línea abajo */
    right: 0;
}

/* Al pasar el mouse: las líneas se expanden */
.nav-links li a:hover::before,
.nav-links li a:hover::after,
.nav-links li a.active::before,
.nav-links li a.active::after {
    width: 100%;
    transition: width 0.9s ease;
}

/* Relleno de fondo desde la derecha hacia la izquierda */
.nav-links li a span {
    position: relative;
    z-index: 2;
}

.nav-links li a::after {
    z-index: 1;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: white;
    background-color: var(--primary-green);
    transition: background-color 0.3s, color 0.3s;
    border-radius: 3px; /* opcional para suavizar */
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    /* Ocultar main-header en móvil */
    .main-header {
        display: none;
    }
    
    /* Mostrar mobile-header en móvil */
    .mobile-header {
        display: block;
    }
    
    /* Ocultar navegación desktop en móvil */
    .navigation {
        display: none;
    }
    
    /* Mostrar dropdown móvil */
    .mobile-nav-dropdown {
        display: block;
    }

    .alert-banner .d-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .alert-banner .phone-btn {
        margin-bottom: 10px;
    }
    
    .alert-banner .social-icons {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 576px) {
    .mobile-nav-content {
        width: 90%;
    }
    
    .alert-banner {
        font-size: 12px;
        padding: 5px 0;
    }
    
    .phone-btn {
        padding: 4px 12px;
        font-size: 12px;
    }
    
    .social-icons a {
        font-size: 16px;
        margin-left: 8px;
    }
}

/* =========================
   HERO / BANNER
========================= */
.hero {   
    height: 450px;
    overflow: hidden; 
    position: relative;
}

.swiper-slide {
    position: relative;
    height: 100%;
}

/* Imagen */
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay */
.swiper-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 0;
}

/* Caja de texto */
.texto-banner {
    position: absolute;
    bottom: 140px;
    left: 60px;
    z-index: 5;   /* más alto que el overlay */
    background: rgba(13, 167, 187, 0.9);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 500px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Texto */
.texto-banner h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;    
    font-weight: 700;
    line-height: 1.2;
}

.texto-banner p {
    margin: 0 0 12px;
    font-size: 1.2rem;
    text-align: justify;
    line-height: 1.4;
    opacity: 0.95;
}

/* Botón */
.btn-agendar {
    display: inline-block;
    background-color: #f95759;
    color: #fff !important;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 15px;
    position: relative;
    z-index: 10;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(249, 87, 89, 0.3);
}

.btn-agendar:hover {
    background-color: #e74446;
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(249, 87, 89, 0.4);
    color: #fff !important;
}

.btn-agendar:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(249, 87, 89, 0.5);
}

/* Navegación */
.swiper-button-prev::after,
.swiper-button-next::after {
    color: rgba(255, 255, 255, 0.8);
    font-size: 33px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.swiper-button-prev,
.swiper-button-next {
    transition: all 0.3s ease;
}

/* =========================
   RESPONSIVE HERO SLIDER
========================= */

/* Tablets y pantallas medianas (768px - 1024px) */
@media (max-width: 1024px) {
    .hero { 
        height: 400px; 
    }
    
    .texto-banner { 
        left: 40px; 
        bottom: 80px; 
        max-width: 450px;
        padding: 18px 25px;
    }
    
    .texto-banner h2 { 
        font-size: 1.4rem;
    }
    
    .texto-banner p { 
        font-size: 1.1rem;
    }
}

/* Móviles grandes (768px hacia abajo) */
@media (max-width: 768px) {
    .hero { 
        height: 350px; 
    }
    
    .texto-banner { 
        left: 20px; 
        bottom: 30px; 
        right: 20px;  /* Importante: esto hace que se ajuste al ancho */
        max-width: none;  /* Quitar max-width fijo */
        width: auto;      /* Ancho automático */
        padding: 15px 20px;
        border-radius: 8px;
    }
    
    .texto-banner h2 { 
        font-size: 1.3rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .texto-banner p { 
        font-size: 0.95rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .btn-agendar {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 6px;
        margin-top: 12px;
    }
    
    .swiper-button-prev::after,
    .swiper-button-next::after { 
        font-size: 28px; 
    }
}

/* Móviles medianos (576px hacia abajo) */
@media (max-width: 576px) {
    .hero { 
        height: 300px; 
    }
    
    .texto-banner { 
        left: 15px; 
        bottom: 20px; 
        right: 15px;
        padding: 12px 18px;
        border-radius: 6px;
    }
    
    .texto-banner h2 { 
        font-size: 1.2rem;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .texto-banner p { 
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .btn-agendar {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 5px;
        margin-top: 10px;
        letter-spacing: 0.3px;
    }
    
    .swiper-button-prev::after,
    .swiper-button-next::after { 
        font-size: 24px; 
    }
}

/* Móviles pequeños (480px hacia abajo) */
@media (max-width: 480px) {
    .hero { 
        height: 280px; 
    }
    
    .texto-banner { 
        left: 12px; 
        bottom: 15px; 
        right: 12px;
        padding: 10px 15px;
        border-radius: 5px;
    }
    
    .texto-banner h2 { 
        font-size: 1.1rem;
        margin-bottom: 5px;
        line-height: 1.1;
    }
    
    .texto-banner p { 
        font-size: 0.85rem;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .btn-agendar {
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 4px;
        margin-top: 8px;
    }
    
    .btn-agendar:hover {
        transform: translateY(-1px) scale(1.01);
    }
    
    .swiper-button-prev::after,
    .swiper-button-next::after { 
        font-size: 20px; 
    }
}

/* Móviles muy pequeños (360px hacia abajo) */
@media (max-width: 360px) {
    .hero { 
        height: 250px; 
    }
    
    .texto-banner {
        left: 10px;
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        border-radius: 4px;
    }
    
    .texto-banner h2 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .texto-banner p {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .btn-agendar {
        padding: 6px 12px;
        font-size: 11px;
        margin-top: 6px;
    }
}

/* =========================
   MEJORAS ADICIONALES
========================= */

/* Animación suave para el contenido */
.texto-banner {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto parallax sutil en la imagen */
.hero img {
    transition: transform 8s ease-out;
}

.swiper-slide-active img {
    transform: scale(1.05);
}

/* Mejora de accesibilidad */
.btn-agendar:focus {
    outline: 3px solid rgba(249, 87, 89, 0.5);
    outline-offset: 2px;
}

/* Indicador de carga para cuando no hay imagen */
.swiper-slide:not(:has(img)) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Tablets en landscape */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        height: 350px;
    }
    
    .texto-banner {
        bottom: 40px;
        left: 30px;
        right: 30px;
        max-width: 400px;
    }
}

/* Fix para pantallas muy anchas */
@media (min-width: 1400px) {
    .texto-banner {
        left: 80px;
        bottom: 160px;
        max-width: 600px;
        padding: 25px 35px;
    }
    
    .texto-banner h2 {
        font-size: 1.8rem;
    }
    
    .texto-banner p {
        font-size: 1.3rem;
    }
}

/*///////////
/* BLOG
/**¡¡¡¡¡¡¡¡¡/
    /* Estilos generales para el blog */
    .btn-primary {
        background-color: #0da7bb;
        border-color: #0da7bb;
        color: white;
    }
    
    .btn-primary:hover {
        background-color: #0b8d9e;
        border-color: #0b8d9e;
    }
    
    .card-title a {
        color: #2b2c53;
        text-decoration: none;
    }
    
    .card-title a:hover {
        color: #f95759;
    }
    
    /* Estilos para el sidebar - CORREGIDO */
    #right-sidebar {
        background-color: #f8f9fa;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        width: 100% !important; /* Forzar que use el ancho completo del contenedor Bootstrap */
    }
    
    /* Sobrescribir estilos del tema que causan conflicto */
    .is-right-sidebar {
        width: 100% !important; /* Anular el width: 30% del tema */
    }
    
    .widget {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #e9ecef;
    }
    
    .widget:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    /* Estilos para el widget de búsqueda */
    .widget_search .wp-block-search__label {
        display: block;
        font-weight: 600;
        color: #2b2c53;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }
    
    .widget_search .wp-block-search__inside-wrapper {
        display: flex;
        margin-bottom: 0;
        width: 100%; /* Asegurar que ocupe todo el ancho disponible */
    }
    
    .widget_search .wp-block-search__input {
        flex: 1;
        border: 1px solid #ced4da;
        border-radius: 4px 0 0 4px;
        padding: 8px 12px;
        height: auto;
        min-width: 0; /* Permitir que se comprima si es necesario */
    }
    
    .widget_search .wp-block-search__button {
        background-color: #0da7bb;
        color: white;
        border: none;
        border-radius: 0 4px 4px 0;
        padding: 8px 15px;
        cursor: pointer;
        transition: background-color 0.3s;
        flex-shrink: 0; /* Evitar que el botón se comprima */
    }
    
    .widget_search .wp-block-search__button:hover {
        background-color: #0b8d9e;
    }
    
    /* Estilos para el widget de entradas recientes */
    .widget_block .wp-block-heading {
        color: #2b2c53;
        font-size: 1.3rem;
        border-bottom: 2px solid #0da7bb;
        padding-bottom: 10px;
        margin-bottom: 15px;
        font-weight: 700;
    }
    
    .wp-block-latest-posts__list {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }
    
    .wp-block-latest-posts__list li {
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px dashed #dee2e6;
    }
    
    .wp-block-latest-posts__list li:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .wp-block-latest-posts__post-title {
        color: #2b2c53;
        text-decoration: none;
        font-weight: 600;
        display: block;
        transition: color 0.3s;
        word-wrap: break-word; /* Permitir que los títulos largos se rompan */
    }
    
    .wp-block-latest-posts__post-title:hover {
        color: #f95759;
    }
    
    /* Estilos para el widget de comentarios recientes */
    .no-comments {
        color: #6c757d;
        font-style: italic;
    }
    
    /* Mejora para la paginación */
    .page-numbers.current {
        background-color: #0da7bb;
        border-color: #0da7bb;
    }
    
    .page-numbers:hover:not(.current) {
        background-color: #f95759;
        border-color: #f95759;
        color: white;
    }
    
    /* Media queries para responsive */
    @media (max-width: 991.98px) {
        #right-sidebar {
            margin-top: 30px;
        }
    }
    
    /* Asegurar que los widgets no se desborden */
    .widget-area .widget {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }


    /************* CONTACTO *************/
.contacto-page {
   margin-top: 80px; 
}

/* =========================
   FOOTER STYLES
========================= */

.main-footer {
    background-color: #2b2c53;
    color: #ffffff;
    padding: 60px 0 0;
    margin-top: 80px;
}

/* Footer Logo/Brand */
.footer-logo .custom-logo {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.footer-brand i {
    color: #f95759;
    font-size: 30px;
}

.footer-brand:hover {
    color: #0da7bb;
    text-decoration: none;
}

/* Footer Description */
.footer-description {
    color: #b8b9c5;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Contact Info */
.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #b8b9c5;
}

.contact-item i {
    color: #f95759;
    font-size: 16px;
    width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Footer Titles */
.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #f95759;
}

/* Footer Links */
.footer-links {
    margin-top: 20px;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    margin-bottom: 12px;
}

.footer-menu-list a {
    color: #b8b9c5;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-menu-list a:hover {
    color: #0da7bb;
    text-decoration: none;
    padding-left: 8px;
}

.footer-menu-list a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: #f95759;
    transition: width 0.3s ease;
}

.footer-menu-list a:hover::before {
    width: 6px;
}

/* Recent Posts */
.recent-posts {
    margin-top: 20px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(184, 185, 197, 0.1);
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-thumbnail {
    flex-shrink: 0;
}

.post-thumbnail img,
.post-thumbnail .no-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.post-thumbnail .no-image {
    background-color: #f95759;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.post-thumbnail:hover img,
.post-thumbnail:hover .no-image {
    transform: scale(1.05);
}

.post-content {
    flex: 1;
}

.post-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #0da7bb;
    text-decoration: none;
}

.post-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-date,
.post-author {
    font-size: 12px;
    color: #b8b9c5;
}

.post-date i {
    margin-right: 5px;
    color: #f95759;
}

.post-author {
    color: #0da7bb;
    font-weight: 500;
}

.no-posts {
    color: #b8b9c5;
    font-size: 14px;
    font-style: italic;
}

/* Footer Social Row */
.footer-social-row {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(184, 185, 197, 0.1);
}

.social-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-text {
    color: #b8b9c5;
    margin: 0;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(184, 185, 197, 0.1);
    color: #b8b9c5;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icons a:hover {
    background-color: #f95759;
    color: #ffffff;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-footer-cta {
    background-color: #0da7bb;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-footer-cta:hover {
    background-color: #f95759;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 87, 89, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    background-color: #1e1f3f;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(184, 185, 197, 0.1);
}

.copyright {
    color: #b8b9c5;
    font-size: 14px;
    margin: 0;
    text-align: left;
}

.copyright strong {
    color: #ffffff;
}

.developer-credit {
    color: #b8b9c5;
    font-size: 14px;
    margin: 0;
    text-align: right;
}

.developer-credit a {
    color: #0da7bb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: #f95759;
    text-decoration: none;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #f95759;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(249, 87, 89, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #0da7bb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 167, 187, 0.4);
}

/* =========================
   RESPONSIVE FOOTER
========================= */

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 0;
        margin-top: 40px;
    }
    
    .footer-section {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
        text-align: left;
    }
    
    .recent-post-item {
        flex-direction: column;
        text-align: left;
    }
    
    .post-thumbnail {
        align-self: center;
    }
    
    .footer-social-row {
        margin-top: 30px;
        text-align: center;
    }
    
    .social-section {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .cta-section {
        justify-content: center;
    }
    
    .footer-bottom .row > div {
        text-align: center !important;
        margin-bottom: 10px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding: 30px 0 0;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .contact-item {
        font-size: 13px;
    }
    
    .footer-menu-list a {
        font-size: 13px;
    }
    
    .recent-post-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .btn-footer-cta {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Fix para GeneratePress */
.site-footer {
    display: none !important;
}

.main-footer {
    position: relative;
    z-index: 1;
}

/* Ocultar secciones específicas en móviles */
@media (max-width: 768px) {
    .main-footer .col-lg-2,
    .main-footer .col-lg-3:last-child {
        display: none !important;
    }
}