/* Gyalux · Home / Index · responsive */

@media (max-width: 991px) {
    body .gx-page-intro {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
    }

    body .gx-page-intro .gx-page-intro-eyebrow {
        display: block !important;
        margin: 0 0 11px 0 !important;
        color: #CBA358 !important;
        font-family: "Inter", "Lato", Arial, sans-serif !important;
        font-size: 0.66rem !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        letter-spacing: 0.13em !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
    }

    body .gx-page-intro h1 {
        margin: 0 0 15px 0 !important;
        max-width: 760px !important;
        color: #001A3A !important;
        font-family: "Plus Jakarta Sans", sans-serif !important;
        font-size: clamp(2rem, 7.2vw, 2.35rem) !important;
        font-weight: 800 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.7px !important;
        text-wrap: balance;
    }

    body .gx-page-intro .gx-page-intro-lead {
        margin: 0 0 24px 0 !important;
        max-width: 760px !important;
        color: #64748B !important;
        font-family: "Inter", "Lato", Arial, sans-serif !important;
        font-size: 1rem !important;
        font-weight: 400 !important;
        line-height: 1.65 !important;
    }
}

@media (max-width: 370px) {
    body .gx-page-intro .gx-page-intro-eyebrow {
        font-size: 0.62rem !important;
        letter-spacing: 0.10em !important;
    }
}

@media (max-width: 1180px) {
    .gx-home-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gx-home-eco-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .gx-home-hero,
            .gx-home-split,
            .gx-home-authority,
            .gx-home-final-cta {
        grid-template-columns: 1fr;
    }

    .gx-home-hero {
        gap: 34px;
        margin-bottom: 58px;
    }

    .gx-home-services-grid,
            .gx-home-packs-grid {
        grid-template-columns: 1fr;
    }

    .gx-home-packs,
            .gx-home-ecosystem {
        padding: 40px 24px;
        border-radius: 26px;
    }

    .gx-home-split-visual {
        min-height: 340px;
    }

    .gx-home-final-cta {
        border-left: none;
        border-top: 6px solid #CBA358;
        padding: 34px 24px;
    }

    .gx-home-final-buttons {
        min-width: 0;
        width: 100%;
    }

    .gx-home-hero-actions,
            .gx-home-section-actions,
            .gx-home-eco-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .gx-home-hero-actions a,
            .gx-home-section-actions a,
            .gx-home-eco-buttons a {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .gx-home-hero h1 {
        letter-spacing: -1.4px;
    }

    .gx-home-hero-panel,
            .gx-home-authority-card {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .gx-home-eco-grid {
        grid-template-columns: 1fr;
    }

    .gx-home-step {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .gx-home-hero {
        grid-template-columns: minmax(0, 0.98fr) minmax(380px, 0.72fr);
        gap: 44px;
        align-items: center;
        margin: 0 0 66px 0;
    }

    .gx-home-hero h1 {
        font-size: clamp(2.65rem, 3.7vw, 4rem);
        line-height: 1.05;
        letter-spacing: -1.8px;
        max-width: 740px;
        margin-bottom: 20px;
    }

    .gx-home-hero p {
        font-size: 1.05rem;
        line-height: 1.62;
        max-width: 735px;
        margin-bottom: 24px;
    }

    .gx-home-hero-panel {
        width: 100%;
        max-width: 430px;
        justify-self: end;
        padding: 28px;
        border-radius: 28px;
    }

    .gx-home-panel-top {
        gap: 14px;
        margin-bottom: 20px;
    }

    .gx-home-panel-icon {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 1.55rem;
    }

    .gx-home-panel-top h2 {
        font-size: 1.18rem;
    }

    .gx-home-panel-top span {
        font-size: 0.86rem;
    }

    .gx-home-solution-list {
        gap: 10px;
    }

    .gx-home-solution-list li {
        padding: 13px 14px;
        border-radius: 13px;
        font-size: 0.89rem;
        line-height: 1.45;
    }

    .gx-home-solution-list i {
        font-size: 1.12rem;
    }

    .gx-home-hero-actions {
        flex-wrap: nowrap;
        gap: 10px;
        align-items: center;
    }

    .gx-home-hero-actions .btn-gold,
            .gx-home-hero-actions .gx-home-btn-outline {
        height: 42px !important;
        min-height: 42px !important;
        padding: 11px 17px !important;
        font-size: 0.78rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        margin-top: 0 !important;
    }

    .gx-home-hero-actions .btn-gold i,
            .gx-home-hero-actions .gx-home-btn-outline i {
        font-size: 0.95rem !important;
    }

    .gx-home-split-visual {
        min-height: 350px;
        border-radius: 26px;
        align-self: stretch;
    }

    .gx-home-visual-label {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .gx-home-visual-label strong {
        font-size: 1.3rem;
    }

    .gx-home-visual-label span {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .gx-home-split-content h2 {
        font-size: clamp(1.95rem, 2.8vw, 2.65rem);
        line-height: 1.12;
        letter-spacing: -0.9px;
        max-width: 720px;
    }

    .gx-home-split-content p {
        font-size: 1rem;
        line-height: 1.62;
        max-width: 760px;
    }

    .gx-home-step h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .gx-home-step p {
        font-size: 0.91rem;
        line-height: 1.5;
    }
}

@media (max-width: 1180px) and (min-width: 992px) {
    .gx-home-hero {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
        gap: 34px;
    }

    .gx-home-hero h1 {
        font-size: clamp(2.45rem, 4vw, 3.55rem);
    }

    .gx-home-hero-actions {
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {
    .gx-home-white-shell.gx-home-hero {
        margin: 0 0 36px 0;
    }
}

@media (max-width: 991px) {
    .gx-home-services-shell {
        padding: 40px 24px;
        border-radius: 26px;
        margin-bottom: 58px;
    }

    .gx-home-white-shell.gx-home-hero {
        padding: 0;
        gap: 30px;
        margin-bottom: 58px;
    }
}

@media (max-width: 640px) {
    .gx-home-services-shell {
        padding: 30px 20px;
        border-radius: 24px;
    }
}

@media (min-width: 992px) {
    .gx-home-split {
        gap: 42px;
        background: rgba(255, 255, 255, 0.58);
        border: 1px solid rgba(0, 26, 58, 0.07);
        border-radius: 32px;
        padding: 42px;
        box-shadow: 0 18px 42px rgba(0, 26, 58, 0.045);
        grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
        align-items: center;
    }

    .gx-home-split-content {
        align-self: center;
    }

    .gx-home-steps {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin-top: 4px;
    }

    .gx-home-step {
        border-radius: 15px;
        height: 100%;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 20px;
        background: #FFFFFF;
        border: 1px solid rgba(0, 26, 58, 0.08);
        box-shadow: 0 14px 30px rgba(0, 26, 58, 0.045);
    }

    .gx-home-step-number {
        border-radius: 12px;
        font-size: 0.92rem;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 1180px) and (min-width: 992px) {
    .gx-home-services-shell .gx-home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gx-home-services-shell .gx-home-service-card,
            .gx-home-services-shell .gx-home-service-card:nth-child(4),
            .gx-home-services-shell .gx-home-service-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 991px) {
    .gx-home-services-shell .gx-home-services-grid {
        grid-template-columns: 1fr;
    }

    .gx-home-services-shell .gx-home-service-card,
            .gx-home-services-shell .gx-home-service-card:nth-child(4),
            .gx-home-services-shell .gx-home-service-card:nth-child(5) {
        grid-column: auto;
    }

    .gx-home-steps {
        grid-template-columns: 1fr;
    }
}
