/* ========================================
   PÁGINAS DE SERVICIOS INDIVIDUALES - CORREGIDO
   Reemplazar el CSS anterior con este
   ======================================== */

/* Hero elegante y espacioso */
.ns-service-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, rgba(156, 130, 99, 0.02) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.ns-service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(156, 130, 99, 0.03) 0%, transparent 70%);
    transform: rotate(15deg);
    pointer-events: none;
}

.ns-service-hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.ns-service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ns-service-category {
    display: inline-block;
    background: rgba(156, 130, 99, 0.1);
    color: #9c8263;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(156, 130, 99, 0.2);
}

.ns-service-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ns-service-subtitle {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.35rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 3rem 0;
    font-weight: 400;
}

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

/* Contenido principal - Layout editorial */
.ns-service-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fafaf9 0%, #ffffff 50%, #f8f6f3 100%);
}

.ns-service-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ns-service-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* Columna principal - Contenido editorial */
.ns-service-main {
    max-width: 100%;
}

.ns-service-featured-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    position: relative;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.ns-service-featured-image img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.ns-service-featured-image:hover img {
    transform: scale(1.05);
}

.ns-service-featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(156, 130, 99, 0.95);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Texto editorial elegante */
.ns-service-text {
    margin-bottom: 3rem;
}

.ns-service-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

.ns-service-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 2.5rem 0 1.25rem 0;
    line-height: 1.4;
}

.ns-service-text p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0 0 1.5rem 0;
}

.ns-service-text p:last-child {
    margin-bottom: 0;
}

.ns-service-text strong {
    color: #9c8263;
    font-weight: 600;
}

.ns-service-text em {
    color: #2c2c2c;
    font-style: italic;
}

/* Quote elegante */
.ns-service-quote {
    background: linear-gradient(135deg, rgba(156, 130, 99, 0.05) 0%, rgba(156, 130, 99, 0.02) 100%);
    padding: 3rem;
    border-radius: 20px;
    border-left: 4px solid #9c8263;
    margin: 3rem 0;
    position: relative;
}

.ns-service-quote::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: rgba(156, 130, 99, 0.15);
    font-weight: 600;
    line-height: 1;
}

.ns-service-quote blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.6;
    color: #2c2c2c;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
}

.ns-service-quote cite {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #9c8263;
    font-style: normal;
}

/* Lista de características */
.ns-service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.ns-service-feature {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(156, 130, 99, 0.08);
    transition: all 0.3s ease;
}

.ns-service-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.ns-service-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.ns-service-feature h4 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 0.5rem 0;
}

.ns-service-feature p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* Sidebar elegante */
.ns-service-sidebar {
    position: sticky;
    top: 2rem;
}

.ns-service-info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(156, 130, 99, 0.08);
    margin-bottom: 2rem;
}

.ns-service-info-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

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

.ns-service-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(156, 130, 99, 0.1);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    color: #4a4a4a;
}

.ns-service-info-item:last-child {
    border-bottom: none;
}

.ns-service-info-icon {
    font-size: 1.1rem;
    min-width: 20px;
    color: #9c8263;
}

.ns-service-info-item strong {
    color: #2c2c2c;
    font-weight: 600;
}

/* Botones de acción elegantes */
.ns-service-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.ns-service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ns-service-btn--primary {
    background: linear-gradient(135deg, #9c8263, #b8956f);
    color: white;
    border-color: #9c8263;
}

.ns-service-btn--primary:hover {
    background: linear-gradient(135deg, #8a6f56, #9c8263);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(156, 130, 99, 0.3);
    color: white;
}

.ns-service-btn--secondary {
    background: transparent;
    color: #9c8263;
    border-color: #9c8263;
}

.ns-service-btn--secondary:hover {
    background: #9c8263;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(156, 130, 99, 0.2);
}

/* Servicios relacionados minimalista */
.ns-service-related {
    padding: 4rem 0;
    background: white;
}

.ns-service-related-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ns-service-related-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 1rem 0;
}

.ns-service-related-subtitle {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.ns-service-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.ns-service-related-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(156, 130, 99, 0.08);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
}

.ns-service-related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.ns-service-related-image {
    height: 180px;
    background: linear-gradient(135deg, #f5f3f0 0%, #eae6df 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ns-service-related-icon {
    font-size: 3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    color: #9c8263;
}

.ns-service-related-card:hover .ns-service-related-icon {
    transform: scale(1.1);
    opacity: 1;
}

.ns-service-related-content {
    padding: 1.5rem;
}

.ns-service-related-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 0.5rem 0;
}

.ns-service-related-desc {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* CTA final sofisticado */
.ns-service-final-cta {
    background: linear-gradient(135deg, rgba(156, 130, 99, 0.08) 0%, rgba(156, 130, 99, 0.04) 100%);
    padding: 4rem 0;
    text-align: center;
}

.ns-service-cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ns-service-cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 1rem 0;
}

.ns-service-cta-text {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 2.5rem 0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .ns-service-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ns-service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .ns-service-hero {
        padding: 4rem 0 3rem;
    }
    
    .ns-service-title {
        font-size: 2.75rem;
    }
    
    .ns-service-subtitle {
        font-size: 1.1rem;
    }
    
    .ns-service-hero-container,
    .ns-service-container {
        padding: 0 1rem;
    }
    
    .ns-service-content {
        padding: 3rem 0;
    }
    
    .ns-service-featured-image {
        height: 225px;
        margin-bottom: 2rem;
    }
    
    .ns-service-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ns-service-feature {
        padding: 1.5rem;
    }
    
    .ns-service-info-card {
        padding: 2rem 1.5rem;
    }
    
    .ns-service-related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ns-service-hero-cta,
    .ns-service-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ns-service-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .ns-service-title {
        font-size: 2.25rem;
    }
    
    .ns-service-quote {
        padding: 2rem 1.5rem;
    }
    
    .ns-service-cta-title {
        font-size: 1.875rem;
    }
}

/* Animaciones suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ns-service-feature,
.ns-service-related-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.ns-service-feature:nth-child(1) { animation-delay: 0.1s; }
.ns-service-feature:nth-child(2) { animation-delay: 0.2s; }
.ns-service-feature:nth-child(3) { animation-delay: 0.3s; }
.ns-service-feature:nth-child(4) { animation-delay: 0.4s; }

/* Estados de enfoque para accesibilidad */
.ns-service-btn:focus,
.ns-service-related-card:focus {
    outline: 2px solid #9c8263;
    outline-offset: 2px;
}

/* Reducir movimiento para usuarios sensibles */
@media (prefers-reduced-motion: reduce) {
    .ns-service-feature,
    .ns-service-related-card,
    .ns-service-btn {
        animation: none;
        transition: none;
    }
    
    .ns-service-related-card:hover,
    .ns-service-btn:hover {
        transform: none;
    }
}
