/* ==========================================================
   Centro de ayuda exclusivo de IRCPode
   ========================================================== */

.page-ircpode-help {
    --ih-bg: #020914;
    --ih-panel: rgba(7, 24, 39, .89);
    --ih-panel-soft: rgba(6, 20, 34, .76);
    --ih-line: rgba(128, 181, 218, .21);

    --ih-cyan: #29d9f5;
    --ih-green: #7be83f;
    --ih-blue: #5b98ff;
    --ih-purple: #b979ff;
    --ih-yellow: #ffd34f;

    --ih-text: #f4f8ff;
    --ih-muted: #a4b5c7;

    min-height: 100%;
    overflow-x: hidden;

    color: var(--ih-text);

    background:
        radial-gradient(
            circle at 11% 0%,
            rgba(41, 217, 245, .09),
            transparent 32rem
        ),
        radial-gradient(
            circle at 90% 8%,
            rgba(123, 232, 63, .065),
            transparent 30rem
        ),
        linear-gradient(
            180deg,
            #020914,
            #04111c 52%,
            #020914
        );
}

.page-ircpode-help .container {
    width: min(calc(100% - 44px), 1380px);
}

/* Promociones insertadas en IRCPode y Soporte */

.ircpode-help-promo,
.ircpode-support-promo {
    padding: 35px 0 55px;
}

.ircpode-help-promo-panel,
.ircpode-support-promo-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;

    padding: 31px;

    border: 1px solid rgba(42, 210, 239, .32);
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(115, 232, 58, .11),
            transparent 24rem
        ),
        linear-gradient(
            145deg,
            rgba(8, 32, 49, .96),
            rgba(4, 16, 29, .98)
        );

    box-shadow:
        0 25px 65px rgba(0,0,0,.39);
}

.ircpode-help-promo-panel h2,
.ircpode-support-promo-panel h2 {
    margin: 6px 0 10px;
    color: #f4f8ff;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.ircpode-help-promo-panel p,
.ircpode-support-promo-panel p {
    max-width: 760px;
    margin: 0;
    color: #a7b7c8;
    line-height: 1.6;
}

.ircpode-help-promo-label {
    color: #29d9f5;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ircpode-help-promo-button {
    display: inline-flex;
    min-width: 220px;
    min-height: 50px;

    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border-radius: 13px;

    color: #071009;
    background:
        linear-gradient(135deg, #8ced43, #65d638);

    font-weight: 850;

    box-shadow:
        0 16px 38px rgba(103, 224, 57, .18);
}

/* Hero */

.ih-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 60px;

    border-bottom: 1px solid var(--ih-line);

    isolation: isolate;
}

.ih-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image:
        linear-gradient(
            rgba(72, 169, 219, .035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(72, 169, 219, .035) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    content: "";
    opacity: .55;

    mask-image:
        linear-gradient(to bottom, black, transparent 95%);
}

.ih-hero-layout {
    display: grid;
    grid-template-columns:
        minmax(520px, 1fr)
        minmax(380px, .72fr);

    align-items: center;
    gap: clamp(50px, 7vw, 100px);
}

.ih-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 17px;

    color: var(--ih-cyan);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.ih-eyebrow::before {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--ih-cyan);

    box-shadow:
        0 0 0 5px rgba(41, 217, 245, .08),
        0 0 18px rgba(41, 217, 245, .58);

    content: "";
}

.ih-hero h1 {
    max-width: 850px;
    margin: 0;

    color: transparent;

    background:
        linear-gradient(
            112deg,
            #ffffff,
            #dfeafb 34%,
            #ffffff 50%,
            #a5ef76 67%,
            #ffffff 83%
        );

    background-clip: text;
    -webkit-background-clip: text;
    background-size: 220% auto;

    font-size: clamp(3.5rem, 6.5vw, 6.7rem);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.06em;

    animation: ihTitle 9s ease-in-out infinite;
}

.ih-lead {
    max-width: 770px;
    margin: 26px 0 0;

    color: #d0dce9;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.65;
}

.ih-search {
    max-width: 740px;
    margin-top: 29px;
}

.ih-search label {
    display: block;
    margin-bottom: 8px;

    color: #dce7f4;
    font-size: .77rem;
    font-weight: 760;
}

.ih-search-field {
    display: flex;
    min-height: 58px;

    align-items: center;
    gap: 12px;

    padding: 0 17px;

    border: 1px solid rgba(130, 184, 221, .29);
    border-radius: 15px;

    background: rgba(7, 22, 37, .82);

    box-shadow:
        0 18px 42px rgba(0,0,0,.28);
}

.ih-search-field:focus-within {
    border-color: var(--ih-cyan);
    box-shadow:
        0 18px 42px rgba(0,0,0,.30),
        0 0 0 4px rgba(41, 217, 245, .07);
}

.ih-search-field span {
    color: var(--ih-cyan);
    font-size: 1.35rem;
}

.ih-search-field input {
    width: 100%;

    border: 0;
    outline: 0;

    color: #edf5ff;
    background: transparent;

    font: inherit;
}

.ih-hero-card {
    padding: 27px;

    border: 1px solid rgba(42, 208, 237, .29);
    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 31, 49, .95),
            rgba(3, 15, 28, .98)
        );

    box-shadow:
        0 33px 82px rgba(0,0,0,.49),
        0 0 39px rgba(40, 211, 239, .07);
}

.ih-hero-product {
    display: flex;
    align-items: center;
    gap: 17px;

    padding-bottom: 20px;
    border-bottom: 1px solid var(--ih-line);
}

.ih-hero-product img {
    width: 78px;
    height: 78px;

    border-radius: 18px;

    box-shadow:
        0 18px 38px rgba(0,0,0,.43);
}

.ih-hero-product strong {
    display: block;
    font-size: 1.2rem;
}

.ih-hero-product span {
    color: #91a4b8;
    font-size: .73rem;
}

.ih-hero-card ul {
    display: grid;
    gap: 10px;

    margin: 20px 0 0;
    padding: 0;

    list-style: none;
}

.ih-hero-card li {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #afbfce;
    font-size: .79rem;
}

.ih-hero-card li::before {
    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 50%;
    background: var(--ih-green);

    content: "";
}

/* Navegación rápida */

.ih-quick {
    padding: 35px 0;

    border-bottom: 1px solid rgba(132, 180, 217, .13);
}

.ih-quick-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.ih-quick-grid button {
    min-height: 55px;

    padding: 10px;

    border: 1px solid var(--ih-line);
    border-radius: 12px;

    color: #c5d2df;
    background: rgba(255,255,255,.025);

    font: inherit;
    font-size: .72rem;
    font-weight: 780;

    cursor: pointer;

    transition:
        border-color .18s ease,
        color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.ih-quick-grid button:hover,
.ih-quick-grid button.is-active {
    border-color: rgba(41, 211, 240, .43);

    color: #f3f8ff;
    background: rgba(41, 211, 240, .08);

    transform: translateY(-2px);
}

/* Contenido */

.ih-content {
    padding: 70px 0 90px;
}

.ih-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;

    margin-bottom: 31px;
}

.ih-heading h2 {
    margin: 0;

    font-size: clamp(2rem, 3.6vw, 3.55rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.ih-result-count {
    color: #8da2b7;
    font-size: .76rem;
}

.ih-guides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.ih-guide {
    overflow: hidden;

    border: 1px solid var(--ih-line);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 26, 43, .88),
            rgba(4, 15, 27, .94)
        );

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.ih-guide:hover,
.ih-guide[open] {
    border-color: rgba(42, 210, 239, .38);

    box-shadow:
        0 22px 50px rgba(0,0,0,.34);

    transform: translateY(-3px);
}

.ih-guide summary {
    display: flex;
    min-height: 78px;

    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding: 17px 19px;

    color: #eef5ff;

    cursor: pointer;

    list-style: none;
}

.ih-guide summary::-webkit-details-marker {
    display: none;
}

.ih-guide-summary {
    display: flex;
    min-width: 0;

    align-items: center;
    gap: 13px;
}

.ih-guide-icon {
    display: grid;
    width: 42px;
    height: 42px;

    flex: 0 0 auto;

    place-items: center;

    border: 1px solid rgba(41, 211, 240, .30);
    border-radius: 12px;

    color: var(--ih-cyan);
    background: rgba(41, 211, 240, .055);

    font-weight: 900;
}

.ih-guide summary strong {
    display: block;
    font-size: .88rem;
}

.ih-guide summary small {
    display: block;
    margin-top: 4px;

    color: #879cb2;
    font-size: .67rem;
    line-height: 1.35;
}

.ih-guide-toggle {
    display: grid;
    width: 31px;
    height: 31px;

    flex: 0 0 auto;

    place-items: center;

    border: 1px solid rgba(42, 210, 239, .29);
    border-radius: 50%;

    color: var(--ih-cyan);

    transition:
        transform .18s ease,
        background .18s ease;
}

.ih-guide[open] .ih-guide-toggle {
    color: #061018;
    background: var(--ih-cyan);
    transform: rotate(45deg);
}

.ih-guide-body {
    padding: 0 20px 21px;

    border-top: 1px solid rgba(131, 179, 216, .12);

    color: var(--ih-muted);
}

.ih-guide-body p {
    margin: 17px 0 10px;
    line-height: 1.62;
}

.ih-guide-body ol,
.ih-guide-body ul {
    display: grid;
    gap: 8px;

    padding-left: 22px;

    font-size: .80rem;
    line-height: 1.55;
}

.ih-guide-note {
    margin-top: 15px;
    padding: 12px;

    border: 1px solid rgba(120, 232, 60, .20);
    border-radius: 11px;

    color: #b8c9d7;
    background: rgba(120, 232, 60, .045);

    font-size: .73rem;
}

.ih-hidden {
    display: none !important;
}

.ih-empty {
    margin-top: 20px;
    padding: 27px;

    border: 1px dashed var(--ih-line);
    border-radius: 15px;

    color: var(--ih-muted);
    text-align: center;
}

/* Contacto */

.ih-contact {
    padding: 0 0 80px;
}

.ih-contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    padding: 34px;

    border: 1px solid rgba(42, 202, 233, .31);
    border-radius: 21px;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(113, 231, 58, .10),
            transparent 24rem
        ),
        linear-gradient(
            145deg,
            rgba(8, 31, 48, .95),
            rgba(4, 16, 29, .98)
        );

    box-shadow:
        0 28px 70px rgba(0,0,0,.40);
}

.ih-contact-panel h2 {
    margin: 7px 0 10px;

    font-size: clamp(1.8rem, 3vw, 3rem);
}

.ih-contact-panel p {
    max-width: 720px;
    margin: 0;

    color: var(--ih-muted);
}

.ih-contact-panel a {
    display: inline-flex;
    min-width: 220px;
    min-height: 50px;

    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border-radius: 13px;

    color: #071009;
    background:
        linear-gradient(135deg, #8ced43, #65d638);

    font-weight: 850;
}

/* Animaciones */

@keyframes ihTitle {
    0%,
    35% {
        background-position: 100% center;
    }

    65%,
    100% {
        background-position: -75% center;
    }
}

@media (max-width: 1050px) {
    .ih-quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .page-ircpode-help .container {
        width: min(calc(100% - 28px), 1380px);
    }

    .ih-hero-layout {
        grid-template-columns: 1fr;
    }

    .ih-hero h1 {
        font-size: clamp(3rem, 13vw, 5rem);
    }

    .ih-guides {
        grid-template-columns: 1fr;
    }

    .ircpode-help-promo-panel,
    .ircpode-support-promo-panel,
    .ih-contact-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .ircpode-help-promo-button,
    .ih-contact-panel a {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .ih-quick-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ih-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-ircpode-help *,
    .page-ircpode-help *::before,
    .page-ircpode-help *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
