/* styles-index.css - Estilos específicos para la página principal */

/* 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;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #001f3f 0%, #003d6b 100%);
    padding: 80px 0 60px;
    color: #fff;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    background: #25D366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 30px;
    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-secondary:hover {
    background: #fff;
    color: #001f3f;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4CAF50;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-badge-floating {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    color: #001f3f;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.hero-badge-floating svg {
    color: #4CAF50;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #001f3f;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #001f3f;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Services Main Section */
.services-main {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.service-block.reverse {
    grid-template-columns: 1.3fr 1fr;
}

.service-block.reverse .service-image {
    order: 2;
}

.service-block.reverse .service-content {
    order: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-content h2 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #001f3f;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
}

.btn-service:hover {
    color: #4CAF50;
    transform: translateX(5px);
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.why-card {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: #001f3f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #001f3f 0%, #003d6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon svg {
    color: #fff;
}

.why-card h3 {
    font-size: 1.3rem;
    color: #001f3f;
    margin-bottom: 15px;
    font-weight: 700;
}

.why-card p {
    color: #666;
    line-height: 1.6;
}

/* Zones Section */
.zones {
    padding: 80px 0;
    background: #f8f9fa;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.zone-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #001f3f;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.zone-card:hover {
    border-color: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: #001f3f;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-info > p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item svg {
    flex-shrink: 0;
    color: #001f3f;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: #001f3f;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-item a {
    color: #001f3f;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: #4CAF50;
}

.contact-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-image {
        order: -1;
    }

    .service-block,
    .service-block.reverse {
        grid-template-columns: 1fr;
    }

    .service-block.reverse .service-image,
    .service-block.reverse .service-content {
        order: initial;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-content h2 {
        font-size: 1.5rem;
    }

    .services-main,
    .why-us,
    .zones,
    .contact {
        padding: 60px 0;
    }

    .service-block {
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .zones-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .hero-cta,
    .contact-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }
}


/* ===========================================
   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;
    }
}