/* ========================================
   SERVICIOS PAGE - ESTILOS PREMIUM NODO
   Complementa style.css (no lo reemplaza)
   ======================================== */

/* ========================================
   HEADER OVERRIDE FOR INNER PAGES
   ======================================== */
#home header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

#home header nav.headermenu ul li a {
    color: #000;
}

#home header .contact-info a {
    color: #ff0000;
}

#home header .navicons a.navshow {
    color: #000;
}

#home header .site-branding a.logo img.logo-1 {
    display: none;
}

#home header .site-branding a.logo img.logo-2 {
    visibility: visible;
}

/* ========================================
   HERO SECTION
   ======================================== */
.servicios-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    background-image: 
        linear-gradient(135deg, rgba(255,0,0,0.95) 0%, rgba(204,0,0,0.95) 100%),
        url('images/banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    margin-top: 120px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    font-family: 'Poppins', sans-serif;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Poppins', sans-serif;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 400;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
}

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

.hero-breadcrumb a:hover {
    text-decoration: underline;
}

.hero-breadcrumb span:last-child {
    font-weight: 600;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
}

/* ========================================
   SECTION INTRO (Reusable)
   ======================================== */
.section-intro {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255,0,0,0.08);
    color: #ff0000;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.section-intro h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.section-intro p {
    font-size: 1.15rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   SERVICIOS DESTACADOS
   ======================================== */
.servicios-destacados {
    padding: 120px 0;
    background: #fff;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .servicios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.servicio-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.servicio-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    transform: translateY(-8px);
}

.servicio-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.servicio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-card:hover .servicio-image img {
    transform: scale(1.1);
}

.servicio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,0,0,0.9) 0%, rgba(204,0,0,0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.servicio-icon {
    font-size: 60px;
    color: #fff;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-icon {
    transform: scale(1);
}

.servicio-content {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.servicio-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255,0,0,0.08);
    color: #ff0000;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    align-self: flex-start;
    font-family: 'Poppins', sans-serif;
}

.servicio-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.servicio-content > p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

.servicio-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.servicio-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

.servicio-features li i {
    color: #ff0000;
    font-size: 14px;
    flex-shrink: 0;
}

.servicio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    gap: 12px;
    align-self: flex-start;
    font-family: 'Poppins', sans-serif;
}

.servicio-btn i {
    font-size: 14px;
    transition: all 0.3s ease;
}

.servicio-btn:hover {
    background: #cc0000;
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(255,0,0,0.3);
}

.servicio-btn:hover i {
    transform: translateX(4px);
}

.servicio-btn-urgent {
    background: linear-gradient(135deg, #ff4444 0%, #ff0000 100%);
}

.servicio-btn-urgent:hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

/* ========================================
   PROCESO DE TRATAMIENTO
   ======================================== */
.proceso-tratamiento {
    padding: 120px 0;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.proceso-tratamiento::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,0,0,0.03) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.proceso-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.proceso-step {
    position: relative;
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.proceso-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255,0,0,0.3);
    font-family: 'Poppins', sans-serif;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,0,0,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.step-icon i {
    font-size: 32px;
    color: #ff0000;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.step-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   TECNOLOGÍA SECTION
   ======================================== */
.tecnologia-section {
    padding: 120px 0;
    background: #fff;
}

.tecnologia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tecnologia-text h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.tecnologia-text > p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.tech-feature:hover {
    background: rgba(255,0,0,0.05);
    transform: translateX(10px);
}

.tech-feature i {
    font-size: 32px;
    color: #ff0000;
    flex-shrink: 0;
}

.tech-feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.tech-feature p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

.tecnologia-image {
    position: relative;
}

.tecnologia-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}

.tech-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 32px rgba(255,0,0,0.4);
    animation: float 3s ease-in-out infinite;
}

.tech-badge span {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.tech-badge p {
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.3;
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
}

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

/* ========================================
   FINANCIACIÓN
   ======================================== */
.financiacion-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.financiacion-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.financiacion-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.financiacion-text > p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}

.financiacion-benefits {
    list-style: none;
    display: grid;
    gap: 15px;
}

.financiacion-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: #1a1a1a;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.financiacion-benefits i {
    color: #ff0000;
    font-size: 20px;
}

.financiacion-logos {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.financiacion-logos img {
    max-width: 180px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.financiacion-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ========================================
   CTA CONSULTA
   ======================================== */
.cta-consulta {
    padding: 100px 0;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    position: relative;
    overflow: hidden;
}

.cta-consulta::before,
.cta-consulta::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-consulta::before {
    top: -200px;
    left: -200px;
}

.cta-consulta::after {
    bottom: -200px;
    right: -200px;
}

.cta-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Poppins', sans-serif;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: #fff;
    color: #ff0000;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255,0,0,0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .tecnologia-content,
    .financiacion-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .tech-badge {
        width: 120px;
        height: 120px;
    }

    .tech-badge span {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .servicios-hero {
        min-height: 55vh;
        margin-top: 80px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .proceso-timeline {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .financiacion-content {
        padding: 40px 30px;
    }

    .financiacion-logos {
        flex-direction: row;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .servicios-destacados,
    .proceso-tratamiento,
    .tecnologia-section {
        padding: 80px 0;
    }

    .servicio-content {
        padding: 25px 20px;
    }

    .proceso-step {
        padding: 30px 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
html {
    scroll-behavior: smooth;
}

::selection {
    background: #ff0000;
    color: #fff;
}

::-moz-selection {
    background: #ff0000;
    color: #fff;
}
.servicios-hero {
    position: relative;
    min-height: 65vh;
