/* Hero Section Premium */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Hero Marquee (Arriendo Ticker) */
.hero-marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    overflow: hidden;
    z-index: 12;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 10px 0;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
    animation: marqueeSlideUp 600ms ease-out both;
}
.hero-marquee .marquee-viewport {
    position: relative;
    width: 100%;
    white-space: nowrap;
}
.hero-marquee .marquee-content {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: heroMarquee 22s linear infinite;
    padding-right: 4rem;
}
.hero-marquee:hover .marquee-content {
    animation-play-state: paused;
}
.hero-marquee .marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-right: 4.5rem;
    font-weight: 700;
    letter-spacing: 0.25px;
    font-size: 1.05rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.hero-marquee .marquee-item i {
    color: #ffd54a;
    font-size: 1.15rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.hero-marquee .marquee-link {
    color: #ffffff;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    text-decoration: none;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    margin-left: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,123,255,0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    animation: marqueePulse 2.4s ease-in-out infinite;
}
.hero-marquee .marquee-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,86,179,0.5);
}
@keyframes heroMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marqueeSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes marqueePulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(0,123,255,0.35); }
    50% { box-shadow: 0 6px 18px rgba(0,123,255,0.55); }
}
@media (max-width: 576px) {
    .hero-marquee .marquee-item { font-size: 0.95rem; }
}

/* Badge de Satisfacción Premium */
.satisfaction-badge {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
    opacity: 0.95;
    animation: floatBadge 3s ease-in-out infinite;
}

.satisfaction-badge:hover {
    transform: translate(-50%, -50%) scale(1.05);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
    opacity: 1;
    animation-play-state: paused;
}

.satisfaction-badge img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.2) contrast(1.1);
    mix-blend-mode: screen;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) rotate(-2deg);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-15px) rotate(2deg);
    }
}

/* Elementos decorativos premium */
.hero-decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(2px);
}

.hero-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: floatCircle1 8s ease-in-out infinite;
}

.hero-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation: floatCircle2 10s ease-in-out infinite;
}

.hero-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.hero-line-1 {
    width: 400px;
    top: 20%;
    right: 0;
    transform: rotate(-45deg);
    animation: slideLine1 6s ease-in-out infinite;
}

.hero-line-2 {
    width: 300px;
    bottom: 30%;
    left: 0;
    transform: rotate(45deg);
    animation: slideLine2 7s ease-in-out infinite;
}

@keyframes floatCircle1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.1); }
}

@keyframes floatCircle2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -15px) scale(0.9); }
}

@keyframes slideLine1 {
    0%, 100% { transform: rotate(-45deg) translateX(0); opacity: 0.3; }
    50% { transform: rotate(-45deg) translateX(-30px); opacity: 0.6; }
}

@keyframes slideLine2 {
    0%, 100% { transform: rotate(45deg) translateX(0); opacity: 0.3; }
    50% { transform: rotate(45deg) translateX(30px); opacity: 0.6; }
}

.hero-section .carousel-item {
    height: 100vh;
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transform: scale(1.08);
    transition: transform 10s ease-out;
}

.hero-section .carousel-item.active img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 20, 40, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 40, 80, 0.85) 100%);
    z-index: 1;
}

.hero-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Content Premium */
.hero-content-premium {
    position: relative;
    padding: 3rem 2rem !important;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* ARRIENDO navbar button: sitewide highlight */
#navLinkRent {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a !important;
    margin: 0 8px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    border-radius: 50rem;
    font-weight: 700;
}

#navLinkRent::before {
    font-family: "Font Awesome 5 Free";
    content: "\f005"; /* fa-star */
    font-weight: 900;
    margin-right: 0.5rem;
}

#navLinkRent:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.55);
}

/* Active nav link accessibility styling */
#mainNavbar a.nav-link[aria-current="page"]:not(#navLinkRent){
    position:relative;
    font-weight:700;
    color:#fff !important;
}
#mainNavbar a.nav-link[aria-current="page"]:not(#navLinkRent)::after{
    content:'';
    position:absolute;
    left:14%;
    right:14%;
    bottom:6px;
    height:3px;
    border-radius:2px;
    background:#ff5722;
    opacity:.95;
    animation:activeUnderline .6s ease forwards;
    transform:scaleX(0);
}
@keyframes activeUnderline{to{transform:scaleX(1);}}
#navLinkRent[aria-current="page"]{
    box-shadow:0 0 0 3px rgba(255,215,0,0.45),0 8px 22px rgba(255,215,0,0.65);
}

.hero-content-premium::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 0.1));
    border-radius: 25px;
    z-index: -1;
}

/* Badge superior del hero */
.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.8s ease-out;
}

.hero-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
}

.hero-badge-text {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Título Premium - Oswald Blanco Limpio */
.hero-title-premium {
    font-family: 'Oswald', sans-serif !important;
    font-size: 4.2rem !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4), 
                 0 0 15px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 2px !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    color: #ffffff !important;
    text-transform: uppercase;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

/* Separador decorativo */
.hero-separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #007bff, #00d4ff, #007bff, transparent);
    margin: 20px auto;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.5);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.8; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

/* Slogan Premium */
.hero-slogan-premium {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    margin-top: 15px !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.6 !important;
    letter-spacing: 0.3px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

/* Botones CTA Enhanced */
.hero-cta-enhanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4) !important;
}

.hero-cta-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.hero-cta-enhanced:hover::before {
    left: 100%;
}

.hero-cta-enhanced:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.6) !important;
}

.hero-cta-enhanced i {
    transition: transform 0.3s ease;
}

.hero-cta-enhanced:hover i {
    transform: translateX(5px);
}

/* Botón Mercado Libre Enhanced */
.ml-premium-btn-enhanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFE600 0%, #FFC107 100%) !important;
    color: #333 !important;
    box-shadow: 0 10px 30px rgba(255, 230, 0, 0.4) !important;
    font-weight: 700 !important;
    padding: 18px 30px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.ml-premium-btn-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.ml-premium-btn-enhanced:hover::before {
    left: 100%;
}

.ml-premium-btn-enhanced:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 40px rgba(255, 230, 0, 0.6) !important;
    color: #222 !important;
}

.ml-premium-btn-enhanced i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.ml-premium-btn-enhanced:hover i {
    transform: scale(1.15) rotate(5deg);
}

.hero-title-modern {
    font-size: 3.8rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-slogan-modern {
    font-size: 1.4rem;
    font-weight: 300;
    margin-top: 1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

.hero-buttons-container {
    margin-top: 2rem;
}

.hero-cta-primary,
.hero-cta-secondary {
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 15px 35px;
    font-size: 1.1rem;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-cta-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.hero-cta-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
}

.hero-cta-secondary {
    background: linear-gradient(135deg, #fff159 0%, #fdec3f 100%);
    color: #333;
}

.hero-cta-secondary:hover {
    background: linear-gradient(135deg, #fdec3f 0%, #f4d822 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 241, 89, 0.4);
    color: #222;
}

.hero-cta-primary i,
.hero-cta-secondary i {
    transition: transform 0.3s ease;
}

.hero-cta-primary:hover i,
.hero-cta-secondary:hover i {
    transform: translateX(5px);
}

/* Hero CTA Button Styles - Sobreescribir Bootstrap completamente */
.hero-cta-button,
.btn.hero-cta-button,
.btn.btn-primary.hero-cta-button {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    padding: 18px 30px !important;
    font-size: 1rem !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    letter-spacing: 0.5px !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3) !important;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 70%, #004085 100%) !important;
    color: white !important;
    text-decoration: none !important;
    margin: 6px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    line-height: 1.3 !important;
}

.hero-cta-button:hover,
.btn.hero-cta-button:hover,
.btn.btn-primary.hero-cta-button:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 70%, #003366 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.5) !important;
    color: white !important;
    text-decoration: none !important;
    width: 200px !important;
    height: 50px !important;
}

.hero-cta-button:active,
.btn.hero-cta-button:active,
.btn.btn-primary.hero-cta-button:active {
    transform: translateY(-1px) !important;
    transition: all 0.1s ease !important;
    width: 200px !important;
    height: 50px !important;
}

/* Efecto de brillo en hover */
.hero-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s;
}

.hero-cta-button:hover::before {
    left: 100%;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section, .hero-section .carousel-item {
        height: 85vh;
    }
    .carousel-caption h1 {
        font-size: 2.8rem !important;
    }
    .hero-slogan,
    .carousel-caption p {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }
    .carousel-caption .p-3 {
        max-width: 750px !important;
    }
    .hero-cta-button,
    .btn.hero-cta-button,
    .btn.btn-primary.hero-cta-button,
    .ml-premium-btn,
    .btn.ml-premium-btn {
        font-size: 0.95rem !important;
        padding: 14px 24px !important;
        width: 190px !important;
        min-width: 190px !important;
        max-width: 190px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        margin: 6px !important;
        line-height: 1.3 !important;
    }
    .d-flex.justify-content-center.gap-3 {
        gap: 0.8rem !important;
    }
}

@media (max-width: 768px) {
    .satisfaction-badge {
        width: 130px;
        transform: translate(-50%, -50%);
    }
    
    .satisfaction-badge:hover {
        transform: translate(-50%, -50%) scale(1.05);
    }
    
    .hero-section, .hero-section .carousel-item {
        height: 75vh;
    }
    
    .hero-decorative-elements {
        display: none;
    }
    
    .hero-content-premium {
        padding: 2rem 1.5rem !important;
        border-radius: 20px;
    }
    
    .hero-badge-top {
        padding: 6px 15px;
        margin-bottom: 15px;
        font-size: 12px;
    }
    
    .hero-badge-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .hero-badge-text {
        font-size: 12px;
    }
    
    .hero-title-premium {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        letter-spacing: -0.5px !important;
    }
    
    .hero-separator {
        width: 60px;
        height: 3px;
        margin: 15px auto;
    }
    
    .hero-slogan-premium {
        font-size: 1rem !important;
        margin-top: 10px !important;
        margin-bottom: 1.2rem !important;
        line-height: 1.4 !important;
    }
    
    .carousel-caption h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    .hero-slogan,
    .carousel-caption p {
        font-size: 1rem !important;
        margin-bottom: 1.2rem !important;
        line-height: 1.4 !important;
    }
    .carousel-caption .p-3 {
        max-width: 600px !important;
        padding: 1.5rem !important;
    }
    
    .hero-cta-button,
    .btn.hero-cta-button,
    .btn.btn-primary.hero-cta-button,
    .hero-cta-enhanced,
    .ml-premium-btn,
    .ml-premium-btn-enhanced,
    .btn.ml-premium-btn {
        font-size: 0.88rem !important;
        padding: 12px 20px !important;
        width: 165px !important;
        min-width: 165px !important;
        max-width: 165px !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        margin: 5px !important;
        letter-spacing: 0.3px !important;
        line-height: 1.3 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    
    .d-flex.justify-content-center.gap-3 {
        gap: 0.6rem !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 576px) {
    .satisfaction-badge {
        width: 100px;
        transform: translate(-50%, -50%);
    }
    
    .satisfaction-badge:hover {
        transform: translate(-50%, -50%) scale(1.05);
    }
    
    .hero-section, .hero-section .carousel-item {
        height: 65vh;
        min-height: 500px;
    }
    
    .hero-content-premium {
        padding: 1.5rem 1rem !important;
        border-radius: 15px;
    }
    
    .hero-badge-top {
        padding: 5px 12px;
        margin-bottom: 12px;
        gap: 6px;
    }
    
    .hero-badge-icon {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .hero-badge-text {
        font-size: 11px;
    }
    
    .hero-title-premium {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
        letter-spacing: -0.3px !important;
    }
    
    .hero-separator {
        width: 50px;
        height: 2px;
        margin: 12px auto;
    }
    
    .hero-slogan-premium {
        font-size: 0.9rem !important;
        margin-top: 8px !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
    }
    
    .carousel-caption {
        padding: 0 1rem !important;
    }
    .carousel-caption h1 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.8rem !important;
    }
    .hero-slogan,
    .carousel-caption p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
    }
    .carousel-caption .p-3 {
        max-width: 100% !important;
        padding: 1rem !important;
    }
    .d-flex.justify-content-center.gap-3 {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.6rem !important;
        margin-top: 0.8rem !important;
    }
    .hero-cta-button,
    .btn.hero-cta-button,
    .btn.btn-primary.hero-cta-button,
    .ml-premium-btn,
    .btn.ml-premium-btn {
        font-size: 0.85rem !important;
        padding: 11px 18px !important;
        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        margin: 0 !important;
        letter-spacing: 0.3px !important;
        border-radius: 30px !important;
        line-height: 1.3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Extra Small Devices (móviles pequeños) */
@media (max-width: 400px) {
    .hero-section, .hero-section .carousel-item {
        height: 60vh;
        min-height: 480px;
    }
    .carousel-caption h1 {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.6rem !important;
    }
    .hero-slogan,
    .carousel-caption p {
        font-size: 0.85rem !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.3 !important;
    }
    .hero-cta-button,
    .btn.hero-cta-button,
    .btn.btn-primary.hero-cta-button,
    .ml-premium-btn,
    .btn.ml-premium-btn {
        font-size: 0.8rem !important;
        padding: 10px 16px !important;
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        margin: 0 !important;
        letter-spacing: 0.2px !important;
        border-radius: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.3 !important;
    }
    .d-flex.justify-content-center.gap-3 {
        gap: 0.5rem !important;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section, .hero-section .carousel-item {
        height: 100vh !important;
    }
    .carousel-caption h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    .hero-slogan,
    .carousel-caption p {
        font-size: 0.85rem !important;
        margin-bottom: 0.6rem !important;
    }
    .d-flex.justify-content-center.gap-3 {
        flex-direction: row !important;
        gap: 0.5rem !important;
        margin-top: 0.5rem !important;
    }
    .hero-cta-button,
    .btn.hero-cta-button,
    .btn.btn-primary.hero-cta-button,
    .ml-premium-btn,
    .btn.ml-premium-btn {
        font-size: 0.75rem !important;
        padding: 8px 14px !important;
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
    }
}

/* Mercado Libre Premium Button */
.ml-premium-btn,
.btn.ml-premium-btn {
    background: linear-gradient(135deg, #fff159 0%, #fdec3f 100%) !important;
    color: #333 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    padding: 18px 30px !important;
    font-size: 1rem !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    letter-spacing: 0.5px !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(255, 241, 89, 0.3) !important;
    text-decoration: none !important;
    margin: 6px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    line-height: 1.3 !important;
}

.ml-premium-btn:hover,
.btn.ml-premium-btn:hover {
    background: linear-gradient(135deg, #fdec3f 0%, #f4d822 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(255, 241, 89, 0.5) !important;
    color: #222 !important;
    text-decoration: none !important;
    width: 200px !important;
    height: 50px !important;
}

.ml-premium-btn .fa-store {
    font-size: 1.1rem;
}

/* Professional Navbar Effects */
#navbarContainer {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbarContainer.navbar-scrolling {
    opacity: 0.15;
    transform: translateY(-5px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

#navbarContainer.navbar-hidden {
    opacity: 0.05;
    transform: translateY(-8px);
    pointer-events: none;
}

#navbarContainer.navbar-visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

/* Solo aplicar el efecto en desktop */
@media (min-width: 992px) {
    #navbarContainer {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* Eliminando estilos antiguos y redundantes */
.carousel-title, .floating-icons {
    display: none;
}

:root {
    --primary:#ff5722;
    --secondary: #f44336;
    --light: #f4f6f8ea;
    --dark: #040F28;
    
}

/* --- Título en la parte superior del carrusel --- */
.carousel-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.carousel-title h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    text-shadow: 0.12rem 0.25rem 0.50rem rgba(0, 0, 0, 0.9);
    transform: scale(1);
    transition: transform 0.5s ease-in-out;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.carousel-title h1:hover {
    transform: scale(1.05);
}

/* --- Íconos flotantes dentro del carrusel --- */
.floating-icons {
    position: absolute;
    left: 50%;
    bottom: 15%;
    transform: translateX(-50%);
    color: white !important;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    z-index: 20;
    width: 100%;
    padding: 0 20px;
    flex-wrap: wrap;
}

.floating-icon {
    margin: 0 0.5rem;
}

/* --- Estilos de los íconos flotantes --- */
.floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 3rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    font-size: 0.88rem;
    font-weight: bold;
    border-radius: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 0 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botón Mercado Libre */
.btn-mercadolibre {
    background: #FFF159;
    color: #333 !important;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 160px;
    justify-content: center;
}

.btn-mercadolibre img {
    height: 20px;
    width: auto;
}



.floating-icon i {
    font-size: 1.12rem;
    margin-right: 0.62rem;
}

.floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0.38rem 0.94rem rgba(0, 0, 0, 0.3);
}

/* --- Ajustes responsivos para íconos flotantes --- */
@media (max-width: 768px) {
    .floating-icons {
        flex-direction: column;
        width: 90%;
        gap: 0.8rem;
        top: 45%;
    }
    .btn-mercadolibre {
        bottom: 10%;
        width: 90%;
        max-width: 300px;
    }
    
    .floating-icon,
    .btn-mercadolibre {
        width: 100%;
        margin: 0.3rem 0;
    }

    .floating-icon {
        width: 9rem;
        height: 2.8rem;
        font-size: 0.75rem;
    }

    .floating-icon i {
        font-size: 1rem;
    }
}

/* Estilo general del footer */

/* Contenedor principal del footer */
.footer {
    background-color: #111; /* Fondo oscuro */
    color: #ccc; /* Texto claro */
    padding: 3rem 0; /* Espaciado interno */
    line-height: 1.5; /* Mejora la legibilidad */
    
}

/* Contenedor del logo y descripción */
.footer-logo-wrapper {
    max-width: 40.62rem; /* Limita el ancho total del logo y texto */
    margin: 0 auto; /* Centrado en pantallas pequeñas */
    text-align: center; /* Centrado inicial */
    gap: 1rem; /* Espaciado entre elementos internos */
}

/* Logo del footer con animación */
.footer-logo-image {
    width: 100%; /* Ocupa todo el ancho del contenedor */
    max-height: 100%; /* Mantiene proporciones */
    max-width: 18.75rem; /* Tamaño máximo del logo */    
    transition: transform 0.3s ease; /* Transición suave para hover */
}




/* Encabezado para Ventas */
.page-header-ventas {
    min-height: 25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('../img/servicios/prueba encabezado venta.png') center center no-repeat;
    background-size: 120% auto;
    background-position: 10% 50%;
    filter: brightness(1.1);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .page-header-ventas {
        min-height: 18rem;
        background-size: 150% auto;
        background-position: 5% 50%;
    }
}

/* Encabezado para Servicios */
.page-header-servicios {
    min-height: 25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('../img/servicios/encabezado servicio.webp') center center no-repeat;
    background-size: cover;
    background-position: center;
    filter: brightness(1.1);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .page-header-servicios {
        min-height: 18rem;
    }
}

/* Encabezado para Arriendos */
.page-header-arriendos {
    min-height: 25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.2)), url('../img/servicios/encabezado arriendo.png') center center no-repeat;
    background-size: cover;
    background-position: center;
    filter: brightness(1.1);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .page-header-arriendos {
        min-height: 18rem;
    }
}


.page-header h1 {
    color: var(--primary); /* Color primario */
    text-shadow: 0.12rem 0.12rem 0.38rem rgba(0, 0, 0, 0.7); /* Sombra negra para contraste */
    font-weight: bold;
    letter-spacing: 0.12rem;
}
/* Efecto Overlay General tarjetas servicios y ventas */
.service-item {
    width: 100%; /* Ocupa todo el ancho disponible */
    max-width: 25.00rem;
    margin: 1.25rem auto; 
    height: 18.75rem; 
    overflow: hidden; 
    display: flex; 
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 0.62rem; 
    background-color: #f8f9fa; 
    box-shadow: 0 0.25rem 0.38rem rgba(0, 0, 0, 0.1); 
}

.service-item img {
    width: 120%; 
    height: 110%;
    object-fit: cover;
}

.service-item:hover img {
    transform: scale(1.2); 
}

/* Clase personalizada para bajar el botón leer mas tarjeta twister seccion ventas */
.ajustar-boton {
    position: relative;
    top: 60px;
    margin-top: 8px; 
    display: inline-flex;
    align-items: center;
}

.service-item-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Overlay permanente - Siempre visible */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.4); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 1;
    transition: background 0.3s ease;
}

.service-item:hover .overlay {
    background: rgba(15, 15, 15, 0.6);
}

.overlay-content {
    text-align: center;
    padding: 1rem;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.overlay-content h4 {
    text-align: center;
    margin-bottom: 0.8rem;
    opacity: 1;
    visibility: visible;
}

.overlay-content .rotate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    opacity: 1;
    visibility: visible;
}



/* Responsivo */
@media (max-width: 768px) {
    .service-item {
        max-width: 88%; 
        height: 15.62rem; 
    }

    .service-item img {
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
    }
}

/* Configuración de los Iconos sociales Flotantes */
.social-icons-floating {
    position: fixed;
    top: 50%; 
    left: 0; 
    transform: translateY(-50%);
    z-index: 9999; 
    display: flex;
    flex-direction: column;
}

/* Ajustes para móviles: Mueve los iconos a la parte inferior derecha */
@media (max-width: 768px) {
    .social-icons-floating {
        top: auto; 
        bottom: 0.75rem !important;
        right: 0.75rem !important; 
        left: auto !important; 
        flex-direction: row !important; 
        gap: 0.50rem !important; 
    }
}

/* Ajuste adicional para pantallas más pequeñas como iPhones */
@media (max-width: 375px) {
    .social-icons-floating {
        bottom: 0.50rem !important;
        right: 0.50rem !important;
    }
}

/* Reducción de tamaño en pantallas menores a 320px */
@media (max-width: 320px) {
    .social-icons-floating .social-icon {
        width: 2rem; 
        height: 2rem;
        font-size: 1rem; 
        margin: 0.10rem 0; 
    }
}

/* Estilos de los íconos */
.social-icons-floating .social-icon {
    width: 2.50rem;
    height: 2.50rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.38rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    margin: 0.12rem 0;
    background: linear-gradient(45deg, #ff5722, #f44336);
    border-radius: 0.31rem;
}

.social-icons-floating .social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0.00rem 0.25rem 0.62rem rgba(0, 0, 0, 0.3);
}

/* Colores específicos por red social */
.social-icons-floating .instagram {
    background: linear-gradient(45deg, var(--primary), #e6683c);
}

.social-icons-floating .facebook,
.social-icons-floating .linkedin,
.social-icons-floating .youtube {
    background: var(--primary);
}

/* Hover para todos los iconos sociales */
.social-icons-floating .social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0.00rem 0.25rem 0.62rem rgba(0, 0, 0, 0.3);
    background: var(--secondary);
}


 /* estilos sub paguinas servicios */

/* Transición inicial para el icono */
.rotate-btn .rotate-icon {
    display: inline-block; 
    transition: transform 0.5s ease-in-out;
}

/* Efecto al hacer hover sobre el botón */
.rotate-btn:hover .rotate-icon {
    transform: rotate(360deg);
}

/* estilos  seccion manteniminto ( color de discos) */
 .text-orange {
    color: #FFA500; 
}

.text-green {
    color: #28a745; 
}

.text-blue {
    color: #007bff;
}

.text-yellow {
    color: #ffc107; 
}
/* ----fin---- */

/* ---- CONTENEDOR RESPONSIVO ---- */
@media (max-width: 768px) {
    .custom-container {
        max-width: 95%;
        margin: 0 auto;
        padding: 2.38rem;
    }

    h5 {
        font-size: 1.2rem;
        text-align: left;
    }

    p {
        font-size: 1rem;
        line-height: 1.5;
        text-align: justify;
    }

    .img-fluid {
        max-width: 100%;
        max-height: 100%;
        margin-bottom: 0.94rem;
    }
}

/* ---- ESTRUCTURA DE SUBPÁGINAS ---- */

/* Fila personalizada */
.custom-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 100%;
    margin: 0 auto;
}

/* Carrusel de imágenes */
.custom-carousel-container {
    flex: 2;
    min-width: 21.88rem;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ajuste de imágenes del carrusel */
.custom-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* ---- MEDIA QUERIES PARA RESPONSIVIDAD ---- */

/* Pantallas medianas (Tablets) */
@media (max-width: 992px) {
    .custom-img {
        height: 28.12rem;
    }
}

/* Pantallas pequeñas (Móviles) */
@media (max-width: 576px) {
    .custom-carousel-container {
        padding: 0.31rem;
    }

    .custom-img {
        max-height: 90vh;
        object-fit: cover;
        object-position: center;
    }
}

/* ---- MEDIA QUERIES PARA IPADS Y TABLETS GALAXY ---- */

/* iPad Air & Galaxy Tab 820 x 1180 */
@media (max-width: 820px) and (max-height: 1180px) {
    .custom-modal-content {
        max-height: 85vh;
    }
}

/* Galaxy Tab 800 x 1280 */
@media (max-width: 800px) and (max-height: 1280px) {
    .custom-modal-content {
        max-height: 83vh;
    }
}

/* Galaxy Tab 712 x 1138 */
@media (max-width: 712px) and (max-height: 1138px) {
    .custom-modal-content {
        max-height: 82vh;
    }
}

/* Galaxy Tab 912 x 1368 */
@media (max-width: 912px) and (max-height: 1368px) {
    .custom-modal-content {
        max-height: 85vh;
    }
}

/* Galaxy Tab 540 x 720 */
@media (max-width: 540px) and (max-height: 720px) {
    .custom-modal-content {
        max-height: 78vh;
    }
}

/* ---- MEDIA QUERIES ESPECÍFICAS PARA IPHONE 15 ---- */

/* iPhone 15 y iPhone 15 Pro (390 x 844 px) */
@media (max-width: 390px) and (max-height: 844px) {
    .custom-container {
        padding: 2rem;
    }

    .custom-carousel-container {
        min-width: 19rem;
    }

    .custom-img {
        height: auto;
        max-height: 85vh;
    }

    h5 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }
}
/* ---- Ajuste de imágenes en tablets (iPads y Galaxy Tabs) ---- */
@media (max-width: 1024px) { 
    .custom-img {
        display: block;
        max-width: 100%; 
        height: auto;
        margin: 0 auto; 
    }
}

/* Galaxy Tab S4 (712 x 1138), iPad Mini, iPad Air */
@media (max-width: 820px) and (max-height: 1180px) {
    .custom-carousel-container {
        display: flex;
        justify-content: center; 
        align-items: center;
    }

    .custom-img {
        max-width: 90%; 
        height: auto;
        object-fit: contain; 
    }
}   
/* Ajuste específico para Galaxy Tab S4 y iPad Mini */
@media (max-width: 712px) and (max-height: 1138px) {
    .custom-carousel-container {
        text-align: center;
    }

    .custom-img {
        max-width: 85%;
        height: auto;
    }
}

/* Ajuste adicional para iPads más grandes y Galaxy Tab 800 x 1280 */
@media (max-width: 800px) and (max-height: 1280px) {
    .custom-carousel-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .custom-img {
        max-width: 85%;
        height: auto;
    }
}

/* iPhone 15 Plus y iPhone 15 Pro Max (430 x 932 px) */
@media (max-width: 430px) and (max-height: 932px) {
    .custom-container {
        padding: 2.2rem;
    }

    .custom-carousel-container {
        min-width: 20rem;
    }

    .custom-img {
        height: auto;
        max-height: 88vh;
    }

    h5 {
        font-size: 1.15rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Android 1080p (estándar) */
@media (max-width: 412px) and (max-height: 915px) {
    .custom-container {
        padding: 2rem;
    }

    .custom-img {
        height: auto;
        max-height: 85vh;
    }
}

/* Android más pequeños (Pixel 4a, Galaxy A) */
@media (max-width: 360px) and (max-height: 800px) {
    .custom-container {
        padding: 1.8rem;
    }

    .custom-img {
        height: auto;
        max-height: 80vh;
    }

    h5 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9rem;
    }
}


/* ---- MODAL PARA AMPLIAR IMÁGENES ---- */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 0.94rem;
    overflow: hidden;
}

/* Imagen dentro del modal */
.custom-modal-content {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 0.50rem;
    box-shadow: 0 0 0.94rem rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease-in-out;
}

/* Botón de cierre del modal */
.custom-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.88rem;
    color: white;
    font-size: 1.88rem;
    font-weight: bold;
    cursor: pointer;
}
/* ---- BOTONES DE NAVEGACIÓN ---- */
.custom-modal-prev,
.custom-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.62rem;
    user-select: none;
}

.custom-modal-prev {
    left: 0.94rem;
}

.custom-modal-next {
    right: 0.94rem;
}

/* ---- TEXTO DE DESCRIPCIÓN ---- */
.custom-description {
    font-size: clamp(0.9rem, 1vw, 1.2rem);
}

/* ---- RESPONSIVIDAD ---- */

/* Pantallas medianas (Tablets, iPads y Galaxy Tabs) */
@media (max-width: 992px) {
    .custom-modal-content {
        max-height: 85vh;
    }
}

/* Pantallas pequeñas (Móviles) */
@media (max-width: 576px) {
    .custom-modal-content {
        transform: scale(1.1);
        max-height: 80vh;
    }

    .custom-modal-caption {
        font-size: 0.88rem;
    }

    .custom-modal-prev,
    .custom-modal-next {
        font-size: 1.88rem;
    }

    .custom-modal-close {
        font-size: 1.56rem;
    }
}

/* ---- MEDIA QUERIES PARA IPADS Y TABLETS GALAXY ---- */

/* iPad Air & Galaxy Tab 820 x 1180 */
@media (max-width: 820px) and (max-height: 1180px) {
    .custom-modal-content {
        max-height: 85vh;
    }
}

/* Galaxy Tab 800 x 1280 */
@media (max-width: 800px) and (max-height: 1280px) {
    .custom-modal-content {
        max-height: 83vh;
    }
}

/* Galaxy Tab 712 x 1138 */
@media (max-width: 712px) and (max-height: 1138px) {
    .custom-modal-content {
        max-height: 82vh;
    }
}

/* Galaxy Tab 912 x 1368 */
@media (max-width: 912px) and (max-height: 1368px) {
    .custom-modal-content {
        max-height: 85vh;
    }
}

/* Galaxy Tab 540 x 720 */
@media (max-width: 540px) and (max-height: 720px) {
    .custom-modal-content {
        max-height: 78vh;
    }
}

/* ---- MEDIA QUERIES ESPECÍFICAS PARA IPHONE 15 ---- */

/* iPhone 15 y iPhone 15 Pro (390 x 844 px) */
@media (max-width: 390px) and (max-height: 844px) {
    .custom-modal-content {
        max-height: 78vh;
    }

    .custom-modal-close {
        font-size: 1.5rem;
        top: 1rem;
        right: 1.5rem;
    }

    .custom-modal-prev,
    .custom-modal-next {
        font-size: 1.8rem;
        padding: 0.5rem;
    }
}

/* iPhone 15 Plus y iPhone 15 Pro Max (430 x 932 px) */
@media (max-width: 430px) and (max-height: 932px) {
    .custom-modal-content {
        max-height: 80vh;
    }

    .custom-modal-close {
        font-size: 1.6rem;
        top: 1rem;
        right: 1.6rem;
    }

    .custom-modal-prev,
    .custom-modal-next {
        font-size: 2rem;
        padding: 0.6rem;
    }
}

/* Android 1080p (estándar) */
@media (max-width: 412px) and (max-height: 915px) {
    .custom-modal-content {
        max-height: 80vh;
    }

    .custom-modal-close {
        font-size: 1.5rem;
    }

    .custom-modal-prev,
    .custom-modal-next {
        font-size: 1.9rem;
    }
}

/* Android más pequeños (Pixel 4a, Galaxy A) */
@media (max-width: 360px) and (max-height: 800px) {
    .custom-modal-content {
        max-height: 75vh;
    }

    .custom-modal-close {
        font-size: 1.4rem;
    }

    .custom-modal-prev,
    .custom-modal-next {
        font-size: 1.7rem;
    }
}

/* ---- Ajustes para pantallas muy pequeñas (≤ 320px) ---- */
@media (max-width: 320px) {
    .custom-container {
        padding: 1.5rem;
    }

    .custom-carousel-container {
        min-width: 18rem; 
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .custom-img {
        max-height: 75vh; 
        object-fit: cover;
        object-position: center;
    }

    h5 {
        font-size: 1rem; 
    }

    p {
        font-size: 0.88rem;
        text-align: justify; 
        line-height: 1.4;
    }
}

/* ---- Centrar los párrafos ---- */
.custom-text-center {
    text-align: center;
    margin-bottom: 1rem; 
}

/* ---- Ajustar espaciado de los botones en móviles ---- */
@media (max-width: 576px) {
    .custom-actions {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        gap: 0.8rem; 
        width: 100%;
        padding: 1rem 0; 
    }

    .custom-actions button,
    .custom-actions a {
        width: 85%; 
        max-width: 200px; 
        padding: 0.5rem 0.8rem; 
        font-size: 0.85rem; 
    }
}



/* Botón para volver arriba */
.back-to-top {
    position: fixed;
    bottom: 1.25em; 
    right: 50%; 
    display: none; 
    width: 60px; 
    height: 60px; 
    font-size: 1.50rem; 
    background-color: #ff6600; 
    color: white; 
    border: none;
    border-radius: 50%; 
    z-index: 99999; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    pointer-events: auto;
}

/* Mostrar cuando se activa */
.back-to-top.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Asegurar que el botón sea clickeable en todas las pantallas */
.back-to-top:active,
.back-to-top:focus {
    outline: none;
    box-shadow: 0px 0px 10px rgba(255, 102, 0, 0.7); /* Resalta al hacer clic */
}

/* Responsivo */
@media (max-width: 768px) {
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        bottom: 0.94em;
        right: 40%;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.12rem;
        bottom: 0.62em;
        right: 40%;
    }
}




/* Estilo base para los enlaces */
.navbar-nav {
    justify-content: center; 
}

/* Efecto de línea mejorado - Excluir botón ARRIENDO */
.navbar-nav .nav-link:not(#navLinkRent)::after {
    content: ""; 
    position: absolute;
    bottom: 0; 
    left: 0; 
    width: 0%; 
    height: 5px; 
    background-color: #ff5722; 
    transition: width 0.3s ease-in-out;
}

/* Expansión de la línea al pasar el ratón o hacer clic */
.navbar-nav .nav-link:not(#navLinkRent):hover::after,
.navbar-nav .nav-link:not(#navLinkRent):active::after {
    width: 100%; 
}

/* Estilo base para los enlaces */
.navbar-nav .nav-link {
    position: relative; 
    font-size: 1.2rem; 
    text-decoration: none; 
    color: #fff; 
    text-align: center; 
    padding: 0.6rem; 
    transition: color 0.3s ease;
    justify-content: center; 
    display: flex; 
}

/* --- Ajuste general para el navbar --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 2rem; 
    min-height: 2.8rem; 
    background-color: #0b132b;
    position: relative;
    z-index: 1000;
    width: 100%;
    max-width: 1400px; 
    margin: 0 auto; 
}

/* --- Ajuste para el logo --- */
#navbarLogo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 35%; 
    margin-left: -20px; 
}


/* --- Tamaño del logo ajustado --- */
#navbarLogoImage {
    height: auto;
    max-height: clamp(30rem, 3vw, 15rem); 
    max-width: 90%;
    object-fit: contain;
    transition: max-height 0.3s ease, transform 0.3s ease;
}


/* ============================== */
/*  menú hamburguesa  */
/* ============================== */
.navbar-toggler {
    position: absolute; 
    right: -18px; 
    top: 16px; 
    z-index: 1000; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================== */
/* 🖥️ Ajustes para Monitores Grandes */
/* ============================== */

/* --- Monitores de 30 pulgadas (2560x1440 o similares) --- */
@media (min-width: 2560px) and (max-width: 3199px) {
    #navbarLogo {
        max-width: 58px;
        margin-left: -40px; 
    }

    #navbarLogoImage {
        max-height: clamp(12rem, 3.5vw, 18rem); 
        max-width: 220%;
    }
}

/* --- Monitores de 40 pulgadas (3840x2160 o similares) --- */
@media (min-width: 3200px) and (max-width: 3999px) {
    #navbarLogo {
        max-width: 28%;
        margin-left: -50px;
    }

    #navbarLogoImage {
        max-height: clamp(14rem, 4vw, 20rem);
        max-width: 240%;
    }
}

/* --- Monitores de 50 pulgadas (5120x2880 o superiores) --- */
@media (min-width: 4000px) {
    #navbarLogo {
        max-width: 25%;
        margin-left: -60px;
    }

    #navbarLogoImage {
        max-height: clamp(16rem, 5vw, 22rem);
        max-width: 260%;
    }
}


/* ============================== */
/* 📱 Ajustes para Dispositivos Móviles */
/* ============================== */

/* --- Móviles pequeños (hasta 360px, como iPhone SE, Galaxy A10) --- */
@media (max-width: 360px) {
    #navbarLogo {
        max-width: 50%;
        margin-left: -10px; 
    }

    #navbarLogoImage {
        max-height: clamp(5rem, 3vw, 7rem); 
        max-width: 190%;
    }
}

/* --- Móviles medianos (iPhone 12, 13, 14, 15, Samsung S9+, S10) --- */
@media (min-width: 361px) and (max-width: 480px) {
    #navbarLogo {
        max-width: 45%;
        margin-left: -15px;
    }

    #navbarLogoImage {
        max-height: clamp(6rem, 3.5vw, 8rem);
        max-width: 190%;
    }
}

/* --- Móviles grandes (iPhone 15, 16 Pro Max, Samsung S20, S21, S22) --- */
@media (min-width: 481px) and (max-width: 600px) {
    #navbarLogo {
        max-width: 40%;
        margin-left: -20px;
    }

    #navbarLogoImage {
        max-height: clamp(7rem, 4vw, 9rem);
        max-width: 140%;
    }
}



/* ============================== */
/*  Ajustes para iPad Mini */
/* ============================== */

/* --- iPad Mini en vertical (768x1024) --- */
@media (min-width: 600px) and (max-width: 768px) and (orientation: portrait) {
    #navbarLogo {
        max-width: 30%;
        margin-left: -10px;
    }

    #navbarLogoImage {
        max-height: clamp(8rem, 3.5vw, 10rem); /* 🔥 Ajuste fino */
        max-width: 150%;
    }
}

/* --- iPad Mini en horizontal (1024x768) --- */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    #navbarLogo {
        max-width: 28%;
        margin-left: -30px;
    }

    #navbarLogoImage {
        max-height: clamp(9rem, 4vw, 12rem);
        max-width: 160%;
    }
}

/* Ajuste logo aniversario */
#aniversaryLogo {
    position: absolute;
    top: 10px; 
    left: -60px; 
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px; 
}

#aniversaryLogoImage {
    max-height: clamp(2px, 6vw, 5px); /* Ajuste responsivo */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;

    
}



/* 📱 Ajuste para móviles pequeños (iPhone 12 Pro, S9+, etc.) */
@media (max-width: 480px) {
    #aniversaryLogo {
        top: 22px; /* Ajuste superior */
        left: -12px; /* Lo alinea mejor a la izquierda */
        padding-left: 0; /* Elimina cualquier padding extra */
    }

    #aniversaryLogoImage {
        max-height: 20px; /* Reduce el tamaño del logo en móviles */
    }
}

/* 📱 Ajuste para móviles medianos (iPhone 15, Galaxy S9+, etc.) */
@media (min-width: 481px) and (max-width: 768px) {
    #aniversaryLogo {
        top: 8px; /* Ajuste superior */
        left: 8px; /* Lo alinea más a la izquierda */
    }

    #aniversaryLogoImage {
        max-height: 40px; /* Ajuste del tamaño */
    }
}
/* 📟 Ajuste para tablets pequeñas (iPad Mini, Galaxy Tab S4 en vertical) */
@media (min-width: 600px) and (max-width: 768px) {
    #aniversaryLogo {
        top: 20px; /* Ajuste de alineación */
        left: -35px; /* Corrección fina para mantener estructura */
    }

    #aniversaryLogoImage {
        max-height: clamp(40px, 5.5vw, 70px); /* Se ajusta mejor sin perder tamaño */
    }
}

/* 📟 Ajuste para tablets medianas (iPad Air, Galaxy Tab S4 en horizontal) */
@media (min-width: 769px) and (max-width: 1024px) {
    #aniversaryLogo {
        top: 60px; /* Corrección de altura */
        left: -45px; /* Ajuste para centrar mejor en iPad Air */
    }

    #aniversaryLogoImage {
        max-height: clamp(40px, 6vw, 75px); /* Se mantiene el diseño original sin alteraciones */
    }
}

/* 📟 Ajuste para iPad Air en vertical (820x1180) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    #aniversaryLogo {
        top: 20px; /* Ajuste fino para alineación */
        left: -38px; /* Corrección para evitar que se desplace */
    }

    #aniversaryLogoImage {
        max-height: clamp(40px, 6vw, 75px); /* Se mantiene la estructura sin alterar */
    }
}

/* 📟 Ajuste para iPad Pro 11" y 12.9" en vertical (834x1194 y 1024x1366) */
@media (min-width: 834px) and (max-width: 1366px) and (orientation: portrait) {
    #aniversaryLogo {
        top: 12px; /* Mantiene la alineación correcta */
        left: -48px; /* Ajuste fino para evitar desplazamientos */
    }

    #aniversaryLogoImage {
        max-height: clamp(40px, 6vw, 85px); /* Ajuste sin alterar la estructura */
    }
}

/* 📟 Ajuste para iPad Pro 11" y 12.9" en horizontal (1194x834 y 1366x1024) */
@media (min-width: 1025px) and (max-width: 1366px) and (orientation: landscape) {
    #aniversaryLogo {
        top: 10px; /* Mantiene la misma alineación */
        left: -35px; /* Ajuste preciso para centrar mejor */
    }

    #aniversaryLogoImage {
        max-height: clamp(40px, 6vw, 90px); /* Se mantiene el tamaño sin alterar la estructura */
    }
}


/* 📟 Ajuste para iPad Air en horizontal (1180x820) */
@media (min-width: 1025px) and (max-width: 1280px) and (orientation: landscape) {
    #aniversaryLogo {
        top: 10px; /* Mantiene la misma alineación */
        left: -35px; /* Ajuste fino para mejor centrado */
    }

    #aniversaryLogoImage {
        max-height: clamp(20px, 6vw, 30px); /* Tamaño ajustado respetando el diseño */
    }
}



/* 🖥️ Ajuste para monitores grandes */
@media (min-width: 1281px) {
    #aniversaryLogo {
        top: 10px; /* Se mantiene igual */
        left: -40px; /* No se mueve más */
    }

    #aniversaryLogoImage {
        max-height: clamp(10px, 6vw, 40px); /* Conserva la estructura original */
    }
}
/* fin logo */


/* Ajuste  logo wepay en el footer */
#webpayLogo {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Asegura alineación vertical */
    margin-top: -20px; /* Sube más el logo */
    margin-bottom: -15px; /* Reduce espacio inferior */
    padding: 0; /* Elimina cualquier relleno extra */
}

/* 📌 Ajuste del tamaño del logo */
#webpayLogoImage {
    max-width: clamp(140px, 18vw, 220px); /* Ajuste fino del tamaño */
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* 📌 Ajuste para pantallas pequeñas (móviles) */
@media (max-width: 480px) {
    #webpayLogo {
        margin-top: -18px; /* Sube aún más en móviles */
        margin-bottom: -10px;
    }

    #webpayLogoImage {
        max-width: 150px; /* Ajuste de tamaño en móviles */
    }
}

/* 📌 Ajuste para tablets */
@media (min-width: 481px) and (max-width: 768px) {
    #webpayLogo {
        margin-top: -15px; /* Sube moderadamente en tablets */
        margin-bottom: -10px;
    }

    #webpayLogoImage {
        max-width: 170px; /* Ajuste de tamaño para tablets */
    }
}







/* Estilo base para "Link de Pago" */
.link-pago-text {
    font-weight: bold; /* Texto en negrita */
    font-size: clamp(14px, 2vw, 20px); /* Ajuste responsivo */
    text-align: center; /* Centra el texto */
    margin-bottom: 5px; /* Espacio entre el texto y el logo */
}

/* 📱 Ajuste para móviles pequeños */
@media (max-width: 480px) {
    .link-pago-text {
        font-size: 14px; /* Texto más pequeño en pantallas reducidas */
    }
}

/* 📱 Ajuste para móviles medianos */
@media (min-width: 481px) and (max-width: 768px) {
    .link-pago-text {
        font-size: 16px; /* Tamaño medio */
    }
}

/* 📟 Ajuste para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .link-pago-text {
        font-size: 18px; /* Tamaño optimizado para tablets */
    }
}

/* 🖥️ Ajuste para pantallas grandes */
@media (min-width: 1025px) {
    .link-pago-text {
        font-size: 28px; /* Mantiene un tamaño adecuado en escritorios */
        
    }
}

/* Puedes agregar esto en tu archivo style.css o en un <style> en el <head> */
.btn-ml {
    background: linear-gradient(90deg, #ffe600 80%, #fffde7 100%);
    border: 2px solid #ffe600;
    color: #333 !important;
    box-shadow: 0 2px 8px 0 rgba(255,230,0,0.15);
    transition: transform 0.1s, box-shadow 0.2s;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 0.6em 1.2em;
}
.btn-ml:hover, .btn-ml:focus {
    transform: scale(1.04);
    box-shadow: 0 4px 16px 0 rgba(255,230,0,0.25);
    background: linear-gradient(90deg, #fffde7 80%, #ffe600 100%);
    color: #222 !important;
    text-decoration: none;
}
.btn-ml img {
    margin-right: 0.5em;
    margin-bottom: 2px;
}

/* === Banner de entrada Mercado Libre === */
.ml-entry-banner {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #FFE600; /* Amarillo ML */
        color: #333;
        z-index: 2000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.ml-entry-banner .ml-banner-content {
        max-width: 1280px;
        margin: 0 auto;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
}
.ml-entry-banner .ml-banner-text {
        flex: 1;
        font-weight: 600;
        font-size: 15px;
}
.ml-entry-banner .ml-banner-actions {
        display: flex;
        align-items: center;
        gap: 10px;
}
.ml-banner-close {
        background: transparent;
        border: none;
        color: #333;
        font-size: 20px;
        line-height: 1;
        padding: 6px;
        cursor: pointer;
}
.ml-banner-close:hover { opacity: 0.8; }

/* Espaciador para evitar solapamiento con el contenido */
.ml-banner-spacer { height: 48px; }

/* Responsivo */
@media (max-width: 576px) {
    .ml-entry-banner .ml-banner-content {
        padding: 8px 12px;
        gap: 8px;
    }
    .ml-entry-banner .ml-banner-text {
        font-size: 14px;
    }
    .ml-banner-spacer { height: 44px; }
}

/* === Toast inferior Mercado Libre (no intrusivo) === */
.ml-toast {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom)); /* default: bottom-right (desktop) */
    top: auto;
    z-index: 2000;
    background: #ffffff;
    color: #333;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    min-width: 280px;
    max-width: 380px;
    border-left: 6px solid #FFE600; /* Acento ML */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}
.ml-toast.hidden { 
    opacity: 0; 
    transform: translateY(-12px); 
    pointer-events: none; 
    visibility: hidden;
}
.ml-toast .ml-toast-text { 
    flex: 1; 
    font-size: 14px; 
    line-height: 1.35; 
    overflow-wrap: break-word;
    word-break: normal;
}
.ml-toast .ml-toast-actions { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    white-space: nowrap;
}
.ml-toast .ml-toast-close { background: transparent; border: 0; color: #666; font-size: 18px; line-height: 1; cursor: pointer; padding: 4px; }

/* Toast responsivo para diferentes tamaños de pantalla */
@media (max-width: 992px) {
    .ml-toast {
        min-width: 260px;
        max-width: 340px;
    }
}

@media (max-width: 768px) {
    .ml-toast {
        min-width: 240px;
        max-width: 320px;
        padding: 10px 12px;
    }
    .ml-toast .ml-toast-text { 
        font-size: 13px; 
        line-height: 1.3;
    }
}

@media (max-width: 576px) {
    .ml-toast {
        top: auto;
        right: auto;
        left: max(12px, env(safe-area-inset-left));
        bottom: calc(env(safe-area-inset-bottom) + 80px); /* Evitar íconos sociales */
        transform: none;
        width: auto;
        max-width: 86%;
        min-width: unset;
        z-index: 1990; /* Por debajo de los íconos sociales (9999) */
        padding: 10px;
        font-size: 12px;
    }
    .ml-toast.hidden { transform: translateY(12px); }
    .ml-toast .btn-mercado-libre.small {
        padding: 6px 10px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .ml-toast {
        max-width: calc(100% - 24px);
        gap: 8px;
    }
    .ml-toast .ml-toast-text {
        font-size: 12px;
    }
    .ml-toast .ml-toast-actions {
        gap: 4px;
    }
}

/* === WhatsApp Botón Flotante Redondo === */
.whatsapp-floating-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    transform: translateX(-100px);
    animation: slideIn 0.5s forwards 0.5s ease-out;
}

/* Animación de entrada desde el costado */
@keyframes slideIn {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.whatsapp-floating-button i {
    margin: 0;
    animation: pulse 2s infinite;
}

/* Efecto de pulso */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Tooltip que aparece al hacer hover */
.whatsapp-tooltip {
    position: absolute;
    left: 80px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-floating-button:hover {
    background-color: #20C35C;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.75);
}

.whatsapp-floating-button:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .whatsapp-floating-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Ocultamos el tooltip en dispositivos móviles */
    }
}

/* === Mercado Libre Buttons (modern) === */
.btn-mercado-libre {
    background-color: #3483FA; /* fallback */
    background: linear-gradient(180deg, #3483FA 0%, #2E77E6 100%);
    color: #FFFFFF !important;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    outline: none;
    font-family: "Proxima Nova", -apple-system, "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden; /* para efectos */
    letter-spacing: 0.2px;
}

.btn-mercado-libre:hover,
.btn-mercado-libre:focus {
    background: linear-gradient(180deg, #2F78E8 0%, #2968C8 100%);
    color: #FFFFFF !important;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0,0,0,0.25), 0 0 0 2px rgba(255,255,255,0.15) inset;
    transform: translateY(-1px);
}

.btn-mercado-libre:active {
    background-color: #1F4E96;
    transform: translateY(1px);
}

/* Mejoras de accesibilidad focus-visible */
.btn-mercado-libre:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.9), 0 0 0 6px rgba(52,131,250,0.45), 0 12px 26px rgba(0,0,0,0.26);
}

/* Secondary (outline/soft) */
.btn-mercado-libre.secondary {
    background-color: rgba(65, 137, 230, 0.15);
    color: #3483FA !important;
}
.btn-mercado-libre.secondary:hover,
.btn-mercado-libre.secondary:focus {
    background-color: rgba(65, 137, 230, 0.22);
}
.btn-mercado-libre.secondary:active {
    background-color: rgba(65, 137, 230, 0.32);
}

/* Sizes */
.btn-mercado-libre.small { padding: 8px 16px; font-size: 14px; }
.btn-mercado-libre.large { padding: 16px 32px; font-size: 18px; }

/* Disabled */
.btn-mercado-libre[disabled],
.btn-mercado-libre.disabled {
    background-color: #eee;
    color: #999 !important;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* Pulse highlight for hero CTA */
.pulse-animation { animation: ml-pulse 2s infinite; }
@keyframes ml-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 131, 250, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(52, 131, 250, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 131, 250, 0); }
}

/* === Hero enhancements === */
.btn-mercado-libre.is-hero {
    padding: 18px 38px;
    font-size: 19px;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
    min-width: 300px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

/* Shine sweep */
.btn-mercado-libre.is-hero::after {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.35) 40%, rgba(255,255,255,0.0) 80%);
    transform: skewX(-20deg);
}
.btn-mercado-libre.is-hero:hover::after { animation: ml-shine 0.9s ease forwards; }
@keyframes ml-shine { to { left: 160%; } }

/* Ripple on click (CSS-only approximation) */
.btn-mercado-libre.is-hero:active::before {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: ml-ripple 500ms ease-out;
}
@keyframes ml-ripple {
    from { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    to   { opacity: 0;   transform: translate(-50%, -50%) scale(25); }
}

/* Animación del icono del carrito en hover */
.btn-mercado-libre.is-hero .fa-shopping-cart {
    transition: transform 160ms ease, color 160ms ease;
}
.btn-mercado-libre.is-hero:hover .fa-shopping-cart {
    transform: translateX(2px) scale(1.05);
    color: #FFEB99;
}

/* Letras animadas del botón (efecto micro anim en hover) */
.btn-mercado-libre.is-hero .ml-letter {
    display: inline-block;
    will-change: transform, color, text-shadow;
    transition: transform 180ms ease, color 180ms ease, text-shadow 180ms ease;
    transition-delay: calc(var(--i, 0) * 12ms);
    margin-right: 0.03em; /* separa ligeramente las letras */
}
.btn-mercado-libre.is-hero:hover .ml-letter {
    transform: translateY(-1px);
    color: #FFEB99;
    text-shadow: 0 0 6px rgba(255,235,153,0.6);
}

/* Espaciado especial para espacios reales */
.btn-mercado-libre.is-hero .ml-letter.ml-space {
    margin-right: 0.22em;
    width: 0.35em; /* asegura separación visible entre palabras */
}

/* Respeto a usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .pulse-animation { animation: none !important; }
    .btn-mercado-libre.is-hero::after { animation: none !important; }
    .btn-mercado-libre,
    .btn-mercado-libre:hover,
    .btn-mercado-libre:focus { transition: none !important; }
}

/* Ajuste para móviles muy pequeños */
@media (max-width: 400px) {
    .btn-mercado-libre.is-hero { min-width: auto; width: auto; padding: 16px 24px; font-size: 17px; }
}

/* ===== Responsividad botones Mercado Libre ===== */
/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .btn-mercado-libre.large { padding: 14px 28px; font-size: 17px; }
    .btn-mercado-libre.is-hero { padding: 16px 30px; font-size: 18px; min-width: 280px; }
}

/* Móviles grandes / phablets */
@media (max-width: 768px) {
    .btn-mercado-libre.large { padding: 12px 22px; font-size: 16px; }
    .btn-mercado-libre.is-hero { padding: 14px 24px; font-size: 17px; min-width: 240px; }
}

/* Móviles (<= 576px) */
@media (max-width: 576px) {
    .btn-mercado-libre { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
    .btn-mercado-libre.large { padding: 12px 18px; font-size: 16px; }
    .btn-mercado-libre.is-hero { padding: 12px 18px; font-size: 16px; min-width: 220px; border-radius: 8px; }
    .btn-mercado-libre.is-hero .fa-shopping-cart { margin-right: 6px; }
    .btn-mercado-libre.is-hero .ml-letter { transition-delay: calc(var(--i, 0) * 8ms); margin-right: 0.025em; }
    .btn-mercado-libre.is-hero .ml-letter.ml-space { margin-right: 0.18em; width: 0.3em; }
}

/* Móviles muy pequeños (<= 360px) */
@media (max-width: 360px) {
    .btn-mercado-libre.large, .btn-mercado-libre.is-hero { padding: 10px 14px; font-size: 15px; min-width: 200px; }
    .btn-mercado-libre.is-hero .ml-letter { transition-delay: calc(var(--i, 0) * 5ms); margin-right: 0.02em; }
    .btn-mercado-libre.is-hero .ml-letter.ml-space { margin-right: 0.16em; width: 0.28em; }
}

/* === Modern Service Value Cards === */
.values-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* === Service Value Cards (Valores Diferenciadores) === */
.service-value-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #007bff 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-value-card:hover::before {
    transform: scaleX(1);
}

.service-value-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.service-value-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.5);
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
}

.service-value-card:hover .service-icon i {
    transform: scale(1.1);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.service-value-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-value-card:hover .service-value-content h4 {
    color: #007bff;
}

.service-value-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

/* Responsive para tarjetas de valores */
@media (max-width: 992px) {
    .service-value-card {
        min-height: 280px;
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-icon i {
        font-size: 2.2rem;
    }
    
    .service-value-content h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .service-value-card {
        min-height: 260px;
        padding: 1.8rem 1.2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .service-value-content h4 {
        font-size: 1.2rem;
    }
    
    .service-value-content p {
        font-size: 0.95rem;
    }
}

.service-value-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-value-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.service-icon-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.service-icon-modern i {
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.service-value-card-modern:hover .service-icon-modern {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
}

.service-value-card-modern:hover .service-icon-modern i {
    transform: scale(1.1);
}

.service-value-content h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-value-content p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-value-card-modern:hover .card-glow {
    opacity: 1;
}

/* === Enhanced Service Items === */
.service-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.service-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-item .overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 100%);
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.service-item:hover .overlay {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9) 0%, rgba(0, 86, 179, 0.7) 50%, rgba(0, 123, 255, 0.9) 100%);
    opacity: 1 !important;
    visibility: visible !important;
}

.service-item .rotate-icon {
    transition: transform 0.3s ease;
}

.service-item:hover .rotate-icon {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .service-value-card-modern {
        min-height: 250px;
        padding: 1.5rem 1rem;
    }
    
    .service-icon-modern {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-modern i {
        font-size: 1.8rem;
    }
}

.product-image-container {
    position: relative;
    text-align: center;
    padding: 1.5rem;
    margin: 0 auto;
    width: fit-content;
    display: inline-block;
}

/* Estilos simples para productos - Bootstrap básico */
.product-image {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px;
}

/* === Modern Stats Section === */
.stats-section-modern {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 123, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.stats-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(255, 255, 255, 0.02) 100px
        );
    pointer-events: none;
}

.counter-item-modern {
    position: relative;
    padding: 2rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.counter-item-modern:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.3);
}

.counter-icon-wrapper {
    position: relative;
    z-index: 2;
}

.counter-icon {
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
}

.counter-item-modern:hover .counter-icon {
    transform: scale(1.2) rotate(360deg);
    filter: drop-shadow(0 8px 16px rgba(0, 123, 255, 0.5));
}

.counter-number {
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
}

.counter-label {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.counter-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.counter-item-modern:hover .counter-glow {
    opacity: 1;
}

/* Animación de partículas flotantes */
.stats-section-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 123, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 193, 7, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.1), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: float-particles 20s linear infinite;
    pointer-events: none;
}

@keyframes float-particles {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

@media (max-width: 768px) {
    .counter-item-modern {
        min-height: 180px;
        padding: 1.5rem 0.8rem;
    }
    
    .counter-icon {
        font-size: 2rem !important;
    }
    
    .counter-number {
        font-size: 2.5rem !important;
    }
    
    .counter-label {
        font-size: 0.9rem !important;
    }
}

/* === Modern Footer Styles === */
.footer-modern {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer-logo-container {
    transition: transform 0.3s ease;
}

.footer-logo-container:hover {
    transform: scale(1.05);
}

.footer-logo-modern {
    max-height: 80px;
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

.footer-logo-modern:hover {
    filter: brightness(1.3);
}

.footer-title {
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modern-input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.modern-input-group:hover {
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.3);
}

.modern-input {
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 12px 20px;
    font-size: 0.95rem;
}

.modern-input:focus {
    background: white;
    box-shadow: none;
    border: none;
    outline: none;
}

.modern-subscribe-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-subscribe-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateX(-2px);
}

.contact-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    padding: 0.5rem;
    border-radius: 10px;
}

.contact-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.contact-icon {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-icon {
    color: #007bff !important;
}

.contact-link {
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    color: #007bff !important;
}

.footer-links {
    gap: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.footer-link:hover {
    color: #007bff;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1rem;
}

.footer-link i {
    transition: transform 0.3s ease;
}

.footer-link:hover i {
    transform: translateX(5px);
}

.payment-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.payment-link {
    transition: transform 0.3s ease;
}

.payment-link:hover {
    transform: scale(1.05);
}

.webpay-logo-modern {
    max-height: 60px;
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

.webpay-logo-modern:hover {
    filter: brightness(1.3);
}

.footer-bottom {
    border-color: rgba(0, 123, 255, 0.3) !important;
}

.copyright-text,
.designer-credit {
    color: rgba(255, 255, 255, 0.8);
}

.designer-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

.designer-link:hover {
    color: #007bff !important;
}

.designer-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #25d366 0%, #20b954 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.designer-whatsapp:hover {
    transform: scale(1.1) rotate(360deg);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.back-to-top-modern {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.back-to-top-modern.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-modern:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.5);
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 3rem 1rem !important;
    }
    
    .contact-section {
        padding: 1.5rem 1rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .modern-subscribe-btn span {
        display: none;
    }
    
    .back-to-top-modern {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   ESTILOS PARA TARJETAS DE VENTAS
   ======================================== */

/* Tarjetas de servicios principales */
.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover img {
    transform: scale(1.1);
}

/* Overlay para las tarjetas */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item:hover .overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.service-item:hover .overlay-content {
    transform: translateY(0);
    opacity: 1 !important;
}

.overlay-content h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1 !important;
    visibility: visible !important;
}

.rotate-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.rotate-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.rotate-icon {
    transition: transform 0.3s ease;
}

.rotate-btn:hover .rotate-icon {
    transform: translateX(5px);
}

/* Tarjetas de productos complementarios */
.product-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-card .card-text {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.product-card img {
    transition: transform 0.3s ease;
    border: 3px solid #f8f9fa;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Botones de las tarjetas */
.btn-outline-primary {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Animaciones para las tarjetas */
.service-hover {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-hover:hover {
    animation: cardPulse 0.6s ease-in-out;
}

@keyframes cardPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Estilos responsivos para tarjetas */
@media (max-width: 768px) {
    .service-item img {
        height: 200px;
    }
    
    .overlay-content h4 {
        font-size: 1.2rem;
    }
    
    .product-card img {
        height: 120px;
        width: 120px;
    }
    
    .rotate-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .service-item img {
        height: 180px;
    }
    
    .product-card img {
        height: 100px;
        width: 100px;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .overlay-content h4 {
        font-size: 1.1rem;
    }
    
    /* Banner Arriendo Responsive Mobile */
    .container-fluid[style*="linear-gradient(135deg, #0066cc"] h2.display-6 {
        font-size: 1.5rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #0066cc"] .lead {
        font-size: 0.95rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #0066cc"] .badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #0066cc"] .btn-lg {
        font-size: 0.95rem !important;
        padding: 0.7rem 1.5rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #0066cc"] .d-flex.gap-3 {
        gap: 0.8rem !important;
    }
    
    /* Banner CTA Cotización Responsive Mobile */
    .container-fluid[style*="linear-gradient(135deg, #003366"] h2.display-5 {
        font-size: 1.4rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #003366"] .lead {
        font-size: 0.9rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #003366"] .btn-lg {
        font-size: 0.9rem !important;
        padding: 0.7rem 1.3rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #003366"] .bg-white.rounded-3 {
        padding: 0.8rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #003366"] .bg-white.rounded-3 i {
        font-size: 1.8rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #003366"] .bg-white.rounded-3 h5 {
        font-size: 0.85rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #003366"] .bg-white.rounded-3 p {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 768px) {
    /* Banner Arriendo Responsive Tablet */
    .container-fluid[style*="linear-gradient(135deg, #0066cc"] h2.display-6 {
        font-size: 1.8rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #0066cc"] .lead {
        font-size: 1rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #0066cc"] .badge {
        font-size: 0.8rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #0066cc"] .btn-lg {
        font-size: 1rem !important;
        padding: 0.8rem 2rem !important;
    }
    
    /* Banner CTA Cotización Responsive Tablet */
    .container-fluid[style*="linear-gradient(135deg, #003366"] h2.display-5 {
        font-size: 1.8rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #003366"] .lead {
        font-size: 1rem !important;
    }
    
    .container-fluid[style*="linear-gradient(135deg, #003366"] .btn-lg {
        font-size: 1rem !important;
        padding: 0.8rem 1.8rem !important;
    }
}

/* ========================================
   ESTILOS PERSONALIZADOS PARA INDEX.HTML
   Extracción de CSS inline - Bullfloat
   ======================================== */

/* Modal Premium Arriendo - Diseño Mejorado y Responsive */
.modal-premium-arriendo {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(15, 52, 96, 0.06);
    border: 1px solid rgba(15, 52, 96, 0.12);
    max-width: 360px;
    margin: auto;
    background: #fff;
}

.btn-close-premium {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    opacity: 1;
}

.btn-close-premium i {
    color: #333;
    font-size: 18px;
}

.btn-close-premium:hover {
    transform: rotate(90deg) scale(1.15);
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Header con Imagen Real Mejorado */
.modal-header-premium {
    position: relative;
    height: 170px;
    background: #2c3e50;
    overflow: hidden;
}

.modal-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    transition: transform 0.6s ease;
}

.modal-premium-arriendo:hover .modal-header-image {
    transform: none;
}

.modal-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(26, 33, 62, 0.15) 0%,
        rgba(15, 52, 96, 0.25) 50%,
        rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

.modal-badge-special {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    animation: pulse 2s ease-in-out infinite;
    z-index: 3;
}

.badge-icon {
    font-size: 1rem;
}

.badge-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.modal-header-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 20px;
    text-align: center;
}

.modal-title-premium {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.modal-subtitle-premium {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Info Badges Superior Mejorados */
.modal-info-badges {
    display: flex;
    justify-content: space-around;
    padding: 12px 10px;
    background: linear-gradient(180deg, rgba(15, 52, 96, 0.05) 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(15, 52, 96, 0.12);
}

.info-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.info-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-badge:hover .info-badge-icon {
    transform: translateY(-3px);
}

.info-badge-icon i {
    font-size: 1rem;
    color: #fff;
}

.info-badge span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #495057;
    text-align: center;
}

/* Contenido del Modal */
.modal-content-premium {
    padding: 18px;
    background: #fff;
}

.modal-description-text {
    text-align: center;
    margin-bottom: 16px;
}

.modal-description-text p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Características Simples */
.modal-features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.feature-item i {
    font-size: 1.5rem;
    margin-bottom: 3px;
}

.feature-item span {
    font-size: 0.75rem;
    color: #555;
    font-weight: 600;
}

/* Botones de Acción */
.modal-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.btn-modal-primary {
    flex: 1;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
}

.btn-modal-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.45);
    color: white;
}

.btn-modal-secondary {
    flex: 1;
    background: transparent;
    color: #0f3460;
    border: 1px solid rgba(15, 52, 96, 0.5);
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 52, 96, 0.12);
}

.btn-modal-secondary:hover {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 52, 96, 0.35);
}

/* Mercado Libre (amarillo) dentro del modal */
.btn-modal-mercadolibre {
    flex: 1;
    background: linear-gradient(135deg, #fff159 0%, #fdec3f 100%);
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 241, 89, 0.35);
}

.btn-modal-mercadolibre:hover {
    background: linear-gradient(135deg, #fdec3f 0%, #f4d822 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 241, 89, 0.5);
    color: #222;
}

.btn-modal-mercadolibre i {
    color: #333;
}

/* Footer Badges */
.modal-footer-badges {
    display: flex;
    justify-content: space-around;
    padding: 12px 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

.footer-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-badge i {
    font-size: 1.3rem;
}

.footer-badge span {
    font-size: 0.7rem;
    color: #666;
    font-weight: 600;
}

/* Animación de Entrada Premium */
@media (min-width: 577px) {
    .modal-premium-arriendo {
        animation: modalSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

/* Tablet: tamaño y tipografía ajustados */
@media (min-width: 768px) and (max-width: 991.98px) {
    #arriendoModal .modal-dialog {
        max-width: 420px;
    }
    .modal-header-premium {
        height: 160px;
    }
    .modal-title-premium { font-size: 1.15rem; }
    .modal-subtitle-premium { font-size: 0.78rem; }
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.85) translateY(60px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Desktop: reducir tamaño del pop-up */
@media (min-width: 992px) {
    #arriendoModal .modal-dialog {
        max-width: 380px; /* más compacto en desktop */
    }
    .modal-premium-arriendo {
        max-width: 100%;
    }
    .modal-header-premium {
        height: 220px; /* mayor altura para ver la imagen completa y más grande */
    }
    /* Ajuste de imagen para mejor encuadre con mayor altura */
    .modal-header-image {
        object-position: 50% 50%;
        transform: none;
    }
    .modal-premium-arriendo:hover .modal-header-image {
        transform: scale(1.06);
    }
    .modal-title-premium {
        font-size: 1.1rem;
    }
    .modal-subtitle-premium {
        font-size: 0.75rem;
    }
    .modal-content-premium {
        padding: 14px;
    }
}

/* Responsive Mobile */
@media (max-width: 576px) {
    #arriendoModal .modal-dialog {
        margin: 10px;
    }
    
    .modal-premium-arriendo {
        width: 92vw;
        max-width: 280px;
        border-radius: 12px;
    }
    
    .modal-header-premium {
        height: 88px;
    }
    /* Centrado de textos en header */
    .modal-header-content {
        bottom: 8px;
        padding: 0 8px;
        text-align: center;
    }
    .modal-title-premium {
        text-align: center;
        line-height: 1.15;
        margin-bottom: 4px;
        font-size: 0.85rem;
    }
    .modal-subtitle-premium {
        text-align: center;
        font-size: 0.6rem;
    }
    
    .modal-title-premium { font-size: 0.85rem; }
    .modal-subtitle-premium { font-size: 0.6rem; }
    
    .btn-close-premium {
        width: 30px;
        height: 30px;
        top: 6px;
        right: 6px;
    }
    
    .btn-close-premium i {
        font-size: 12px;
    }
    
    .modal-info-badges {
        padding: 6px 4px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        text-align: center;
    }
    .info-badge { min-width: auto; }
    .info-badge-icon { width: 24px; height: 24px; }
    .info-badge-icon i { font-size: 0.7rem; }
    .info-badge span { display: none; }
    
    .modal-content-premium {
        padding: 8px 10px;
    }
    
    .modal-description-text {
        margin-bottom: 8px;
        text-align: center;
    }
    
    .modal-description-text p {
        font-size: 0.75rem;
    }
    
    .modal-features {
        padding: 8px 6px;
        margin-bottom: 8px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        text-align: center;
        align-items: start;
    }
    
    .feature-item i { font-size: 0.95rem; }
    .feature-item span { font-size: 0.62rem; }
    
    .modal-actions {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .btn-modal-primary,
    .btn-modal-secondary,
    .btn-modal-mercadolibre {
        padding: 8px 10px;
        font-size: 0.8rem;
        width: 100%;
        min-height: 38px;
    }
    
    .modal-footer-badges { display: none; }
    
    .footer-badge i {
        font-size: 1rem;
    }
    
    .footer-badge span {
        font-size: 0.6rem;
    }
}

/* Extra Small Devices */
@media (max-width: 380px) {
    #arriendoModal .modal-dialog { margin: 8px; }
    
    .modal-premium-arriendo { border-radius: 12px; width: 94vw; max-width: 260px; }
    
    .modal-header-premium { height: 80px; }
    .modal-title-premium { font-size: 0.82rem; }
    .modal-subtitle-premium { font-size: 0.58rem; }
    .btn-modal-primary,
    .btn-modal-secondary,
    .btn-modal-mercadolibre { padding: 8px 9px; font-size: 0.76rem; }
    
    .modal-title-premium { font-size: 0.82rem; }
    .modal-subtitle-premium { font-size: 0.58rem; }
    
    .modal-content-premium { padding: 8px; }
    
    .modal-description-text p { font-size: 0.68rem; }
    
    .modal-features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; padding: 6px; }
    
    .feature-item { flex-direction: row; justify-content: center; gap: 6px; }
    
    .feature-item i { font-size: 0.9rem; }
    .feature-item span { text-align: center; font-size: 0.58rem; }
    
    .btn-modal-primary,
    .btn-modal-secondary { padding: 8px 9px; font-size: 0.76rem; }
    
    .modal-footer-badges { display: none; }
    
    .footer-badge i {
        font-size: 0.9rem;
    }
    
    .footer-badge span {
        font-size: 0.55rem;
    }
}

/* Estilos del Carrusel de Arriendo */
.card-arriendo-carousel {
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-arriendo-carousel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.15) !important;
    border-color: rgba(0, 51, 102, 0.1);
}

/* Botón Premium para Arriendo */
.btn-premium-arriendo {
    background: linear-gradient(135deg, #0062cc 0%, #003d7a 100%);
    border: none;
    color: #fff !important;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-premium-arriendo:hover {
    background: linear-gradient(135deg, #0073e6 0%, #0056b3 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 98, 204, 0.4);
    color: #fff !important;
}

.btn-premium-arriendo:active {
    transform: translateY(0);
    color: #fff !important;
}

.btn-premium-arriendo i {
    color: #fff !important;
}

/* Botón Catálogo Premium */
.btn-catalogo-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-catalogo-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transition: left 0.4s ease;
}

.btn-catalogo-premium:hover::before {
    left: 0;
}

.btn-catalogo-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
    color: #fff;
}

.btn-catalogo-premium i,
.btn-catalogo-premium span {
    position: relative;
    z-index: 1;
}

/* Botón WhatsApp Premium */
.btn-whatsapp-premium {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-whatsapp-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #20ba5a 0%, #0e7a6e 100%);
    transition: left 0.4s ease;
}

.btn-whatsapp-premium:hover::before {
    left: 0;
}

.btn-whatsapp-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.btn-whatsapp-premium i,
.btn-whatsapp-premium span {
    position: relative;
    z-index: 1;
}

/* Botón Catálogo Final */
.btn-catalogo-final {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-catalogo-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    transition: left 0.4s ease;
}

.btn-catalogo-final:hover::before {
    left: 0;
}

.btn-catalogo-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.5);
    color: #fff;
}

.btn-catalogo-final i,
.btn-catalogo-final span {
    position: relative;
    z-index: 1;
}

/* Botón Presupuesto Final */
.btn-presupuesto-final {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-presupuesto-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    transition: left 0.4s ease;
}

.btn-presupuesto-final:hover::before {
    left: 0;
}

.btn-presupuesto-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.5);
    color: #fff;
}

.btn-presupuesto-final i,
.btn-presupuesto-final span {
    position: relative;
    z-index: 1;
}

/* Tarjetas de Productos Complementarios */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 51, 102, 0.15) !important;
}

.product-card img.rounded-circle {
    transition: transform 0.3s ease;
}

.product-card:hover img.rounded-circle {
    transform: scale(1.1);
}

.overlay-arriendo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-arriendo-carousel:hover .overlay-arriendo {
    opacity: 1;
}

.overlay-content-arriendo {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.card-arriendo-carousel:hover .overlay-content-arriendo {
    transform: translateY(0);
}

/* Botones del Carrusel Owl */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95) !important;
    color: #003366 !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    font-size: 24px !important;
    line-height: 50px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid #003366 !important;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background: #003366 !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.4);
}

.owl-carousel .owl-nav button.owl-prev {
    left: -25px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -25px;
}

/* Dots del Carrusel */
.owl-carousel .owl-dots {
    margin-top: 30px !important;
}

.owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active span,
.owl-carousel .owl-dot:hover span {
    background: #003366;
    transform: scale(1.3);
}

/* Responsive para el carrusel */
@media (max-width: 768px) {
    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
        line-height: 40px !important;
    }
    
    .owl-carousel .owl-nav button.owl-prev {
        left: -15px;
    }
    
    .owl-carousel .owl-nav button.owl-next {
        right: -15px;
    }
    
    .card-arriendo-carousel {
        margin: 5px;
    }
}

@media (max-width: 576px) {
    .owl-carousel .owl-nav button {
        display: none !important;
    }
}

/* Estilo Premium para botón Arriendo en Navbar */
@keyframes pulseArriendo {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 215, 0, 0.7);
    }
}

#navLinkRent {
    animation: pulseArriendo 2s ease-in-out infinite;
}

#navLinkRent:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%) !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6) !important;
    transform: translateY(-2px) scale(1.05);
    animation: none;
}

#navLinkRent:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4) !important;
}

/* Animación Premium para Banner de Arriendo */
@keyframes shimmerPremium {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes floatBannerPremium {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.01);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 73, 153, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 73, 153, 0.2);
    }
}

.banner-arriendo-premium {
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(0, 73, 153, 0.2);
    border-bottom: 2px solid rgba(0, 73, 153, 0.2);
}

.banner-arriendo-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 60%
    );
    animation: shimmerPremium 4s infinite;
    pointer-events: none;
}

.banner-arriendo-premium .badge {
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.banner-arriendo-premium .btn-warning {
    animation: buttonGlow 2.5s ease-in-out infinite;
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
    }
    50% {
        box-shadow: 0 12px 30px rgba(255, 193, 7, 0.7), 0 0 20px rgba(255, 215, 0, 0.5);
    }
}

/* Efectos hover para estadísticas premium */
.counter-item-premium:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
}

.icon-wrapper-premium {
    animation: rotateIcon 3s ease-in-out infinite;
}

@keyframes rotateIcon {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(5deg) scale(1.1);
    }
}

/* Estilos para botones primarios */
.btn-primary,
.btn.btn-primary {
    color: #ffffff !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
.btn-primary:focus,
.btn.btn-primary:focus,
.btn-primary:active,
.btn.btn-primary:active {
    color: #ffffff !important;
}

/* Badges de modalidades de arriendo en hero */
.badge-modalidad {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.badge-modalidad:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.badge-modalidad i {
    font-size: 1.1rem;
}

/* Estilos para footer en escritorio */
@media (min-width: 769px) {
    .footer .row > div {
        text-align: left;
    }
    
    .footer p {
        display: block;
    }
    
    .footer .d-flex.flex-column {
        align-items: flex-start;
    }
    
    .footer .row > div.text-center {
        text-align: center !important;
    }
}

/* Media queries para footer en móviles */
@media (max-width: 768px) {
    .footer {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .footer .row > div {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer .position-relative {
        justify-content: center;
    }
    
    .footer p {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer .d-flex.flex-column {
        align-items: center;
    }
}