/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

.btn-contact {
    background: #25d366 !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #128c7e !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-main {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    transition: all 0.3s ease;
}

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

.service-card-reverse {
    grid-template-columns: 1fr 2fr;
}

.service-card-reverse .service-content {
    order: 2;
}

.service-card-reverse .service-image {
    order: 1;
}

.service-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

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

.service-features li {
    padding: 8px 0;
    border-left: 3px solid #3498db;
    padding-left: 15px;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 500;
}

.btn-service {
    background: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-service:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* Service Areas */
.service-areas {
    padding: 80px 0;
    background: white;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.area-item {
    background: #f8f9fa;
    padding: 15px 20px;
    text-align: center;
    border-radius: 8px;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.area-item:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

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

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-item p {
    font-size: 1.1rem;
    color: #555;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* WhatsApp Float Button */
.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 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.whatsapp-float a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Estilos para páginas de categoría */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    margin-top: 80px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumb-nav a {
    color: #3498db;
    text-decoration: none;
}

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

.category-hero {
    margin-top: 0;
    padding: 60px 0;
}

.services-specific {
    padding: 80px 0;
    background: white;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.service-detail-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.service-detail-card h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #2c3e50;
}

.service-detail-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #555;
}

.service-highlights h3,
.service-process h3,
.service-benefits h3,
.service-legal-framework h3,
.service-evidence h3 {
    font-size: 1.4rem;
    margin: 30px 0 20px;
    color: #2c3e50;
}

.service-highlights ul,
.service-evidence ul {
    list-style: none;
    margin-bottom: 25px;
}

.service-highlights li,
.service-evidence li {
    padding: 8px 0;
    border-left: 3px solid #3498db;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.step {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: #3498db;
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 15px;
}

.step h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.benefit {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.benefit h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.evidence-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.evidence-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.evidence-item h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.2rem;
}

.pricing-info {
    background: #e8f5e8;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #27ae60;
}

.pricing-info h3 {
    color: #27ae60;
    margin-bottom: 15px;
}

.pricing-info p {
    margin-bottom: 0;
    color: #2c3e50;
}

.btn-service-detail {
    background: #3498db;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.btn-service-detail:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.service-detail-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.areas-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.why-choose-us {
    padding: 80px 0;
    background: #f8f9fa;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.reason-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.reason-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.reason-card p {
    color: #666;
    line-height: 1.6;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .service-detail-card h2 {
        font-size: 1.6rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .evidence-types {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        display: none; /* Simplificado para móvil */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .service-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px;
    }
    
    .service-card-reverse {
        grid-template-columns: 1fr;
    }
    
    .service-card-reverse .service-content {
        order: 1;
    }
    
    .service-card-reverse .service-image {
        order: 2;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .services-main {
        padding: 60px 0;
    }
    
    .service-areas {
        padding: 60px 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
}