/* styles-template.css - Estilos plantilla para páginas de categorías y servicios */

/* Reset y estilos base */
* {
    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: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #001f3f 0%, #003d6b 100%);
    padding: 60px 0 40px;
    color: #fff;
    margin-bottom: 60px;
}

.page-header .container {
    max-width: 900px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.page-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Float Button */
.cta-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.btn-float {
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    text-decoration: none;
}

.btn-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Main Content */
.main-content {
    padding: 0 0 60px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 3px solid #4CAF50;
}

.content-section h3 {
    font-size: 1.4rem;
    color: #001f3f;
    margin-bottom: 15px;
    margin-top: 30px;
    font-weight: 600;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.content-section ul {
    margin: 20px 0 20px 30px;
}

.content-section li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

/* Highlight Box */
.highlight-box {
    background: #e3f2fd;
    border-left: 4px solid #001f3f;
    padding: 25px;
    margin: 30px 0;
    border-radius: 5px;
}

.highlight-box h3 {
    color: #001f3f;
    margin-top: 0;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: #001f3f;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 15px;
    margin-top: 0;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    text-align: left;
}

.service-card a {
    color: #001f3f;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.service-card a:hover {
    color: #4CAF50;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #001f3f 0%, #003d6b 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #25D366;
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-cta-primary:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border: 2px solid #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-cta-secondary:hover {
    background: #fff;
    color: #001f3f;
}

/* FAQ Section */
.faq-section {
    margin: 60px 0;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid #001f3f;
}

.faq-question {
    font-size: 1.2rem;
    color: #001f3f;
    font-weight: 600;
    margin-bottom: 15px;
}

.faq-answer {
    color: #555;
    line-height: 1.8;
}

/* Related Services */
.related-services {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 60px;
}

.related-services h2 {
    text-align: center;
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.info-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.info-box-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #001f3f 0%, #003d6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-box-icon svg {
    color: #fff;
}

.info-box h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.info-box p {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
}

/* Process Steps */
.process-steps {
    margin: 40px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #001f3f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.3rem;
    color: #001f3f;
    margin-bottom: 10px;
    margin-top: 0;
}

.step-content p {
    color: #555;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0 30px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-intro {
        font-size: 1rem;
    }

    .cta-float {
        bottom: 20px;
        right: 20px;
    }

    .btn-float {
        width: 55px;
        height: 55px;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
    }

    .content-section p,
    .content-section li {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        justify-content: center;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }
}

/* ===========================================
   ESTILOS DEL FOOTER - Lawyer & Businessman
   =========================================== */

/* Contenedor principal del footer */
.footer {
    background: #001f3f;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contenido del footer (4 columnas) */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Cada columna del footer */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* Títulos */
.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

.footer-subtitle {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 15px;
    font-style: italic;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4CAF50;
}

/* Listas de enlaces */
.footer-links,
.footer-zones,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-zones li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-zones li {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a {
    padding: 3px 0;
    position: relative;
}

.footer-links a::before {
    content: '›';
    margin-right: 8px;
    color: #4CAF50;
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Enlace "Ver todas las zonas" */
.footer-link-all {
    display: inline-block;
    margin-top: 15px;
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.footer-link-all::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s;
    display: inline-block;
}

.footer-link-all:hover {
    transform: translateX(5px);
}

.footer-link-all:hover::after {
    transform: translateX(3px);
}

/* Información de contacto */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.4;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #4CAF50;
}

.footer-contact a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer-contact a:hover {
    color: #4CAF50;
    transform: translateY(-1px);
}

/* Botón de WhatsApp en redes sociales */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-social a:hover {
    background: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

/* Botón CTA de consulta gratuita */
.btn-footer-cta {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
    width: fit-content;
}

.btn-footer-cta:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* Línea divisoria */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    margin: 40px 0 30px;
}

/* Sección inferior del footer */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #999;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-legal a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #4CAF50;
}

.footer-legal span {
    color: #666;
    user-select: none;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Tablet (768px y menos) */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        text-align: center;
        align-items: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact li {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-footer-cta {
        align-self: center;
    }
}

/* Mobile (480px y menos) */
@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-col h3 {
        font-size: 1.3rem;
    }
    
    .footer-col h4 {
        font-size: 1rem;
    }
    
    .btn-footer-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-contact li {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .footer-social {
        justify-content: center;
    }
}