/* public/css/custom-styles.css */

/* ============================================
   ANIMACIONES PERSONALIZADAS
   ============================================ */
.animate_when_almost_visible {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate_when_almost_visible.animated {
    opacity: 1;
    transform: translateY(0);
}

.alpha-anim {
    transition-delay: 0.2s;
}

.bottom-t-top {
    transform: translateY(50px);
}

.bottom-t-top.animated {
    transform: translateY(0);
}

.right-t-left {
    transform: translateX(50px);
}

.right-t-left.animated {
    transform: translateX(0);
}

/* ============================================
   SHIFTS (DESPLAZAMIENTOS)
   ============================================ */
.shift_x_single {
    transform: translateX(20px);
}

.shift_x_double {
    transform: translateX(40px);
}

.shift_x_triple {
    transform: translateX(60px);
}

.shift_x_neg_single {
    transform: translateX(-20px);
}

.shift_x_neg_double {
    transform: translateX(-40px);
}

.shift_y_neg_quad {
    transform: translateY(-80px);
}

.shift_y_double {
    transform: translateY(40px);
}

.shift_right_x_triple {
    margin-right: 60px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
    .tablet-hidden {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .tablet-hidden {
        display: none !important;
    }
}

/* ============================================
   OWL CAROUSEL
   ============================================ */
.owl-carousel-loading {
    min-height: 200px;
    position: relative;
}

.owl-carousel-wrapper {
    position: relative;
}

.owl-carousel-container {
    position: relative;
}

.carousel-overflow-visible .owl-stage-outer {
    overflow: visible;
}

.carousel-not-active-opacity .owl-item:not(.active) {
    opacity: 0.5;
}

.carousel-not-clickable .owl-item:not(.active) {
    pointer-events: none;
}

.carousel-animation-first .owl-item:first-child {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   EMPTY SPACES
   ============================================ */
.empty-space {
    display: block;
    width: 100%;
}

.empty-space-inner {
    display: block;
    width: 100%;
}

.empty-single .empty-space-inner {
    height: 30px;
}

.empty-double .empty-space-inner {
    height: 60px;
}

.empty-triple .empty-space-inner {
    height: 90px;
}

.empty-quad .empty-space-inner {
    height: 120px;
}

/* ============================================
   PADDING UTILITIES
   ============================================ */
.no-top-padding {
    padding-top: 0 !important;
}

.single-top-padding {
    padding-top: 45px;
}

.double-top-padding {
    padding-top: 90px;
}

.triple-top-padding {
    padding-top: 135px;
}

.quad-top-padding {
    padding-top: 180px;
}

.single-bottom-padding {
    padding-bottom: 45px;
}

.double-bottom-padding {
    padding-bottom: 90px;
}

.quad-bottom-padding {
    padding-bottom: 180px;
}

.single-h-padding {
    padding-left: 45px;
    padding-right: 45px;
}

.triple-h-padding {
    padding-left: 135px;
    padding-right: 135px;
}

.no-h-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.single-block-padding {
    padding: 45px;
}

.double-block-padding {
    padding: 90px;
}

.half-block-padding {
    padding: 22.5px;
}

.no-block-padding {
    padding: 0 !important;
}

/* ============================================
   INTERNAL GUTTERS
   ============================================ */
.single-internal-gutter {
    padding: 15px;
}

.double-internal-gutter {
    padding: 30px;
}

.half-internal-gutter {
    padding: 7.5px;
}

/* ============================================
   BORDERS & RADIUS
   ============================================ */
.img-round {
    border-radius: 8px;
    overflow: hidden;
}

.img-round-lg {
    border-radius: 16px;
}

.unradius-xl {
    border-radius: 24px;
}

.border-color-xsdn-color {
    border-color: #e0e0e0;
}

.tmb-bordered {
    border: 1px solid #e0e0e0;
}

/* ============================================
   SHADOWS
   ============================================ */
.tmb-shadowed {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tmb-shadowed-std {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tmb-shadowed-lg {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tmb-shadowed-darker-lg {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.unshadow-lg {
    box-shadow: none !important;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
}

.h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.h3 {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
}

.h4 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
}

.h5 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 500;
}

.h6 {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.text-lead {
    font-size: 1.125rem;
    line-height: 1.6;
}

.text-small {
    font-size: 0.875rem;
}

.font-weight-800 {
    font-weight: 800;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-100 {
    font-weight: 100;
}

.text-accent-color {
    color: #1b56a5;
}

.text-default-color {
    color: #333;
}

.text-initial {
    text-transform: none !important;
}

.no-letterspace {
    letter-spacing: 0 !important;
}

.title-scale {
    transition: transform 0.3s ease;
}

.title-scale:hover {
    transform: scale(1.02);
}

.font-122647 {
    font-family: 'Kalam', cursive, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.font-555555 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-accent {
    background: #1b56a5;
    color: #fff;
}

.btn-accent:hover {
    background: #164a8f;
    color: #fff;
}

.btn-flat {
    border-radius: 0;
}

.btn-no-scale:hover {
    transform: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-link {
    background: transparent;
    color: inherit;
    padding: 0;
}

.btn-link:hover {
    opacity: 0.8;
}

.btn-icon-left i {
    margin-right: 8px;
}

.btn-icon-right i {
    margin-left: 8px;
}

.btn-color-587054 {
    background: #587054;
    color: #fff;
}

.btn-color-587054:hover {
    background: #4a5f46;
}

.btn-container {
    display: inline-block;
}

.border-width-0 {
    border-width: 0 !important;
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.row-parent {
    margin: 0 auto;
}

.row-child {
    width: 100%;
}

.row-inner {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.wpb_row {
    width: 100%;
}

.full-width {
    width: 100%;
    max-width: 100%;
}

.limit-width {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.col-no-gutter {
    margin-left: 0;
    margin-right: 0;
}

.col-no-gutter > * {
    padding-left: 0;
    padding-right: 0;
}

.col-half-gutter {
    margin-left: -7.5px;
    margin-right: -7.5px;
}

.col-half-gutter > * {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

.col-double-gutter {
    margin-left: -30px;
    margin-right: -30px;
}

.col-double-gutter > * {
    padding-left: 30px;
    padding-right: 30px;
}

.unequal {
    align-items: stretch;
}

/* Columnas */
.col-lg-1 { width: 8.333%; padding: 0 15px; }
.col-lg-2 { width: 16.666%; padding: 0 15px; }
.col-lg-3 { width: 25%; padding: 0 15px; }
.col-lg-4 { width: 33.333%; padding: 0 15px; }
.col-lg-5 { width: 41.666%; padding: 0 15px; }
.col-lg-6 { width: 50%; padding: 0 15px; }
.col-lg-7 { width: 58.333%; padding: 0 15px; }
.col-lg-8 { width: 66.666%; padding: 0 15px; }
.col-lg-12 { width: 100%; padding: 0 15px; }

/* Posicionamiento */
.pos-middle {
    display: flex;
    align-items: center;
}

.pos-center {
    justify-content: center;
}

.pos-top {
    align-items: flex-start;
}

.pos-bottom {
    align-items: flex-end;
}

.align_center {
    text-align: center;
}

.align_left {
    text-align: left;
}

.align_right {
    text-align: right;
}

.align_center_tablet {
    text-align: center;
}

.align_center_mobile {
    text-align: center;
}

.align_left_mobile {
    text-align: left;
}

.column_parent, .column_child {
    display: flex;
    flex-direction: column;
}

.wpb_column {
    display: flex;
    flex-direction: column;
}

/* ============================================
   TABS
   ============================================ */
.uncode-tabs {
    width: 100%;
}

.tab-container {
    display: flex;
    width: 100%;
}

.vertical-tab-wrapper {
    display: flex;
    width: 100%;
}

.vertical-tab-menu {
    flex: 0 0 50%;
    padding-right: 30px;
}

.vertical-tab-contents {
    flex: 0 0 50%;
}

.nav-tabs {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-tabs li {
    margin-bottom: 0;
}

.nav-tabs a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: #333;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border-style: solid;
    border-right-width: 0;
}

.nav-tabs li.active a,
.nav-tabs li.active a:hover {
    border-left-color: #1b56a5;
    background: rgba(27, 86, 165, 0.05);
}

.nav-tabs a:hover {
    background: #f5f5f5;
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.in.active {
    display: block;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane.fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.fade.in {
    opacity: 1;
}

.tab-excerpt {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-top: 8px;
    font-weight: 400;
}

.tab-no-border .nav-tabs a {
    border: none;
}

.tab-h-border .nav-tabs a {
    border-right: 1px solid #e0e0e0;
}

.tabs-left .nav-tabs {
    border-right: 1px solid #e0e0e0;
}

.tabs-vertical {
    flex-direction: column;
}

.vertical-tab-menu-opposite {
    order: 1;
}

.tab-4-gutter .nav-tabs {
    padding-right: 60px;
}

.tab-tablet-bp {
    /* Punto de quiebre para tablets */
}

.tabs-breakpoint {
    /* Comportamiento responsive */
}

/* ============================================
   IMAGES & MEDIA
   ============================================ */
.tmb {
    position: relative;
    overflow: hidden;
}

.tmb-img-ratio {
    position: relative;
    overflow: hidden;
}

.dummy {
    display: block;
    width: 100%;
}

.uncode-single-media-wrapper {
    position: relative;
    overflow: hidden;
}

.uncode-single-media-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.tmb-img-ratio .uncode-single-media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tmb-img-ratio .uncode-single-media-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uncode-single-media {
    display: block;
}

.single-wrapper {
    position: relative;
    margin: 0 auto;
}

.t-inside {
    position: relative;
}

.t-entry-visual {
    position: relative;
    display: table;
    width: 100%;
}

.t-entry-visual-tc {
    display: table-cell;
    vertical-align: middle;
}

.t-entry-visual-cont {
    position: relative;
    overflow: hidden;
}

.text-center .single-wrapper {
    margin-left: auto;
    margin-right: auto;
}

.text-left .single-wrapper {
    margin-left: 0;
    margin-right: auto;
}

.text-right .single-wrapper {
    margin-left: auto;
    margin-right: 0;
}

.tmb-light {
    color: #333;
}

.tmb-dark {
    color: #fff;
}

.tmb-media-first {
    /* Media aparece primero */
}

.tmb-media-last {
    /* Media aparece al final */
}

.tmb-content-overlay {
    /* Contenido superpuesto */
}

.tmb-no-bg {
    background: transparent;
}

.tmb-lightbox {
    cursor: pointer;
}

/* ============================================
   OVERLAY
   ============================================ */
.t-entry-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tmb:hover .t-entry-visual-overlay {
    opacity: 1;
}

.t-entry-visual-overlay-in {
    width: 100%;
    height: 100%;
}

.style-dark-bg {
    background: #000;
}

.tmb-overlay-text-anim {
    /* Animación de texto en overlay */
}

.tmb-overlay-anim {
    /* Animación de overlay */
}

.tmb-overlay-middle {
    /* Overlay centrado */
}

.tmb-overlay-text-left {
    /* Texto del overlay alineado a la izquierda */
}

.tmb-image-anim {
    /* Animación de imagen */
}

/* ============================================
   TEXT ENTRIES
   ============================================ */
.t-entry-text {
    position: relative;
}

.t-entry-text-tc {
    padding: 0;
}

.t-entry {
    position: relative;
}

.t-entry-title {
    margin: 0 0 10px;
}

.t-entry-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.t-entry-title a:hover {
    color: #1b56a5;
}

.t-entry-excerpt {
    margin: 10px 0 0;
    line-height: 1.6;
}

.t-entry-meta {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 8px;
}

.t-entry-date {
    color: #999;
}

.tmb-content-under {
    /* Contenido debajo de la media */
}

.tmb-content-lateral {
    /* Contenido al lado */
}

.tmb-content-lateral-left {
    display: flex;
    align-items: flex-start;
}

.tmb-content-lateral-responsive {
    /* Responsive para contenido lateral */
}

.tmb-text-space-reduced {
    /* Espaciado de texto reducido */
}

.tmb-content-left {
    text-align: left;
}

.tmb-content-vertical-top {
    align-items: flex-start;
}

.tmb-content-size-2 {
    /* Tamaño de contenido 2 */
}

.tmb-meta-weight-600 {
    font-weight: 600;
}

.tmb-only-text {
    /* Solo texto, sin imagen */
}

.tmb-carousel {
    /* Elemento de carrusel */
}

.atc-typography-inherit {
    font-family: inherit;
}

.tmb-iso-h33 {
    /* Altura isotrópica 33% */
}

/* ============================================
   DIVIDERS
   ============================================ */
.has-dividers {
    position: relative;
}

.uncode-divider-wrap {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.uncode-divider-wrap-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.uncode-row-divider {
    display: block;
    width: 100%;
    height: auto;
}

.uncode-row-divider-step {
    /* SVG divider step */
}

.z_index_0 {
    z-index: 0;
}

/* ============================================
   BACKGROUNDS
   ============================================ */
.row-container {
    position: relative;
}

.row-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.background-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.background-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.block-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.srcset-bg {
    /* Background con srcset */
}

/* ============================================
   Z-INDEX
   ============================================ */
.z_index_2 {
    z-index: 2;
    position: relative;
}

/* ============================================
   VERTICAL TEXT
   ============================================ */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
}

.vertical-text--flip {
    transform: rotate(180deg);
}

.vertical-text--right {
    position: absolute;
    right: 0;
}

.vertical-text--top {
    top: 0;
}

/* ============================================
   COLOR UTILITIES
   ============================================ */
.style-accent-bg {
    background: #1b56a5;
}

.style-color-xsdn-bg {
    background: #f5f5f5;
}

.style-color-976505-bg {
    background: #2a2a2a;
}

.style-light {
    color: #333;
}

.style-dark {
    color: #fff;
}

.style-light-bg {
    background: #fff;
}

.text-color-wvjs-color {
    color: #999;
}

.text-color-xsdn-color {
    color: #666;
}

.text-color-jevc-color {
    color: #1b56a5;
}

/* ============================================
   SPECIAL UTILITIES
   ============================================ */
.overflow-hidden {
    overflow: hidden;
}

.magnetic {
    /* Efecto magnético */
}

.test-zero {
    /* Test utility */
}

.row-next-to-blend {
    /* Mezcla con siguiente fila */
}

.inverted-device-order {
    /* Orden invertido en dispositivos */
}

@media (max-width: 768px) {
    .inverted-device-order {
        flex-direction: column-reverse;
    }
}

.parallax-el {
    position: relative;
}

.uncol {
    display: flex;
    flex-direction: column;
}

.uncoltable {
    display: table;
    width: 100%;
    height: 100%;
}

.uncell {
    display: table-cell;
    vertical-align: top;
}

.uncont {
    position: relative;
}

.col-custom-width {
    margin-left: auto;
    margin-right: auto;
}

.vc_custom_heading_wrap {
    margin-bottom: 15px;
}

.heading-text {
    position: relative;
}

.el-text {
    /* Elemento de texto */
}

.clear {
    clear: both;
}

.uncode_text_column {
    line-height: 1.6;
}

.uncode_text_column p {
    margin-bottom: 15px;
}

.pushed {
    cursor: pointer;
}

.icon-box {
    text-align: center;
}

.icon-box-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-media-image {
    /* Icono como imagen */
}

.icon-box-icon {
    margin-bottom: 15px;
}

.fa-container {
    display: inline-block;
}

.custom-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-link:hover {
    opacity: 0.8;
}

.spacer {
    display: block;
    width: 100%;
}

.spacer-one {
    height: 15px;
}

.half-space {
    height: 7.5px;
}

.divider-wrapper {
    margin: 30px 0;
}

.separator-no-padding {
    margin: 0;
}

.border-color-prif-color {
    border-color: #e0e0e0;
}

.uncode-vc-social {
    margin: 15px 0;
}

.icon-inline {
    display: inline-block;
    margin: 0 5px;
}

.single-gutter {
    margin: 0 -7.5px;
}

.single-gutter > * {
    padding: 0 7.5px;
}

.px-gutter {
    padding: 0 15px;
}

/* ============================================
   YOUTUBE VIDEO
   ============================================ */
.youtube-video {
    position: relative;
    width: 100%;
}

.fluid-object {
    position: relative;
    overflow: hidden;
}

.fluid-object iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   MEDIA QUERIES ADICIONALES
   ============================================ */
@media (max-width: 1024px) {
    .col-md-25 { width: 25%; }
    .col-md-33 { width: 33.333%; }
    .col-md-50 { width: 50%; }
    .col-md-66 { width: 66.666%; }
    .col-md-clear { clear: left; }
    
    .h1 { font-size: 2.5rem; }
    .h2 { font-size: 2rem; }
    .h3 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
    .col-sm-33 { width: 33.333%; }
    .col-sm-66 { width: 66.666%; }
    
    [class*="col-lg-"],
    [class*="col-md-"] {
        width: 100%;
    }
    
    .h1 { font-size: 2rem; }
    .h2 { font-size: 1.75rem; }
    .h3 { font-size: 1.5rem; }
    
    .single-h-padding,
    .triple-h-padding {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .shift_x_single,
    .shift_x_double,
    .shift_x_triple,
    .shift_x_neg_single,
    .shift_x_neg_double {
        transform: translateX(0);
    }
    
    .vertical-tab-wrapper {
        flex-direction: column;
    }
    
    .vertical-tab-menu,
    .vertical-tab-contents {
        flex: 0 0 100%;
        padding: 0;
    }
}

/* ============================================
   FIXES & OVERRIDES
   ============================================ */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.3s ease;
}

.row::after,
.row::before {
    content: '';
    display: table;
    clear: both;
}