/* ============================================
   MEJORAS VISUALES GENERALES
   ============================================ */

/* ============================================
   HERO MEJORADO
   ============================================ */

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* Efecto de partículas sutiles en hero */
.hero .container::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero .container::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 15%;
    left: 8%;
    animation: float 8s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-20px) translateX(10px); }
}

/* ============================================
   CARDS MEJORADAS
   ============================================ */

.service-card, .city-card {
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.service-card:hover, .city-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

/* ============================================
   FORMULARIOS MEJORADOS
   ============================================ */

.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--gray-800);
    font-size: var(--text-sm);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: inherit;
    transition: all var(--transition-base);
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(0, 16, 239, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: var(--space-1);
    color: var(--gray-600);
    font-size: var(--text-xs);
}

/* ============================================
   CONTACT INFO MEJORADA
   ============================================ */

.contact-info {
    background: var(--gray-50);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    background: #fff;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-500);
}

.contact-item strong {
    color: var(--gray-800);
    font-size: var(--text-base);
}

.contact-item p {
    margin: var(--space-1) 0 0;
    color: var(--gray-700);
}

.contact-item a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* ============================================
   MAPA INTERACTIVO
   ============================================ */
.city-map,
.service-map {
    padding: var(--section-padding);
    background: var(--gray-50);
    border-top: none !important; /* Quitar línea superior gris */
    border-bottom: 1px solid var(--gray-200);
    margin-top: var(--space-8);
    margin-bottom: 8rem !important; /* Más espacio debajo del mapa */
    padding-bottom: 6rem !important; /* Padding adicional */
}

.service-map h2 {
    text-align: center;
    margin-bottom: var(--space-4);
    color: var(--gray-900);
}

.service-map .map-description {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: var(--space-6);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--text-base);
    line-height: 1.6;
}

.interactive-map {
    width: 100% !important;
    height: 450px !important;
    min-height: 450px !important;
    border-radius: var(--radius-lg);
    overflow: hidden !important;
    box-shadow: var(--shadow-lg);
    margin-top: 0 !important; /* Sin margen superior */
    margin-bottom: var(--space-6) !important; /* Espacio debajo del mapa */
    background-color: var(--gray-200) !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    visibility: visible !important;
    margin-left: auto;
    margin-right: auto;
}

/* Asegurar que el contenedor de Leaflet tenga las dimensiones correctas */
.leaflet-container {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1;
}

.leaflet-map-pane {
    z-index: 1;
}

.leaflet-tile-pane {
    z-index: 1;
}

.leaflet-overlay-pane {
    z-index: 2;
}

.leaflet-shadow-pane {
    z-index: 3;
}

.leaflet-marker-pane {
    z-index: 4;
}

.leaflet-tooltip-pane {
    z-index: 5;
}

.leaflet-popup-pane {
    z-index: 6;
}

@media (max-width: 768px) {
    .interactive-map {
        height: 350px;
    }
}

/* ============================================
   CIUDADES CERCANAS
   ============================================ */
.nearby-cities {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.nearby-cities h2 {
    margin-bottom: var(--space-6);
    color: var(--gray-800);
}

.nearby-cities-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 municipios en una línea */
    gap: var(--space-4);
}

@media (max-width: 1200px) {
    .nearby-cities-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablets */
    }
}

@media (max-width: 768px) {
    .nearby-cities-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móvil */
    }
}

.nearby-city-card {
    background: #fff;
    padding: var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    text-decoration: none;
    display: block;
    color: var(--gray-800);
}

.nearby-city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.nearby-city-card h3 {
    font-size: 0.95rem !important; /* Tamaño más pequeño para nombres de pueblos */
    font-weight: 600 !important;
    margin-bottom: var(--space-1) !important;
}

.nearby-city-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.nearby-city-population {
    font-size: var(--text-xs);
    color: var(--gray-600);
    margin-top: var(--space-1);
}

/* ============================================
   WATER HARDNESS
   ============================================ */
.water-hardness {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
}

.water-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.water-info-card {
    background: #fff;
    padding: var(--space-5);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.water-icon {
    font-size: 3rem;
    margin-bottom: var(--space-3);
}

.water-value {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-600);
    margin-bottom: var(--space-2);
}

.water-description {
    color: var(--gray-700);
    font-size: var(--text-sm);
}

.water-cta {
    margin-top: var(--space-4);
    text-align: center;
}

/* ============================================
   PÁGINA DE CONTACTO ELEGANTE
   ============================================ */

.contact-hero-minimal {
    background: linear-gradient(135deg, #0010ef 0%, #000b9f 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.contact-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.contact-section {
    padding: 4rem 0;
    background: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar de contacto */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.contact-method:hover {
    border-color: var(--primary-500);
    background: #f8f9ff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 16, 239, 0.1);
}

.contact-method.whatsapp:hover {
    border-color: #25d366;
    background: #f0fff4;
}

.method-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: 0.5rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.contact-method:hover .method-icon {
    background: var(--primary-500);
    transform: scale(1.1);
}

.contact-method.whatsapp:hover .method-icon {
    background: #25d366;
}

.method-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.method-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.method-note {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.contact-hours {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
}

.hours-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.hours-content strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.hours-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Formulario elegante */
.contact-main {
    background: #fff;
}

.form-container {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2.5rem;
}

.form-header-minimal {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.form-header-minimal h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.form-header-minimal p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.contact-form-elegant {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row-elegant {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: 0.01em;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
    color: var(--gray-900);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--gray-400);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(0, 16, 239, 0.08);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
    line-height: 1.6;
}

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.checkbox-field {
    margin-top: 0.5rem;
}

.checkbox-elegant {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0;
}

.checkbox-elegant input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
    background: #fff;
}

.checkbox-elegant input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-500);
    border-color: var(--primary-500);
}

.checkbox-elegant input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
}

.checkbox-text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--primary-600);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.checkbox-text a:hover {
    border-bottom-color: var(--primary-600);
}

.btn-elegant {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-500);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-elegant:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 16, 239, 0.3);
}

.btn-elegant:active {
    transform: translateY(0);
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.btn-elegant:hover .btn-arrow {
    transform: translateX(4px);
}

.alert-minimal {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    animation: slideInDown 0.3s ease-out;
}

.alert-success-minimal {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.alert-error-minimal {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.alert-icon {
    font-weight: 700;
    font-size: 1rem;
}

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

@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-sidebar {
        order: 2;
    }
    
    .contact-main {
        order: 1;
    }
    
    .form-row-elegant {
        grid-template-columns: 1fr;
    }
    
    .contact-hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-minimal {
        padding: 3rem 0 2rem;
    }
    
    .contact-hero-content h1 {
        font-size: 1.75rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-header-minimal h2 {
        font-size: 1.5rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
}

/* ============================================
   BREADCRUMBS MEJORADOS
   ============================================ */

.breadcrumbs {
    width: 100vw;
    max-width: 100%;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 10;
}

.breadcrumbs-inner {
    width: 100%;
    padding: 1rem 0;
}

.breadcrumbs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.breadcrumb-item a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    position: relative;
}

.breadcrumb-item a:hover {
    color: var(--primary-600);
    background: rgba(0, 16, 239, 0.05);
}

.breadcrumb-item a:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

.breadcrumb-current {
    color: var(--gray-900);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    background: rgba(0, 16, 239, 0.08);
    border: 1px solid rgba(0, 16, 239, 0.15);
}

.breadcrumb-separator {
    color: var(--gray-400);
    font-size: 1.125rem;
    font-weight: 300;
    margin: 0 0.25rem;
    user-select: none;
    display: inline-flex;
    align-items: center;
    height: 1rem;
}

/* Home icon en primer breadcrumb */
.breadcrumb-item:first-child a::before {
    content: '🏠';
    margin-right: 0.375rem;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumbs-inner {
        padding: 0.75rem 0;
    }
    
    .breadcrumb-list {
        font-size: 0.8125rem;
        gap: 0.375rem;
    }
    
    .breadcrumb-item a,
    .breadcrumb-current {
        padding: 0.25rem 0.375rem;
    }
    
    .breadcrumb-separator {
        font-size: 1rem;
        margin: 0 0.125rem;
    }
    
    /* Ocultar breadcrumbs intermedios en móvil si hay muchos */
    .breadcrumb-item:nth-child(n+4):not(:last-child) {
        display: none;
    }
    
    .breadcrumb-item:nth-child(n+4):not(:last-child)::before {
        content: '...';
        color: var(--gray-400);
        margin-right: 0.25rem;
    }
}

/* ============================================
   PÁGINAS DE SERVICIO MEJORADAS
   ============================================ */

/* Hero del servicio */
.service-hero {
    background: linear-gradient(135deg, #0010ef 0%, #000b9f 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.service-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-icon-large {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
}

.service-hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.service-hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature .feature-icon {
    font-size: 1.25rem;
}

.hero-feature .feature-text {
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Banner de precio */
.price-banner {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.price-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.price-info-main {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.price-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 600;
}

.price-value-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-600);
    letter-spacing: -0.02em;
}

.price-info-secondary {
    text-align: right;
}

.price-note {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.price-guarantee {
    font-size: 0.875rem;
    color: var(--primary-600);
    font-weight: 600;
}

/* Sección de características */
.service-features {
    padding: 4rem 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 16, 239, 0.15);
    border-color: var(--primary-300);
}

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

.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Contenido con sidebar */
.service-content {
    padding: 4rem 0;
    background: var(--gray-50);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: flex-start;
}

.content-main {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.content-main h2,
.content-main h3 {
    color: var(--gray-900);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-main ul,
.content-main ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-main li {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.quick-contact-form .form-group {
    margin-bottom: 1rem;
}

.quick-contact-form input,
.quick-contact-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1.5px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(0, 16, 239, 0.1);
}

.quick-contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.service-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9375rem;
}

.service-info-list li:last-child {
    border-bottom: none;
}

.service-info-list strong {
    color: var(--gray-900);
    font-weight: 600;
}

.service-info-list span {
    color: var(--gray-600);
    text-align: right;
}

/* Proceso de trabajo */
.service-process {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 1.5rem;
    width: 2px;
    height: calc(100% + 2rem);
    background: var(--gray-300);
    z-index: 0;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 16, 239, 0.3);
}

.step-content h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* FAQs mejoradas */
.faqs-enhanced {
    padding: 4rem 0;
    background: #fff;
}

.faqs-intro {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faqs-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-enhanced {
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-item-enhanced:hover {
    border-color: var(--primary-300);
    box-shadow: 0 4px 12px rgba(0, 16, 239, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-600);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item-enhanced.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 1000px;
}

.faq-answer > div {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--gray-700);
    line-height: 1.8;
    margin: 0;
}

/* Servicios relacionados */
.related-services {
    padding: 4rem 0;
    background: var(--gray-50);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* CTA final */
.service-cta-final {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0010ef 0%, #000b9f 100%);
    color: #fff;
    text-align: center;
}

.cta-final-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-final-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        order: -1;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-icon-large {
        font-size: 4rem;
    }
    
    .service-hero-features {
        gap: 1rem;
    }
    
    .price-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .price-info-secondary {
        text-align: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step::after {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-whatsapp,
    .cta-buttons .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 3rem 0 2rem;
    }
    
    .service-hero h1 {
        font-size: 1.75rem;
    }
    
    .service-icon-large {
        font-size: 3rem;
    }
    
    .hero-feature {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .content-main {
        padding: 1.5rem;
    }
    
    .cta-final-content h2 {
        font-size: 2rem;
    }
    
    .cta-final-content p {
        font-size: 1rem;
    }
}
