/* Estilos personalizados para Vania Soza */

/* Colores de marca */
:root {
    --color-primary: #0D4A6A;
    --color-secondary: #D1A900;
    --color-tertiary-green: #748678;
    --color-tertiary-turquoise: #9CC8C7;
}

/* Hero buttons spacing */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero description width - más angosto para no ocultarse con la imagen */
.ht-hero-content p.desc {
    max-width: 600px !important;
}

/* Header top - contact info alignment */
.ht-top-header .right {
    justify-content: flex-end;
    display: flex;
}

/* About features checkmarks */
.about-features .feature-item {
    display: flex;
    align-items: flex-start;
}

.about-features .feature-item i {
    color: #0D4A6A;
    margin-right: 10px;
    margin-top: 3px;
}

/* Process section description */
.process-description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA section */
.ht-cta-area {
    background: linear-gradient(135deg, #0D4A6A 0%, #0a3a52 100%);
}

.ht-cta-content .cta-description {
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About page - Discoveries list */
.discoveries-list {
    list-style: none;
    padding-left: 0;
}

.discoveries-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.discoveries-list li:before {
    content: "•";
    color: #0D4A6A;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 20px;
}

.purpose-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* Personal story */
.personal-story {
    font-style: italic;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    border-left: 3px solid #0D4A6A;
    padding-left: 20px;
    margin-bottom: 25px;
}

/* Trajectory sections */
.trajectory-content h4 {
    color: #0D4A6A;
    margin-bottom: 15px;
    font-size: 18px;
}

.trajectory-list {
    list-style: none;
    padding-left: 0;
}

.trajectory-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.trajectory-list li:before {
    content: "✓";
    color: #0D4A6A;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Approach blocks */
.approach-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
}

.approach-block {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 74, 106, 0.15);
    border: 2px solid #D1A900;
}

.approach-icon {
    width: 60px;
    height: 60px;
    background: #0D4A6A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.approach-icon i {
    color: #fff;
    font-size: 24px;
}

.approach-block h4 {
    color: #333;
    font-size: 20px;
    margin: 0;
}

/* Services page - Pillars */
.services-pillar {
    margin-bottom: 80px;
}

.pillar-header {
    margin-bottom: 50px;
}

.pillar-title {
    font-size: 28px;
    color: #0D4A6A;
    margin-bottom: 15px;
    font-weight: 600;
}

.pillar-description {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Espaciado entre servicios en los pilares */
.services-pillar .ht-services-wrapper .col-lg-4,
.services-pillar .ht-services-wrapper .col-md-6,
.services-pillar .ht-services-wrapper .col-sm-12 {
    margin-bottom: 40px !important;
}

/* CTA de servicios (bloque dentro de la sección de servicios) */
.services-cta {
    margin-top: 0;
    padding: 60px 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.services-cta h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.services-intro {
    max-width: 700px;
    margin: 20px auto 0;
}

.services-cta-text {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Blog page */
.blog-intro {
    max-width: 700px;
    margin: 20px auto 0;
    color: #666;
    line-height: 1.6;
}

.blog-categories {
    margin-bottom: 50px;
    padding: 20px 0;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.category-label {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    margin-right: 5px;
    white-space: nowrap;
}

.category-tag {
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid transparent;
}

.category-tag:hover {
    background: #0D4A6A;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 74, 106, 0.3);
    border-color: #0D4A6A;
}

.category-tag.active {
    background: #0D4A6A;
    color: #fff;
    border-color: #0D4A6A;
}

.category-tag:active {
    transform: translateY(0);
}

/* Paginación del blog */
.page-nav-wrap {
    margin-top: 50px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

.page-nav-wrap ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: auto !important;
    text-align: center !important;
}

.page-nav-wrap ul li {
    list-style: none !important;
    margin: 0 !important;
    display: inline-block !important;
}

.page-nav-wrap ul li .page-numbers {
    display: inline-block !important;
    padding: 10px 15px !important;
    background: #f8f9fa !important;
    color: #666 !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    text-align: center !important;
}

.page-nav-wrap ul li .page-numbers:hover,
.page-nav-wrap ul li .page-numbers:focus {
    background: #0D4A6A !important;
    color: #fff !important;
}

.page-nav-wrap ul li.active .page-numbers,
.page-nav-wrap ul li .page-numbers.current {
    background: #0D4A6A !important;
    color: #fff !important;
}

.page-nav-wrap .nav-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin: 0 auto !important;
    width: auto !important;
    text-align: center !important;
}

.page-nav-wrap .nav-links a,
.page-nav-wrap .nav-links span {
    display: inline-block !important;
    padding: 10px 15px !important;
    background: #f8f9fa !important;
    color: #666 !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    text-align: center !important;
}

.page-nav-wrap .nav-links a:hover {
    background: #0D4A6A !important;
    color: #fff !important;
}

.page-nav-wrap .nav-links .current {
    background: #0D4A6A !important;
    color: #fff !important;
}

/* Responsive para categorías del blog */
@media (max-width: 768px) {
    .blog-categories {
        margin-bottom: 30px;
        padding: 15px 0;
    }
    
    .categories-list {
        gap: 8px;
        justify-content: flex-start;
    }
    
    .category-label {
        font-size: 14px;
        margin-right: 8px;
        width: 100%;
        margin-bottom: 5px;
    }
    
    .category-tag {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .categories-list {
        justify-content: center;
    }
    
    .category-label {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }
}

.blog-excerpt {
    margin: 15px 0;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Contact page */
.contact-intro {
    max-width: 600px;
    margin: 20px auto 0;
    color: #666;
}

.contact-info-item .icon i.fab.fa-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item h4 a:hover {
    color: #0D4A6A;
}

/* Sobrescribir variables del tema principal con colores de marca */
:root {
    --ht-theme-color: #0D4A6A;
    --ht-theme-color-2: #D1A900;
    --ht-theme-color-3: #9CC8C7;
    --ht-heading-color: #0D4A6A;
}

/* Botones con colores de marca */
.ht-btn.style-2 {
    background: #D1A900 !important;
}

.ht-btn.style-2:hover {
    background: #0D4A6A !important;
    color: #fff !important;
}

.ht-btn.style-2::before {
    background: #0D4A6A !important;
}

.ht-btn.style-3 {
    background: #0D4A6A !important;
}

.ht-btn.style-3:hover {
    background: #D1A900 !important;
}

.ht-btn.style-3::before {
    background: #D1A900 !important;
}

/* Subtítulos con color secundario */
.section-title .subtitle {
    color: #D1A900 !important;
}

/* Enlaces hover */
a:hover {
    color: #0D4A6A;
}

/* Títulos principales con color de marca */
.section-title .title span {
    color: #0D4A6A;
}

/* Botones con colores de marca */
.ht-btn.style-2 {
    background: #D1A900;
}

.ht-btn.style-2:hover {
    background: #0D4A6A;
    color: #fff;
}

.ht-btn.style-3 {
    background: #0D4A6A;
}

.ht-btn.style-3:hover {
    background: #D1A900;
}

/* Subtítulos con color secundario */
.section-title .subtitle {
    color: #D1A900;
}

/* Enlaces hover */
a:hover {
    color: #0D4A6A;
}

/* Títulos principales */
.section-title .title span {
    color: #0D4A6A;
}

/* Ajuste de scroll para el formulario de contacto */
#contacto {
    scroll-margin-top: 120px; /* Ajusta según la altura de tu header */
}

/* Scroll suave para todos los enlaces de ancla */
html {
    scroll-behavior: smooth;
}

/* Estilos para la plantilla de servicios */
.ht-service-details-wrapper {
    width: 100%;
}

/* Asegurar que el sidebar de servicios tenga los mismos estilos */
.ht-service-details-area .ht-sidebar-area .single-contact {
    margin-top: 30px;
}

/* ============================================
   JERARQUÍA DE TÍTULOS Y ESTILOS DE SERVICIOS
   ============================================ */

/* Jerarquía de títulos */
h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ht-heading-color, #0D4A6A);
    margin-bottom: 20px;
}

h2 {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ht-heading-color, #0D4A6A);
    margin-bottom: 20px;
}

h3 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ht-heading-color, #0D4A6A);
    margin-bottom: 15px;
}

h4 {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ht-heading-color, #0D4A6A);
    margin-bottom: 15px;
}

h5 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ht-heading-color, #0D4A6A);
    margin-bottom: 12px;
}

h6 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ht-heading-color, #0D4A6A);
    margin-bottom: 10px;
}

/* Ajuste responsive para títulos */
@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    h3 {
        font-size: 28px;
    }
    
    h4 {
        font-size: 24px;
    }
    
    h5 {
        font-size: 20px;
    }
    
    h6 {
        font-size: 18px;
    }
}

/* Section padding específico para servicios */
.ht-services-area.section-padding,
.ht-service-details-area.section-padding {
    padding: 70px 0;
}

/* Margin bottom después de H2 */
h2 + * {
    margin-top: 0;
}

h2 {
    margin-bottom: 20px;
}

/* Títulos con clase .title dentro de .section-title mantienen jerarquía */
.section-title h1.title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title h2.title {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .section-title h1.title {
        font-size: 40px;
    }
    
    .section-title h2.title {
        font-size: 36px;
    }
}

/* Espaciado entre párrafos */
p {
    margin-bottom: 1.5em;
    line-height: 1.6;
}

p:last-child {
    margin-bottom: 0;
}

/* Espaciado entre listas - Restaurar marcadores de lista en contenido */
/* Aplicar solo a listas dentro del contenido de servicios y páginas */
.ht-service-details-area .service-details-content ul,
.ht-service-details-area .ht-service-details-wrapper ul,
.ht-service-details-area .service-details-content ol,
.ht-service-details-area .ht-service-details-wrapper ol,
.entry-content ul,
.entry-content ol,
.wp-block-list ul,
.wp-block-list ol {
    list-style: disc !important;
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.ht-service-details-area .service-details-content ol,
.ht-service-details-area .ht-service-details-wrapper ol,
.entry-content ol,
.wp-block-list ol {
    list-style: decimal !important;
}

.ht-service-details-area .service-details-content ul:last-child,
.ht-service-details-area .ht-service-details-wrapper ul:last-child,
.ht-service-details-area .service-details-content ol:last-child,
.ht-service-details-area .ht-service-details-wrapper ol:last-child,
.entry-content ul:last-child,
.entry-content ol:last-child,
.wp-block-list ul:last-child,
.wp-block-list ol:last-child {
    margin-bottom: 0;
}

/* Espaciado entre items de lista */
.ht-service-details-area .service-details-content ul li,
.ht-service-details-area .ht-service-details-wrapper ul li,
.ht-service-details-area .service-details-content ol li,
.ht-service-details-area .ht-service-details-wrapper ol li,
.entry-content ul li,
.entry-content ol li,
.wp-block-list ul li,
.wp-block-list ol li {
    margin-bottom: 0.75em;
    list-style-position: outside !important;
    padding-left: 0.5em;
    display: list-item !important;
}

.ht-service-details-area .service-details-content ul li:last-child,
.ht-service-details-area .ht-service-details-wrapper ul li:last-child,
.ht-service-details-area .service-details-content ol li:last-child,
.ht-service-details-area .ht-service-details-wrapper ol li:last-child,
.entry-content ul li:last-child,
.entry-content ol li:last-child,
.wp-block-list ul li:last-child,
.wp-block-list ol li:last-child {
    margin-bottom: 0;
}

/* Listas anidadas */
.ht-service-details-area .service-details-content ul ul,
.ht-service-details-area .ht-service-details-wrapper ul ul,
.entry-content ul ul {
    list-style-type: circle !important;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.ht-service-details-area .service-details-content ul ul ul,
.ht-service-details-area .ht-service-details-wrapper ul ul ul,
.entry-content ul ul ul {
    list-style-type: square !important;
}

/* Lista de características de servicios (ya tiene iconos personalizados) */
.service-details-list {
    list-style: none !important;
    padding-left: 0;
}

.service-details-list li {
    list-style: none !important;
    padding-left: 0;
    display: list-item !important;
}

/* ============================================
   FOOTER - NUEVA ESTRUCTURA
   ============================================ */

/* Estructura de 3 columnas en el footer */
.ht-footer-top-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .ht-footer-top-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Columna central - Espacio vacío */
.ht-footer-top-center {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Columna derecha - Redes sociales e información de contacto */
.ht-footer-top-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Información de contacto en el footer */
.ht-footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(247, 87, 9, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.4s ease-in-out;
}

.footer-contact-item .icon i.fab.fa-whatsapp {
    font-size: 24px;
    color: #25D366;
}

.footer-contact-item .icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: all 0.4s ease-in-out;
}

.footer-contact-item:hover .icon {
    background: var(--ht-theme-color-2);
}

.footer-contact-item:hover .icon img {
    filter: brightness(0) invert(1);
}

.footer-contact-item .content {
    flex: 1;
}

.footer-contact-item .content span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    font-weight: 500;
}

.footer-contact-item .content h4 {
    font-size: 16px;
    color: var(--ht-white);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.footer-contact-item .content h4 a {
    color: var(--ht-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item .content h4 a:hover {
    color: var(--ht-theme-color-2);
}

/* Enlaces de navegación en el footer */
.ht-footer-navigation {
    margin-top: 25px;
    width: 100%;
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}

.footer-nav-links li {
    margin: 0;
    padding: 0;
}

.footer-nav-links li a {
    color: var(--ht-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-nav-links li a::before {
    content: "→";
    margin-right: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    left: -20px;
}

.footer-nav-links li a:hover {
    color: var(--ht-theme-color-2);
    padding-left: 20px;
}

.footer-nav-links li a:hover::before {
    opacity: 1;
    left: 0;
}

/* Submenús en el footer (si el menú principal tiene submenús) */
.footer-nav-links .sub-menu {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.footer-nav-links .sub-menu li {
    margin: 0;
    padding: 0;
}

.footer-nav-links .sub-menu li a {
    font-size: 14px;
    opacity: 0.8;
}

.footer-nav-links .sub-menu li a:hover {
    opacity: 1;
}

/* Responsive para footer */
@media (max-width: 767px) {
    .ht-footer-top-wrapper {
        gap: 30px;
    }
    
    .ht-footer-top-center {
        gap: 0;
    }
    
    .ht-footer-top-right {
        gap: 25px;
    }
    
    .ht-footer-contact-info {
        gap: 18px;
    }
    
    .footer-contact-item {
        gap: 12px;
    }
    
    .footer-contact-item .icon {
        width: 45px;
        height: 45px;
    }
    
    .footer-contact-item .icon i.fab.fa-whatsapp {
        font-size: 20px;
    }
    
    .footer-contact-item .icon img {
        width: 20px;
        height: 20px;
    }
    
    .footer-contact-item .content h4 {
        font-size: 15px;
    }
    
    .footer-nav-links li a {
        font-size: 15px;
    }
}

