/* ===============================================
   SERVICIOS.CSS - Estilos específicos para servicios.html
   =============================================== */

/* Hero Servicios */
.hero-servicios {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    overflow: hidden;
    position: relative;
}

.hero-servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-servicios .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-servicios .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-servicios .hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-servicios .hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-servicios .hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-servicios .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-servicios .feature-item i {
    font-size: 1.1rem;
    width: 20px;
}

.services-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.service-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Hero Products Navigation */
.hero-products {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.products-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--white);
}

.hero-products-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-product-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.product-name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.product-desc {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.product-arrow {
    font-size: 0.9rem;
    opacity: 0.7;
}

.hero-cta {
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
    background: var(--white);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.demo-text p {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.demo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 16px;
}

/* Servicios Completos - Nuevo Diseño */
.servicios-completos {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fafe 0%, #f1f5f9 100%);
    position: relative;
}

.servicios-completos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1.5" fill="rgba(224,27,36,0.05)"/></svg>') repeat;
    opacity: 0.6;
}

.servicios-header-section {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.servicios-header-section .section-subtitle {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Grid de Servicios Modernos */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

/* Tarjetas de Servicios Modernas - Minimal Static Style */
.service-card-modern {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    opacity: 1;
    transform: scale(1);
}

/* Contenedor de Imagen */
.service-image-container {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #fafbfc, #f1f3f4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    overflow: hidden;
}

.service-main-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 3;
}

/* Overlay con Icono */
.service-overlay {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 4;
}

.service-icon-modern {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    backdrop-filter: blur(10px);
}

/* Contenido de la Tarjeta */
.service-content-modern {
    padding: 2.5rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    line-height: 1.3;
    font-family: var(--font-titles);
}

.service-description {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Feature Tags */
.service-features-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(224, 27, 36, 0.08);
    color: var(--primary-color);
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(224, 27, 36, 0.15);
}

.feature-tag i {
    font-size: 0.75rem;
}

/* Acciones de Servicio */
.service-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-service-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #C41E3A);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
}

.btn-service-primary i {
    font-size: 0.8rem;
}

.btn-service-quote {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(224, 27, 36, 0.1);
    color: var(--primary-color);
    border: 2px solid rgba(224, 27, 36, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

/* CTA Servicios */
.cta-servicios {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--secondary-color), #2a2a2a);
    color: var(--white);
    text-align: center;
}

.cta-servicios h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-servicios p {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===============================================
   SERVICE CARD ELEMENTS - MISSING STYLES
   =============================================== */

/* Service card container */
.servicio-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    display: block;
    position: relative;
}

/* Service image container */
.servicio-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
}

/* Service image */
.service-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* Service content container */
.servicio-content {
    padding: 0;
}

/* Service title */
.servicio-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Service description text */
.servicio-content p {
    color: var(--accent-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0 1.5rem 0;
    opacity: 0.9;
    text-align: left;
    font-weight: 400;
}

/* Service actions vertical */
.service-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

/* Primary button vertical */
.btn-primary-vertical {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), #C41E3A);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: none;
}

.btn-primary-vertical span {
    flex: 1;
    text-align: left;
}

.btn-primary-vertical i {
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Quote button vertical */
.btn-quote-vertical {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(225, 29, 72, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(225, 29, 72, 0.2);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: none;
}

.btn-quote-vertical i {
    font-size: 0.8rem;
}

/* Responsive Design */

/* Tablets y pantallas medianas (1080px y menores) */
@media (max-width: 1080px) {
    .hero-servicios {
        padding: 7rem 0 5rem;
    }
    
    .hero-servicios .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-servicios .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-servicios .hero-description {
        font-size: 1.15rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-servicios .hero-features {
        justify-content: center;
        align-items: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-products {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Tablets (1024px y menores) */
@media (max-width: 1024px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .demo-image {
        max-width: 420px;
    }
    
    .servicios-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 2rem;
    }
    
    .service-image-container {
        height: 240px;
        padding: 2rem;
    }
    
    .service-main-image {
        max-width: 170px;
    }
    
    .service-content-modern {
        padding: 2rem;
    }
}

/* Mejoras adicionales para tablets y orientación landscape */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-servicios {
        padding: 6rem 0 4rem;
    }
    
    .hero-servicios .hero-content {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 2.5rem;
        align-items: start;
    }
    
    .hero-servicios .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-servicios .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-products {
        padding: 1.5rem;
        max-width: none;
    }
    
    .hero-products-grid {
        gap: 0.8rem;
    }
    
    .hero-product-btn {
        padding: 0.75rem 1rem;
    }
}

/* Tablet portrait específico */
@media (max-width: 768px) and (orientation: portrait) {
    .hero-servicios .hero-content {
        text-align: center;
    }
    
    .hero-servicios .hero-features {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .hero-servicios .feature-item {
        justify-content: center;
    }
}

/* Optimización para iPhone en landscape */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 430px) {
    .hero-servicios {
        padding: 80px 0 40px;
    }
    
    .hero-servicios .hero-content {
        grid-template-columns: 1fr 0.8fr;
        gap: 2rem;
        text-align: left;
    }
    
    .hero-servicios .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-servicios .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-servicios .hero-features {
        gap: 0.5rem;
        text-align: left;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .hero-servicios .feature-item {
        justify-content: flex-start;
        font-size: 0.85rem;
    }
    
    .hero-products {
        padding: 1.25rem;
    }
    
    .hero-products-grid {
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    
    .hero-product-btn {
        padding: 0.6rem 0.8rem;
        gap: 0.6rem;
    }
    
    .product-icon {
        width: 32px;
        height: 32px;
    }
    
    .product-name {
        font-size: 0.8rem;
    }
    
    .product-desc {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .hero-servicios {
        padding: 120px 0 80px;
    }
    
    .hero-servicios .hero-content {
        gap: 2.5rem;
    }
    
    .hero-servicios .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-servicios .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.25rem;
    }
    
    .hero-servicios .hero-description {
        font-size: 1.05rem;
        margin-bottom: 2rem;
        max-width: 500px;
    }
    
    .hero-servicios .hero-features {
        gap: 0.75rem;
        max-width: 350px;
    }
    
    .hero-servicios .feature-item {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .hero-products {
        padding: 1.5rem;
        max-width: 400px;
    }
    
    .products-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-product-btn {
        padding: 0.85rem 1rem;
        gap: 0.75rem;
    }
    
    .product-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .product-name {
        font-size: 0.9rem;
    }
    
    .product-desc {
        font-size: 0.75rem;
    }
    
    .promo-badge-subtle {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .promo-indicator-unified {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .demo-text h2 {
        font-size: 2rem;
    }
    
    .demo-text p {
        font-size: 1.1rem;
    }
    
    .demo-image {
        max-width: 380px;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .servicio-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .servicio-visual {
        justify-content: center;
    }
    
    .servicio-image {
        height: 160px;
        margin-bottom: 12px;
    }
    
    .service-img {
        max-width: 140px;
    }
    
    .servicio-body {
        padding: 1.5rem;
    }
    
    .cta-servicios h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-products {
        padding: 1.5rem;
    }
    
    .products-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-product-btn {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .product-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .product-name {
        font-size: 0.85rem;
    }
    
    .product-desc {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-servicios {
        padding: 100px 0 60px;
    }
    
    .hero-servicios .hero-content {
        gap: 2rem;
    }
    
    .hero-servicios .hero-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
        margin-bottom: 1rem;
    }
    
    .hero-servicios .hero-title {
        font-size: 1.8rem;
        line-height: 1.35;
        margin-bottom: 1rem;
    }
    
    .hero-servicios .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .hero-servicios .hero-features {
        gap: 0.6rem;
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
    }
    
    .hero-servicios .feature-item {
        justify-content: flex-start;
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    
    .hero-products {
        padding: 1.25rem;
        border-radius: 1rem;
        max-width: 100%;
    }
    
    .products-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-products-grid {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-product-btn {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.75rem;
        gap: 0.5rem;
        border-radius: 0.5rem;
    }
    
    .product-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .product-info {
        text-align: center;
        gap: 0.1rem;
    }
    
    .product-name {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .product_desc {
        font-size: 0.7rem;
    }
    
    .product-arrow {
        display: none;
    }
    
    .btn-outline {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 0.4rem;
    }
    
    .promo-badge-subtle {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }
    
    .promo-indicator-unified {
        margin-bottom: 1.5rem;
    }
    
    .promo-indicator-unified .price-part {
        font-size: 0.9rem;
    }
    
    .promo-indicator-unified .offer-part {
        font-size: 0.8rem;
    }
    
    .servicios-header-section {
        margin-bottom: 3rem;
    }
    
    .service-image-container {
        height: 180px;
        padding: 1rem;
    }
    
    .service-main-image {
        max-width: 120px;
    }
    
    .service-content-modern {
        padding: 1.25rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .service-icon-modern {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .btn-service-primary {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .servicio-image {
        height: 140px;
        margin-bottom: 10px;
    }
    
    .service-img {
        max-width: 120px;
    }
    
    .servicio-content h3 {
        font-size: 1.2rem;
    }
    
    .servicio-content p {
        font-size: 0.9rem;
    }
    
    .btn-primary-vertical,
    .btn-quote-vertical {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
}

/* Móvil muy pequeño (320px y menores) */
@media (max-width: 320px) {
    .hero-servicios {
        padding: 90px 0 50px;
    }
    
    .hero-servicios .hero-content {
        gap: 1.5rem;
    }
    
    .hero-servicios .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-servicios .hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .hero-servicios .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-servicios .hero-features {
        gap: 0.5rem;
    }
    
    .hero-servicios .feature-item {
        font-size: 0.85rem;
        gap: 0.4rem;
    }
    
    .hero-servicios .feature-item i {
        font-size: 1rem;
        width: 16px;
    }
    
    .hero-products {
        padding: 1rem 0.75rem;
        border-radius: 0.75rem;
    }
    
    .products-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-products-grid {
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-product-btn {
        padding: 0.8rem 0.6rem;
        gap: 0.4rem;
    }
    
    .product-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        border-radius: 6px;
    }
    
    .product-name {
        font-size: 0.8rem;
        line-height: 1.25;
    }
    
    .product-desc {
        font-size: 0.65rem;
    }
    
    .btn-outline {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }
    
    .promo-badge-subtle span {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .promo-indicator-unified {
        margin-bottom: 1.25rem;
    }
    
    .promo-indicator-unified .price-part {
        font-size: 0.85rem;
    }
    
    .promo-indicator-unified .offer-part {
        font-size: 0.75rem;
    }
}
