:root {
    --primary-color: #016FEC;
    --secondary-color: #FDA332;
}

#profile.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 100px;
}

#profile .content>div {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    display: none;
}

#profile .content>div.active {
    display: flex;
}

#profile .content h3 {
    font-size: 38px;
    font-weight: 600;
    font-weight: bold;
    margin: 0;
}

#profile .items {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

#profile .items .item {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 50px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #999999;
    padding: 15px 50px;
    cursor: pointer;
}

#profile .items .item .heading {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 20px;
    align-items: center;
}

#profile .items .item img {
    width: 73px;
    height: 73px;
    border: 5px solid var(--primary-color);
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

#profile .items .item.active img {
    border: 5px solid var(--secondary-color);
}

#profile .items .item h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

#profile .item div.mobile {
    display: none;
    font-weight: 400;
}

@media(max-width:768px) {
    #profile.grid {
        display: block;
    }

    #profile .items .item .heading {
        width: 100%;
    }

    #profile .item.active div.mobile {
        display: block;
    }

    #profile .items .item {
        flex-direction: column;
        gap: 20px;
    }

    #profile .content {
        display: none;
    }

    #profile .items .item {
        padding: 20px;
    }

}

/* Image Map Hotspots */
.elementor-image-map-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.elementor-image-map-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

.elementor-image-map-hotspot {
    position: absolute;
    z-index: 10;
}

.image-map-hotspot-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Efecto Pulse */
.image-map-hotspot-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    z-index: -1;
    background-color: inherit;
    animation: hotspot-pulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes hotspot-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.image-map-hotspot-icon:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.image-map-hotspot-icon i,
.image-map-hotspot-icon svg {
    pointer-events: none;
}

.image-map-tooltip-content {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
    z-index: 100;
}

.image-map-tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.elementor-image-map-hotspot:hover .image-map-tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============================================================
   CUSTOM TABS WIDGET — .ctabs-*
   Portado desde tabs-custom/css/styles.css
   ============================================================ */

/* Wrapper: contexto para sticky del nav */
.ctabs-wrapper {
    position: relative;
}

/* Nav: flex + wrap — nunca colapsa a dropdown */
.ctabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #ffffff;
    padding: 0px;
    /* Sticky dentro del wrapper */
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: box-shadow 0.25s ease;
}

.ctabs-nav.is-stuck {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Botón de tab */
.ctabs-nav .ctabs-btn{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b6b7b;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
	border-radius: 0px;
}

.ctabs-btn.active {
    color: #1a1a2e;
    font-weight: 600;
	border-bottom: 2px solid #C2C746;
}



.ctabs-btn:focus-visible {
    outline: 2px solid var(--secondary-color, #c8a96e);
    outline-offset: -2px;
}

/* Icono dentro del botón de tab */
.ctabs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.ctabs-icon svg,
.ctabs-icon i {
    width: 100%;
    height: 100%;
    font-size: 14px;
    line-height: 1;
}

.ctabs-btn.active .ctabs-icon,
.ctabs-btn:hover .ctabs-icon {
    opacity: 1;
}

/* Área de contenido */
.ctabs-content {
    background: #ffffff;
    min-height: 420px;
}

/* Panel individual */
.ctabs-panel {
    display: none;
    animation: ctabsPanelFadeIn 0.35s ease;
}

.ctabs-panel.active {
    display: block;
}

@keyframes ctabsPanelFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layout interior del panel: texto + imagen */
.ctabs-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Panel sin imagen: solo 1 columna */
.ctabs-panel-inner--no-image {
    grid-template-columns: 1fr;
}
.ctabs-panel-text{
	display: flex;
	flex-direction: column;
	gap: 32px;
}
/* Texto del panel (WYSIWYG) */
.ctabs-panel-text h1,
.ctabs-panel-text h2,
.ctabs-panel-text h3,
.ctabs-panel-text h4 {
    margin: 0px;
    line-height: 1.25;
}

.ctabs-panel-text p {
    margin: 0px;
    line-height: 1.7;
}
.ctabs-panel-text ul{
	padding: 0px;
}
.ctabs-panel-text li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.ctabs-panel-text a {
    color: var(--primary-color, #016FEC);
    text-decoration: underline;
}

/* Imagen del panel */
.ctabs-panel-media {
    border-radius: 4px;
    overflow: hidden;
	height: 516px;
	width: 100%;
}

.ctabs-panel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* ---- Responsive ---- */

/* Tablets */
@media (max-width: 900px) {
    .ctabs-panel-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* La imagen va arriba en mobile */
    .ctabs-panel-media {
        order: -1;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .ctabs-btn {
        padding: 12px 12px;
        gap: 5px;
    }

    .ctabs-btn::after {
        left: 12px;
        right: 12px;
    }

    .ctabs-panel-inner {
        gap: 24px;
    }

	.ctabs-panel-media{
		height: 250px;
	}
}