:root {
    --primary: #1e293b;
    --primary-light: #334155;
    --accent: #b45309;
    --accent-hover: #d97706;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
}

/* Accessibility skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header & Nav */
header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: var(--primary-light);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a:focus {
    color: var(--accent);
    outline: 2px solid transparent;
}
.burger {
    display: none;
    cursor: pointer;
}
.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 100 L100 0 L100 100 Z' fill='%23b45309' fill-opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.85rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}
.btn:hover, .btn:focus {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}
.hero-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 450px;
}

/* Statistics */
.stats {
    background-color: var(--primary);
    color: white;
    padding: 4rem 2rem;
}
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-hover);
    margin-bottom: 0.5rem;
}
.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* How It Works */
.how-it-works {
    padding: 6rem 2rem;
    background-color: var(--bg-card);
}
.section-title {
    text-align: center;
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 3rem;
}
.steps-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.step-card {
    background-color: var(--bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}
.step-num {
    font-size: 2rem;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 1rem;
}
.step-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

/* Trust block */
.trust-principles {
    padding: 6rem 2rem;
    background-color: #f1f5f9;
}
.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.trust-column h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.trust-column p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.trust-list {
    list-style: none;
}
.trust-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.trust-list i {
    color: var(--accent);
}

/* Services */
.services-section {
    padding: 6rem 2rem;
}
.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
.service-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}
.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.service-body {
    padding: 2rem;
}
.service-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.service-body p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Features (Asymmetric) */
.features-asymmetric {
    padding: 6rem 2rem;
    background-color: var(--bg-card);
}
.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.feature-img img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}
.feature-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.feature-bullets {
    list-style: none;
    margin-top: 1.5rem;
}
.feature-bullets li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.feature-bullets i {
    color: var(--accent);
    margin-top: 0.25rem;
}

/* Pricing Table */
.pricing-section {
    padding: 6rem 2rem;
}
.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}
.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}
.pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.03);
}
.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 100px;
    text-transform: uppercase;
}
.price {
    font-size: 3rem;
    font-family: var(--font-serif);
    color: var(--primary);
    margin: 1.5rem 0;
}
.price span {
    font-size: 1rem;
    color: var(--text-muted);
}
.pricing-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}
.pricing-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pricing-card ul i {
    color: var(--accent);
}

/* Form (Lead Capture) */
.form-section {
    padding: 6rem 2rem;
    background-color: var(--primary);
    color: white;
}
.form-container {
    max-width: 700px;
    margin: 0 auto;
}
.form-container h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 1rem;
}
.form-container p {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 3rem;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
label {
    font-weight: 500;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
    padding: 0.85rem;
    border-radius: 4px;
    border: 1px solid #475569;
    background-color: #1e293b;
    color: white;
    font-size: 1rem;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    outline: 2px solid var(--accent);
    border-color: transparent;
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}
.checkbox-group input {
    margin-top: 0.25rem;
}
.checkbox-group a {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Trust Layer (Transparencia) */
.trust-layer {
    padding: 4rem 2rem;
    background-color: #f1f5f9;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-container {
    max-width: 1000px;
    margin: 0 auto;
}
.trust-container h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.trust-container p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.trust-container a {
    color: var(--accent);
    text-decoration: underline;
}
.disclaimer {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    margin-top: 1.5rem;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 4rem 2rem;
    font-size: 0.875rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-info h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #334155;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0f172a;
    color: white;
    padding: 1.5rem 2rem;
    z-index: 100;
    border-top: 3px solid var(--accent);
    display: none;
}
.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.cookie-text p {
    font-size: 0.875rem;
    line-height: 1.4;
}
.cookie-text a {
    color: var(--accent-hover);
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}
.btn-cookie-accept {
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
}
.btn-cookie-reject {
    background-color: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 500;
}

/* Accordion FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-header {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
}
.faq-header i {
    transition: transform 0.3s;
}
.faq-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: none;
    color: var(--text-muted);
}
.faq-item.active .faq-body {
    display: block;
}
.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-container, .trust-grid, .services-grid, .feature-container, .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .nav-links {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;
        background-color: var(--bg-card);
        width: 100%;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    }
    .nav-links.active {
        display: flex;
    }
    .burger {
        display: block;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cookie-container {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}