/*
Theme Name: AXRDevel Humberto Diez
Description: Tema personalizado para Humberto Diez, consultor impositivo.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: axrdevel-humbertodiez
Tags: custom, business, professional, block-theme
*/
/* --- ESTILOS GENERALES --- */
html { scroll-padding-top: 90px; }
body { font-family: 'Montserrat', sans-serif; color: #393C4C; margin: 0; padding-top: 90px; }
h1, h2, h3 { color: #041C4A; } 

/* --- HERO --- */
.axrdevel-hero {
    position: relative;
    height: calc(100vh - 90px);
    width: 100%;
    overflow: hidden;
}

/* --- ESTILO DE LOS SLIDES --- */
.axrdevel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;

    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    z-index: 1;
    pointer-events: none;
}
/* Esta clase será añadida por JS */
.axrdevel-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.axrdevel-slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    box-sizing: border-box;
    max-width: min(900px, 92vw);
    padding: clamp(20px, 5vw, 50px);
    background: rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

/* --- TIPOGRAFÍA Y BOTONES --- */
.axrdevel-slide-title {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: clamp(0.8rem, 1.2vw + 0.5rem, 1.6rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7);
    line-height: 1.5;
}

.axrdevel-slide-title span {
    display: block;
}

.axrdevel-slide-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

.axrdevel-read-more, .axrdevel-suscribe, .axrdevel-contact {
    display: inline-block;
    padding: 14px 32px;
    margin-top: 25px;
    background: #ffffff;
    color: #041C4A;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.axrdevel-read-more:hover, .axrdevel-suscribe:hover, .axrdevel-contact:hover {
    background-color: #1E77B0;
    color: #ffffff;
}

/* --- FLECHAS DE NAVEGACIÓN --- */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    -webkit-tap-highlight-color: rgba(30, 119, 176, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-arrow:hover,
.nav-arrow:active {
    background-color: #1E77B0;
    color: #ffffff;
}

.prev { left: 20px; }
.next { right: 20px; }

/* --- SECCIÓN CONTACTO PROFESIONAL --- */
.axrdevel-section-contact {
    padding: 100px 20px;
    background-color: #fcfcfc;
    text-align: left;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.axrdevel-section-contact::before {
    content: "";
    position: absolute;
    right: -180px;
    bottom: 0;
    width: 900px;
    height: 900px;
    background-image: url('assets/img/barras.png');
    background-repeat: no-repeat;
    background-position: right bottom -180px;
    background-size: contain;
    pointer-events: none;
    opacity: 0.15;
}

.axrdevel-contact-content {
    max-width: 800px;
    margin: 0 auto;
}


.axrdevel-contact-title {
    color: #041C4A; 
    font-size: 2rem;
    margin-bottom: 25px;
}

.axrdevel-contact-description {
    color: #393C4C; 
    line-height: 1.6;
    margin-bottom: 40px;
}

/*  "Qué incluye" */
.axrdevel-contact-box {
    background: #f4f4f6;
    border: 1px solid #dcdcdc;
    padding: 40px;
    margin-bottom: 30px;
    text-align: left;
}

.axrdevel-contacto-box-title {
    color: #1E77B0; 
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 700;
}

.axrdevel-contacto-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.axrdevel-contacto-box-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #393C4C;
}

.axrdevel-contacto-box-list span {
    color: #1E77B0; 
    font-weight: 700;
    flex-shrink: 0;
    width: 25px;
}


.axrdevel-contact-box-destacado {
    padding: 20px 30px;
    margin-bottom: 40px;
    text-align: left;
    border-left: 4px solid #041C4A; 
    background: #ffffff;
    color: #393C4C;
    font-weight: 600;
    font-style: italic;
    line-height: 1.8;
}


.axrdevel-contact-box-btn {
    background: #1E77B0;
    color: #ffffff;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}
.axrdevel-contact-box-btn:hover {
    background-color: #D9E3F1; 
    color:#393C4C;
}
/* --- SECCIÓN SOLUCIONES IMPOSITIVAS --- */
.axrdevel-section-solutions {
    background-color: #041C4A;
    color: #ffffff;
    padding: 100px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.axrdevel-solutions-display {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 80px;
}

.axrdevel-solutions-content {
    flex: 1;
    max-width: 450px;
}

.axrdevel-solutions-content p {
    line-height: 1.7;
    margin-bottom: 24px;
}

.axrdevel-solutions-title {
    font-size: 2rem;
    margin-bottom: 25px;
    color:#FFFFFF;
}

.axrdevel-solutions-btn {
    display: inline-block;
    background-color: #1E77B0; 
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 32px;
    transition: background-color 0.3s ease;
}
.axrdevel-solutions-btn:hover {
    background-color: #D9E3F1; 
    color:#393C4C;
}

/*"¿Cuándo intervenimos?" */
.axrdevel-solutions-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
}

.axrdevel-solutions-box-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    color:#FFFFFF;
    
}

.axrdevel-solutions-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.axrdevel-solutions-box-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.axrdevel-solutions-box-list span {
    color: #1E77B0; 
    font-weight: 700;
    width: 28px;
    flex-shrink: 0;
    text-align: left;
}
/* --- SECCIÓN EL ESTUDIO --- */
.axrdevel-section-studio { 
    padding: 100px 20px; 
    max-width: 1000px; 
    margin: 0 auto; 
    min-height: 500px;
    display: flex;
    align-items: center;
}

.axrdevel-studio-title {
    text-align: center;
    color: #1E77B0; 
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-weight: 700;
}

.axrdevel-studio-title::before, .axrdevel-studio-title::after {
    content: "";
    height: 1px;
    width: 80px;
    background: #ccc;
}

/* Grid de tarjetas */
.axrdevel-studio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.axrdevel-studio-card {
    border: 1px solid #ddd;
    padding: 30px 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Círculo celeste con número */
.axrdevel-studio-card-number {
    background: #D9E3F1; 
    color: #1E77B0; 
    font-weight: 700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    align-self: center;
}

.axrdevel-studio-card h3 {
    text-transform: uppercase;
    font-size: 0.95rem; 
    color: #333;
}

.axrdevel-studio-card p {
    font-size: 0.9rem; 
    color: #666; 
    line-height: 1.6;   
    margin-bottom: 10px; 
}

/* "Acerca de" - Bloque Inferior */
.axrdevel-studio-about-section {
    background: #D9E3F1; 
    padding: 40px;
    text-align: left;
}

.axrdevel-studio-about-section h3 {
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #041C4A;
}

.axrdevel-studio-about-section p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}
/* =============== HEADER =============== */

.axrdevel-header {
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-sizing: border-box;
}

.admin-bar .axrdevel-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .axrdevel-header {
        top: 46px;
    }
}


.logo-section {
    height: 80px; 
    display: flex;
    align-items: center;
}


.logo-section a {
    position: relative;
    display: inline-block;
}

.logo-section a::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #1E77B0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;

    -webkit-mask-image: url('assets/img/logo-header.png');
    mask-image: url('assets/img/logo-header.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.logo-section a:hover::before {
    opacity: 1;
}

.logo-section img {
    height: 60px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    display: block;
}

/* Contenedor de los enlaces de navegación */
.axrdevel-header .axrdevel-actions:first-of-type > div {
    display: flex;
    gap: 30px;
}

/* Estilo de los enlaces */
.axrdevel-actions a {
    color: #041C4A; 
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 10px 15px;
}

.axrdevel-actions a:hover {
    color: #1E77B0; 
}

/* Menú hamburguesa (oculto en desktop) */
.menu-toggle {
    display: none;
}

.axrdevel-nav-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.axrdevel-nav-wrapper .axrdevel-actions:first-of-type {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 20;
}

.menu-icon span {
    display: block;
    width: 28px;
    height: 3px;
    background: #041C4A;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- ICONOS SOCIALES EN HEADER --- */
.axrdevel-social-header {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-social a {
    color: #041C4A;
    opacity: 0.75;
    transition: opacity 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0;
}

.header-social a:hover {
    opacity: 1;
    color: #1E77B0;
}

.header-social svg {
    width: 22px;
    height: 22px;
}

/* =============== FOOTER =============== */
.axrdevel-footer {
    background-color: #393C4C;
    color: #FFFFFF;
    padding: 40px 40px 20px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; 
    font-family: 'Montserrat', sans-serif;
}

/* CTA Superior */
.footer-cta {
    max-width: 600px; /* Reducido para que el texto sea más compacto */
    margin: 0 auto 10px; /* Reducción drástica del margen inferior */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Menor espacio entre el texto y el botón */
    text-align: center;
}

.footer-cta span {
    display: block;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 0;
    padding: 0 10px;
}
/* Botón */
.btn-suscribirse {
    background-color: #1E77B0;           
    color: #ffffff;
    border: none;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    
}

.btn-suscribirse:hover {
    background-color: #D9E3F1;
    color:#393C4C;
    
}

/* Logo */
.footer-center {
    margin: 0;
    padding: 0;
   
    height: 180px; 
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    display: block;
    width: 400px;      /* Cambia este valor para agrandar el logo a tu gusto */
    height: auto;     
    margin: 0 auto;    
   
}

/* Parte inferior (copyright + redes) */
.footer-end {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 0; 
}

.footer-copy {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
    font-family: 'Montserrat', sans-serif;
}

.footer-social {
   display: flex;
    gap: 25px;
}

.footer-social a {
    color: #ffffff;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social svg {
    width: 24px;
    height: 24px;
}

/* --- WHATSAPP FLOTANTE --- */
.axrdevel-whatsapp-float {
    position: fixed;
    top: 75%;
    right: 28px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.axrdevel-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

@media (max-width: 768px) {
    .axrdevel-whatsapp-float {
        width: 52px;
        height: 52px;
        right: 22px;
    }
    .axrdevel-whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* =============== RESPONSIVE =============== */

@media (max-width: 1024px) {
    .axrdevel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        min-height: 90px;
        height: auto;
        padding: 0 24px;
        overflow: visible;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
    }

    .logo-section {
        height: 56px;
    }

    .logo-section img {
        max-width: 180px;
    }

    .menu-icon {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        margin-right: 14px;
        padding: 10px;
        box-sizing: border-box;
        z-index: 1000;
        cursor: pointer;
        background: rgba(30, 119, 176, 0.2);
        border-radius: 6px;
    }

    .menu-icon span {
        display: block;
        width: 24px;
        height: 3px;
        background: #041C4A;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        flex-shrink: 0;
    }

    .axrdevel-nav-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 15;
    }

    .axrdevel-nav-wrapper .axrdevel-actions {
        position: static;
        width: 100%;
        padding: 0;
    }

    .axrdevel-nav-wrapper .axrdevel-actions:first-of-type {
        position: static;
        transform: none;
        left: auto;
        white-space: normal;
    }

    .axrdevel-nav-wrapper .axrdevel-actions:first-of-type > div {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
    }

    .axrdevel-nav-wrapper .axrdevel-actions a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 16px 20px;
        font-size: 15px;
        border-bottom: 1px solid #f0f0f0;
        box-sizing: border-box;
    }

    .axrdevel-nav-wrapper .axrdevel-actions:last-of-type a {
        border-bottom: none;
    }

    .axrdevel-nav-wrapper .axrdevel-actions:last-of-type {
        padding: 16px 20px;
        border-bottom: none;
        align-items: center;
        justify-content: center;
    }

    .axrdevel-nav-wrapper .axrdevel-actions:last-of-type .header-social {
        gap: 30px;
        padding: 10px 0;
    }

    .axrdevel-nav-wrapper .axrdevel-actions:last-of-type .header-social a {
        padding: 0;
        display: flex;
    }

    .axrdevel-nav-wrapper .axrdevel-actions:last-of-type .header-social svg {
        width: 28px;
        height: 28px;
    }

    .menu-toggle:checked ~ .axrdevel-nav-wrapper {
        display: flex;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .axrdevel-pagination {
        position: absolute;
        bottom: 24px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        gap: 40px;
        z-index: 10;
    }

    .nav-arrow {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        font-size: 22px;
        padding: 12px 18px;
    }

    .axrdevel-slide-description {
        font-size: 0.95rem;
    }

    .axrdevel-section-contact::before {
        display: none;
    }

    .axrdevel-read-more,
    .axrdevel-suscribe,
    .axrdevel-contact {
        max-width: 90%;
        box-sizing: border-box;
    }

    .axrdevel-contact-box {
        padding: 25px;
    }

    .axrdevel-contact-box-destacado {
        padding: 15px 20px;
        line-height: 2;
    }

    .axrdevel-solutions-content p {
        line-height: 1.8;
    }

    .axrdevel-studio-grid {
        grid-template-columns: 1fr;
    }

    .axrdevel-studio-title::before,
    .axrdevel-studio-title::after {
        width: 40px;
    }

    .footer-logo {
        width: 280px;
        max-width: 90%;
    }

    .btn-suscribirse {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .footer-end {
        flex-direction: column;
        gap: 18px;
    }

    .footer-cta span {
        font-size: 1.3rem;
    }
}

@media (max-width: 900px) {
    .axrdevel-solutions-display {
        flex-direction: column;
        gap: 40px;
    }

    .axrdevel-solutions-content {
        max-width: 100%;
    }

    .axrdevel-solutions-box {
        width: 100%;
    }

    .axrdevel-studio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .axrdevel-header {
        padding: 0 40px;
    }

    .axrdevel-whatsapp-float {
        right: 54px;
    }
}

@media (max-width: 480px) {
    .axrdevel-section-contact,
    .axrdevel-section-solutions,
    .axrdevel-section-studio {
        padding: 60px 15px;
        min-height: auto;
    }

    .axrdevel-contact-title,
    .axrdevel-solutions-title,
    .axrdevel-studio-title {
        font-size: 1.5rem;
    }

    .axrdevel-solutions-box {
        padding: 25px 18px;
    }

    .axrdevel-solutions-box-list {
        gap: 14px;
    }

    .axrdevel-solutions-box-list li {
        font-size: 0.85rem;
        gap: 10px;
    }

    .axrdevel-solutions-box-list span {
        width: 32px;
        font-size: 0.85rem;
    }

    .axrdevel-studio-grid {
        grid-template-columns: 1fr;
    }
}