/* Reset y Variables */
:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --accent: #06b6d4;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --background: #f8fafc;
    --border-radius: 10px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Consent */
#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e293b;
    color: white;
    padding: 1rem;
    z-index: 10000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.btn-cookie {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}

.btn-cookie:hover {
    background: var(--primary-dark);
}

/* WhatsApp Mobile */
.whatsapp-mobile {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-text {
    color: var(--text-dark);
}

.logo-legal {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
}

.nav-cta:hover {
    background: var(--primary-dark);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }
    70% { 
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.05);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: #4f46e5;
    color: black;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.highlight {
    color: #fbbf24;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-warning {
    background: #dc2626;
    color: white;
}

.btn-warning:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #4285f4;
    color: white;
}

.btn-secondary:hover {
    background: #3367d6;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.cta-buttons {
    margin: 2rem 0;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

/* Urgency Banner */
.urgency-banner {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    padding: 1.5rem 0;
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.urgency-content i {
    font-size: 1.8rem;
    color: #d97706;
}

.urgency-text {
    flex: 1;
}

.urgency-text strong {
    display: block;
    margin-bottom: 0.25rem;
}

/* Calculadora */
.calculator {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
}

.calculator-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.calculator-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.time-inputs-single {
    display: flex;
    gap: 1rem;
}

.time-inputs-single input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.time-inputs-single input:focus {
    outline: none;
    border-color: var(--primary);
}

.calculation-result {
    display: none;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: 15px;
    text-align: center;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-breakdown {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    text-align: left;
    border-left: 4px solid var(--primary);
}

.segmentacion {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    border: 2px solid transparent;
}

.segmentacion.categoria-a {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #d97706;
}

.segmentacion.categoria-b {
    background: #f0f9ff;
    border-color: #0ea5e9;
    color: #0369a1;
}

.segmentacion.categoria-c {
    background: #f0fdf4;
    border-color: #10b981;
    color: #047857;
}

/* Sections */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: var(--background);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* Cases Grid */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.case-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.case-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.4rem;
}

.case-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.case-card li {
    margin-bottom: 0.75rem;
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.case-card li i {
    color: #84cc16;
    margin-top: 3px;
    font-size: 0.9rem;
}

/* Steps */
.how-it-works {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.step {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    z-index: 2;
}

.step:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--white), #f8fafc);
}

.step-number {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.8rem;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.6);
}

.step-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    transform: scale(1.1);
}

.step-content h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-card.verified {
    border: 2px solid #10b981;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
}

.author {
    margin-top: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.author span {
    font-weight: normal;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.case-details {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Trust Metrics */
.trust-metrics {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.metric-label {
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Objections */
.objections {
    background: var(--background);
}

.objections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.objection-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.objection-card:hover {
    transform: translateY(-5px);
}

.objection-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.objection-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.objection-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ */
.faq {
    background: var(--background);
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 0 0 1.5rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Final CTA - COLOR SOLIDO OSCURO */
.final-cta {
    text-align: center;
    background: #4f46e5;
    color: black;
    padding: 100px 0;
}

.final-cta h2 {
    color: black;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Garantía de Servicio */
.service-guarantee {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 2px solid #f59e0b;
    border-radius: 15px;
    text-align: center;
}

.guarantee-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.guarantee-icon {
    font-size: 3rem;
}

.guarantee-text h4 {
    margin-bottom: 0.5rem;
    color: #d97706;
    font-size: 1.3rem;
}

.guarantee-text p {
    margin-bottom: 0.25rem;
    color: #92400e;
}

.guarantee-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Info */
.contact-info {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.contact-item div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-item strong {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.contact-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section i {
    margin-right: 8px;
    width: 20px;
}

.lawyer-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lawyer-info p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom small {
    opacity: 0.7;
}

	/* === BANNER 50/50 === */
	.guarantee-banner {
		background: linear-gradient(135deg, #f0fdf4, #dcfce7);
		border: 2px solid #10b981;
		border-radius: 12px;
		padding: 1rem;
		margin-top: 2rem;
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.guarantee-banner p {
		margin: 0;
		font-weight: 600;
		color: #065f46;
	}

	.guarantee-banner span {
		display: block;
		font-size: 1.2rem;
		margin-top: 0.25rem;
		color: #047857;
		font-weight: 800;
	}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .urgency-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .calculator-form {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .time-inputs-single {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-metrics {
        gap: 2rem;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .objections-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-breakdown {
        padding: 1rem;
    }
    
    .legal-breakdown li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .legal-breakdown .monto {
        align-self: flex-end;
    }
    
    .segmentacion {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .contact-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .guarantee-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .guarantee-icon {
        font-size: 2.5rem;
    }
    
    .guarantee-text h4 {
        font-size: 1.1rem;
    }
    
    /* Mostrar botón de WhatsApp en móvil */
    .whatsapp-mobile {
        display: flex;
    }
    
    /* Ocultar float en móvil si hay botón */
    .whatsapp-float {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .case-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .final-cta {
        padding: 60px 0;
    }
    
    .contact-item {
        padding: 0.8rem 1rem;
    }
    
    .contact-item span {
        font-size: 1rem;
    }	
}