/* ===== CENTRADO DE GALERÍA DE IMÁGENES ===== */
.properties2-others .container-fluid {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.properties2-others .row {
    justify-content: center;
}

.properties2-others .col-lg-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.properties2-others .all-galler-images {
    width: 100% !important;
    max-width: 1200px;
}

.properties2-others .all-galler-images .big-img {
    width: 100% !important;
}

.properties2-others .all-galler-images .big-img img {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.properties2-others .all-galler-images.slick-slider {
    margin: 0 auto !important;
}

.properties2-others .all-galler-images.slick-slider .slick-list {
    overflow: hidden;
}

.properties2-others .all-galler-images.slick-slider .slick-track {
    display: flex !important;
}

.properties2-others .bottom-galler-images {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.properties2-others .bottom-galler-images .small-img {
    margin: 0 5px !important;
}

/* Limitar ancho del slick-track para que coincida con la imagen principal */
.properties2-others .bottom-galler-images .slick-track {
    margin: 0 auto !important;
    max-width: 100% !important;
}

.properties2-others .bottom-galler-images .slick-list {
    max-width: 100% !important;
}

.bottom-galler-images.slick-slider {
    display: block !important;
    overflow: hidden;
    padding: 10px 0;
    max-width: 100%;
}

.bottom-galler-images.slick-slider .slick-list {
    overflow: hidden;
    max-width: 100%;
}

.bottom-galler-images.slick-slider .slick-track {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100%;
}

.bottom-galler-images.slick-slider .slick-slide {
    float: none;
    height: auto;
    width: 70px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 8px;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 50% !important;
}

.bottom-galler-images .small-img {
    height: 70px;
    width: 70px;
    display: inline-block;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    box-shadow: none;
}

.bottom-galler-images .small-img .small-img-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-galler-images .small-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .bottom-galler-images .small-img {
        height: 60px;
        width: 60px;
    }

    .bottom-galler-images.slick-slider .slick-slide {
        width: 60px !important;
        margin: 0 6px;
    }
}

@media (max-width: 480px) {
    .bottom-galler-images .small-img {
        height: 50px;
        width: 50px;
    }

    .bottom-galler-images.slick-slider .slick-slide {
        width: 50px !important;
        margin: 0 4px;
    }
}

.bottom-galler-images.slick-slider .slick-slide>div {
    width: 70px;
    height: 70px;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .bottom-galler-images.slick-slider .slick-slide>div {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .bottom-galler-images.slick-slider .slick-slide>div {
        width: 50px;
        height: 50px;
    }
}

/* ===== DISEÑO REVOLUCIONARIO - UBICACIÓN PREMIUM ===== */
.revolutionary-location-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border-radius: 32px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.revolutionary-location-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg,
            #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57,
            #ff9ff3, #54a0ff, #5f27cd, #00d2d3, #ff9f43);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
    border-radius: 32px 32px 0 0;
}

.revolutionary-location-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: epicFloat 10s ease-in-out infinite;
}

/* Header Épico */
.epic-header {
    position: relative;
    margin-bottom: 40px;
    padding: 30px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.header-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(59, 130, 246, 0.1),
            rgba(16, 185, 129, 0.1),
            rgba(245, 158, 11, 0.1));
    border-radius: 20px;
    animation: glowPulse 4s ease-in-out infinite;
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.title-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    position: relative;
    box-shadow:
        0 20px 40px rgba(59, 130, 246, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: iconRotate 6s linear infinite;
}

.icon-pulse {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 24px;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.title-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main-title {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    letter-spacing: 4px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub-title {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
    border-radius: 2px;
    animation: underlineGlow 3s ease-in-out infinite;
}

.header-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 24px;
    font-weight: 900;
    color: #10b981;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, #64748b, transparent);
}

/* Tarjeta Principal Épica */
.epic-location-card {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(16, 185, 129, 0.1) 50%,
            rgba(245, 158, 11, 0.1) 100%);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(59, 130, 246, 0.05),
            rgba(16, 185, 129, 0.05),
            rgba(245, 158, 11, 0.05));
    animation: cardBgShift 8s ease-in-out infinite;
}

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: particlesFloat 12s ease-in-out infinite;
}

/* Badge de Lujo */
.luxury-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15),
            rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-radius: 20px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shine 3s ease-in-out infinite;
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.badge-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #f59e0b;
    letter-spacing: 1px;
}

/* Dirección Principal */
.address-showcase {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.address-icon-container {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.address-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 16px;
    animation: iconBgPulse 3s ease-in-out infinite;
}

.address-icon-container i {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.address-content {
    flex: 1;
}

.epic-address {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: -0.02em;
}

.location-tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.location-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.location-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.location-tag i {
    font-size: 14px;
    color: #3b82f6;
}

.location-tag span {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.location-tag.zone {
    background: linear-gradient(135deg, #805ad5, #b794f6);
}

/* Botones de Acción Épicos */
.epic-actions {
    display: flex;
    gap: 20px;
}

.epic-btn {
    position: relative;
    flex: 1;
    padding: 20px 24px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    background: transparent;
}

.epic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.epic-btn:hover::before {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.1));
    transform: scale(1.02);
}

.epic-btn.primary:hover::before {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.3),
            rgba(29, 78, 216, 0.2));
}

.epic-btn.secondary:hover::before {
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.3),
            rgba(5, 150, 105, 0.2));
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.epic-btn:hover .btn-ripple {
    width: 300px;
    height: 300px;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.btn-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.btn-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Grid de Propiedades Épico */
.epic-properties-grid {
    margin-bottom: 40px;
}

.grid-header {
    margin-bottom: 32px;
    text-align: center;
}

.grid-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.grid-title i {
    color: #3b82f6;
    font-size: 24px;
}

.grid-underline {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
    margin: 0 auto;
    border-radius: 2px;
    animation: underlineGlow 3s ease-in-out infinite;
}

.properties-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.property-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.1),
            rgba(16, 185, 129, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.property-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.card-value {
    display: block;
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

.card-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.property-card:hover .card-decoration {
    transform: scaleX(1);
}

/* Características Épicas */
.epic-features {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.epic-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #fde047);
    border-radius: 20px 20px 0 0;
}

.features-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.features-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
}

.features-title h4 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.features-title p {
    margin: 0;
    font-size: 14px;
    color: #94a3b8;
    font-style: italic;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.feature-glow {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, #10b981, #34d399);
    transition: width 0.3s ease;
}

.feature-card:hover .feature-glow {
    width: 4px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

.feature-content {
    flex: 1;
}

.feature-content h5 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.feature-content p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.3;
}

/* Footer Épico */
.epic-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
}

.footer-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
    border-radius: 2px;
    animation: footerLineGlow 3s ease-in-out infinite;
}

.footer-text {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.footer-dots {
    display: flex;
    gap: 12px;
}

.footer-dots .dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.footer-dots .dot:nth-child(2) {
    animation-delay: 0.3s;
}

.footer-dots .dot:nth-child(3) {
    animation-delay: 0.6s;
}

/* ===== ANIMACIONES ÉPICAS ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes epicFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }

    75% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes underlineGlow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    }
}

@keyframes cardBgShift {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes particlesFloat {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(10px) translateY(-10px);
    }

    50% {
        transform: translateX(-5px) translateY(5px);
    }

    75% {
        transform: translateX(-10px) translateY(-5px);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes iconBgPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes footerLineGlow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    }
}

@keyframes dotPulse {

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

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* ===== RESPONSIVE ÉPICO ===== */
@media (max-width: 768px) {
    .revolutionary-location-section {
        padding: 24px;
        margin-bottom: 24px;
    }

    .epic-header {
        margin-bottom: 24px;
        padding: 20px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .title-container {
        flex-direction: column;
        gap: 16px;
    }

    .title-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .main-title {
        font-size: 36px;
    }

    .sub-title {
        font-size: 20px;
    }

    .header-stats {
        padding: 16px 20px;
    }

    .epic-location-card {
        padding: 24px;
        margin-bottom: 24px;
    }

    .address-showcase {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .address-icon-container {
        margin: 0 auto;
    }

    .epic-actions {
        flex-direction: column;
        gap: 12px;
    }

    .epic-btn {
        padding: 16px 20px;
    }

    .properties-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .property-card {
        padding: 20px;
    }

    .epic-features {
        padding: 24px;
    }

    .features-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .features-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .revolutionary-location-section {
        padding: 20px;
        border-radius: 24px;
    }

    .epic-header {
        padding: 16px 0;
    }

    .title-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .main-title {
        font-size: 28px;
    }

    .sub-title {
        font-size: 16px;
    }

    .header-stats {
        padding: 12px 16px;
        gap: 16px;
    }

    .stat-number {
        font-size: 20px;
    }

    .epic-location-card {
        padding: 20px;
    }

    .luxury-badge {
        padding: 12px 16px;
        gap: 12px;
    }

    .badge-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .epic-address {
        font-size: 20px;
    }

    .location-tags {
        flex-direction: column;
        gap: 12px;
    }

    .epic-btn {
        padding: 14px 16px;
    }

    .btn-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .btn-title {
        font-size: 14px;
    }

    .btn-desc {
        font-size: 11px;
    }

    .property-card {
        padding: 16px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .epic-features {
        padding: 20px;
    }

    .features-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .feature-card {
        padding: 16px;
        gap: 16px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .feature-content h5 {
        font-size: 14px;
    }

    .feature-content p {
        font-size: 12px;
    }
}

/* Sección de detalles más espaciosa */
.property-details-section {
    margin-bottom: 32px;
}

.details-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.details-section-title i {
    color: #3b82f6;
    font-size: 20px;
}

.property-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.detail-card:hover::before {
    transform: scaleY(1);
}

.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.detail-card:hover .detail-icon {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    transform: scale(1.1);
}

.detail-content {
    flex: 1;
    min-width: 0;
}

.detail-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.detail-value {
    display: block;
    font-size: 15px;
    color: #1e293b;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
}

.detail-card:hover .detail-decoration {
    width: 100%;
}

/* Características premium más atractivas */
.premium-features {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.premium-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #fde047);
}

.features-header {
    margin-bottom: 24px;
}

.features-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.features-title i {
    color: #f59e0b;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.features-subtitle {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    margin-left: 32px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, #10b981, #34d399);
    transition: width 0.3s ease;
}

.feature-item:hover::before {
    width: 4px;
}

.feature-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-title {
    font-size: 15px;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.2;
}

.feature-desc {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3;
}

/* Footer decorativo */
.section-footer {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
    border-radius: 1px;
}

.footer-dots {
    display: flex;
    gap: 8px;
}

.footer-dots .dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.footer-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animaciones mejoradas */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes pulse {

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

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes glow {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes patternMove {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(10px) translateY(-5px);
    }

    50% {
        transform: translateX(-5px) translateY(10px);
    }

    75% {
        transform: translateX(-10px) translateY(-5px);
    }
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .premium-location-section {
        padding: 24px;
        margin-bottom: 24px;
    }

    .section-header {
        gap: 16px;
        margin-bottom: 24px;
    }

    .header-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .main-location-card {
        padding: 24px;
        margin-bottom: 24px;
    }

    .main-address {
        font-size: 18px;
    }

    .address-display {
        flex-direction: column;
        gap: 12px;
    }

    .address-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .location-actions {
        flex-direction: column;
        gap: 12px;
    }

    .action-btn {
        padding: 14px 20px;
    }

    .property-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-card {
        padding: 16px;
    }

    .detail-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .premium-features {
        padding: 20px;
    }

    .feature-item {
        padding: 12px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .premium-location-section {
        padding: 20px;
        border-radius: 20px;
    }

    .section-header {
        gap: 12px;
        margin-bottom: 20px;
    }

    .header-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .section-title {
        font-size: 18px;
    }

    .main-location-card {
        padding: 20px;
        border-radius: 16px;
    }

    .main-address {
        font-size: 16px;
    }

    .location-badge {
        padding: 10px 16px;
        font-size: 12px;
    }

    .action-btn {
        padding: 12px 16px;
        gap: 8px;
    }

    .btn-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .btn-text {
        font-size: 13px;
    }

    .btn-subtext {
        font-size: 10px;
    }

    .detail-card {
        padding: 14px;
        gap: 12px;
    }

    .detail-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .detail-label {
        font-size: 11px;
    }

    .detail-value {
        font-size: 14px;
    }

    .premium-features {
        padding: 16px;
    }

    .features-title {
        font-size: 16px;
    }

    .feature-item {
        padding: 10px;
        gap: 12px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .feature-title {
        font-size: 14px;
    }

    .feature-desc {
        font-size: 12px;
    }
}

/* Estilos para el formulario de reserva */
.price-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-item.total {
    font-weight: bold;
    font-size: 16px;
    border-top: 1px solid #dee2e6;
    padding-top: 8px;
    margin-top: 8px;
}

/* Estilos para el calendario */
.calendar-container {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-nav-btn {
    background: #ED8438;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.calendar-nav-btn:hover {
    background: #d6732a;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 10px;
}

.weekday {
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: #666;
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.calendar-day:hover:not(.unavailable):not(.blocked-day):not(.past-day):not(.other-month) {
    background: linear-gradient(145deg, #e3f2fd, #bbdefb);
    border-color: #2196f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.calendar-day.today {
    background: linear-gradient(145deg, #fff3e0, #ffcc02);
    border-color: #ff9800;
    font-weight: bold;
    color: #e65100;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.3);
}

.calendar-day.selected {
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    color: white;
    font-weight: bold;
    border-color: #2d4a35;
    box-shadow: 0 4px 12px rgba(60, 101, 73, 0.4);
    transform: scale(1.05);
}

.calendar-day.start-date {
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    color: white;
    font-weight: bold;
    position: relative;
}

.calendar-day.unavailable {
    background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
    color: #bbb;
    cursor: not-allowed;
    opacity: 0.7;
    text-decoration: line-through;
}

.calendar-day.other-month {
    color: #ccc;
    opacity: 0.6;
    background: linear-gradient(145deg, #fafafa, #f0f0f0);
}

.calendar-day.start-date::after {
    content: 'Llegada';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 600;
    opacity: 0.9;
}

.calendar-day.end-date {
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    color: white;
    font-weight: bold;
    position: relative;
}

.calendar-day.end-date::after {
    content: 'Salida';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 600;
    opacity: 0.9;
}

.calendar-day.in-range {
    background: #ffecb3;
    color: #f57c00;
}

.calendar-day.unavailable {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: #ccc;
    cursor: default;
}

.calendar-day.other-month:hover {
    background: transparent;
    border-color: transparent;
}

/* Estilos para calendario unificado */
.single-calendar-view {
    max-width: 100%;
}

.single-calendar-view .calendar-section {
    width: 100%;
}

.calendar-instruction {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Mensaje de calendario */
.calendar-message {
    padding: 12px 20px;
    margin: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

.calendar-message.info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #1e40af;
}

.calendar-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

.calendar-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #166534;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ===== ESTILOS DEL MODAL DE CALENDARIO ===== */
.calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}

.calendar-modal.active {
    display: flex;
}

.calendar-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalZoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    margin: auto;
    /* Centrado adicional */
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.calendar-modal-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px 20px 0 0;
}

.calendar-modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.calendar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ===== CENTRADO PERFECTO DEL CALENDARIO EN EL MODAL ===== */

/* IMPORTANTE: Sobrescribir cualquier CSS externo que interfiera */
.calendar-modal-content .calendar-container,
.calendar-modal .calendar-container {
    padding: 24px !important;
    max-height: calc(90vh - 200px) !important;
    overflow-y: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    /* Eliminar cualquier grid que pueda estar interfiriendo */
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 0 !important;
}

/* Sección del calendario - centrado horizontalmente */
.calendar-modal .calendar-section {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Título centrado */
.calendar-modal .calendar-section h4 {
    text-align: center !important;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Instrucciones centradas */
.calendar-modal .calendar-instruction {
    text-align: center !important;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Wrapper del calendario - centrado */
.calendar-modal .calendar-wrapper {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header del calendario - centrado */
.calendar-modal .calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 16px;
    width: 100%;
}

/* Días de la semana - centrados */
.calendar-modal .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 8px;
    width: 100%;
    max-width: 350px;
}

/* Cuadrícula de días - centrada */
.calendar-modal .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    width: 100%;
    max-width: 350px;
    justify-items: center;
}

/* Cada día individual centrado */
.calendar-modal .calendar-day {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Efectos hover para días en el modal */
.calendar-modal .calendar-day:hover:not(.unavailable):not(.blocked-day):not(.past-day):not(.other-month) {
    background: linear-gradient(145deg, #e3f2fd, #bbdefb);
    border-color: #2196f3;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

/* Cada día de la semana centrado */
.calendar-modal .weekday {
    width: 45px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-weight: 600;
    color: #3c6549;
    font-family: 'Poppins', sans-serif;
}

/* Footer del calendario */
.calendar-footer {
    padding: 20px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.selected-dates {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.selected-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 120px;
}

.date-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-value {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.selected-date.total .date-value {
    color: #3c6549;
    font-size: 20px;
}

.calendar-actions {
    display: flex;
    gap: 12px;
}

.btn-clear,
.btn-apply {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-clear {
    background: #f1f5f9;
    color: #475569;
}

.btn-clear:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-apply {
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    color: white;
}

.btn-apply:hover {
    background: linear-gradient(135deg, #2d4f38, #3c6549);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(60, 101, 73, 0.3);
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .calendar-modal {
        padding: 10px;
    }

    .calendar-modal-content {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .calendar-modal-header {
        padding: 16px 20px;
    }

    .calendar-modal-header h3 {
        font-size: 18px;
    }

    .calendar-modal-content .calendar-container,
    .calendar-modal .calendar-container {
        padding: 16px !important;
        /* Asegurar que no haya grid en móvil */
        display: flex !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
    }

    .calendar-modal .calendar-wrapper {
        max-width: 100%;
    }

    .calendar-modal .calendar-weekdays,
    .calendar-modal .calendar-days {
        max-width: 100%;
    }

    .calendar-modal .calendar-day {
        width: 40px;
        height: 40px;
    }

    .calendar-modal .weekday {
        width: 40px;
        height: 28px;
    }

    .calendar-footer {
        padding: 16px 20px;
    }

    .selected-dates {
        flex-direction: column;
        gap: 12px;
    }

    .selected-date {
        min-width: 100%;
    }

    .calendar-actions {
        flex-direction: column;
    }

    .btn-clear,
    .btn-apply {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .calendar-modal-content {
        border-radius: 12px;
    }

    .calendar-modal-header h3 {
        font-size: 16px;
    }

    .calendar-close {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .date-value {
        font-size: 14px;
    }

    .selected-date.total .date-value {
        font-size: 18px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .calendar-container {
        padding: 10px;
    }

    .calendar-day {
        font-size: 12px;
    }

    .weekday {
        font-size: 10px;
        padding: 6px 0;
    }

    .calendar-day.start-date::after,
    .calendar-day.end-date::after {
        font-size: 7px;
        bottom: 1px;
    }
}

/* ===== CAMPOS DINÁMICOS STYLES ===== */
.dynamic-fields-section {
    margin: 24px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-header h4 {
    color: #3c6549;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.dynamic-fields-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dynamic-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.dynamic-field-item {
    display: flex;
    flex-direction: column;
}

/* Responsive para grilla */
@media (max-width: 768px) {
    .dynamic-fields-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dynamic-field-item {
        width: 100%;
    }
}

.required {
    color: #ef4444;
    font-weight: bold;
    margin-left: 4px;
}

/* ===== LISTA DINÁMICA STYLES ===== */
.dynamic-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dynamic-list-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dynamic-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.dynamic-list-input {
    flex: 1;
    margin: 0;
}

.btn-remove-item {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.btn-remove-item:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.btn-add-item {
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 8px;
}

.btn-add-item:hover {
    background: linear-gradient(135deg, #2d4a35, #3c6549);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(60, 101, 73, 0.3);
}

/* Mostrar botón de eliminar cuando hay más de un elemento */
.dynamic-list-item:not(:only-child) .btn-remove-item {
    display: flex !important;
}

/* Responsive para campos dinámicos */
@media (max-width: 768px) {
    .dynamic-fields-section {
        margin: 20px 0;
        padding: 16px;
        border-radius: 10px;
    }

    .section-header h4 {
        font-size: 16px;
    }

    .section-header p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .dynamic-fields-section {
        margin: 16px 0;
        padding: 12px;
        border-radius: 8px;
    }
}

/* ===== LIGHTBOX STYLES ===== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal[style*="flex"] {
    opacity: 1;
}

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

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image-container {
    position: relative;
    text-align: center;
}

.lightbox-image-container img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 8px 16px;
    backdrop-filter: blur(10px);
}

.lightbox-counter {
    position: absolute;
    top: -50px;
    left: 0;
    color: white;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Responsive para lightbox */
@media (max-width: 768px) {
    .lightbox-prev {
        left: -60px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-next {
        right: -60px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: -45px;
    }

    .lightbox-image-container img {
        max-width: 95vw;
        max-height: 75vh;
    }
}

@media (max-width: 480px) {
    .lightbox-prev {
        left: 10px;
        top: 10px;
        transform: none;
    }

    .lightbox-next {
        right: 10px;
        top: 10px;
        transform: none;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-counter {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .lightbox-image-container img {
        max-width: 100vw;
        max-height: 70vh;
    }
}

/* ===== ULTRA MODERN FLOATING LIGHTBOX STYLES ===== */

/* Ocultar scrollbars completamente */
#lightboxThumbnails::-webkit-scrollbar {
    display: none;
}

#lightboxThumbnails {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Animaciones de entrada ultra suaves */
.lightbox-enter {
    animation: lightboxFloatIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxFloatIn {
    from {
        opacity: 0;
        transform: scale(0.9);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

/* Animación de controles flotantes */
.lightbox-controls-enter {
    animation: controlsSlideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes controlsSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Animación del panel inferior */
.lightbox-panel-enter {
    animation: panelSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes panelSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Efecto de morphing en imágenes */
.lightbox-image-morph {
    animation: imageMorph 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes imageMorph {
    0% {
        opacity: 0.3;
        transform: scale(0.95) rotateY(5deg);
        filter: blur(5px);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.98) rotateY(0deg);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
        filter: blur(0px);
    }
}

/* Efecto de glow en elementos activos */
.lightbox-glow {
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Responsive mejorado para navegación móvil */
@media (max-width: 768px) {

    #lightboxPrev,
    #lightboxNext {
        left: 10px !important;
        right: 10px !important;
        width: 50px !important;
        height: 50px !important;
        background: rgba(0, 0, 0, 0.7) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    #lightboxPrev {
        left: 10px !important;
    }

    #lightboxNext {
        right: 10px !important;
    }
}

@media (max-width: 480px) {

    #lightboxPrev,
    #lightboxNext {
        width: 44px !important;
        height: 44px !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    }

    #lightboxPrev {
        left: 15px !important;
    }

    #lightboxNext {
        right: 15px !important;
    }

    /* Imagen sin fondo - más espacio */
    #lightboxImage {
        max-width: 70vw !important;
        max-height: 60vh !important;
    }

    /* Centrado perfecto para móviles */
    #lightboxImage {
        display: block !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    /* Contenedor de imagen centrado en móviles */
    #lightboxModal [style*="display: flex"][style*="align-items: center"] {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Centrado perfecto de miniaturas */
    #lightboxThumbnails {
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    /* Contenedor de miniaturas centrado */
    #lightboxThumbnails:not([style*="overflow-x: auto"]) {
        width: fit-content !important;
        margin: 0 auto !important;
    }
}

/* Animación de entrada del modal */
.lightbox-modal-enter {
    animation: lightboxFadeIn 0.4s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animación de las imágenes */
.lightbox-image-transition {
    animation: imageSlideIn 0.3s ease-out;
}

@keyframes imageSlideIn {
    from {
        opacity: 0.5;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Centrado forzado de miniaturas */
#lightboxThumbnails {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Contenedor padre también centrado */
#lightboxThumbnails:not(:empty) {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Responsive específico para el lightbox */
@media (max-width: 768px) {
    #lightboxThumbnails {
        gap: 8px !important;
        padding: 8px 10px !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    #lightboxModal [style*="width: 90%"] {
        width: 98% !important;
        height: 98% !important;
    }

    #lightboxThumbnails {
        gap: 6px !important;
    }

    #lightboxThumbnails img {
        width: 50px !important;
        height: 38px !important;
    }
}

/* Efectos de glassmorphism mejorados */
.lightbox-glass-effect {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Loading effect para imágenes */
.lightbox-image-loading {
    position: relative;
}

.lightbox-image-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== MODERN INFORMATION MODALS ===== */

.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px) saturate(130%);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-modal.show {
    opacity: 1;
}

.info-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.info-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-modal.show .info-modal-container {
    transform: scale(1) translateY(0);
}

.info-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 30px 20px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.normas-icon {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.recomendaciones-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.seguridad-icon {
    background: linear-gradient(135deg, #059669, #10b981);
}

.info-modal-title-section {
    flex: 1;
}

.info-modal-title {
    margin: 0 0 4px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.info-modal-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.info-modal-close {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.info-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #374151;
    transform: scale(1.05);
}

.info-modal-content {
    max-height: 60vh;
    overflow-y: auto;
    padding: 0 30px 30px 30px;
}

.info-modal-body {
    color: #374151;
    font-size: 16px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.info-modal-body h1,
.info-modal-body h2,
.info-modal-body h3,
.info-modal-body h4,
.info-modal-body h5,
.info-modal-body h6 {
    color: #1f2937;
    margin: 24px 0 12px 0;
    font-weight: 700;
}

.info-modal-body p {
    margin: 0 0 16px 0;
}

.info-modal-body ul,
.info-modal-body ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.info-modal-body li {
    margin: 8px 0;
}

.info-modal-body strong {
    color: #1f2937;
    font-weight: 600;
}

/* Scrollbar personalizado para modales */
.info-modal-content::-webkit-scrollbar {
    width: 6px;
}

.info-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.info-modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.info-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Responsive para modales */
@media (max-width: 768px) {
    .info-modal-container {
        width: 95%;
        max-height: 85vh;
    }

    .info-modal-header {
        padding: 24px 20px 16px 20px;
        gap: 16px;
    }

    .info-modal-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .info-modal-title {
        font-size: 20px;
    }

    .info-modal-content {
        padding: 0 20px 24px 20px;
        max-height: 65vh;
    }

    .info-modal-body {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .info-modal-container {
        width: 98%;
        max-height: 90vh;
    }

    .info-modal-header {
        padding: 20px 16px 12px 16px;
        gap: 12px;
    }

    .info-modal-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .info-modal-title {
        font-size: 18px;
    }

    .info-modal-subtitle {
        font-size: 13px;
    }

    .info-modal-content {
        padding: 0 16px 20px 16px;
        max-height: 70vh;
    }

    .info-modal-body {
        font-size: 14px;
    }
}

/* ===== ESTILOS PARA FECHAS BLOQUEADAS ===== */
.calendar-day.unavailable {
    background: #fd7272 !important;
    color: #5f6164 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    text-decoration: none !important;
    border: 1px solid #d1d5db !important;
}

.calendar-day.unavailable:hover {
    background: #fd7272 !important;
    color: #5f6164 !important;
    transform: none !important;
    text-decoration: none !important;
}

/* ===== ESTILOS PARA DÍAS BLOQUEADOS ===== */
/* Se muestran igual que días reservados (rojo) para que los clientes no sepan que están bloqueados */
.calendar-day.blocked-day {
    background: #fd7272 !important;
    /* Rojo - igual que días reservados */
    color: #5f6164 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    text-decoration: none !important;
    border: 1px solid #d1d5db !important;
}

.calendar-day.blocked-day:hover {
    background: #fd7272 !important;
    color: #5f6164 !important;
    transform: none !important;
    text-decoration: none !important;
}

/* ===== ESTILOS PARA DÍAS PASADOS ===== */
.calendar-day.past-day {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.5;
    text-decoration: line-through !important;
}

.calendar-day.past-day:hover {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    transform: none !important;
    text-decoration: line-through !important;
}

/* ===== ESTILOS PARA MENSAJES DEL CALENDARIO ===== */
.calendar-message {
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.calendar-message.error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #dc2626;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
}

.calendar-message.success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
}

.calendar-message.info {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
}

/* Lector del contrato y aceptación de términos (sin grid de 2 columnas) */
.contract-terms-row {
    margin-top: 24px;
    margin-bottom: 25px;
}

.contract-reader-label {
    display: block;
    font-weight: 600;
    color: #3c6549;
    margin-bottom: 10px;
    font-size: 15px;
}

.contract-reader-label i {
    margin-right: 8px;
}

.contract-reader-scroll {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    padding: 16px 20px;
    scrollbar-width: thin;
    scrollbar-color: #3c6549 #e2e8f0;
}

.contract-reader-scroll::-webkit-scrollbar {
    width: 8px;
}

.contract-reader-scroll::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.contract-reader-scroll::-webkit-scrollbar-thumb {
    background: #3c6549;
    border-radius: 4px;
}

.contract-reader-scroll::-webkit-scrollbar-thumb:hover {
    background: #4a7c59;
}

.contract-reader-content {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.contract-reader-content p {
    margin-bottom: 12px;
}

.contract-reader-content ul,
.contract-reader-content ol {
    margin: 12px 0;
    padding-left: 24px;
}

.contract-reader-content h1,
.contract-reader-content h2,
.contract-reader-content h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    color: #1e293b;
}

.contract-reader-content strong {
    color: #1e293b;
}

.contract-accept-checkbox {
    display: block;
    margin-top: 16px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
}

.contract-accept-checkbox input[type="checkbox"] {
    float: left;
    margin: 2px 10px 0 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3c6549;
}

.contract-accept-checkbox span {
    display: block;
    overflow: hidden;
}

.contract-accept-checkbox:hover {
    color: #1e293b;
}

.contract-accept-checkbox .legal-modal-link {
    color: #3c6549;
    text-decoration: underline;
    cursor: pointer;
}

.contract-accept-checkbox .legal-modal-link:hover {
    color: #4a7c59;
}

/* Modales Términos y Política */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.legal-modal.active {
    display: flex;
}

.legal-modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalZoomIn 0.3s ease;
}

.legal-modal-header {
    padding: 18px 24px;
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.legal-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.legal-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.legal-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.legal-modal-document {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.legal-modal-document p {
    margin-bottom: 12px;
}

.legal-modal-document ul,
.legal-modal-document ol {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-modal-document h1,
.legal-modal-document h2,
.legal-modal-document h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    color: #1e293b;
}

.legal-modal-empty {
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
}