/* landing-styles.css - Estilos específicos para la Landing Page de Campaña */

/* Navbar sin fugas */
.navbar-landing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container-landing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

@media (max-width: 768px) {
    .nav-container-landing {
        height: 60px;
    }
}

/* Reducción general de padding para la landing enfocada a conversión */
.landing-hero {
    padding-top: 180px;
    padding-bottom: 60px;
    background: radial-gradient(circle at top right, rgba(76, 149, 119, 0.05), transparent 50%),
        radial-gradient(circle at bottom left, rgba(245, 174, 83, 0.05), transparent 50%);
    text-align: center;
}

.landing-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.landing-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    padding-top: 50px;

}

.landing-hero p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 32px;
    color: var(--text-muted);
}

.landing-hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 40px;
}

.landing-hero-bullets span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--brand-dark);
}

.landing-hero-bullets svg {
    color: var(--secondary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.landing-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.landing-microcopy {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Calculadora Layout Mejorado */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.calc-step {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin: 0 auto 40px;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.calc-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.calc-result-box {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    margin-bottom: 32px;
}

.calc-potential-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.potential-alto {
    background: rgba(37, 211, 102, 0.15);
    color: #1f9d55;
}

.potential-medio {
    background: rgba(245, 174, 83, 0.15);
    color: #b87c2b;
}

.potential-revisar {
    background: rgba(102, 112, 133, 0.15);
    color: var(--text-muted);
}

.calc-big-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 8px;
    line-height: 1.1;
}

.calc-net-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.1;
}

.calc-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 16px;
}

/* Tarjeta de Captura de WhatsApp */
.whatsapp-capture-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.whatsapp-capture-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--brand-dark);
}

.whatsapp-capture-card h3 svg {
    color: #25D366;
    width: 28px;
    height: 28px;
}

.whatsapp-capture-card p {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.rgpd-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.rgpd-checkbox input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
}

.rgpd-checkbox label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.trust-section {
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.trust-item {
    text-align: center;
}

.trust-item-icon {
    width: 56px;
    height: 56px;
    background: rgba(76, 149, 119, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.trust-item h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.trust-item p {
    font-size: 0.95rem;
}

.trust-highlight-box {
    background: rgba(245, 174, 83, 0.1);
    border: 1px solid rgba(245, 174, 83, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin: 40px auto 0;
    max-width: 700px;
    font-weight: 600;
    color: var(--brand-dark);
}

.footer-minimal {
    background: var(--bg-dark);
    padding: 40px 0;
    text-align: center;
    color: #fff;
}

.footer-minimal img {
    height: 60px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.footer-minimal p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-minimal-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-minimal-links a {
    color: #aaa;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: var(--transition);
}

.footer-minimal-links a:hover {
    color: #fff;
}

/* Landing Form Inputs */
.whatsapp-capture-card .form-group {
    margin-bottom: 16px;
}

.whatsapp-capture-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: var(--brand-dark);
}

.whatsapp-capture-card input[type="text"],
.whatsapp-capture-card input[type="tel"],
.whatsapp-capture-card input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.whatsapp-capture-card input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(76, 149, 119, 0.12);
}

@media (max-width: 768px) {
    .calc-net-value {
        font-size: 2.2rem;
    }

    .calc-big-value {
        font-size: 1.5rem;
    }

    .whatsapp-capture-card {
        padding: 24px 16px;
    }
}

/* =============================================================
   CLUSTER CONTENT PAGES (SEO CLUSTER)
   ============================================================= */
.cluster-header {
    padding-top: 140px;
    padding-bottom: 40px;
    background: radial-gradient(circle at top right, rgba(76, 149, 119, 0.06), transparent 50%),
                radial-gradient(circle at bottom left, rgba(245, 174, 83, 0.06), transparent 50%);
    border-bottom: 1px solid var(--border-color);
}

.cluster-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cluster-breadcrumbs a {
    color: var(--text-muted);
    transition: var(--transition);
}

.cluster-breadcrumbs a:hover {
    color: var(--secondary);
}

.cluster-breadcrumbs span.separator {
    color: #cbd5e1;
}

.cluster-breadcrumbs span.current {
    color: var(--brand-dark);
    font-weight: 500;
}

.cluster-header h1 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    color: var(--brand-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cluster-lead {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 850px;
    margin-bottom: 24px;
}

.cluster-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.cluster-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cluster-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 50px 24px 80px;
}

.cluster-section {
    margin-bottom: 52px;
}

.cluster-section h2 {
    font-size: clamp(1.5rem, 2.3vw, 1.9rem);
    color: var(--brand-dark);
    margin-top: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(76, 149, 119, 0.15);
    letter-spacing: -0.01em;
}

.cluster-section h3 {
    font-size: 1.25rem;
    color: var(--brand-dark);
    margin-top: 30px;
    margin-bottom: 14px;
    text-transform: none;
    letter-spacing: normal;
}

.cluster-section p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 20px;
}

.cluster-section ul, .cluster-section ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.cluster-section li {
    font-size: 1.025rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 10px;
}

.cluster-table-wrapper {
    overflow-x: auto;
    margin: 28px 0 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.cluster-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.98rem;
}

.cluster-table th {
    background: var(--bg-alt);
    padding: 16px 20px;
    color: var(--brand-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
}

.cluster-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: #334155;
    vertical-align: middle;
}

.cluster-table tr:last-child td {
    border-bottom: none;
}

.cluster-table tr.highlight-row {
    background-color: rgba(76, 149, 119, 0.08);
    font-weight: 600;
}

.cluster-table tr.highlight-row td {
    color: var(--brand-dark);
}

.cluster-callout {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 32px 0;
    box-shadow: var(--shadow-sm);
}

.cluster-callout-warning {
    border-left-color: var(--primary);
    background: rgba(245, 174, 83, 0.05);
}

.cluster-callout h4 {
    color: var(--brand-dark);
    font-size: 1.15rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cluster-callout p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
    color: #475569;
}

.cluster-example-box {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    margin: 32px 0;
}

.cluster-example-box h4 {
    color: var(--brand-dark);
    margin-bottom: 16px;
}

.cluster-example-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .cluster-example-grid {
        grid-template-columns: 1fr;
    }
}

.cluster-example-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cluster-example-card.featured {
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(76, 149, 119, 0.1);
}

.cluster-cta-inline {
    background: linear-gradient(135deg, rgba(76, 149, 119, 0.08), rgba(245, 174, 83, 0.08));
    border: 1px solid rgba(76, 149, 119, 0.25);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    margin: 48px 0;
}

.cluster-cta-inline h3 {
    font-size: 1.5rem;
    color: var(--brand-dark);
    margin-bottom: 12px;
    text-transform: none;
}

.cluster-cta-inline p {
    max-width: 620px;
    margin: 0 auto 24px;
    font-size: 1.05rem;
}

.cluster-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}