/* =====================================================
   IONIA - Páginas de Servicios CSS
   Estilos específicos para las landing de servicios
   ===================================================== */

/* Hero Servicio */
.hero-servicio {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-servicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/pattern-grid.svg') repeat;
    opacity: 0.03;
}

.hero-servicio .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.hero-servicio h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-servicio h1 .highlight {
    background: linear-gradient(90deg, #00a4ef, #0078d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Secciones genéricas */
.section {
    padding: 80px 0;
}

.bg-light {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(0, 164, 239, 0.1));
    color: #0078d4;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

/* Qué incluye Grid */
.incluye-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.incluye-card {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.incluye-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.12);
    border-color: rgba(0, 120, 212, 0.2);
}

.incluye-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0078d4, #00a4ef);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.incluye-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.incluye-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Timeline Metodología */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0078d4, #00a4ef);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0078d4, #00a4ef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 120, 212, 0.3);
}

.timeline-content {
    background: white;
    border-radius: 12px;
    padding: 25px 30px;
    flex: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.timeline-duration {
    display: inline-block;
    background: rgba(0, 120, 212, 0.1);
    color: #0078d4;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Módulos Grid */
.modulos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.modulo-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modulo-card:hover {
    border-color: #0078d4;
    transform: translateY(-3px);
}

.modulo-card i {
    font-size: 2.5rem;
    color: #0078d4;
    margin-bottom: 15px;
}

.modulo-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.modulo-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* Ventajas Lista */
.ventajas-lista {
    max-width: 800px;
    margin: 0 auto;
}

.ventaja-row {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ventaja-row:hover {
    transform: translateX(10px);
}

.ventaja-row:last-child {
    margin-bottom: 0;
}

.ventaja-row .ventaja-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0078d4, #00a4ef);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.ventaja-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.ventaja-content p {
    color: #666;
    line-height: 1.6;
}

/* Precios Grid */
.precios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.precio-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.precio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.precio-card.destacado {
    border: 3px solid #0078d4;
    transform: scale(1.05);
}

.precio-card.destacado:hover {
    transform: scale(1.05) translateY(-5px);
}

.precio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0078d4;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.precio-header {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
}

.precio-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.precio-header p {
    color: #666;
    font-size: 0.9rem;
}

.precio-body {
    padding: 30px;
}

.precio-amount {
    text-align: center;
    margin-bottom: 25px;
}

.precio-amount .desde {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.precio-amount .cantidad {
    font-size: 3rem;
    font-weight: 800;
    color: #0078d4;
}

.precio-features {
    list-style: none;
    margin-bottom: 25px;
}

.precio-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #333;
}

.precio-features li:last-child {
    border-bottom: none;
}

.precio-features li i {
    color: #107c10;
    margin-top: 3px;
}

.precios-nota {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 120, 212, 0.05);
    border-radius: 12px;
}

.precios-nota p {
    color: #666;
    font-size: 0.95rem;
}

.precios-nota i {
    color: #0078d4;
    margin-right: 8px;
}

.precios-nota a {
    color: #0078d4;
    text-decoration: none;
    font-weight: 600;
}

/* CTA Contacto */
.cta-contacto {
    background: linear-gradient(135deg, #0078d4 0%, #00a4ef 100%);
    color: white;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 25px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.cta-feature i {
    color: #90EE90;
}

.cta-contact-info {
    display: flex;
    gap: 30px;
}

.cta-contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.cta-contact-info a:hover {
    opacity: 1;
}

.cta-form {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cta-form .lead-form .form-group {
    margin-bottom: 15px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: #0078d4;
    background: white;
}

.cta-form .form-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 15px;
}

/* Footer y Floating */
.floating-ctas {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.whatsapp-float,
.phone-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-float {
    background: #25D366;
}

.phone-float {
    background: #0078d4;
}

.whatsapp-float:hover,
.phone-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-servicio .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-servicio h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .incluye-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modulos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .precios-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .precio-card.destacado {
        transform: none;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-servicio {
        padding: 120px 0 60px;
    }

    .hero-servicio h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .incluye-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-item {
        gap: 20px;
    }

    .modulos-grid {
        grid-template-columns: 1fr;
    }

    .ventaja-row {
        flex-direction: column;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .floating-ctas {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-servicio h1 {
        font-size: 1.7rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .precio-amount .cantidad {
        font-size: 2.5rem;
    }

    .cta-form {
        padding: 25px 20px;
    }
}
