/* Service Page Styles - Minimalista y coherente con la home */

/* El header usa los estilos de header-transparent-fix.css (no sobrescribir aquí) */

/* Header del servicio - usa el mismo estilo que la home */
.service-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.service-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-header .logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.service-header .logo span {
    color: #8A2BE2;
}

.service-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.service-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.service-nav .nav-link:hover {
    color: #fff;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Hero Section del Servicio */
.service-hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
    margin-left: calc(-50vw + 50%);
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.85) 0%, rgba(138, 43, 226, 0.3) 100%);
    z-index: 2;
    margin-left: calc(-50vw + 50%);
}

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

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

.service-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 50px;
    color: #8A2BE2;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.service-hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.service-hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}
.service-hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.service-hero-description-seo {
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.8 !important;
}
.service-hero-description,
.service-hero-description-seo {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Sección de detalles */
.service-details {
    padding: 8rem 0;
    background: #0f0f0f;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-feature {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 1 !important;
    transform: none !important;
}

.service-feature:hover {
    background: rgba(138, 43, 226, 0.05);
    border-color: rgba(138, 43, 226, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    color: #8A2BE2;
}

.service-feature h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.service-feature p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* Por qué elegirnos */
.service-why {
    padding: 8rem 0;
    background: #0f0f0f;
}

.service-why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.service-why-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.service-why-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.service-benefits li svg {
    flex-shrink: 0;
    color: #8A2BE2;
}

.service-why-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-card {
    padding: 2.5rem;
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 20px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8A2BE2 0%, #FF1493 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* CTA Final */
.service-cta {
    padding: 8rem 0;
    background: #0f0f0f;
    text-align: center;
    margin-top: 0 !important;
}

.service-cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.service-cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Estilos para formulario de contacto en páginas de servicio - colores invertidos */
.form-group label {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    font-weight: 500 !important;
}

button.submit-btn.disabled,
button.submit-btn[disabled] {
    background: #ffffff !important;
    color: #333 !important;
    border: 1px solid #ffffff !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    transform: none !important;
}

button.submit-btn.disabled:hover,
button.submit-btn[disabled]:hover {
    background: #ffffff !important;
    color: #333 !important;
    transform: none !important;
    box-shadow: none !important;
}

.submit-btn:not(.disabled) {
    background: linear-gradient(135deg, #8A2BE2, #FF69B4) !important;
    color: #fff !important;
    border: 1px solid transparent !important;
}

/* Sección SEO Content - Diseño Moderno y Espacioso */
.service-seo-content {
    padding: 8rem 0;
    background: #000000;
    position: relative;
}

.service-seo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(138, 43, 226, 0.3), transparent);
}

.seo-content-grid {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header estilo About para la sección SEO */
.service-seo-content .about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-seo-content .section-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.service-seo-content .about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-seo-content .about-subtitle-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.seo-content-main h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-content-main h3 {
    font-size: 1.5rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-left: 0;
}

.seo-content-main h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-color);
    margin-left: -20px;
}

.seo-content-main h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 600;
}

.seo-content-main p {
    font-size: 1.05rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.seo-content-main .lead {
    font-size: 1.25rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.seo-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0 4rem 0;
}

.seo-list-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.seo-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.seo-list-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(138, 43, 226, 0.3);
    transform: translateY(-5px);
}

.seo-list-item:hover::before {
    opacity: 1;
}

.seo-list-item h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
}

.seo-list-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.seo-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-features {
    margin: 1.5rem 0;
}

.cta-feature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-icon {
    color: #FF69B4;
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.btn-cta-sidebar {
    display: inline-block;
    background: linear-gradient(135deg, #8A2BE2, #FF69B4);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-cta-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.seo-highlight-box ul {
    list-style: none;
    padding: 0;
}

.seo-highlight-box li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.seo-highlight-box li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #FF69B4;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FF69B4;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.seo-bottom-content {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-bottom-content h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.seo-bottom-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive para sección SEO */
@media (max-width: 768px) {
    .service-seo-content {
        padding: 5rem 0;
    }
    
    .service-seo-content::before {
        display: none;
    }
    
    .seo-list-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-seo-content .about-header {
        text-align: center;
        gap: 8px !important;
    }
    
    .category-list-section .about-header {
        gap: 8px !important;
    }
    
    .service-seo-content .about-header .section-label {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 4px !important;
    }
    
    .category-list-section .about-header .section-label {
        margin-bottom: 4px !important;
    }
    
    .service-seo-content .about-title {
        font-size: 2rem;
        margin-top: 0 !important;
    }
    
    .service-seo-content .about-subtitle-text {
        font-size: 1rem;
    }
    
    .seo-content-main h2 {
        font-size: 2rem;
    }
    
    .seo-content-main h3 {
        font-size: 1.3rem;
        margin-top: 3rem;
    }
    
    .seo-content-main h3::before {
        display: none;
    }
    
    .seo-content-main .lead {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .seo-list-item {
        padding: 2rem;
    }
}

/* Category List Section - Inspirado en el componente React */
.category-list-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
}

/* Hero: label encima del título, igual al estilo replicado */
.service-hero .section-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    display: inline-block;
}

.service-hero .service-hero-title {
    margin-top: 0.25rem;
}

/* Header estilo About para la sección Qué Incluye */
.category-list-section .about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.category-list-section .section-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color); /* usa el mismo color que el label global */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-align: center;
    display: block;
    width: 100%;
}

.category-list-section .about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Break del gradiente solo en desktop */
.category-list-section .about-title .desktop-break {
    display: block;
}

.category-list-section .about-subtitle-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.categories-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.categories-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.left-column {
    gap: 1rem;
}

.right-column {
    gap: 1.5rem;
}

.category-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 96px;
    overflow: hidden;
}

.category-item:hover {
    height: 128px;
}

/* Elementos grandes en la columna derecha */
.large-item {
    height: 140px;
}

.large-item:hover {
    height: 180px;
}

.large-item .category-name {
    font-size: 1.4rem;
}

.large-item .category-description {
    font-size: 1rem;
    line-height: 1.6;
}

.category-content {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.category-item:hover .category-content {
    background: rgba(138, 43, 226, 0.05);
    border-color: #8A2BE2;
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.2);
}

.category-text {
    flex: 1;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.category-item:hover .category-name {
    color: #8A2BE2;
}

.category-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.category-item:hover .category-description {
    color: rgba(255, 255, 255, 0.9);
}

.category-icon {
    color: #8A2BE2;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    opacity: 1;
    transform: translateX(0);
}

.corner-brackets {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item:hover .corner-brackets {
    opacity: 1;
}

.corner-tl {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
}

.corner-tl::before,
.corner-tl::after {
    content: '';
    position: absolute;
    background: #8A2BE2;
}

.corner-tl::before {
    top: 0;
    left: 0;
    width: 16px;
    height: 2px;
}

.corner-tl::after {
    top: 0;
    left: 0;
    width: 2px;
    height: 16px;
}

.corner-br {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
}

.corner-br::before,
.corner-br::after {
    content: '';
    position: absolute;
    background: #8A2BE2;
}

.corner-br::before {
    bottom: 0;
    right: 0;
    width: 16px;
    height: 2px;
}

.corner-br::after {
    bottom: 0;
    right: 0;
    width: 2px;
    height: 16px;
}

/* Responsive para Category List */
@media (max-width: 768px) {
    .categories-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .categories-column {
        gap: 0.75rem;
    }
    
    .category-list-section .section-label {
        text-align: center;
    }
    
    .category-list-section .about-title {
        font-size: 2rem;
        margin-top: 0 !important;
    }
    
    /* En mobile, el span es inline (sin break) */
    .category-list-section .about-title .desktop-break {
        display: inline;
    }
    
    .category-list-section .about-subtitle-text {
        font-size: 1rem;
    }
    
    .category-content {
        padding: 1rem 1.5rem;
    }
    
    .category-name {
        font-size: 1.1rem;
    }
    
    .category-description {
        font-size: 0.85rem;
    }
    
    .category-item,
    .large-item {
        height: 120px;
    }
    
    .category-item:hover,
    .large-item:hover {
        height: 150px;
    }
    
    /* En móvil, todos los elementos tienen el mismo tamaño */
    .large-item .category-name {
        font-size: 1.1rem;
    }
    
    .large-item .category-description {
        font-size: 0.85rem;
    }
}

/* Footer - fondo negro como en la home */
.footer {
    background-color: #000000 !important;
}

/* Footer - usa los estilos de style.css */

/* Responsive */
@media (max-width: 768px) {
    /* Formulario de contacto en mobile - campos más anchos */
    .service-cta .contact-right {
        padding: 5px !important;
        width: 100% !important;
    }
    
    .service-cta .contact-form .form-row {
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .service-cta .contact-form .form-group {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
    }
    
    .service-cta .contact-form input,
    .service-cta .contact-form select,
    .service-cta .contact-form textarea {
        width: 100% !important;
        padding: 15px 10px 12px 10px !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
    }
    
    .service-cta .submit-btn,
    .service-cta button[type="submit"] {
        padding: 8px !important;
    }
    
    .service-hero-title {
        font-size: 2.5rem;
    }
    
    .service-hero-subtitle {
        font-size: 1.3rem;
    }
    
    .service-hero-description {
        font-size: 1rem;
    }
    
    .service-hero-cta {
        flex-direction: column;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-why-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-nav {
        gap: 1rem;
    }
    
    .service-nav .nav-link {
        font-size: 0.85rem;
    }
}
