
html, body {
    overflow-x: hidden;
    width: 100%;
}

.hero-section {
    background-image: url('../../images/recursos/fondonosotros.png') !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: cover !important;
    position: relative;
    padding-top: 130px; 
}

.hero-content-pad {
    padding-bottom: 8rem;
}

.hero-curve-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-curve-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.tablet-hero-img {
    max-height: 500px;
    transform: rotate(10deg);
    transition: transform 0.5s ease-in-out;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.25));
}

.tablet-hero-img:hover {
    transform: rotate(0deg) scale(1.02);
}

.mobile-mockup-img {
    max-height: 480px;
    transform: rotate(-8deg);
    transition: transform 0.5s ease-in-out;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.mobile-mockup-img:hover {
    transform: rotate(0deg) translateY(-10px);
}

@keyframes floatBadge {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    gap: 8rem;
    padding-left: 8rem;
}

.marquee-content img {
    height: 50px;
    object-fit: contain;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .marquee-content {
        gap: 4rem;
        padding-left: 4rem;
    }
    .marquee-content img {
        height: 35px;
    }
}

.watermark-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11vw;
    font-weight: 900;
    color: rgba(10, 69, 216, 0.03);
    z-index: 0;
    pointer-events: none;
    letter-spacing: 0.5rem;
    white-space: nowrap;
    user-select: none;
}

.card-identidad, .card-sector {
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-identidad:hover, .card-sector:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
}

.btn-success {
    background: linear-gradient(to right, #25D366, #1da851) !important;
    border: none !important;
}
.btn-success:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4) !important;
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%) !important;
    border: none !important;
    color: white !important;
}
.btn-warning:hover {
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4) !important;
    transform: translateY(-2px);
}

.gradient-cta-blue {
    background: linear-gradient(135deg, #1774FF 0%, #0A45D8 100%);
}

.bg-mapa {
    background: linear-gradient(180deg, #EBF3FC 0%, #F8FAFD 100%); 
}

.map-wrapper {
    z-index: 1;
}

.map-point {
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: #2661F0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.map-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(38, 97, 240, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.map-point:hover, .map-point.active {
    transform: translate(-50%, -50%) scale(1.2);
    background-color: #0F2256;
}

@keyframes pulse-ring {
    0% { width: 18px; height: 18px; opacity: 1; }
    100% { width: 55px; height: 55px; opacity: 0; }
}

.map-popover {
    width: 260px;
    z-index: 10;
    top: 0;
    left: 0;
    transform: translate(-50%, -100%);
    margin-top: -15px; 
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, margin-top 0.3s ease;
}

.map-popover.show {
    opacity: 1;
    margin-top: -25px;
}

.map-popover::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    display: block;
    width: 0;
}

.footer-link {
    transition: opacity 0.3s ease, padding-left 0.3s ease;
}

.footer-link:hover {
    opacity: 1 !important;
    padding-left: 5px;
}

.hover-opacity-100 {
    transition: opacity 0.3s ease;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

@media (max-width: 991px) {
    .tablet-hero-img {
        margin-top: 2rem;
    }
    .watermark-bg {
        font-size: 18vw;
    }
}