/* ==========================================================================
   ComerClaro - Comparativas SEO Landing
   Archivo: assets/css/comparativas.css
   Estilo: Material Horizon / aislado
   ========================================================================== */

.ccv-page {
    --ccv-bg: #f8fafc;
    --ccv-surface: rgba(255, 255, 255, 0.82);
    --ccv-surface-solid: #ffffff;
    --ccv-surface-soft: rgba(241, 245, 249, 0.82);
    --ccv-text: #0f172a;
    --ccv-muted: #64748b;
    --ccv-soft: #94a3b8;
    --ccv-border: rgba(148, 163, 184, 0.22);
    --ccv-border-strong: rgba(148, 163, 184, 0.34);
    --ccv-emerald: #10b981;
    --ccv-emerald-dark: #059669;
    --ccv-blue: #3b82f6;
    --ccv-amber: #f59e0b;
    --ccv-red: #ef4444;
    --ccv-radius-xl: 28px;
    --ccv-radius-2xl: 36px;
    --ccv-shadow: 0 24px 70px -35px rgba(15, 23, 42, 0.35);
    --ccv-shadow-soft: 0 18px 50px -30px rgba(15, 23, 42, 0.28);

    position: relative;
    min-height: calc(100vh - 140px);
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 4%, rgba(16, 185, 129, 0.13), transparent 34rem),
        radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.11), transparent 34rem),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--ccv-text);
    padding: 42px 0 96px;
}

html.dark .ccv-page {
    --ccv-bg: #050507;
    --ccv-surface: rgba(24, 24, 27, 0.74);
    --ccv-surface-solid: #111114;
    --ccv-surface-soft: rgba(255, 255, 255, 0.045);
    --ccv-text: #f8fafc;
    --ccv-muted: #a1a1aa;
    --ccv-soft: #71717a;
    --ccv-border: rgba(255, 255, 255, 0.08);
    --ccv-border-strong: rgba(255, 255, 255, 0.14);
    --ccv-shadow: 0 26px 80px -34px rgba(0, 0, 0, 0.82);
    --ccv-shadow-soft: 0 18px 60px -34px rgba(0, 0, 0, 0.72);

    background:
        radial-gradient(circle at 18% 4%, rgba(16, 185, 129, 0.10), transparent 34rem),
        radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.09), transparent 34rem),
        linear-gradient(180deg, #050507 0%, #09090b 100%);
}

.ccv-page *,
.ccv-page *::before,
.ccv-page *::after {
    box-sizing: border-box;
}

.ccv-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ccv-bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 62%);
}

html.dark .ccv-bg-grid {
    opacity: 0.18;
}

.ccv-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 34px;
    color: var(--ccv-soft);
    font-size: 13px;
    font-weight: 800;
}

.ccv-breadcrumb a {
    color: var(--ccv-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.ccv-breadcrumb a:hover {
    color: var(--ccv-emerald);
}

.ccv-breadcrumb span:last-child {
    color: var(--ccv-text);
}

.ccv-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 54px;
    align-items: center;
    margin-bottom: 84px;
}

html.dark .ccv-kicker {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.10);
}

.ccv-h1 {
    max-width: 790px;
    margin: 0 0 22px;
    font-size: clamp(42px, 6.2vw, 78px);
    line-height: .92;
    letter-spacing: -0.07em;
    font-weight: 950;
    color: var(--ccv-text);
}

.ccv-gradient-text {
    background: linear-gradient(110deg, #10b981 0%, #14b8a6 38%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ccv-lead {
    max-width: 710px;
    margin: 0 0 30px;
    color: var(--ccv-muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.72;
    font-weight: 650;
}

.ccv-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.ccv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 950;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.ccv-btn:hover {
    transform: translateY(-2px);
}

.ccv-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
    box-shadow: 0 18px 38px -20px rgba(15, 23, 42, 0.65);
}

html.dark .ccv-btn-primary {
    color: #08111f;
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
}

.ccv-btn-secondary {
    color: var(--ccv-text);
    background: var(--ccv-surface);
    border: 1px solid var(--ccv-border);
    box-shadow: var(--ccv-shadow-soft);
}

.ccv-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ccv-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--ccv-surface);
    border: 1px solid var(--ccv-border);
    color: var(--ccv-muted);
    font-size: 12px;
    font-weight: 900;
}

.ccv-visual {
    position: relative;
}

.ccv-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 38px;
    padding: 24px;
    background: var(--ccv-surface);
    border: 1px solid var(--ccv-border);
    box-shadow: var(--ccv-shadow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.ccv-visual-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(circle at 20% 0%, rgba(16, 185, 129, .22), transparent 38%),
        radial-gradient(circle at 100% 10%, rgba(59, 130, 246, .18), transparent 35%);
    opacity: .75;
    pointer-events: none;
}

.ccv-visual-inner {
    position: relative;
    z-index: 1;
}

.ccv-score-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.ccv-mini-card {
    min-height: 154px;
    border-radius: 28px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

html.dark .ccv-mini-card {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.08);
}

.ccv-mini-card.ccv-highlight {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.20);
}

.ccv-mini-label {
    display: block;
    margin-bottom: 10px;
    color: var(--ccv-soft);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ccv-mini-title {
    display: block;
    margin-bottom: 8px;
    color: var(--ccv-text);
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.ccv-highlight .ccv-mini-title {
    color: var(--ccv-emerald-dark);
}

html.dark .ccv-highlight .ccv-mini-title {
    color: #6ee7b7;
}

.ccv-mini-text {
    margin: 0;
    color: var(--ccv-muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 750;
}

.ccv-explain-card {
    border-radius: 30px;
    padding: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

html.dark .ccv-explain-card {
    color: #07111f;
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
}

.ccv-explain-label {
    display: block;
    margin-bottom: 10px;
    opacity: .58;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ccv-explain-card p {
    margin: 0;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.ccv-section {
    margin-bottom: 78px;
}

.ccv-section-head {
    max-width: 780px;
    margin: 0 auto 32px;
    text-align: center;
}

.ccv-section-head h2 {
    margin: 0 0 12px;
    color: var(--ccv-text);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.ccv-section-head p {
    margin: 0;
    color: var(--ccv-muted);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 650;
}

.ccv-table-wrap {
    overflow: hidden;
    border-radius: 30px;
    background: var(--ccv-surface);
    border: 1px solid var(--ccv-border);
    box-shadow: var(--ccv-shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ccv-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.ccv-table th {
    padding: 18px 22px;
    text-align: left;
    color: var(--ccv-soft);
    background: rgba(15, 23, 42, 0.025);
    border-bottom: 1px solid var(--ccv-border);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html.dark .ccv-table th {
    background: rgba(255, 255, 255, 0.035);
}

.ccv-table td {
    padding: 20px 22px;
    vertical-align: top;
    border-bottom: 1px solid var(--ccv-border);
    color: var(--ccv-muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 700;
}

.ccv-table tr:last-child td {
    border-bottom: 0;
}

.ccv-table td:first-child {
    color: var(--ccv-text);
    font-weight: 950;
}

.ccv-table td:nth-child(3) {
    color: var(--ccv-emerald-dark);
    font-weight: 950;
}

html.dark .ccv-table td:nth-child(3) {
    color: #6ee7b7;
}

.ccv-note {
    margin: 16px 0 0;
    color: var(--ccv-soft);
    font-size: 13px;
    line-height: 1.65;
    font-weight: 650;
}

.ccv-mobile-compare {
    display: none;
}

.ccv-mobile-item {
    padding: 18px;
    border-radius: 24px;
    background: var(--ccv-surface);
    border: 1px solid var(--ccv-border);
    box-shadow: var(--ccv-shadow-soft);
}

.ccv-mobile-item h3 {
    margin: 0 0 14px;
    color: var(--ccv-text);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 950;
}

.ccv-mobile-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.ccv-mobile-col {
    border-radius: 18px;
    padding: 14px;
    background: var(--ccv-surface-soft);
}

.ccv-mobile-col strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ccv-soft);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ccv-mobile-col p {
    margin: 0;
    color: var(--ccv-muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 750;
}

.ccv-mobile-col.ccv-good p {
    color: var(--ccv-emerald-dark);
    font-weight: 950;
}

html.dark .ccv-mobile-col.ccv-good p {
    color: #6ee7b7;
}

.ccv-feature-grid,
.ccv-example-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ccv-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 28px;
    background: var(--ccv-surface);
    border: 1px solid var(--ccv-border);
    box-shadow: var(--ccv-shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ccv-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.10), transparent 42%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.ccv-card:hover::before {
    opacity: 1;
}

.ccv-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 18px;
    font-size: 21px;
    background: rgba(16, 185, 129, 0.10);
    color: var(--ccv-emerald-dark);
}

.ccv-icon-blue {
    background: rgba(59, 130, 246, 0.10);
    color: var(--ccv-blue);
}

.ccv-icon-amber {
    background: rgba(245, 158, 11, 0.12);
    color: var(--ccv-amber);
}

.ccv-card h2,
.ccv-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: var(--ccv-text);
    font-size: 23px;
    line-height: 1.14;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.ccv-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--ccv-muted);
    font-size: 15px;
    line-height: 1.65;
    font-weight: 650;
}

.ccv-band {
    position: relative;
    overflow: hidden;
    border-radius: 38px;
    padding: 44px;
    background:
        radial-gradient(circle at 90% 20%, rgba(16, 185, 129, .28), transparent 24rem),
        linear-gradient(135deg, #0f172a 0%, #111827 100%);
    color: #ffffff;
    box-shadow: 0 28px 70px -36px rgba(15, 23, 42, .75);
}

html.dark .ccv-band {
    background:
        radial-gradient(circle at 90% 20%, rgba(16, 185, 129, .18), transparent 24rem),
        linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045));
    border: 1px solid var(--ccv-border);
    color: #ffffff;
}

.ccv-band-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.ccv-band h2 {
    margin: 0 0 12px;
    max-width: 780px;
    font-size: clamp(31px, 4.4vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 950;
}

.ccv-band p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 650;
}

.ccv-band .ccv-btn {
    white-space: nowrap;
}

.ccv-example {
    display: block;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.ccv-example-tag {
    display: block;
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ccv-tag-green {
    color: var(--ccv-emerald-dark);
}

.ccv-tag-blue {
    color: var(--ccv-blue);
}

.ccv-tag-amber {
    color: var(--ccv-amber);
}

html.dark .ccv-tag-green {
    color: #6ee7b7;
}

.ccv-example-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--ccv-emerald-dark);
    font-size: 14px;
    font-weight: 950;
}

html.dark .ccv-example-link {
    color: #6ee7b7;
}

.ccv-faq {
    max-width: 840px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.ccv-faq details {
    overflow: hidden;
    border-radius: 22px;
    background: var(--ccv-surface);
    border: 1px solid var(--ccv-border);
    box-shadow: var(--ccv-shadow-soft);
}

.ccv-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    color: var(--ccv-text);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 950;
}

.ccv-faq summary::-webkit-details-marker {
    display: none;
}

.ccv-faq summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 9px;
    background: rgba(16, 185, 129, 0.10);
    color: var(--ccv-emerald-dark);
    font-weight: 950;
}

.ccv-faq details[open] summary::before {
    content: "–";
}

.ccv-faq p {
    margin: 0;
    padding: 0 22px 22px 56px;
    color: var(--ccv-muted);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 650;
}

.ccv-disclaimer {
    max-width: 900px;
    margin: 34px auto 0;
    text-align: center;
    color: var(--ccv-soft);
    font-size: 12px;
    line-height: 1.7;
    font-weight: 650;
}

@media (max-width: 980px) {
    .ccv-page {
        padding-top: 30px;
    }

    .ccv-hero {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-bottom: 66px;
    }

    .ccv-visual {
        max-width: 560px;
    }

    .ccv-feature-grid,
    .ccv-example-grid {
        grid-template-columns: 1fr;
    }

    .ccv-band-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .ccv-container {
        width: min(100% - 24px, 1180px);
    }

    .ccv-h1 {
        font-size: clamp(38px, 13vw, 56px);
    }

    .ccv-lead {
        font-size: 16px;
    }

    .ccv-actions {
        align-items: stretch;
    }

    .ccv-btn {
        width: 100%;
    }

    .ccv-score-grid {
        grid-template-columns: 1fr;
    }

    .ccv-mini-card {
        min-height: auto;
    }

    .ccv-table-wrap {
        display: none;
    }

    .ccv-mobile-compare {
        display: grid;
        gap: 12px;
    }

    .ccv-band {
        padding: 30px 22px;
        border-radius: 30px;
    }

    .ccv-card {
        padding: 24px;
    }

    .ccv-section {
        margin-bottom: 62px;
    }

    .ccv-breadcrumb {
        font-size: 12px;
    }
}