/* ESTILOS PARA SINGLE UBICACIONES */
.main-ubicacion {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.ubicacion-hero {
    position: relative;
    color: white;
    margin-bottom: 60px;
}

.hero-background {
    position: relative;
    min-height: 500px;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-default-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-placeholder {
    text-align: center;
    padding: 40px;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-placeholder h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-placeholder p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 0 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb .separator {
    opacity: 0.6;
}

.breadcrumb .current {
    opacity: 0.9;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    line-height: 1.1;
}

.hero-meta-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.15);
    padding: 15px 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s, background 0.3s;
}

.meta-item:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.2);
}

.meta-icon {
    font-size: 1.5rem;
}

.meta-text {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 4px;
}

.meta-value {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Layout Principal */
.ubicacion-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    margin-bottom: 80px;
}

/* Secciones de Contenido */
.content-section, .info-section, .services-section {
    margin-bottom: 60px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-subtitle {
    color: #718096;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.editor-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    font-size: 1.1rem;
    border: 1px solid #f1f5f9;
}

.content-placeholder {
    color: #718096;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Grid de Información */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.info-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f8fafc;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.card-text {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* Grid de Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f8fafc;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.service-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Sidebar */
.ubicacion-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 30px;
}

.cta-card, .sidebar-card, .notice-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.cta-card.primary-cta {
    border: 2px solid #e53e3e;
}

.cta-header {
    padding: 30px 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
}

.cta-header h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.cta-header p {
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.5;
}

.cta-phones {
    padding: 25px 30px;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.phone-btn.primary {
    background: linear-gradient(135deg, #fed7d7, #feb2b2);
    color: #c53030;
    border-color: #feb2b2;
}

.phone-btn.secondary {
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    color: #234e52;
    border-color: #81e6d9;
}

.phone-btn.tertiary {
    background: linear-gradient(135deg, #fefcbf, #faf089);
    color: #744210;
    border-color: #faf089;
}

.phone-btn:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.phone-icon {
    font-size: 1.4rem;
}

.phone-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.phone-number {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.phone-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.cta-features {
    padding: 20px 30px 30px;
    border-top: 1px solid #e2e8f0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #4a5568;
}

.feature-icon {
    font-size: 1.1rem;
}

.sidebar-card {
    padding: 30px;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.related-locations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-item {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s;
}

.location-item:last-child {
    border-bottom: none;
}

.location-item:hover {
    background: #f8fafc;
    border-radius: 8px;
    margin: 0 -10px;
    padding: 14px 10px;
}

.location-item a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    display: block;
}

.location-item a:hover {
    color: #e53e3e;
}

.no-locations {
    color: #718096;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.notice-card {
    padding: 25px;
    background: linear-gradient(135deg, #fffaf0, #feebc8);
    border: 2px solid #fbd38d;
    border-radius: 16px;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.notice-icon {
    font-size: 1.4rem;
}

.notice-header h4 {
    color: #dd6b20;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.notice-text {
    color: #744210;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Navegación */
.ubicacion-navigation {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    padding: 50px 0;
    border-top: 1px solid #e2e8f0;
}

.nav-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 25px;
    align-items: center;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #4a5568;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.nav-btn:hover {
    border-color: #e53e3e;
    color: #e53e3e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.nav-btn.all {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    border-color: #e53e3e;
    font-weight: 600;
}

.nav-btn.all:hover {
    background: linear-gradient(135deg, #c53030, #a53030);
    transform: translateY(-3px);
}

.nav-btn.prev {
    justify-self: start;
}

.nav-btn.next {
    justify-self: end;
    flex-direction: row-reverse;
}

.nav-content {
    display: flex;
    flex-direction: column;
}

.nav-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 4px;
}

.nav-title {
    font-size: 1rem;
    font-weight: 600;
}

.nav-arrow, .nav-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .ubicacion-layout {
        grid-template-columns: 1fr 350px;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .ubicacion-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ubicacion-sidebar {
        position: static;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .nav-btn.prev, .nav-btn.next {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-meta-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .editor-content {
        padding: 25px 20px;
    }
    
    .hero-background, .hero-img, .hero-default-bg {
        height: 400px;
    }
    
    .hero-content {
        padding: 40px 0 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .meta-item {
        padding: 12px 20px;
    }
    
    .cta-phones {
        padding: 20px 15px;
    }
    
    .phone-btn {
        padding: 15px;
    }
}