:root {
    --ic-ink: #05070c;
    --ic-navy: #08111f;
    --ic-navy-soft: #0d1a2d;
    --ic-surface: rgba(12, 24, 42, 0.78);
    --ic-surface-solid: #0c182a;
    --ic-border: rgba(207, 170, 92, 0.18);
    --ic-gold: #cdaa5c;
    --ic-gold-light: #ead59b;
    --ic-text: #f5f2ea;
    --ic-muted: #9da9ba;
    --ic-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

body.ic-premium-public {
    color: var(--ic-text);
    background:
        radial-gradient(circle at 15% -10%, rgba(43, 80, 130, 0.2), transparent 34rem),
        linear-gradient(180deg, var(--ic-ink), var(--ic-navy));
}

.ic-premium-public .container {
    width: min(100% - 32px, 1240px);
    max-width: 1240px;
}

.ic-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1040;
    padding: 16px 0;
    transition: padding 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.ic-site-header.is-scrolled {
    padding: 9px 0;
    background: rgba(5, 9, 16, 0.86);
    border-bottom: 1px solid var(--ic-border);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.ic-nav-shell {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 8px 10px 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(7, 15, 27, 0.72);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.ic-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.ic-brand img {
    width: auto;
    max-width: 190px;
    height: 42px;
    object-fit: contain;
}

.ic-brand-copy {
    display: none;
    color: var(--ic-text);
    line-height: 1.05;
}

.ic-brand-copy strong {
    display: block;
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ic-brand-copy small {
    color: var(--ic-muted);
    font-size: 0.68rem;
}

.ic-primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.ic-primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    color: #c7d0dd;
    border-radius: 11px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease;
}

.ic-primary-nav a:hover,
.ic-primary-nav a:focus-visible,
.ic-primary-nav a.is-active {
    color: var(--ic-gold-light);
    background: rgba(205, 170, 92, 0.08);
}

.ic-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ic-header-actions .language_switcher {
    margin: 0 4px 0 0;
}

.ic-header-actions .language_switcher__caption .text,
.ic-header-actions .language_switcher::after {
    color: var(--ic-text);
}

.ic-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ic-btn:hover {
    transform: translateY(-1px);
}

.ic-btn--ghost {
    color: var(--ic-text);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.ic-btn--gold {
    color: #11131a;
    border-color: var(--ic-gold);
    background: linear-gradient(135deg, var(--ic-gold-light), var(--ic-gold));
    box-shadow: 0 10px 28px rgba(205, 170, 92, 0.18);
}

.ic-nav-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--ic-text);
    background: rgba(255, 255, 255, 0.04);
}

.ic-nav-toggle span,
.ic-nav-toggle span::before,
.ic-nav-toggle span::after {
    width: 19px;
    height: 1px;
    display: block;
    position: relative;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.ic-nav-toggle span::before,
.ic-nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.ic-nav-toggle span::before { top: -6px; }
.ic-nav-toggle span::after { top: 6px; }
.ic-nav-toggle[aria-expanded="true"] span { background: transparent; }
.ic-nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.ic-nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.ic-public-main {
    min-height: 60vh;
    padding-top: 98px;
}

.ic-site-footer {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 8vw, 96px) 0 28px;
    color: var(--ic-text);
    background: #050912;
    border-top: 1px solid var(--ic-border);
}

.ic-site-footer::before {
    content: "";
    position: absolute;
    width: 34rem;
    height: 34rem;
    right: -14rem;
    top: -22rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 170, 92, 0.13), transparent 66%);
    pointer-events: none;
}

.ic-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(170px, 0.7fr));
    gap: clamp(36px, 6vw, 84px);
}

.ic-footer-brand img {
    max-width: 210px;
    max-height: 52px;
    object-fit: contain;
}

.ic-footer-brand p {
    max-width: 520px;
    margin: 22px 0 0;
    color: var(--ic-muted);
    line-height: 1.8;
}

.ic-footer-kicker,
.ic-footer-title {
    color: var(--ic-gold-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ic-footer-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.72rem;
    font-weight: 700;
}

.ic-footer-title {
    margin-bottom: 18px;
    font-size: 0.78rem;
    font-weight: 700;
}

.ic-footer-links {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ic-footer-links a {
    color: #aeb9c8;
    text-decoration: none;
}

.ic-footer-links a:hover {
    color: var(--ic-gold-light);
}

.ic-risk-note {
    margin-top: 42px;
    padding: 18px 20px;
    color: #8f9bad;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.78rem;
    line-height: 1.7;
}

.ic-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding-top: 24px;
    color: #788497;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
}

.ic-footer-bottom a {
    color: var(--ic-gold-light);
}

@media (max-width: 1199px) {
    .ic-nav-toggle {
        display: grid;
        margin-left: auto;
    }

    .ic-primary-nav {
        position: fixed;
        inset: 94px 16px auto;
        max-height: calc(100vh - 118px);
        display: none;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        border: 1px solid var(--ic-border);
        border-radius: 18px;
        background: rgba(5, 11, 20, 0.98);
        box-shadow: var(--ic-shadow);
    }

    .ic-site-header.is-open .ic-primary-nav {
        display: flex;
    }

    .ic-primary-nav a {
        width: 100%;
        min-height: 48px;
    }

    .ic-header-actions {
        display: none;
    }

    .ic-site-header.is-open .ic-header-actions {
        position: fixed;
        inset: auto 32px 34px;
        z-index: 1;
        display: flex;
        padding-top: 14px;
    }
}

@media (max-width: 767px) {
    .ic-site-header {
        padding: 10px 0;
    }

    .ic-nav-shell {
        min-height: 60px;
        padding-left: 12px;
        border-radius: 15px;
    }

    .ic-brand img {
        max-width: 155px;
        height: 36px;
    }

    .ic-primary-nav {
        top: 80px;
    }

    .ic-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ic-footer-bottom {
        flex-direction: column;
    }
}

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

/* Premium home: hero, institutional indicators and dashboard preview */
.ic-hero {
    min-height: calc(100vh - 98px);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 108px);
    background:
        linear-gradient(100deg, rgba(5, 8, 14, 0.97) 0%, rgba(7, 17, 31, 0.9) 52%, rgba(5, 9, 17, 0.98) 100%),
        radial-gradient(circle at 76% 38%, rgba(35, 73, 123, 0.26), transparent 34rem);
}

.ic-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.ic-hero::after {
    content: "";
    width: 44rem;
    height: 44rem;
    position: absolute;
    z-index: -2;
    right: -20rem;
    bottom: -29rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 170, 92, 0.15), transparent 68%);
}

.ic-hero-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(205, 170, 92, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.ic-hero-orbit--one {
    width: 34rem;
    height: 34rem;
    top: 6%;
    right: 6%;
}

.ic-hero-orbit--two {
    width: 21rem;
    height: 21rem;
    top: 18%;
    right: 12%;
}

.ic-hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
}

.ic-hero-copy {
    max-width: 660px;
}

.ic-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
    padding: 9px 13px;
    color: var(--ic-gold-light);
    border: 1px solid var(--ic-border);
    border-radius: 999px;
    background: rgba(205, 170, 92, 0.055);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.ic-hero h1 {
    margin: 0;
    color: var(--ic-text);
    font-family: "Maven Pro", sans-serif;
    font-size: clamp(3.5rem, 7vw, 7.2rem);
    font-weight: 500;
    letter-spacing: -0.072em;
    line-height: 0.88;
}

.ic-hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(115deg, #fff3c4 4%, var(--ic-gold) 46%, #9a7531 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.ic-hero-lead {
    max-width: 650px;
    margin: 31px 0 0;
    color: #d9e0e9;
    font-size: clamp(1.05rem, 1.45vw, 1.25rem);
    line-height: 1.72;
}

.ic-hero-text {
    max-width: 620px;
    margin: 17px 0 0;
    color: var(--ic-muted);
    font-size: 0.93rem;
    line-height: 1.78;
}

.ic-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 34px;
}

.ic-btn--large {
    min-height: 52px;
    padding-inline: 23px;
}

.ic-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    color: #d6dce5;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.ic-text-link i {
    transform: rotate(45deg);
}

.ic-text-link:hover {
    color: var(--ic-gold-light);
}

.ic-hero-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 25px;
    margin-top: 31px;
    color: #8794a7;
    font-size: 0.75rem;
}

.ic-hero-assurance span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ic-hero-assurance i {
    color: var(--ic-gold);
    font-size: 1rem;
}

.ic-market-visual {
    min-height: 590px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(205, 170, 92, 0.2);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(13, 28, 49, 0.82), rgba(5, 11, 21, 0.95));
    box-shadow: 0 44px 110px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.ic-market-canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    opacity: 0.54;
    pointer-events: none;
}

.ic-market-topline,
.ic-dashboard-preview {
    position: relative;
    z-index: 1;
}

.ic-market-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 19px;
}

.ic-market-topline > div {
    display: grid;
    gap: 3px;
}

.ic-market-label,
.ic-market-topline strong {
    color: var(--ic-text);
}

.ic-market-label {
    color: var(--ic-muted);
    font-size: 0.67rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ic-market-topline strong {
    font-size: 1rem;
}

.ic-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    color: #b9c5d5;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.67rem;
}

.ic-status-pill i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6fd5a7;
    box-shadow: 0 0 10px rgba(111, 213, 167, 0.65);
}

.ic-dashboard-preview {
    min-height: 430px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 21px;
    background: rgba(5, 12, 23, 0.84);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    overflow: hidden;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.ic-preview-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 18px 9px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.018);
}

.ic-preview-sidebar > span:not(.ic-preview-mark) {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    color: #667489;
    border-radius: 10px;
    font-size: 1.05rem;
}

.ic-preview-sidebar > span.is-active {
    color: #15120b;
    background: var(--ic-gold);
}

.ic-preview-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    color: var(--ic-gold-light);
    border: 1px solid var(--ic-border);
    border-radius: 11px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.ic-preview-content {
    min-width: 0;
    padding: clamp(20px, 2.5vw, 28px);
}

.ic-preview-heading,
.ic-preview-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ic-preview-heading > div {
    display: grid;
    gap: 3px;
}

.ic-preview-heading small,
.ic-preview-chart-head small {
    color: #718096;
    font-size: 0.65rem;
}

.ic-preview-heading strong,
.ic-preview-chart-head span {
    color: #e8edf4;
    font-size: 0.9rem;
}

.ic-preview-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--ic-gold-light);
    border: 1px solid var(--ic-border);
    border-radius: 50%;
    background: rgba(205, 170, 92, 0.07);
}

.ic-preview-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 21px;
}

.ic-preview-stats article {
    min-width: 0;
    display: grid;
    gap: 7px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.ic-preview-stats span,
.ic-preview-stats small {
    color: #738196;
    font-size: 0.62rem;
}

.ic-preview-stats strong {
    overflow: hidden;
    color: #dce3ec;
    font-size: 0.77rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ic-preview-stats small i {
    color: #78cfa9;
}

.ic-preview-chart {
    margin-top: 13px;
    padding: 15px 16px 9px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(13, 28, 48, 0.75), rgba(7, 15, 27, 0.7));
}

.ic-preview-chart svg {
    width: 100%;
    height: 112px;
    margin-top: 9px;
    overflow: visible;
}

.ic-chart-area {
    fill: url(#icChartFill);
}

.ic-chart-line {
    fill: none;
    stroke: var(--ic-gold);
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 5px rgba(205, 170, 92, 0.4));
}

.ic-preview-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 13px;
}

.ic-preview-bottom > div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    color: var(--ic-gold);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.ic-preview-bottom i {
    font-size: 1.15rem;
}

.ic-preview-bottom span {
    min-width: 0;
    display: grid;
    color: #657389;
    font-size: 0.57rem;
}

.ic-preview-bottom strong {
    overflow: hidden;
    color: #cbd4e1;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ic-trust-strip {
    position: relative;
    z-index: 2;
    padding: 18px 0;
    border-top: 1px solid rgba(205, 170, 92, 0.12);
    border-bottom: 1px solid rgba(205, 170, 92, 0.12);
    background: #08111f;
}

.ic-trust-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ic-trust-track > div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 4px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.ic-trust-track > div:first-child {
    padding-left: 0;
}

.ic-trust-track > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.ic-trust-track i {
    flex: 0 0 auto;
    color: var(--ic-gold);
    font-size: 1.35rem;
}

.ic-trust-track span {
    min-width: 0;
    display: grid;
    gap: 2px;
    color: #728096;
    font-size: 0.63rem;
}

.ic-trust-track strong {
    overflow: hidden;
    color: #d4dbe5;
    font-size: 0.73rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ic-premium-public .plan-section {
    position: relative;
}

.ic-premium-public #como-funciona {
    scroll-margin-top: 110px;
}

@media (max-width: 1199px) {
    .ic-hero {
        min-height: auto;
    }

    .ic-hero-container {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 36px;
    }

    .ic-market-visual {
        min-height: 520px;
        padding: 22px;
    }

    .ic-trust-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 0;
    }

    .ic-trust-track > div:nth-child(3) {
        border-right: 0;
    }
}

@media (max-width: 991px) {
    .ic-hero-container {
        grid-template-columns: 1fr;
    }

    .ic-hero-copy {
        max-width: 760px;
    }

    .ic-market-visual {
        width: min(100%, 720px);
        min-height: 570px;
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .ic-hero {
        padding: 58px 0 66px;
    }

    .ic-hero-container {
        gap: 42px;
    }

    .ic-hero h1 {
        font-size: clamp(3.35rem, 17vw, 5rem);
    }

    .ic-hero-lead {
        margin-top: 24px;
    }

    .ic-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ic-hero-actions .ic-btn,
    .ic-hero-actions .ic-text-link {
        width: 100%;
        justify-content: center;
    }

    .ic-hero-assurance {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .ic-market-visual {
        min-height: auto;
        padding: 17px;
        border-radius: 21px;
    }

    .ic-market-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .ic-dashboard-preview {
        min-height: 420px;
        grid-template-columns: 45px minmax(0, 1fr);
    }

    .ic-preview-sidebar {
        padding-inline: 5px;
    }

    .ic-preview-sidebar > span:not(.ic-preview-mark),
    .ic-preview-mark {
        width: 31px;
        height: 31px;
    }

    .ic-preview-content {
        padding: 16px 12px;
    }

    .ic-preview-stats,
    .ic-preview-bottom {
        grid-template-columns: 1fr;
    }

    .ic-preview-chart svg {
        height: 90px;
    }

    .ic-trust-strip {
        overflow: hidden;
    }

    .ic-trust-track {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ic-trust-track > div,
    .ic-trust-track > div:first-child,
    .ic-trust-track > div:last-child {
        padding: 13px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .ic-trust-track > div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 420px) {
    .ic-market-visual {
        margin-inline: -4px;
    }

    .ic-dashboard-preview {
        grid-template-columns: 1fr;
    }

    .ic-preview-sidebar {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PARTE 3 — Section header reutilizable
═══════════════════════════════════════════════════════════════ */

.ic-section-header {
    max-width: 680px;
    margin: 0 auto 58px;
    text-align: center;
}

.ic-section-header .ic-eyebrow {
    margin-bottom: 18px;
}

.ic-section-header h2 {
    margin: 0 0 16px;
    color: var(--ic-text);
    font-family: "Maven Pro", sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.ic-section-header p {
    color: var(--ic-muted);
    font-size: 1rem;
    line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════
   PARTE 3 — Sección de planes (home y página /plans)
═══════════════════════════════════════════════════════════════ */

.ic-plans-section {
    padding: clamp(72px, 8vw, 108px) 0;
    background: var(--ic-navy);
    border-top: 1px solid var(--ic-border);
}

.ic-plans-page {
    padding: clamp(72px, 8vw, 108px) 0;
    background: var(--ic-navy);
}

.ic-plans-page.ic-page-top {
    padding-top: 140px;
}

/* Tarjeta de plan premium */

.ic-plan-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(205, 170, 92, 0.18);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(13, 26, 46, 0.92), rgba(7, 14, 26, 0.97));
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.ic-plan-card:hover {
    border-color: rgba(205, 170, 92, 0.38);
    transform: translateY(-5px);
    box-shadow: 0 44px 96px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(205, 170, 92, 0.12);
}

.ic-plan-card-header {
    padding: 28px 26px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    background: linear-gradient(180deg, rgba(205, 170, 92, 0.055), transparent);
}

.ic-plan-name {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 11px;
    color: var(--ic-gold-light);
    border: 1px solid rgba(205, 170, 92, 0.2);
    border-radius: 6px;
    background: rgba(205, 170, 92, 0.07);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ic-plan-rate-value {
    display: block;
    color: var(--ic-text);
    font-family: "Maven Pro", sans-serif;
    font-size: clamp(2.4rem, 4.2vw, 3.1rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ic-plan-rate-value .ic-gold {
    color: var(--ic-gold);
}

.ic-plan-rate-period {
    display: block;
    margin-top: 8px;
    color: var(--ic-muted);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ic-plan-roi {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 10px;
    color: #92bfa9;
    border: 1px solid rgba(100, 190, 155, 0.18);
    border-radius: 999px;
    background: rgba(100, 190, 155, 0.06);
    font-size: 0.67rem;
    font-weight: 600;
}

.ic-plan-card-body {
    flex: 1;
    padding: 22px 26px;
}

.ic-plan-features {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ic-plan-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    font-size: 0.85rem;
}

.ic-plan-features li:last-child {
    border-bottom: 0;
}

.ic-plan-features .label {
    color: #7a8da0;
    font-weight: 500;
}

.ic-plan-features .value {
    color: #d4dce8;
    font-weight: 600;
    text-align: right;
}

.ic-plan-feature-note {
    color: #9eb0c3 !important;
    font-size: 0.79rem;
    font-style: italic;
    justify-content: flex-start !important;
    border-bottom: 0 !important;
}

.ic-plan-card-footer {
    padding: 18px 26px 26px;
}

.ic-plan-cta-btn {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    color: #11131a;
    border: 1px solid var(--ic-gold);
    border-radius: 13px;
    background: linear-gradient(135deg, var(--ic-gold-light) 0%, var(--ic-gold) 60%, #a0802e 100%);
    box-shadow: 0 10px 28px rgba(205, 170, 92, 0.2);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.ic-plan-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(205, 170, 92, 0.32);
    opacity: 0.92;
}

.ic-plan-cta-btn i {
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════════
   PARTE 3 — Sección Cómo funciona
═══════════════════════════════════════════════════════════════ */

.ic-hiw-section {
    padding: clamp(72px, 8vw, 108px) 0;
    background: #070e1c;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.ic-hiw-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.ic-hiw-connector {
    position: absolute;
    top: 50px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(205, 170, 92, 0) 0%,
        rgba(205, 170, 92, 0.32) 18%,
        rgba(205, 170, 92, 0.32) 82%,
        rgba(205, 170, 92, 0) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.ic-hiw-step {
    position: relative;
    z-index: 1;
    padding: 0 18px;
    text-align: center;
}

.ic-hiw-step:first-child { padding-left: 0; }
.ic-hiw-step:last-child  { padding-right: 0; }

.ic-hiw-step-badge {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border: 1px solid rgba(205, 170, 92, 0.25);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(205, 170, 92, 0.12), rgba(205, 170, 92, 0.04));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: visible;
}

.ic-hiw-step-badge img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1) sepia(0.3) saturate(1.6) hue-rotate(8deg);
    opacity: 0.82;
}

.ic-hiw-step-badge-fallback {
    color: var(--ic-gold);
    font-size: 1.45rem;
    line-height: 1;
}

.ic-hiw-step-num {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #11131a;
    border-radius: 50%;
    background: var(--ic-gold);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 2px 8px rgba(205, 170, 92, 0.35);
}

.ic-hiw-step-title {
    margin: 0 0 10px;
    color: var(--ic-text);
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.3;
}

.ic-hiw-step-body {
    color: var(--ic-muted);
    font-size: 0.83rem;
    line-height: 1.75;
}

/* Responsive how-it-works */

@media (max-width: 991px) {
    .ic-hiw-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    .ic-hiw-connector {
        display: none;
    }

    .ic-hiw-step,
    .ic-hiw-step:first-child,
    .ic-hiw-step:last-child {
        padding: 0;
    }
}

@media (max-width: 575px) {
    .ic-hiw-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ic-hiw-step {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .ic-hiw-step-badge {
        flex: 0 0 58px;
        width: 58px;
        height: 58px;
        margin: 0;
        border-radius: 16px;
    }
}

/* Responsive plans cards */

@media (max-width: 575px) {
    .ic-plan-card-header {
        padding: 22px 20px 18px;
    }

    .ic-plan-card-body {
        padding: 18px 20px;
    }

    .ic-plan-card-footer {
        padding: 14px 20px 22px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PARTE 4 — Área autenticada: dashboard premium
═══════════════════════════════════════════════════════════════ */

/* ── Sidebar dark skin ──────────────────────────────────────── */

.dashboard-sidebar {
    background: #09131f !important;
    border-right: 1px solid rgba(205, 170, 92, 0.12) !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(205, 170, 92, 0.15) transparent;
}

.dashboard-sidebar::-webkit-scrollbar { width: 3px; }
.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(205, 170, 92, 0.18);
    border-radius: 2px;
}

/* Close button mobile */
.dashboard-sidebar .dash-sidebar-close {
    color: var(--ic-muted) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    opacity: 1 !important;
}

/* Logo */
.icd-brand {
    display: block;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.icd-brand img {
    max-width: 170px;
    max-height: 44px;
    object-fit: contain;
}

/* User card */
.icd-user-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    margin-bottom: 8px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.icd-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(205, 170, 92, 0.2), rgba(205, 170, 92, 0.06));
    border: 1px solid var(--ic-border);
    color: var(--ic-gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.icd-user-info {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.icd-user-info strong {
    overflow: hidden;
    color: var(--ic-text);
    font-size: 0.85rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icd-user-info span {
    overflow: hidden;
    color: var(--ic-muted);
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Balance block */
.icd-balance-block {
    padding: 13px 14px;
    margin-bottom: 10px;
    border-radius: 13px;
    background: rgba(205, 170, 92, 0.04);
    border: 1px solid rgba(205, 170, 92, 0.1);
}

.icd-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.icd-balance-row:last-of-type {
    border-bottom: 0;
    padding-bottom: 12px;
}

.icd-balance-label {
    color: #5d6e82;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.icd-balance-value {
    color: var(--ic-text);
    font-size: 0.83rem;
    font-weight: 700;
    text-align: right;
}

.icd-balance-value small {
    color: var(--ic-muted);
    font-size: 0.6rem;
    font-weight: 400;
    margin-left: 2px;
}

.icd-balance-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.icd-bal-btn {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 9px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 180ms ease, transform 180ms ease;
    border: 1px solid transparent;
}

.icd-bal-btn:hover { opacity: 0.86; transform: translateY(-1px); }

.icd-bal-btn--gold {
    color: #11131a;
    border-color: var(--ic-gold);
    background: linear-gradient(135deg, var(--ic-gold-light), var(--ic-gold));
}

.icd-bal-btn--ghost {
    color: var(--ic-text);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

/* Nav menu */
.icd-nav-list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.icd-nav-list li a {
    display: flex !important;
    align-items: center;
    gap: 11px;
    min-height: 40px;
    padding: 0 12px !important;
    color: #7d90a6 !important;
    border-radius: 11px !important;
    font-size: 0.86rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease;
}

.icd-nav-list li a i {
    flex: 0 0 18px;
    font-size: 1.08rem;
    text-align: center;
    color: #5a6b7e;
    transition: color 150ms ease;
}

.icd-nav-list li a:hover,
.icd-nav-list li a.active {
    color: var(--ic-gold-light) !important;
    background: rgba(205, 170, 92, 0.09) !important;
}

.icd-nav-list li a:hover i,
.icd-nav-list li a.active i {
    color: var(--ic-gold) !important;
}

.icd-nav-divider {
    height: 1px;
    margin: 8px 0 !important;
    background: rgba(255, 255, 255, 0.055);
    padding: 0 !important;
    list-style: none;
    pointer-events: none;
}

.icd-nav-list li a.icd-logout-link {
    color: #6a7d91 !important;
}

.icd-nav-list li a.icd-logout-link:hover {
    color: #fc8181 !important;
    background: rgba(248, 113, 113, 0.07) !important;
}

.icd-nav-list li a.icd-logout-link i {
    color: #8a9daf !important;
}

.icd-nav-list li a.icd-logout-link:hover i {
    color: #fc8181 !important;
}

/* ── Dashboard wrapper dark ─────────────────────────────────── */

.dashboard-wrapper {
    background: #08111f !important;
}

/* ── Topbar dark ────────────────────────────────────────────── */

.dashboard-nav {
    background: rgba(7, 13, 26, 0.97) !important;
    border-bottom: 1px solid rgba(205, 170, 92, 0.1) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.icd-topbar-greeting {
    font-size: 0.86rem;
    color: var(--ic-muted);
    font-weight: 500;
}

.icd-topbar-greeting strong {
    color: var(--ic-text);
}

.icd-rank-badge img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    cursor: pointer;
}

/* User avatar button in topbar */
.dashboard-nav .nav-header-link li .link {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: rgba(205, 170, 92, 0.1) !important;
    border: 1px solid var(--ic-border) !important;
    color: var(--ic-gold-light) !important;
    font-size: 0.77rem !important;
    font-weight: 800 !important;
}

/* Dropdown */
.dashboard-nav .dropdown-wrapper {
    background: #0c1e33 !important;
    border: 1px solid var(--ic-border) !important;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.52) !important;
    border-radius: 16px !important;
}

.dashboard-nav .dropdown-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.dashboard-nav .dropdown-header h6,
.dashboard-nav .dropdown-header .name {
    color: var(--ic-text) !important;
}

.dashboard-nav .dropdown-header p {
    color: var(--ic-muted) !important;
}

.dashboard-nav .dropdown-wrapper ul a {
    color: #9fb3c8 !important;
}

.dashboard-nav .dropdown-wrapper ul a:hover {
    color: var(--ic-gold-light) !important;
    background: rgba(205, 170, 92, 0.07) !important;
}

/* Hamburger */
.dash-sidebar-toggler {
    color: var(--ic-text) !important;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Language switcher — override master.blade.php inline !important */
.language_switcher::after {
    color: var(--ic-text) !important;
}

.language_switcher__caption .text {
    color: var(--ic-text) !important;
}

/* ── Dashboard inner content ────────────────────────────────── */

.dashboard-container,
.dashboard-container-fluid {
    background: #08111f;
}

.dashboard-inner {
    color: var(--ic-text);
}

.dashboard-inner h1, .dashboard-inner h2,
.dashboard-inner h3, .dashboard-inner h4,
.dashboard-inner h5, .dashboard-inner h6 {
    color: var(--ic-text);
}

.dashboard-inner p, .dashboard-inner small {
    color: var(--ic-muted);
}

.dashboard-inner hr {
    border-color: rgba(255, 255, 255, 0.07);
}

/* Alerts */
.dashboard-inner .alert,
.notice .alert {
    background: rgba(10, 20, 36, 0.85) !important;
}

.dashboard-inner .alert__message {
    color: var(--ic-text) !important;
}

.dashboard-inner .alert__message small,
.dashboard-inner .alert__message i {
    color: var(--ic-muted) !important;
}

.dashboard-inner .alert__message a,
.notice .alert a {
    color: var(--ic-gold-light) !important;
}

.dashboard-inner .alert.border--danger {
    border-color: rgba(239, 68, 68, 0.35) !important;
    background: rgba(239, 68, 68, 0.06) !important;
}

.dashboard-inner .alert.border--warning {
    border-color: rgba(234, 179, 8, 0.32) !important;
    background: rgba(234, 179, 8, 0.05) !important;
}

.dashboard-inner .alert.border--info {
    border-color: rgba(59, 130, 246, 0.32) !important;
    background: rgba(59, 130, 246, 0.05) !important;
}

.dashboard-inner .alert.border--success {
    border-color: rgba(34, 197, 94, 0.32) !important;
    background: rgba(34, 197, 94, 0.05) !important;
}

.dashboard-inner .alert.border--primary {
    border-color: rgba(139, 92, 246, 0.32) !important;
    background: rgba(139, 92, 246, 0.05) !important;
}

/* ── Premium stat cards (dashboard main widgets) ─────────────── */

.icd-stat-card {
    height: 100%;
    padding: 22px 22px 18px;
    border: 1px solid rgba(205, 170, 92, 0.15);
    border-left: 3px solid var(--ic-gold);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(13, 26, 46, 0.92), rgba(7, 14, 26, 0.97));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.icd-stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.icd-stat-label {
    color: var(--ic-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.icd-stat-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(205, 170, 92, 0.08);
    border: 1px solid rgba(205, 170, 92, 0.15);
    color: var(--ic-gold);
    font-size: 1.1rem;
}

.icd-stat-value {
    color: var(--ic-text);
    font-family: "Maven Pro", sans-serif;
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.icd-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 13px;
}

.icd-stat-sub {
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.icd-stat-sub:first-child { padding-left: 0; }
.icd-stat-sub:last-child  { padding-right: 0; border-right: 0; }

.icd-stat-sub-label {
    display: block;
    color: #4e6070;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.icd-stat-sub-value {
    display: block;
    color: #8fa4bc;
    font-size: 0.75rem;
    font-weight: 600;
}

.icd-stat-note {
    margin-top: 13px;
    padding-top: 11px;
    color: #3e5060;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    font-size: 0.7rem;
    font-style: italic;
    line-height: 1.65;
}

.icd-stat-note a {
    color: var(--ic-gold-light) !important;
}

/* ── Chart card ─────────────────────────────────────────────── */

.icd-chart-card {
    padding: 22px 22px 14px;
    border: 1px solid rgba(205, 170, 92, 0.15);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(13, 26, 46, 0.92), rgba(7, 14, 26, 0.97));
}

.icd-chart-card .icd-stat-label {
    font-size: 0.96rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ic-text);
    font-weight: 700;
    margin-bottom: 3px;
}

.icd-chart-subtitle {
    color: var(--ic-muted);
    font-size: 0.77rem;
    font-style: italic;
    margin-bottom: 14px;
    display: block;
}

/* ── Generic card overrides (other dashboard pages) ──────────── */

.dashboard-inner .card {
    background: linear-gradient(145deg, rgba(13, 26, 46, 0.9), rgba(7, 14, 26, 0.96)) !important;
    border-color: rgba(205, 170, 92, 0.14) !important;
    color: var(--ic-text) !important;
    border-radius: 14px !important;
}

.dashboard-inner .card-body {
    background: transparent !important;
}

.dashboard-inner .card-header {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
    color: var(--ic-text) !important;
    border-radius: 14px 14px 0 0 !important;
}

.dashboard-inner .card .title {
    color: var(--ic-text) !important;
}

/* Tables */
.dashboard-inner .table {
    color: var(--ic-text) !important;
}

.dashboard-inner .table thead th {
    color: var(--ic-muted) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
    background: rgba(255, 255, 255, 0.025) !important;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dashboard-inner .table tbody td {
    border-color: rgba(255, 255, 255, 0.055) !important;
    color: #b0c0d0 !important;
}

.dashboard-inner .table tbody tr:hover td {
    background: rgba(205, 170, 92, 0.04) !important;
}

/* Forms */
.dashboard-inner .form--control,
.dashboard-inner .form-control,
.dashboard-inner .form-select {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--ic-text) !important;
}

.dashboard-inner .form--control:focus,
.dashboard-inner .form-control:focus,
.dashboard-inner .form-select:focus {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(205, 170, 92, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(205, 170, 92, 0.07) !important;
    color: var(--ic-text) !important;
}

.dashboard-inner label {
    color: var(--ic-muted) !important;
}

.dashboard-inner .input-group-text {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--ic-muted) !important;
}

.dashboard-inner .custom-input-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-inner .custom-input-box label {
    color: var(--ic-muted) !important;
}

.dashboard-inner .custom-input-box input,
.dashboard-inner .custom-input-box select {
    background: transparent !important;
    color: var(--ic-text) !important;
}

/* Buttons in dashboard */
.dashboard-inner .btn--base,
.dashboard-inner .cmn--btn {
    background: linear-gradient(135deg, var(--ic-gold-light), var(--ic-gold)) !important;
    border-color: var(--ic-gold) !important;
    color: #11131a !important;
}

.dashboard-inner .btn--secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--ic-text) !important;
}

.dashboard-inner .btn--dark {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--ic-text) !important;
}

/* Badges / status */
.dashboard-inner .badge {
    border-radius: 6px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
}

/* Pagination */
.dashboard-inner .pagination .page-link {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--ic-text) !important;
}

.dashboard-inner .pagination .page-item.active .page-link {
    background: var(--ic-gold) !important;
    border-color: var(--ic-gold) !important;
    color: #11131a !important;
}

/* Cmn tabs */
.dashboard-inner .cmn--tabs {
    border-color: rgba(255, 255, 255, 0.07) !important;
}

.dashboard-inner .cmn--tabs li a {
    color: var(--ic-muted) !important;
}

.dashboard-inner .cmn--tabs li a.active {
    color: var(--ic-gold-light) !important;
    border-color: var(--ic-gold) !important;
}

/* Modals */
.modal-content {
    background: #0d1e33 !important;
    border: 1px solid var(--ic-border) !important;
    color: var(--ic-text) !important;
    border-radius: 18px !important;
}

.modal-header {
    border-color: rgba(255, 255, 255, 0.07) !important;
}

.modal-footer {
    border-color: rgba(255, 255, 255, 0.07) !important;
}

.modal-title {
    color: var(--ic-text) !important;
}

.modal-content .close,
.modal-content button.close {
    color: var(--ic-muted) !important;
    background: transparent !important;
    border: none !important;
    opacity: 1 !important;
}

/* Select2 dark */
.select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--ic-text) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--ic-text) !important;
}

.select2-dropdown {
    background: #0d1e33 !important;
    border-color: var(--ic-border) !important;
    border-radius: 12px !important;
}

.select2-container--default .select2-results__option {
    color: #b0c0d4 !important;
}

.select2-container--default .select2-results__option--highlighted {
    background: rgba(205, 170, 92, 0.1) !important;
    color: var(--ic-gold-light) !important;
}

/* Section headings inside dashboard pages */
.dashboard-inner .mb-4 > p:first-child {
    color: var(--ic-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* Filter areas */
.dashboard-inner .filter-area {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
}

/* bg--light override inside dashboard */
.dashboard-inner .bg--light,
.dashboard-inner .bg-light {
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Responsive dashboard sidebar overlay */
@media (max-width: 1199px) {
    .dashboard-sidebar.active {
        box-shadow: 16px 0 56px rgba(0, 0, 0, 0.6) !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PARTE 5 — Página de contacto premium
═══════════════════════════════════════════════════════════════ */

.ic-contact-page {
    padding: clamp(60px, 8vw, 100px) 0;
    min-height: 60vh;
}

.ic-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}

/* Info panel (left) */
.ic-contact-info {
    padding: 32px 28px;
    border: 1px solid var(--ic-border);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(13, 26, 46, 0.9), rgba(7, 14, 26, 0.96));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.ic-contact-info-title {
    margin: 0 0 6px;
    color: var(--ic-text);
    font-size: 1.25rem;
    font-weight: 700;
}

.ic-contact-info-sub {
    color: var(--ic-muted);
    font-size: 0.87rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.ic-contact-items {
    display: grid;
    gap: 16px;
}

.ic-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
}

.ic-contact-item-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(205, 170, 92, 0.1);
    border: 1px solid rgba(205, 170, 92, 0.18);
    color: var(--ic-gold);
    font-size: 1rem;
}

.ic-contact-item-label {
    display: block;
    color: #5a6b7e;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.ic-contact-item-value {
    display: block;
    color: var(--ic-text);
    font-size: 0.87rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Form panel (right) */
.ic-contact-form-card {
    padding: 32px 30px;
    border: 1px solid var(--ic-border);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(13, 26, 46, 0.9), rgba(7, 14, 26, 0.96));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.ic-contact-form-title {
    margin: 0 0 6px;
    color: var(--ic-text);
    font-size: 1.25rem;
    font-weight: 700;
}

.ic-contact-form-sub {
    color: var(--ic-muted);
    font-size: 0.87rem;
    margin-bottom: 26px;
}

.ic-form-group {
    margin-bottom: 18px;
}

.ic-form-label {
    display: block;
    margin-bottom: 7px;
    color: var(--ic-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.ic-form-control {
    width: 100%;
    padding: 11px 14px;
    color: var(--ic-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.ic-form-control:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(205, 170, 92, 0.35);
    box-shadow: 0 0 0 3px rgba(205, 170, 92, 0.08);
}

.ic-form-control::placeholder {
    color: #3e5060;
}

textarea.ic-form-control {
    resize: vertical;
    min-height: 120px;
}

.ic-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ic-form-submit {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    color: #11131a;
    border: 1px solid var(--ic-gold);
    border-radius: 13px;
    background: linear-gradient(135deg, var(--ic-gold-light) 0%, var(--ic-gold) 60%, #a0802e 100%);
    box-shadow: 0 10px 28px rgba(205, 170, 92, 0.2);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.ic-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(205, 170, 92, 0.3);
    opacity: 0.93;
}

/* Captcha container */
.ic-captcha-wrap {
    margin-bottom: 18px;
}

@media (max-width: 767px) {
    .ic-contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ic-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════
   NUEVO — Cabecera de sección de contacto
═══════════════════════════════════════════════════════════════ */

.ic-section-head {
    max-width: 680px;
    margin-inline: auto;
}

.ic-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 8px 13px;
    color: var(--ic-gold-light);
    border: 1px solid var(--ic-border);
    border-radius: 999px;
    background: rgba(205,170,92,.055);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.ic-section-title {
    margin: 0 0 14px;
    color: var(--ic-text);
    font-family: "Maven Pro", sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.ic-section-sub {
    color: var(--ic-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   NUEVO — Gold heading gradient (hero)
═══════════════════════════════════════════════════════════════ */

.ic-gold-heading {
    display: block;
    background: linear-gradient(135deg, #fff3c2 0%, #d8a749 42%, #f9d98c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════
   NUEVO — Hero ref: estructura tipo Webflow reference
═══════════════════════════════════════════════════════════════ */

.ic-hero-ref {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(130px, 14vw, 180px) 0 clamp(72px, 8vw, 108px);
    overflow: hidden;
    isolation: isolate;
}

.ic-hero-ref__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.ic-hero-ref__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5,7,11,.97) 0%, rgba(5,7,11,.75) 42%, rgba(5,7,11,.16) 74%, rgba(5,7,11,.54) 100%),
        linear-gradient(180deg, rgba(5,7,11,.06), rgba(5,7,11,.96) 95%);
}

.ic-hero-ref__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.ic-hero-ref__grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
    position: relative;
    z-index: 1;
}

.ic-hero-ref__content {
    max-width: 680px;
}

.ic-hero-ref__content .ic-eyebrow {
    margin-bottom: 24px;
}

.ic-hero-ref__content h1 {
    margin: 0;
    color: var(--ic-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 7vw, 110px);
    line-height: .92;
    letter-spacing: -.055em;
    font-weight: 500;
}

.ic-hero-ref__lead {
    margin: 26px 0 0;
    max-width: 640px;
    color: #f0ece4;
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    line-height: 1.38;
    font-weight: 600;
    letter-spacing: -.02em;
}

.ic-hero-ref__text {
    margin: 18px 0 34px;
    max-width: 600px;
    color: #c4cad3;
    font-size: .93rem;
    line-height: 1.82;
}

.ic-hero-ref__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ic-hero-ref__micro {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    color: #d5d8dc;
    font-size: .8rem;
}

.ic-hero-ref__micro span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.ic-hero-ref__micro em {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(216,177,94,.35);
    display: inline-grid;
    place-items: center;
    color: var(--ic-gold-light);
    font-style: normal;
    font-size: .72rem;
}

/* ── Chart visual (columna derecha del hero) ─────────────────── */

.ic-hero-ref__visual {
    position: relative;
    min-height: 490px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.ic-chart-overlay {
    width: 100%;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(9,17,28,.80), rgba(5,10,16,.46));
    box-shadow: 0 36px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.055);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.ic-chart-overlay::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(circle at 72% 18%, rgba(216,177,94,.17), transparent 36%),
        linear-gradient(135deg, rgba(216,177,94,.10), transparent 36%);
    pointer-events: none;
}

.ic-chart-overlay__top {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
    padding: 2px 2px 14px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.ic-chart-pair {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .03em;
    color: var(--ic-text);
}

.ic-chart-price {
    color: #33d48a;
    font-size: 1.05rem;
    font-weight: 800;
    margin-left: 12px;
}

.ic-chart-chg {
    color: var(--ic-gold-light);
    font-size: .78rem;
    margin-left: 8px;
}

.ic-chart-timeframes {
    display: flex;
    gap: 12px;
    color: #8f98a4;
    font-size: .72rem;
    align-items: center;
}

.ic-chart-timeframes strong {
    color: var(--ic-gold-light);
    font-weight: 700;
}

.ic-chart-overlay__canvas {
    position: relative;
    height: 290px;
    margin-top: 8px;
    z-index: 2;
}

.ic-chart-overlay__canvas canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.ic-chart-overlay__footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    color: #7f8795;
    font-size: .7rem;
    padding: 8px 3px 0;
}

.ic-chart-float {
    margin-top: 16px;
    border: 1px solid rgba(216,177,94,.22);
    border-radius: 18px;
    background: rgba(7,12,20,.82);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    padding: 20px;
    box-shadow: 0 28px 70px rgba(0,0,0,.5);
}

.ic-chart-float h3 {
    margin: 0 0 14px;
    font-size: .82rem;
    color: var(--ic-text);
    font-weight: 700;
}

.ic-chart-float__balance {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ic-chart-float__balance span {
    font-size: 2rem;
    font-weight: 750;
    letter-spacing: -.04em;
    color: var(--ic-text);
}

.ic-chart-float__balance small {
    font-size: .72rem;
    color: #a8afba;
}

.ic-chart-float__change {
    color: #33d48a;
    font-weight: 700;
    font-size: .82rem;
    margin-top: 4px;
}

.ic-chart-float__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 12px;
    margin-top: 12px;
    color: #aeb4be;
    font-size: .75rem;
}

.ic-chart-float__row strong {
    color: var(--ic-gold-light);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   NUEVO — Trust strip rediseñado (tarjeta flotante con grid)
═══════════════════════════════════════════════════════════════ */

.ic-trust-strip {
    border: 1px solid rgba(218,177,91,.22) !important;
    background: linear-gradient(180deg, rgba(12,19,31,.86), rgba(8,13,21,.76)) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.36) !important;
    margin: -28px auto 0;
    position: relative;
    z-index: 4;
    padding: 0 !important;
    border-top: 1px solid rgba(218,177,91,.22) !important;
    border-bottom: 1px solid rgba(218,177,91,.22) !important;
}

.ic-trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.ic-trust-strip__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 22px 20px;
    border-right: 1px solid rgba(255,255,255,.08);
    align-items: center;
}

.ic-trust-strip__item:last-child {
    border-right: 0;
}

.ic-trust-strip__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216,177,94,.35);
    color: var(--ic-gold-light);
    background: rgba(216,177,94,.06);
    font-size: 1.25rem;
    flex: 0 0 auto;
}

.ic-trust-strip__item h3 {
    margin: 0 0 4px;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ic-gold-light);
    font-weight: 700;
}

.ic-trust-strip__item p {
    margin: 0;
    color: #bac0c8;
    font-size: .76rem;
    line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════
   NUEVO — Feature / filosofía section
═══════════════════════════════════════════════════════════════ */

.ic-feature-section {
    padding: clamp(80px, 9vw, 124px) 0 clamp(72px, 8vw, 100px);
}

.ic-feature-section__split {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(48px, 6vw, 80px);
    align-items: center;
}

.ic-feature-section__split .ic-eyebrow {
    margin-bottom: 18px;
}

.ic-feature-section__split h2 {
    margin: 0 0 22px;
    color: var(--ic-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.8vw, 3.6rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.04em;
}

.ic-feature-section__split p {
    color: #c4cad3;
    line-height: 1.85;
    font-size: .95rem;
    margin-bottom: 22px;
}

.ic-feature-section__visual {
    min-height: 430px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background:
        linear-gradient(90deg, rgba(5,7,11,.28), rgba(5,7,11,.68)),
        url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
    box-shadow: 0 36px 90px rgba(0,0,0,.45);
    position: relative;
}

.ic-feature-section__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(216,177,94,.22), transparent 28%);
}

.ic-feature-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 48px;
    border: 1px solid rgba(216,177,94,.20);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(9,16,27,.72);
}

.ic-feature-metric {
    padding: 24px 28px;
    border-right: 1px solid rgba(255,255,255,.08);
}

.ic-feature-metric:last-child {
    border-right: 0;
}

.ic-feature-metric strong {
    display: block;
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    color: var(--ic-text);
    font-weight: 700;
    letter-spacing: -.03em;
}

.ic-feature-metric span {
    display: block;
    color: #9ea6b1;
    margin-top: 5px;
    font-size: .78rem;
}

/* ═══════════════════════════════════════════════════════════════
   NUEVO — Plan grid wrapper (fila Bootstrap + clase propia)
═══════════════════════════════════════════════════════════════ */

.ic-plan-grid {
    /* La cuadrícula real la maneja Bootstrap con col-lg-4;
       aquí solo garantizamos el spacing vertical */
    row-gap: 22px !important;
}

/* ═══════════════════════════════════════════════════════════════
   NUEVO — Process section (reemplaza ic-hiw-section)
═══════════════════════════════════════════════════════════════ */

.ic-process-section {
    padding: clamp(72px, 8vw, 108px) 0;
    background: #070e1c;
    border-top: 1px solid rgba(255,255,255,.055);
    scroll-margin-top: 110px;
}

.ic-process-section .ic-section-header {
    max-width: 680px;
    margin: 0 auto 58px;
    text-align: center;
}

.ic-process-section .ic-section-header h2 {
    margin: 0 0 16px;
    color: var(--ic-text);
    font-family: "Maven Pro", sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.ic-process-section .ic-section-header p {
    color: var(--ic-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.ic-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    position: relative;
}

.ic-process-grid::before {
    content: "";
    position: absolute;
    top: 46px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(205,170,92,0) 0%,
        rgba(205,170,92,.32) 18%,
        rgba(205,170,92,.32) 82%,
        rgba(205,170,92,0) 100%);
    pointer-events: none;
    z-index: 0;
}

.ic-process-card {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(216,177,94,.20);
    border-radius: 22px;
    background: rgba(10,17,27,.74);
    padding: 28px;
    text-align: center;
    transition: border-color .25s ease, transform .25s ease;
}

.ic-process-card:hover {
    border-color: rgba(216,177,94,.45);
    transform: translateY(-5px);
}

.ic-process-num {
    color: var(--ic-gold-light);
    font-family: Georgia, serif;
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 14px;
    line-height: 1;
}

.ic-process-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border: 1px solid rgba(205,170,92,.25);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(205,170,92,.12), rgba(205,170,92,.04));
    box-shadow: 0 8px 28px rgba(0,0,0,.28);
}

.ic-process-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1) sepia(.3) saturate(1.6) hue-rotate(8deg);
    opacity: .82;
}

.ic-process-card h3 {
    margin: 0 0 10px;
    color: var(--ic-text);
    font-size: .97rem;
    font-weight: 700;
}

.ic-process-card p {
    font-size: .82rem;
    line-height: 1.65;
    color: var(--ic-muted);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   NUEVO — CTA Banner
═══════════════════════════════════════════════════════════════ */

.ic-cta-banner {
    margin: clamp(56px, 8vw, 96px) 0;
    border: 1px solid rgba(216,177,94,.35);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 36px 44px;
    background:
        linear-gradient(135deg, rgba(13,20,32,.94) 0%, rgba(7,12,20,.78) 100%);
    box-shadow: 0 28px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(216,177,94,.1);
    overflow: hidden;
    position: relative;
}

.ic-cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 50%, rgba(216,177,94,.12), transparent 40%);
    pointer-events: none;
}

.ic-cta-banner h2 {
    margin: 0 0 8px;
    color: var(--ic-text);
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 500;
    letter-spacing: -.03em;
    position: relative;
}

.ic-cta-banner p {
    margin: 0;
    color: #d0d5dc;
    font-size: .92rem;
    position: relative;
}

.ic-cta-banner__actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════════
   NUEVO — Footer premium (4 columnas)
═══════════════════════════════════════════════════════════════ */

.ic-footer-premium .ic-footer-grid {
    grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(140px, 0.6fr));
}

/* ═══════════════════════════════════════════════════════════════
   NUEVO — Reveal on scroll
═══════════════════════════════════════════════════════════════ */

.ic-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .75s ease, transform .75s ease;
}

.ic-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .ic-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — nuevas secciones
═══════════════════════════════════════════════════════════════ */

@media (max-width: 1280px) {
    .ic-hero-ref__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 1100px) {
    .ic-hero-ref__grid {
        grid-template-columns: 1fr;
    }
    .ic-hero-ref__content {
        max-width: 760px;
    }
    .ic-hero-ref__visual {
        min-height: auto;
        width: min(100%, 720px);
        margin-inline: auto;
    }
    .ic-trust-strip__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ic-trust-strip__item:nth-child(3) {
        border-right: 0;
    }
    .ic-trust-strip__item:nth-child(4),
    .ic-trust-strip__item:nth-child(5) {
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .ic-feature-section__split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ic-feature-section__visual {
        min-height: 320px;
    }
    .ic-feature-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .ic-feature-metric:nth-child(2) { border-right: 0; }
    .ic-feature-metric:nth-child(3) { border-top: 1px solid rgba(255,255,255,.08); }
    .ic-feature-metric:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }
    .ic-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ic-process-grid::before { display: none; }
    .ic-cta-banner { grid-template-columns: 1fr; }
    .ic-cta-banner__actions { justify-content: flex-start; }
    .ic-footer-premium .ic-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 767px) {
    .ic-hero-ref {
        padding: clamp(110px, 20vw, 140px) 0 clamp(60px, 8vw, 80px);
    }
    .ic-hero-ref__content h1 {
        font-size: clamp(48px, 17vw, 72px);
    }
    .ic-hero-ref__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .ic-hero-ref__actions .ic-btn,
    .ic-hero-ref__actions .ic-text-link {
        width: 100%;
        justify-content: center;
    }
    .ic-trust-strip {
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        margin: 0 !important;
    }
    .ic-trust-strip__grid {
        grid-template-columns: 1fr;
    }
    .ic-trust-strip__item {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .ic-trust-strip__item:last-child { border-bottom: 0; }
    .ic-feature-metrics {
        grid-template-columns: 1fr 1fr;
    }
    .ic-process-grid {
        grid-template-columns: 1fr;
    }
    .ic-cta-banner {
        padding: 28px 22px;
    }
    .ic-cta-banner__actions {
        flex-direction: column;
    }
    .ic-cta-banner__actions .ic-btn {
        width: 100%;
        justify-content: center;
    }
    .ic-footer-premium .ic-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   DISEÑO APROBADO — instinto_responsive_gold_candles_chart_fixed
   Clases del HTML aprobado por Bayron
═══════════════════════════════════════════════════════════════════ */

/* ── Variables adicionales ───────────────────────────────────────── */
:root {
    --bg:     #040608;
    --bg2:    #08121d;
    --panel:  #09131f;
    --gold-a: #d5a74a;
    --gold-2a:#f3d88e;
    --gold-3a:#9f6820;
    --cyan:   #62d5ff;
    --green-a:#2ed98c;
    --gline:  rgba(243,216,142,.22);
    --radius: 28px;
    --serif:  Georgia, "Times New Roman", serif;
    --mono:   ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ── ic-public-main — ajuste para el nuevo header flotante ──────── */
.ic-public-main {
    padding-top: 120px;
}

/* ══════════════════════════════════════════════════════════════════
   GOLD-RIVER — borde animado
══════════════════════════════════════════════════════════════════ */
.gold-river {
    position: relative;
    isolation: isolate;
}
.gold-river::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -2;
    border-radius: inherit;
    background:
        linear-gradient(90deg,
            transparent 0%,
            rgba(255,232,166,.0) 7%,
            rgba(255,232,166,.95) 13%,
            rgba(213,167,74,.25) 18%,
            transparent 28%,
            transparent 58%,
            rgba(255,232,166,.0) 65%,
            rgba(255,232,166,.95) 72%,
            rgba(213,167,74,.24) 78%,
            transparent 88%);
    background-size: 250% 100%;
    animation: icRiver 5.4s linear infinite;
    filter: drop-shadow(0 0 12px rgba(243,216,142,.30));
}
.gold-river::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: calc(var(--radius) - 1px);
    background: linear-gradient(180deg, rgba(7,12,19,.94), rgba(4,8,13,.86));
}
@keyframes icRiver {
    from { background-position: 0% 50% }
    to   { background-position: 250% 50% }
}
@media (prefers-reduced-motion: reduce) {
    .gold-river::before { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════
   HEADER APROBADO
══════════════════════════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1040;
    width: min(1600px, calc(100% - 56px));
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(5,9,14,.74);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    box-shadow: 0 25px 80px rgba(0,0,0,.46);
    overflow: visible;
    transition: background 220ms ease, border-color 220ms ease;
}
.header.is-scrolled {
    background: rgba(3,7,14,.88);
    border-color: rgba(243,216,142,.18);
}
.header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 22px;
}

/* ── Marca ───────────────────────────────────────────────────────── */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 230px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand__logo {
    height: 62px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}
/* Contenedor del texto: una sola fila con ambas palabras en oro */
.brand > span {
    display: flex;
    align-items: baseline;
    gap: 7px;
}
.brand__name {
    display: inline;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--gold-2a);
}
.brand__sub {
    display: inline;
    margin-top: 0;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--gold-2a);
}

/* ── Navegación ──────────────────────────────────────────────────── */
.nav {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 1;
    justify-content: center;
}
.nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    color: #c7d0dd;
    border-radius: 11px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease;
}
.nav a:hover,
.nav a:focus-visible,
.nav a.active {
    color: var(--gold-2a);
    background: rgba(243,216,142,.08);
}

/* ── Acciones del header ─────────────────────────────────────────── */
.actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}
.actions .language_switcher__caption .text,
.actions .language_switcher::after {
    color: var(--ic-text) !important;
}

/* ── Botones (namespace propio, no afecta Bootstrap .btn) ────────── */
.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border-radius: 13px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    font-weight: 700;
    font-size: .88rem;
    white-space: nowrap;
    text-decoration: none;
    color: var(--ic-text);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(243,216,142,.44); color: var(--ic-text); }
.btn--gold {
    color: #1b1205 !important;
    border-color: rgba(243,216,142,.8);
    background: linear-gradient(135deg, #ffe7a5 0%, #d5a74a 52%, #b97924 100%);
    box-shadow: 0 14px 36px rgba(213,167,74,.22);
}
.btn--gold:hover { color: #1b1205 !important; }
.btn--ghost { background: rgba(255,255,255,.02); color: var(--ic-text); }
.btn--text  { border: 0; background: transparent; color: var(--gold-2a); padding: 0 8px; min-height: auto; }
.btn--text:hover { transform: none; color: #fff; }

/* ══════════════════════════════════════════════════════════════════
   HERO APROBADO
══════════════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 142px 0 64px;
    margin-top: -120px; /* compensa padding-top de ic-public-main */
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(2,3,5,.98) 0%, rgba(2,3,5,.88) 34%, rgba(2,3,5,.48) 63%, rgba(2,3,5,.82) 100%),
        linear-gradient(180deg, rgba(2,3,5,.08), rgba(2,3,5,.96) 92%);
    background-color: #030508;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.023) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.023) 1px, transparent 1px);
    background-size: 88px 88px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
    mask-image: linear-gradient(180deg, #000, transparent 80%);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(520px, 1.08fr);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Textos del hero */
.hero .eyebrow {
    color: var(--gold-2a);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 700;
    margin-bottom: 22px;
    display: block;
}
.hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(62px, 7vw, 110px);
    line-height: .88;
    letter-spacing: -.062em;
    font-weight: 500;
    color: var(--ic-text);
    max-width: 700px;
}
.hero h1 span {
    display: block;
    background: linear-gradient(135deg, #fff4c9 0%, #d8a447 45%, #ffe39c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lead {
    max-width: 610px;
    margin: 26px 0 0;
    font-size: clamp(20px, 1.7vw, 28px);
    line-height: 1.3;
    color: #fff;
    font-weight: 700;
    letter-spacing: -.02em;
}
.text {
    max-width: 600px;
    margin: 18px 0 32px;
    color: var(--ic-muted);
    line-height: 1.8;
    font-size: 16px;
}
.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}
.signals {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    color: #d5dbe4;
    font-size: 14px;
}
.signals span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.signals i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(243,216,142,.32);
    color: var(--gold-2a);
    font-style: normal;
    background: rgba(243,216,142,.05);
    font-size: .85rem;
}

/* Columna visual del hero */
.visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ══════════════════════════════════════════════════════════════════
   CHART SHELL — gráfico aprobado
══════════════════════════════════════════════════════════════════ */
.chart-shell {
    width: min(880px, 100%);
    max-width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    padding: 16px;
    box-shadow: 0 36px 110px rgba(0,0,0,.58);
}
.chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: relative;
    z-index: 1;
}
.chart-title {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--ic-text);
}
.chart-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: #9ca7b4;
    font-size: 12px;
}
.chart-tabs b {
    color: var(--gold-2a);
    padding: 7px 11px;
    border-radius: 9px;
    border: 1px solid rgba(243,216,142,.22);
    background: rgba(243,216,142,.06);
}

/* Área del canvas — CRÍTICO */
.chart-area {
    position: relative;
    height: clamp(280px, 36vw, 420px);
    padding: 10px 8px 0;
}
.chart-canvas {
    position: absolute;
    inset: 10px 8px 0 8px;
    width: calc(100% - 16px);
    height: calc(100% - 10px);
    display: block;
}

/* Barra resumen */
.summary-bar {
    margin: 0 0 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(5,9,14,.54);
}
.summary-item {
    padding: 20px 22px;
    border-right: 1px solid rgba(255,255,255,.08);
}
.summary-item:last-child { border-right: 0; }
.summary-label {
    color: var(--gold-2a);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 10px;
}
.summary-big {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.05em;
    color: var(--ic-text);
}
.summary-small { color: #9da6b2; font-size: 12px; }
.summary-up    { color: var(--green-a); font-weight: 700; margin-top: 6px; }
.chart-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #8e99a8;
    font-family: var(--mono);
    font-size: 11px;
    padding: 8px 10px 14px;
    border-top: 1px solid rgba(255,255,255,.06);
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════════════════════════
   TRUST STRIP APROBADO
══════════════════════════════════════════════════════════════════ */
.trust {
    margin-top: -28px;
    position: relative;
    z-index: 5;
    padding: 0 0 72px;
}
.trust__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--gline);
    background: linear-gradient(180deg, rgba(11,18,29,.88), rgba(7,12,20,.82));
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 70px rgba(0,0,0,.38);
}
.trust__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 22px 20px;
    border-right: 1px solid rgba(255,255,255,.08);
}
.trust__item:last-child { border-right: 0; }
.trust__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold-2a);
    font-size: 20px;
    border: 1px solid rgba(243,216,142,.34);
    background: rgba(243,216,142,.05);
    flex-shrink: 0;
}
.trust__item h3 {
    margin: 0 0 5px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold-2a);
    font-weight: 700;
}
.trust__item p {
    margin: 0;
    color: #b8c2ce;
    line-height: 1.45;
    font-size: 13px;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION — envoltorio de planes y otras secciones
══════════════════════════════════════════════════════════════════ */
.section {
    padding: 82px 0;
}
.section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.section .eyebrow {
    color: var(--gold-2a);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}
.section h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1.04;
    letter-spacing: -.04em;
    font-weight: 500;
    color: var(--ic-text);
}

/* ══════════════════════════════════════════════════════════════════
   REVEAL ANIMATION (aprobado usa .reveal + .show)
══════════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .75s ease, transform .75s ease;
}
.reveal.show {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER — 4 columnas
══════════════════════════════════════════════════════════════════ */
.ic-footer-premium .footer {
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 42px;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE APROBADO
══════════════════════════════════════════════════════════════════ */

/* ── ≤1280px ─────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .visual {
        justify-content: flex-start;
        min-height: auto;
    }
    .chart-shell { width: min(920px, 100%); }
    .trust__grid { grid-template-columns: repeat(3, 1fr); }
    .trust__item:nth-child(3) { border-right: 0; }
    .trust__item:nth-child(4),
    .trust__item:nth-child(5) {
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .nav { display: none; }
}

/* ── ≤900px ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .header { top: 12px; width: calc(100% - 26px); }
    .header__inner { min-height: 72px; flex-wrap: wrap; padding: 12px 14px; }
    .brand { min-width: auto; }
    .brand__logo { height: 48px; }
    .brand__name { font-size: 13px; letter-spacing: .18em; }
    .brand__sub  { font-size: 13px; letter-spacing: .18em; }
    .actions .btn--ghost { display: none; }
    .hero { padding-top: 130px; }
    .hero__buttons .btn:not(.btn--text) { flex: 1 1 200px; }
    .summary-bar { grid-template-columns: 1fr; }
    .summary-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
    .summary-item:last-child { border-bottom: 0; }
    .trust__grid { grid-template-columns: 1fr; }
    .trust__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
    .trust__item:last-child { border-bottom: 0; }
    .trust__item:nth-child(3) { border-right: 0; }
    .trust__item:nth-child(4),
    .trust__item:nth-child(5) { border-top: 0; }
    .chart-head { flex-direction: column; align-items: flex-start; }
    .chart-tabs { margin-top: 8px; }
    .section__head { flex-direction: column; align-items: flex-start; }
    .ic-footer-premium .footer { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ── ≤640px ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero h1 { font-size: 52px; }
    .lead { font-size: 20px; }
    .text { font-size: 15px; }
    .hero__buttons { flex-direction: column; align-items: stretch; }
    .hero__buttons .btn, .hero__buttons .btn--text { width: 100%; justify-content: center; }
    .chart-area { height: 290px; }
    .chart-title { font-size: 12px; }
    .section { padding: 60px 0; }
    .ic-footer-premium .footer { grid-template-columns: 1fr; }
    .ic-footer-bottom { flex-direction: column; }
}

/* ── Mobile nav overlay ──────────────────────────────────────────── */
@media (max-width: 1280px) {
    .ic-nav-toggle { display: grid; margin-left: auto; }
    .nav {
        position: fixed;
        inset: 112px 16px auto;
        max-height: calc(100vh - 130px);
        display: none;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        border: 1px solid rgba(243,216,142,.22);
        border-radius: 18px;
        background: rgba(5,11,20,.98);
        box-shadow: 0 24px 70px rgba(0,0,0,.52);
        z-index: 1038;
    }
    .header.is-open .nav { display: flex; }
    .nav a { width: 100%; min-height: 48px; justify-content: flex-start; }
    .header.is-open .actions {
        position: fixed;
        inset: auto 32px 34px;
        z-index: 1039;
        display: flex;
        padding-top: 14px;
    }
}


/* ══════════════════════════════════════════════════════════════════
   COOKIE CARD — fondo oscuro, texto e icono dorado
══════════════════════════════════════════════════════════════════ */
.cookies-card {
    background: #06101c !important;
    color: var(--gold-2a, #f3d88e) !important;
    border: 1px solid rgba(243,216,142,.22) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,.52) !important;
}
.cookies-card__content,
.cookies-card__content a {
    color: var(--gold-2a, #f3d88e) !important;
}
.cookies-card__icon {
    background: rgba(243,216,142,.12) !important;
    color: var(--gold-2a, #f3d88e) !important;
    border: 1px solid rgba(243,216,142,.28) !important;
}
.cookies-card .btn--base,
.cookies-card .policy {
    background: linear-gradient(135deg, #ffe7a5 0%, #d5a74a 52%, #b97924 100%) !important;
    color: #1b1205 !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}

/* ══════════════════════════════════════════════════════════════════
   AUTH PAGES — login / registro, tema dark premium
══════════════════════════════════════════════════════════════════ */

/* Fondo de la página */
.account-section {
    min-height: 100vh !important;
    background:
        radial-gradient(circle at 78% 8%,  rgba(243,216,142,.09), transparent 24%),
        radial-gradient(circle at 14% 38%, rgba(36,82,118,.12),   transparent 28%),
        linear-gradient(180deg, #020305 0%, #08111c 60%, #020305 100%) !important;
    padding: 80px 0 60px !important;
    align-items: center !important;
}

/* Logo superior */
.auth-page-logo img {
    height: 68px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 14px rgba(213,167,74,.22));
}

/* Tarjeta del formulario */
.account-form {
    background: linear-gradient(160deg, rgba(11,19,31,.95), rgba(6,12,22,.98)) !important;
    border: 1px solid rgba(243,216,142,.22) !important;
    border-radius: 24px !important;
    padding: 42px !important;
    box-shadow: 0 32px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
@media (max-width: 450px) {
    .account-form { padding: 26px !important; }
}

/* Títulos del formulario */
.account-form h4 {
    color: #f5f2ea !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    letter-spacing: -.02em !important;
    margin-bottom: 8px !important;
}
.account-form p {
    color: #8e9bae !important;
}

/* Labels */
.account-form label,
.account-form .form-label {
    color: #b8c4d0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .04em !important;
    margin-bottom: 7px !important;
}

/* Campos de texto */
.account-form .form-control,
.account-form .form--control {
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 12px !important;
    color: #f0ece3 !important;
    height: 50px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    box-shadow: none !important;
    transition: border-color 180ms, background 180ms;
}
.account-form .form-control:focus,
.account-form .form--control:focus {
    background: rgba(255,255,255,.07) !important;
    border-color: rgba(243,216,142,.55) !important;
    box-shadow: 0 0 0 3px rgba(213,167,74,.12) !important;
    color: #f5f2ea !important;
    outline: none !important;
}
.account-form .form-control::placeholder,
.account-form .form--control::placeholder {
    color: rgba(155,170,190,.45) !important;
    opacity: 1 !important;
}

/* Autofill oscuro */
.account-form input:-webkit-autofill,
.account-form input:-webkit-autofill:hover,
.account-form input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #07111e inset !important;
    -webkit-text-fill-color: #f0ece3 !important;
    border-color: rgba(243,216,142,.35) !important;
    caret-color: #f0ece3 !important;
}

/* Checkbox */
.account-form .form-check-input {
    background-color: rgba(255,255,255,.06) !important;
    border-color: rgba(255,255,255,.22) !important;
    width: 18px;
    height: 18px;
}
.account-form .form-check-input:checked {
    background-color: #d5a74a !important;
    border-color: #d5a74a !important;
}
.account-form .custom--checkbox label,
.account-form .form-check-label {
    color: #9da8b7 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

/* Botón principal */
.account-form .btn--base {
    background: linear-gradient(135deg, #ffe7a5 0%, #d5a74a 52%, #b97924 100%) !important;
    color: #1b1205 !important;
    border: none !important;
    border-radius: 13px !important;
    min-height: 50px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: .04em !important;
    box-shadow: 0 12px 34px rgba(213,167,74,.24) !important;
    transition: transform 180ms ease, box-shadow 180ms ease !important;
}
.account-form .btn--base:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 42px rgba(213,167,74,.32) !important;
    color: #1b1205 !important;
}

/* Links dentro del formulario */
.account-form .text--base,
.account-form a.fw-bold.text--base,
.account-form a.link-color {
    color: #f3d88e !important;
}
.account-form .text--base:hover,
.account-form a.fw-bold.text--base:hover {
    color: #fff !important;
}
.account-form a[href*="password.request"] {
    color: #f3d88e !important;
    font-size: 13px !important;
}

/* Texto "¿Ya tienes cuenta?" */
.account-form .col-12.mt-4 p {
    color: #7a8899 !important;
    font-size: 14px !important;
}

/* Separador de login social */
.account-form .social-login-divider,
.account-form hr {
    border-color: rgba(255,255,255,.10) !important;
}

/* Input group (prefijo teléfono, etc.) */
.account-form .input-group-text {
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    color: #8e9bae !important;
    border-radius: 12px 0 0 12px !important;
}

/* Canvas de fondo auth */
.ic-auth-bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: block;
}
.account-section .container {
    position: relative;
    z-index: 1;
}


/* ════════════════════════════════════════════════════════════════
   DASHBOARD HERO — premium welcome panel
   ════════════════════════════════════════════════════════════════ */

.icd-dashboard-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(205, 170, 92, .20);
    border-left: 3px solid var(--ic-gold);
    border-radius: 20px;
    background: linear-gradient(135deg,
        rgba(10, 22, 42, .97) 0%,
        rgba(6, 12, 24, .98) 55%,
        rgba(10, 18, 32, .97) 100%);
    padding: 28px 28px 22px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(205, 170, 92, .06);
}

/* Decorative radial glows */
.icd-hero-glow {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 170, 92, .10) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.icd-hero-glow-2 {
    position: absolute;
    bottom: -90px;
    left: 35%;
    width: 340px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 170, 92, .055) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.icd-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.icd-hero-greeting {
    font-family: var(--serif, 'Lora', Georgia, serif);
    font-size: clamp(1.05rem, 2.1vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--ic-text);
    margin: 0 0 6px;
    line-height: 1.38;
}

.icd-hero-name {
    color: var(--ic-gold-light);
    font-weight: 500;
}

.icd-hero-date {
    color: var(--ic-muted);
    font-size: 0.77rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Portfolio total block (right-aligned) */
.icd-hero-portfolio {
    text-align: right;
    flex-shrink: 0;
}

.icd-portfolio-label {
    display: block;
    color: var(--ic-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.icd-portfolio-total {
    display: block;
    font-family: "Maven Pro", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 600;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, #f3d88e 0%, #cdaa5c 50%, #a07830 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.icd-portfolio-note {
    display: block;
    color: #3e5060;
    font-size: 0.65rem;
    font-style: italic;
    margin-top: 5px;
}

/* ── Quick-action row ─────────────────────────────────────────── */

.icd-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    position: relative;
    z-index: 1;
}

.icd-qa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .18s ease;
    border: 1px solid rgba(205, 170, 92, .17);
    color: #8fa4bc;
    background: rgba(205, 170, 92, .05);
}

.icd-qa-btn i {
    font-size: 1rem;
    line-height: 1;
}

.icd-qa-btn:hover,
.icd-qa-btn:focus {
    color: var(--ic-gold-light);
    background: rgba(205, 170, 92, .10);
    border-color: rgba(205, 170, 92, .32);
    transform: translateY(-1px);
}

.icd-qa-btn--gold {
    background: linear-gradient(135deg, rgba(205, 170, 92, .22), rgba(160, 120, 48, .18));
    border-color: rgba(205, 170, 92, .42);
    color: var(--ic-gold-light);
}

.icd-qa-btn--gold:hover,
.icd-qa-btn--gold:focus {
    background: linear-gradient(135deg, rgba(205, 170, 92, .32), rgba(160, 120, 48, .28));
    border-color: rgba(205, 170, 92, .65);
    color: #f3d88e;
}

/* ── Section divider titles ───────────────────────────────────── */

.icd-section-title {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: #445a6a;
    margin-bottom: 14px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    display: flex;
    align-items: center;
    gap: 7px;
}

.icd-section-title i {
    font-size: 0.95rem;
    color: rgba(205, 170, 92, .55);
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 991px) {
    .icd-dashboard-hero {
        padding: 22px 20px 18px;
    }

    .icd-hero-top {
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .icd-dashboard-hero {
        padding: 18px 16px 16px;
        border-radius: 14px;
    }

    .icd-hero-top {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 14px;
    }

    .icd-hero-portfolio {
        text-align: left;
    }

    .icd-hero-greeting {
        font-size: 1rem;
    }

    .icd-portfolio-total {
        font-size: 1.65rem;
    }

    .icd-quick-actions {
        gap: 7px;
    }

    .icd-qa-btn {
        padding: 7px 11px;
        font-size: 0.72rem;
    }

    .icd-qa-btn span {
        display: none;
    }

    .icd-qa-btn i {
        font-size: 1.1rem;
    }

    .icd-qa-btn--gold span {
        display: inline;
    }
}

/* ══════════════════════════════════════════════════════════════════
   IC SECTION TITLE / SUB
══════════════════════════════════════════════════════════════════ */
.ic-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--ic-text);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.ic-section-sub {
    color: var(--ic-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════════
   IC PAGE HERO — hero compacto páginas interiores
══════════════════════════════════════════════════════════════════ */
.ic-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(100px, 12vw, 130px) 0 clamp(52px, 7vw, 80px);
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(205,170,92,.10), transparent),
        linear-gradient(180deg, rgba(5,7,12,.99) 0%, rgba(8,14,24,.97) 100%);
    border-bottom: 1px solid var(--ic-border);
}

.ic-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 60%, rgba(205,170,92,.05) 0%, transparent 38%),
        radial-gradient(circle at 82% 20%, rgba(25,55,115,.10) 0%, transparent 32%);
    pointer-events: none;
}

.ic-page-hero__inner {
    position: relative;
    max-width: 860px;
}

.ic-page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 8px 14px;
    color: var(--ic-gold-light);
    border: 1px solid var(--ic-border);
    border-radius: 999px;
    background: rgba(205,170,92,.06);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.ic-page-hero__badge i {
    font-size: 0.9rem;
}

.ic-page-hero__title {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--ic-text);
    margin: 0 0 20px;
    letter-spacing: -0.025em;
}

.ic-page-hero__sub {
    max-width: 660px;
    color: var(--ic-muted);
    font-size: 1.02rem;
    line-height: 1.78;
    margin: 0;
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.ic-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 22px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ic-muted);
    list-style: none;
    padding: 0;
}

.ic-breadcrumb a {
    color: rgba(157,169,186,.65);
    text-decoration: none;
    transition: color 180ms ease;
}

.ic-breadcrumb a:hover {
    color: var(--ic-gold-light);
}

.ic-breadcrumb span {
    color: rgba(157,169,186,.35);
}

.ic-breadcrumb span:last-child {
    color: var(--ic-muted);
}

/* ══════════════════════════════════════════════════════════════════
   IC CONTACT HERO
══════════════════════════════════════════════════════════════════ */
.ic-contact-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(100px, 12vw, 130px) 0 clamp(52px, 7vw, 80px);
    background:
        radial-gradient(ellipse 80% 50% at 60% -5%, rgba(205,170,92,.08), transparent),
        linear-gradient(180deg, rgba(5,7,12,.99) 0%, rgba(8,14,24,.97) 100%);
    border-bottom: 1px solid var(--ic-border);
}

.ic-contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 70%, rgba(205,170,92,.04) 0%, transparent 36%),
        radial-gradient(circle at 20% 20%, rgba(20,50,110,.09) 0%, transparent 30%);
    pointer-events: none;
}

/* ── Contact info footer note ─────────────────────────────────── */
.ic-contact-info-head {
    margin-bottom: 28px;
}

.ic-contact-info-note {
    margin-top: 24px;
    padding: 12px 16px;
    border: 1px solid rgba(205,170,92,.14);
    border-radius: 11px;
    background: rgba(205,170,92,.04);
    color: #5f7080;
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    gap: 9px;
}

.ic-contact-info-note i {
    color: var(--ic-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.ic-contact-form-head {
    margin-bottom: 26px;
}

/* ══════════════════════════════════════════════════════════════════
   IC LEGAL SHELL / CARD / CONTENT
══════════════════════════════════════════════════════════════════ */
.ic-legal-shell {
    padding: clamp(52px, 7vw, 90px) 0;
}

.ic-legal-card {
    max-width: 840px;
    margin-inline: auto;
    padding: clamp(32px, 5vw, 58px);
    border: 1px solid var(--ic-border);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(13,26,46,.88), rgba(7,14,26,.94));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 32px 80px rgba(0,0,0,.28);
}

.ic-legal-content {
    color: #c4cdd9;
    font-size: 0.96rem;
    line-height: 1.87;
}

.ic-legal-content h1 {
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    font-weight: 800;
    color: var(--ic-text);
    margin: 0 0 24px;
    letter-spacing: -0.015em;
}

.ic-legal-content h2 {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 700;
    color: var(--ic-gold-light);
    margin: 44px 0 16px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--ic-border);
    letter-spacing: -0.01em;
}

.ic-legal-content h2:first-child {
    margin-top: 0;
}

.ic-legal-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ic-text);
    margin: 30px 0 12px;
}

.ic-legal-content h4 {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--ic-muted);
    margin: 22px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ic-legal-content p {
    margin: 0 0 18px;
}

.ic-legal-content p:last-child {
    margin-bottom: 0;
}

.ic-legal-content ul,
.ic-legal-content ol {
    margin: 0 0 20px;
    padding-left: 0;
    list-style: none;
}

.ic-legal-content ul li,
.ic-legal-content ol li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: #c4cdd9;
}

.ic-legal-content ul li::before {
    content: "◆";
    position: absolute;
    left: 1px;
    color: var(--ic-gold);
    font-size: 0.46rem;
    top: 9px;
}

.ic-legal-content ol {
    counter-reset: ic-list;
}

.ic-legal-content ol li {
    counter-increment: ic-list;
}

.ic-legal-content ol li::before {
    content: counter(ic-list) ".";
    position: absolute;
    left: 0;
    color: var(--ic-gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    top: 2px;
}

.ic-legal-content strong,
.ic-legal-content b {
    color: var(--ic-text);
    font-weight: 700;
}

.ic-legal-content a {
    color: var(--ic-gold-light);
    text-decoration: underline;
    text-decoration-color: rgba(234,213,155,.3);
    text-underline-offset: 3px;
}

.ic-legal-content a:hover {
    text-decoration-color: var(--ic-gold-light);
}

.ic-legal-content hr {
    border: none;
    border-top: 1px solid var(--ic-border);
    margin: 36px 0;
}

.ic-legal-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 3px solid var(--ic-gold);
    border-radius: 0 12px 12px 0;
    background: rgba(205,170,92,.05);
    color: var(--ic-muted);
    font-style: italic;
}

.ic-legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.87rem;
}

.ic-legal-content th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    color: var(--ic-gold-light);
    border-bottom: 1px solid var(--ic-border);
}

.ic-legal-content td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    color: #c4cdd9;
}

/* ══════════════════════════════════════════════════════════════════
   IC FAQ PREMIUM ACCORDION
══════════════════════════════════════════════════════════════════ */
.ic-faq-list {
    max-width: 840px;
    margin-inline: auto;
    display: grid;
    gap: 10px;
}

.ic-faq-item {
    border: 1px solid var(--ic-border);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(13,26,46,.85), rgba(7,14,26,.92));
    overflow: hidden;
    transition: border-color 260ms ease, box-shadow 260ms ease;
}

.ic-faq-item.is-open {
    border-color: rgba(205,170,92,.30);
    box-shadow: 0 8px 32px rgba(205,170,92,.07);
}

.ic-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 26px;
    background: none;
    border: none;
    color: var(--ic-text);
    font-size: 0.97rem;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: color 180ms ease;
    line-height: 1.4;
}

.ic-faq-question:hover {
    color: var(--ic-gold-light);
}

.ic-faq-item.is-open .ic-faq-question {
    color: var(--ic-gold-light);
}

.ic-faq-icon {
    flex: 0 0 auto;
    font-size: 0.82rem;
    color: var(--ic-gold);
    transition: transform 290ms cubic-bezier(.4,0,.2,1);
    margin-top: 1px;
}

.ic-faq-item.is-open .ic-faq-icon {
    transform: rotate(180deg);
}

.ic-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 310ms cubic-bezier(.4,0,.2,1);
}

.ic-faq-item.is-open .ic-faq-answer {
    grid-template-rows: 1fr;
}

.ic-faq-answer-inner {
    overflow: hidden;
}

.ic-faq-answer-inner p {
    padding: 2px 26px 22px;
    color: var(--ic-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.05);
    padding-top: 16px;
}

/* ══════════════════════════════════════════════════════════════════
   IC FAQ SECTION (embedded in CMS pages)
══════════════════════════════════════════════════════════════════ */
.ic-faq-section {
    padding: clamp(52px, 7vw, 90px) 0;
}

/* ── Responsive: páginas interiores ──────────────────────────── */
@media (max-width: 991px) {
    .ic-page-hero__title {
        font-size: clamp(1.65rem, 4.5vw, 2.2rem);
    }
}

@media (max-width: 767px) {
    .ic-page-hero {
        padding-top: 110px;
        padding-bottom: 44px;
    }

    .ic-contact-hero {
        padding-top: 110px;
        padding-bottom: 44px;
    }

    .ic-page-hero__title {
        font-size: 1.65rem;
    }

    .ic-legal-card {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .ic-faq-question {
        padding: 16px 20px;
        font-size: 0.91rem;
    }

    .ic-faq-answer-inner p {
        padding: 12px 20px 18px;
    }

    .ic-section-title {
        font-size: 1.65rem;
    }
}

/* ══════════════════════════════════════════════════════════════════
   LEGAL PAGES — diseño premium v2
   Override/extend de las clases ic-legal-* previas
══════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────── */
.ic-legal-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(120px, 15vw, 170px) 0 clamp(64px, 8vw, 96px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(ellipse 90% 55% at 50% -5%, rgba(205, 170, 92, .13), transparent),
        linear-gradient(180deg, rgba(4, 6, 10, .99) 0%, rgba(7, 13, 22, .97) 100%);
}

.ic-legal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 14% 74%, rgba(205, 170, 92, .06) 0%, transparent 38%),
        radial-gradient(circle at 86% 16%, rgba(24, 52, 110, .12) 0%, transparent 30%);
}

/* ── Kicker ─────────────────────────────────────────────────── */
.ic-legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ic-gold-light);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 22px;
}

.ic-legal-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    flex-shrink: 0;
    background: linear-gradient(90deg, var(--ic-gold-light), transparent);
}

/* ── Title ──────────────────────────────────────────────────── */
.ic-legal-title {
    margin: 0 0 26px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 6.5vw, 96px);
    font-weight: 400;
    line-height: .94;
    letter-spacing: -.055em;
    color: var(--ic-text);
}

.ic-legal-title span {
    display: block;
    background: linear-gradient(135deg, #fff4c9 0%, var(--ic-gold) 44%, var(--ic-gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ── Subtitle ───────────────────────────────────────────────── */
.ic-legal-subtitle {
    max-width: 680px;
    margin: 0;
    color: #c5d2de;
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.62;
    font-weight: 500;
}

/* ── Shell & grid ───────────────────────────────────────────── */
.ic-legal-shell {
    padding: clamp(52px, 7vw, 90px) 0 clamp(72px, 9vw, 110px) !important;
}

.ic-legal-grid {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* ── Aside / TOC ────────────────────────────────────────────── */
.ic-legal-aside {
    position: sticky;
    top: 112px;
    border-radius: 22px;
    border: 1px solid rgba(205, 170, 92, .18);
    background: rgba(7, 13, 22, .82);
    padding: 22px 18px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 58px rgba(0, 0, 0, .28);
}

.ic-legal-aside h3 {
    margin: 0 0 12px;
    color: var(--ic-gold-light);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 10px;
    font-weight: 800;
}

.ic-legal-aside a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #b0bcc9;
    padding: 11px 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: 12.5px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 180ms ease;
}

.ic-legal-aside a:hover { color: var(--ic-gold-light); }

.ic-legal-aside a span {
    flex-shrink: 0;
    color: var(--ic-gold);
    font-size: 10.5px;
    font-weight: 700;
}

/* ── Card (gradient border override) ───────────────────────── */
.ic-legal-card {
    max-width: none !important;
    margin-inline: 0 !important;
    padding: 1px !important;
    border: none !important;
    border-radius: 28px !important;
    background: linear-gradient(
        135deg,
        rgba(205, 170, 92, .32),
        rgba(255, 255, 255, .07) 50%,
        rgba(205, 170, 92, .20)
    ) !important;
    box-shadow: 0 36px 100px rgba(0, 0, 0, .44) !important;
    overflow: hidden;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* ── Card inner ─────────────────────────────────────────────── */
.ic-legal-card__inner {
    border-radius: 27px;
    background:
        radial-gradient(circle at 82% 0%, rgba(205, 170, 92, .09), transparent 28%),
        linear-gradient(180deg, rgba(10, 18, 29, .93), rgba(6, 11, 18, .96));
    padding: clamp(32px, 4.5vw, 56px);
}

/* ── Meta pills ─────────────────────────────────────────────── */
.ic-legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.ic-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(205, 170, 92, .22);
    background: rgba(205, 170, 92, .06);
    color: #c4cedd;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.ic-pill b {
    color: var(--ic-gold-light);
    font-weight: 700;
}

/* ── Content (override) ─────────────────────────────────────── */
.ic-legal-content {
    color: #cad3dd !important;
    font-size: 16px !important;
    line-height: 1.88 !important;
}

.ic-legal-content h2 {
    margin: 44px 0 14px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(24px, 3vw, 40px) !important;
    font-weight: 400 !important;
    letter-spacing: -.03em !important;
    line-height: 1.05 !important;
    color: var(--ic-text) !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    scroll-margin-top: 110px;
}

.ic-legal-content h2:first-child { margin-top: 0 !important; }

.ic-legal-content h3 {
    margin: 24px 0 10px !important;
    color: var(--ic-gold-light) !important;
    text-transform: uppercase !important;
    letter-spacing: .12em !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    border-bottom: none !important;
}

.ic-legal-content p {
    margin: 0 0 18px !important;
    color: #cad3dd !important;
}

.ic-legal-content ul {
    margin: 10px 0 24px !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid !important;
    gap: 10px !important;
}

.ic-legal-content li {
    position: relative !important;
    padding-left: 24px !important;
    margin-bottom: 0 !important;
    color: #bdc8d4 !important;
}

.ic-legal-content li::before {
    content: "◆" !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    color: var(--ic-gold) !important;
    font-size: 10px !important;
}

.ic-legal-content strong,
.ic-legal-content b {
    color: var(--ic-text) !important;
    font-weight: 700 !important;
}

/* ── Note box ───────────────────────────────────────────────── */
.ic-legal-note {
    margin: 28px 0 24px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(205, 170, 92, .26) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(205, 170, 92, .10), transparent 34%),
        rgba(205, 170, 92, .04) !important;
    padding: 20px 22px !important;
    color: #bcc6d1 !important;
    font-size: 14.5px !important;
    line-height: 1.72 !important;
}

.ic-legal-note strong {
    color: var(--ic-gold-light) !important;
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ic-legal-grid {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 22px;
    }
}

@media (max-width: 860px) {
    .ic-legal-grid {
        grid-template-columns: 1fr;
    }

    .ic-legal-aside {
        position: relative;
        top: auto;
    }

    .ic-legal-title {
        font-size: clamp(36px, 9vw, 64px);
    }
}

@media (max-width: 600px) {
    .ic-legal-card__inner {
        padding: 26px 18px;
    }

    .ic-legal-title {
        font-size: clamp(30px, 11vw, 50px);
        letter-spacing: -.04em;
    }

    .ic-legal-meta {
        gap: 8px;
    }

    .ic-pill {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE REAL — anti-overflow global + breakpoints faltantes
   Fase: responsive integral — Junio 2026
══════════════════════════════════════════════════════════════════ */

/* ── 1. Reglas base globales anti-rotura ────────────────────────── */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

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

img,
video,
svg {
    max-width: 100%;
    height: auto;
}

canvas {
    max-width: 100%;
}

/* ── 2. Contenedores públicos ───────────────────────────────────── */
.ic-premium-public,
.ic-premium-public main {
    max-width: 100%;
}

/* ── 3. Select2 y campos de formulario — no overflow ───────────── */
.select2-container {
    max-width: 100% !important;
}

.select2-container .select2-selection--single {
    max-width: 100% !important;
}

.form-control,
.form--control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea {
    max-width: 100%;
}

/* ── 4. Tablas responsivas — dashboard / área autenticada ──────── */
.dashboard-inner .table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dashboard-inner .card-body {
    max-width: 100%;
}

.dashboard-wrapper {
    overflow-x: hidden;
}

@media (max-width: 767px) {
    /* Tablas scrollables horizontalmente en móvil */
    .dashboard-inner .table-responsive .table,
    .dashboard-inner .card-body > .table {
        min-width: 560px;
    }
}

/* ── 5. icd-stat sub-grid — 3 items lado a lado puede ser apretado */
@media (max-width: 420px) {
    .icd-stat-grid {
        grid-template-columns: 1fr;
    }

    .icd-stat-sub {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0 !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.05);
    }

    .icd-stat-sub:last-child {
        border-bottom: 0;
        padding-bottom: 0 !important;
    }

    .icd-stat-sub-label {
        margin-bottom: 0;
    }
}

/* ── 6. Header muy pequeño (≤480px) ────────────────────────────── */
@media (max-width: 480px) {
    .header {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 18px;
    }

    .header__inner {
        min-height: 62px;
        padding: 8px 12px;
        gap: 10px;
    }

    .brand__logo {
        height: 38px;
        max-width: 44px;
    }

    .brand__name,
    .brand__sub {
        font-size: 11px;
        letter-spacing: .14em;
    }

    .ic-public-main {
        padding-top: 96px;
    }

    /* Nav desplegable desde el header en pantallas muy pequeñas */
    .nav {
        inset: 88px 10px auto !important;
    }
}

/* ── 7. Hero aprobado — móvil pequeño (≤480px) ─────────────────── */
@media (max-width: 480px) {
    .hero {
        padding-top: 110px;
        padding-bottom: 48px;
    }

    .hero h1 {
        font-size: clamp(36px, 13vw, 50px);
        letter-spacing: -.05em;
    }

    .lead {
        font-size: 18px;
    }

    .text {
        font-size: 14px;
    }

    .chart-area {
        height: 200px;
    }

    .summary-bar {
        border-radius: 14px;
    }

    .summary-item {
        padding: 14px 16px;
    }

    .summary-big {
        font-size: 22px;
    }

    .signals {
        gap: 8px 14px;
        font-size: 13px;
    }
}

/* ── 8. Hero ref (ic-hero-ref) — móvil pequeño ─────────────────── */
@media (max-width: 480px) {
    .ic-hero-ref__content h1 {
        font-size: clamp(40px, 14vw, 60px);
    }

    .ic-hero-ref__visual {
        width: 100%;
        margin-inline: 0;
    }

    .ic-chart-overlay__canvas {
        height: 200px;
    }

    .ic-chart-float {
        padding: 14px;
    }

    .ic-chart-float__balance span {
        font-size: 1.5rem;
    }
}

/* ── 9. Páginas interiores — contact, legal ─────────────────────── */
@media (max-width: 480px) {
    .ic-contact-form-card,
    .ic-contact-info {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .ic-legal-card__inner {
        padding: 18px 14px;
    }

    .ic-page-hero__title {
        font-size: 1.5rem;
    }

    .ic-legal-title {
        font-size: clamp(28px, 12vw, 44px);
    }
}

/* ── 10. Auth — pantallas muy pequeñas (≤380px) ─────────────────── */
@media (max-width: 380px) {
    .account-form {
        padding: 20px !important;
        border-radius: 16px !important;
    }

    .account-section {
        padding: 52px 0 36px !important;
    }

    .auth-page-logo img {
        height: 52px !important;
    }
}

/* ── 11. Dashboard hero — mobile XS ─────────────────────────────── */
@media (max-width: 420px) {
    .icd-dashboard-hero {
        padding: 14px 12px 12px;
    }

    .icd-hero-greeting {
        font-size: 0.92rem;
    }

    .icd-portfolio-total {
        font-size: 1.45rem;
    }

    .icd-qa-btn {
        padding: 6px 9px;
        font-size: 0.7rem;
    }
}

/* ── 12. Táctil — mínimos de toque (pointer coarse) ────────────── */
@media (hover: none) and (pointer: coarse) {
    .ic-btn,
    .btn,
    .ic-plan-cta-btn,
    .icd-bal-btn {
        min-height: 48px;
    }

    .icd-qa-btn {
        min-height: 40px;
    }

    .ic-primary-nav a,
    .nav a,
    .icd-nav-list li a {
        min-height: 48px;
    }

    .ic-nav-toggle {
        width: 48px;
        height: 48px;
    }
}

/* ── 13. Plan grid — columna única asegurada en pantallas pequeñas */
@media (max-width: 575px) {
    .ic-plan-grid > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}

/* ── 14. Ic-feature-metrics en móvil — apilado ──────────────────── */
@media (max-width: 480px) {
    .ic-feature-metrics {
        grid-template-columns: 1fr;
    }

    .ic-feature-metric {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .ic-feature-metric:last-child {
        border-bottom: 0;
    }
}

/* ── 15. CTA Banner botones en línea en tablet estrecha ─────────── */
@media (max-width: 480px) {
    .ic-cta-banner {
        padding: 22px 16px;
        border-radius: 18px;
    }
}

/* ── 16. Desktop grande (≥1600px) — contenedores más amplios ──── */
@media (min-width: 1600px) {
    .ic-premium-public .container {
        max-width: 1400px;
    }

    .hero__grid {
        gap: 64px;
    }

    .chart-area {
        height: clamp(380px, 28vw, 480px);
    }
}

/* ── 17. Footer — ic-site-footer no overflow en ningún dispositivo */
.ic-site-footer .container {
    max-width: 100%;
}

.ic-footer-bottom {
    flex-wrap: wrap;
}

/* ── 18. Proceso — grid en tablet (768-1100px) ──────────────────── */
@media (max-width: 767px) {
    .ic-process-grid {
        gap: 14px;
    }

    .ic-process-card {
        padding: 20px;
    }
}

/* ── 19. Trust strip aprobado — tablet intermedia ───────────────── */
@media (max-width: 640px) {
    .trust {
        padding-bottom: 52px;
    }
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE REAL FIX — Correcciones basadas en capturas Android
   Junio 2026
══════════════════════════════════════════════════════════════════ */

/* ── Links auth en menú móvil — ocultos en desktop ─────────────── */
.ic-nav-auth-link {
    display: none !important;
}

/* ── Header móvil: columna única sin wrapping ───────────────────── */
@media (max-width: 1280px) {
    /* mostrar links auth en menú móvil cuando está abierto */
    .ic-nav-auth-link {
        display: flex !important;
    }

    .ic-nav-auth-cta {
        color: var(--gold-2a) !important;
        background: rgba(243,216,142,.07) !important;
        border: 1px solid rgba(243,216,142,.22) !important;
        font-weight: 800 !important;
    }
}

/* ── Header: eliminar wrapping en móvil ─────────────────────────── */
@media (max-width: 900px) {
    /* Ocultar acciones del header: se mueven al menú móvil */
    .actions {
        display: none !important;
    }

    /* Header sin wrapping — solo brand + toggle en una fila */
    .header__inner {
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 12px;
    }

    /* El brand puede crecer para llenar el espacio */
    .header__inner .brand {
        flex: 1;
        min-width: 0;
    }

    /* Toggle siempre visible y compacto */
    .ic-nav-toggle {
        display: grid !important;
        flex-shrink: 0;
        margin-left: 0;
    }
}

/* ── Menú móvil: posición correcta debajo del header ───────────── */
@media (max-width: 1280px) {
    /* El nav mobile se posiciona desde top: 104px para
       no tapar el hero (header ~70px + gap ~20px + margen ~14px) */
    .nav {
        top: 104px !important;
        inset: 104px 16px auto !important;
        z-index: 1050 !important;
    }
}

@media (max-width: 900px) {
    .nav {
        top: 96px !important;
        inset: 96px 12px auto !important;
    }
}

@media (max-width: 480px) {
    .nav {
        top: 88px !important;
        inset: 88px 10px auto !important;
    }
}

/* ── Hero: padding-top suficiente para no quedar detrás del header */
@media (max-width: 900px) {
    /* El header cerrado mide ~72px + top:12px = 84px desde arriba.
       El hero con padding-top:130px tiene 46px de margen. OK.
       PERO si el hero margin-top:-120px + ic-public-main:120px = hero
       arranca desde top:0 del viewport, y con padding-top:130px el
       contenido empieza a 130px. Eso cubre el header de 84px. ✓

       El problema era que el header con wrapping se volvía ~130px de alto.
       Con el fix de no-wrap, queda en ~72px y hay espacio suficiente. */
    .hero {
        padding-top: 145px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 150px;
    }

    /* El h1 del hero aprobado */
    .hero h1 {
        font-size: clamp(42px, 13vw, 58px) !important;
        line-height: .9;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 52px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 48px) !important;
    }

    .lead {
        font-size: 19px !important;
    }
}

/* ── Botones del hero — no gigantes ─────────────────────────────── */
@media (max-width: 768px) {
    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero__buttons .btn,
    .hero__buttons .btn--gold,
    .hero__buttons .btn--ghost,
    .hero__buttons .btn--text {
        width: 100% !important;
        min-height: 52px !important;
        height: auto !important;
        justify-content: center !important;
        padding: 0 20px !important;
        font-size: 15px !important;
        border-radius: 15px !important;
        /* Reset cualquier aspecto fijo que lo haga gigante */
        aspect-ratio: unset !important;
        max-height: none !important;
    }
}

/* ── Auth pages mobile: formulario compacto ─────────────────────── */
@media (max-width: 768px) {
    .account-section {
        padding: 100px 0 50px !important;
    }

    .account-form {
        padding: 28px 22px !important;
        border-radius: 20px !important;
    }

    .account-form h4 {
        font-size: 22px !important;
    }

    .account-form p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Inputs normal height, no gigante */
    .account-form .form-control,
    .account-form .form--control {
        height: 48px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .account-section {
        padding: 80px 0 40px !important;
    }

    .account-form {
        padding: 22px 16px !important;
    }

    .account-form h4 {
        font-size: 20px !important;
    }

    .account-form .form-control,
    .account-form .form--control {
        height: 46px !important;
        font-size: 14px !important;
    }
}

/* ── Brand en header móvil: texto compacto ──────────────────────── */
@media (max-width: 900px) {
    .brand__logo {
        height: 42px;
        max-width: 48px;
    }

    .brand__name {
        font-size: 13px !important;
    }

    .brand__sub {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .brand__logo {
        height: 36px;
        max-width: 40px;
    }

    .brand__name,
    .brand__sub {
        font-size: 11px !important;
        letter-spacing: .14em !important;
    }

    .header {
        width: calc(100% - 16px);
        border-radius: 16px;
    }

    .header__inner {
        padding: 10px 12px !important;
        min-height: 58px !important;
    }
}

/* ── Trust strip en hero: no cortar en móvil estrecho ──────────── */
@media (max-width: 640px) {
    .trust {
        margin-top: 0;
        padding-bottom: 48px;
    }

    .trust__grid {
        border-radius: 18px;
    }
}

/* ── Chart foot: texto pequeño no desborde ──────────────────────── */
@media (max-width: 480px) {
    .chart-foot {
        font-size: 9px;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .chart-tabs {
        gap: 8px;
        font-size: 11px;
    }
}

/* ══════════════════════════════════════════════════════════════════
   HOTFIX — Botones hero gigantes en móvil/tablet
   Bug: @media ≤900px tiene flex:1 1 200px; cuando flex-direction:column
   se activa (≤640px), flex-basis:200px = altura del botón = 200px alto
   Fix: resetear flex-basis + altura fija en columna
══════════════════════════════════════════════════════════════════ */

/* En cualquier pantalla donde los botones están en columna */
@media (max-width: 900px) {
    /* Resetear el flex: 1 1 200px original que causa altura gigante */
    .hero__buttons .btn:not(.btn--text) {
        flex: 0 0 auto !important;
    }
}

/* Columna explícita (≤640px) — altura fija y controlada */
@media (max-width: 640px) {
    .hero__buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 11px !important;
    }

    .hero__buttons .btn,
    .hero__buttons a.btn,
    .hero__buttons .btn--gold,
    .hero__buttons .btn--ghost {
        flex: 0 0 auto !important;   /* elimina flex-basis: 200px */
        width: 100% !important;
        height: 54px !important;
        min-height: 54px !important;
        max-height: 56px !important;
        padding: 0 18px !important;
        border-radius: 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 15px !important;
        line-height: 1 !important;
        aspect-ratio: unset !important;
    }

    .hero__buttons .btn--text {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 44px !important;
        max-height: none !important;
        justify-content: center !important;
        background: transparent !important;
        border: 0 !important;
        padding: 10px 18px !important;
    }
}

/* Extra-small (≤480px) */
@media (max-width: 480px) {
    .hero__buttons .btn,
    .hero__buttons a.btn,
    .hero__buttons .btn--gold,
    .hero__buttons .btn--ghost {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 54px !important;
        font-size: 14px !important;
        border-radius: 14px !important;
    }
}

/* Tablet (640px–992px) — botones en fila pero no demasiado altos */
@media (min-width: 641px) and (max-width: 992px) {
    .hero__buttons .btn:not(.btn--text) {
        flex: 0 0 auto !important;
        height: 50px !important;
        min-height: 50px !important;
        max-height: 52px !important;
        padding: 0 22px !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   HOTFIX — Auth forms compactas en móvil / tablet
══════════════════════════════════════════════════════════════════ */

/* Tablet (hasta 992px) — menos padding, sin desperdiciar espacio */
@media (max-width: 992px) {
    .account-section {
        padding: 60px 0 40px !important;
    }
    .account-form {
        padding: 32px 28px !important;
        border-radius: 20px !important;
    }
    .account-form h4 {
        font-size: 22px !important;
    }
}

/* Móvil (hasta 640px) */
@media (max-width: 640px) {
    .account-section {
        padding: 70px 0 30px !important;   /* deja espacio al header fijo */
        align-items: flex-start !important;
    }
    .account-form {
        padding: 26px 20px !important;
        border-radius: 16px !important;
        margin: 0 4px !important;
    }
    .account-form h4 {
        font-size: 20px !important;
    }
    .account-form .form-control,
    .account-form .form--control {
        height: 46px !important;
        min-height: 46px !important;
        font-size: 14px !important;
    }
    .account-form .btn--base {
        height: 48px !important;
        min-height: 48px !important;
        font-size: 15px !important;
    }
}

/* Extra-small (hasta 480px) */
@media (max-width: 480px) {
    .account-section {
        padding: 76px 0 24px !important;
    }
    .account-form {
        padding: 22px 16px !important;
        border-radius: 14px !important;
        margin: 0 2px !important;
    }
    .account-form h4 {
        font-size: 19px !important;
        margin-bottom: 6px !important;
    }
    .account-form p {
        font-size: 13px !important;
    }
    /* Colapsar columnas dobles del registro a columna única */
    .account-form .row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   HOTFIX — Tablet horizontal: restaurar nav desktop desde 992px
   Bug: hamburger y menú panel se activaban desde 1280px
   Fix: por encima de 992px, forzar nav inline y ocultar hamburger
══════════════════════════════════════════════════════════════════ */

/* ── ≥992px — cancela TODOS los overrides de menú móvil ─────────── */
@media (min-width: 992px) {

    /* Nav vuelve a ser inline horizontal, no panel fijo */
    .nav,
    .header .nav,
    .header.is-open .nav {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        align-items: center !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        inset: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        z-index: auto !important;
        gap: 28px !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
    }

    /* Links del nav: ancho auto, no bloque full-width */
    .nav a {
        width: auto !important;
        min-height: auto !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        font-weight: 500 !important;
    }

    /* Hamburger: oculto */
    .ic-nav-toggle {
        display: none !important;
    }

    /* Acciones del header: visibles */
    .actions {
        display: flex !important;
        position: static !important;
        inset: auto !important;
        padding-top: 0 !important;
        z-index: auto !important;
        width: auto !important;
    }

    /* Cancelar posicionamiento fijo de .actions al abrir menú */
    .header.is-open .actions {
        position: static !important;
        inset: auto !important;
        padding-top: 0 !important;
        z-index: auto !important;
    }

    /* Links auth: solo para el panel móvil, ocultos en desktop */
    .ic-nav-auth-link {
        display: none !important;
    }

    /* Header: una fila, sin wrapping */
    .header__inner {
        flex-wrap: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
}

/* ── Tablet horizontal compacta: 992px–1280px ───────────────────── */
@media (min-width: 992px) and (max-width: 1280px) {

    .header {
        width: calc(100% - 32px) !important;
    }

    .header__inner {
        gap: 12px !important;
        padding: 12px 16px !important;
        min-height: 70px !important;
    }

    .brand {
        min-width: 0 !important;
        gap: 10px !important;
        flex-shrink: 0 !important;
    }

    .brand__logo {
        height: 42px !important;
    }

    .brand__name {
        font-size: 13px !important;
        letter-spacing: .17em !important;
    }

    .brand__sub {
        font-size: 9px !important;
    }

    .nav {
        gap: 16px !important;
        font-size: 13px !important;
        flex-shrink: 1 !important;
    }

    .nav a {
        font-size: 13px !important;
    }

    .actions {
        gap: 8px !important;
        flex-shrink: 0 !important;
    }

    .actions .btn {
        min-height: 40px !important;
        height: 40px !important;
        padding: 0 14px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
    }
}

/* ── Menú móvil: SOLO ≤991px — panel controlado ─────────────────── */
@media (max-width: 991px) {

    /* El toggle aparece */
    .ic-nav-toggle {
        display: grid !important;
        flex-shrink: 0 !important;
        margin-left: 0 !important;
    }

    /* Las acciones del header desktop se ocultan */
    .actions {
        display: none !important;
    }

    /* Header: una sola fila brand + toggle */
    .header__inner {
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 12px !important;
    }

    /* El brand ocupa el espacio disponible */
    .header__inner .brand {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    /* El nav (panel) se posiciona correctamente */
    .nav {
        position: fixed !important;
        top: 100px !important;
        inset: 100px 16px auto !important;
        z-index: 1050 !important;
        display: none !important;
        max-height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        padding: 16px !important;
        border: 1px solid rgba(243,216,142,.22) !important;
        border-radius: 20px !important;
        background: rgba(5,10,17,.98) !important;
        box-shadow: 0 24px 70px rgba(0,0,0,.58) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }

    .header.is-open .nav {
        display: flex !important;
    }

    .nav a {
        width: 100% !important;
        min-height: 50px !important;
        justify-content: flex-start !important;
        padding: 0 16px !important;
        border-radius: 12px !important;
        background: rgba(255,255,255,.03) !important;
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .nav a:hover,
    .nav a.active {
        background: rgba(205,170,92,.12) !important;
    }

    /* Auth links: visibles dentro del panel móvil */
    .ic-nav-auth-link {
        display: flex !important;
    }
}

/* ── Celular pequeño ≤640px: header más compacto ─────────────────── */
@media (max-width: 640px) {
    .header {
        top: 10px !important;
        width: calc(100% - 20px) !important;
    }

    .header__inner {
        padding: 10px 12px !important;
        min-height: 60px !important;
    }

    .nav {
        top: 86px !important;
        inset: 86px 10px auto !important;
    }
}

/* ============================================================
   INSTINTO CAPITAL — PROTECCIÓN DISUASIVA DE CONTENIDO
   ============================================================ */

.ic-protection-enabled body {
  -webkit-touch-callout: none;
}

.ic-protection-enabled img,
.ic-protection-enabled svg,
.ic-protection-enabled canvas {
  -webkit-user-drag: none;
  user-drag: none;
}

.ic-protection-enabled .ic-hero-ref,
.ic-protection-enabled .ic-chart-shell,
.ic-protection-enabled .ic-plan-card,
.ic-protection-enabled .ic-hiw-section,
.ic-protection-enabled .ic-footer-premium,
.ic-protection-enabled .header,
.ic-protection-enabled .brand {
  -webkit-user-select: none;
  user-select: none;
}

.ic-protection-enabled input,
.ic-protection-enabled textarea,
.ic-protection-enabled select,
.ic-protection-enabled [contenteditable="true"],
.ic-protection-enabled [data-allow-copy="true"] {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Toast de aviso de protección */
.ic-protection-notice {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 99999;
  max-width: min(520px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 16px;
  color: #1b1205;
  background: linear-gradient(135deg, #ffe7a5 0%, #d7a84b 52%, #b97924 100%);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.ic-protection-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Watermark sutil */
.ic-watermark {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  pointer-events: none;
  opacity: .18;
  color: #f6dea0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
