/* CSS PLANTILLA PARA PÁGINAS DE SERVICIOS ESPECÍFICOS */
/* Este CSS se usa en TODAS las 24 páginas de servicios */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* Header de Servicio */
.service-header {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    color: #ffffff;
    padding: 3rem 2rem 2.5rem;
    text-align: center;
}

.service-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.service-intro {
    font-size: 1.1rem;
    max-width: 850px;
    margin: 0 auto 2rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.header-cta-primary {
    display: inline-block;
    background: #4a90e2;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    margin: 0.5rem;
}

.header-cta-primary:hover {
    background: #357abd;
}

/* Breadcrumbs */
.breadcrumbs {
    background: #f8f9fa;
    padding: 1rem 2rem;
}

.breadcrumbs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Contenedor Principal */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Sección de Contenido Detallado */
.content-detail {
    margin-bottom: 4rem;
}

.content-detail h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #4a90e2;
    padding-bottom: 0.5rem;
}

.content-detail p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Grid de Características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #001f3f;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #555;
    line-height: 1.7;
}

/* Lista de Beneficios */
.benefits-list {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.benefits-list h3 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-list ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.benefits-list li {
    padding: 1rem 1rem 1rem 3rem;
    margin-bottom: 1rem;
    background: #ffffff;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: #4a90e2;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Imagen de Servicio */
.service-image {
    margin: 3rem 0;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Proceso/Pasos */
.process-section {
    background: #ffffff;
    padding: 3rem 0;
}

.process-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #4a90e2;
    color: #ffffff;
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-item h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: #555;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
    margin: 3rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 3rem;
}

.faq-item {
    background: #ffffff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
}

/* Sección de Áreas de Servicio */
.areas-section {
    padding: 4rem 2rem;
    background: #ffffff;
}

.areas-container {
    max-width: 1200px;
    margin: 0 auto;
}

.areas-title {
    text-align: center;
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 1rem;
}

.areas-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.area-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #4a90e2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-weight: 500;
    color: #333;
    transition: all 0.3s;
}

.area-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* Sección de Mapa */
.map-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-title {
    text-align: center;
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 1rem;
}

.map-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #555;
}

.map-wrapper {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-final-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-final h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #4a90e2;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.btn-cta-primary:hover {
    background: #357abd;
}

.btn-cta-secondary {
    background: transparent;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: 2px solid #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-cta-secondary:hover {
    background: #ffffff;
    color: #001f3f;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 16px rgba(0,0,0,0.6);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Servicios Relacionados */
.related-services {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.related-services h2 {
    text-align: center;
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.related-card h3 {
    font-size: 1.3rem;
    color: #001f3f;
    margin-bottom: 1rem;
}

.related-card p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.related-card a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.related-card a:hover {
    color: #357abd;
}

/* Responsive */
@media (max-width: 768px) {
    .service-header h1 {
        font-size: 2rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .features-grid,
    .process-steps,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}