:root {
    --yg-navy: #061769;
    --yg-blue: #092878;
    --yg-accent: #2563eb;
    --yg-soft: #f2f4ff;
    --yg-section: #e9edff;
    --yg-text: #101828;
    --yg-muted: #475467;
    --yg-border: #c9d1e8;
}

* {
    box-sizing: border-box;
}

.frontend-shell {
    margin: 0;
    color: var(--yg-text);
    background: #ffffff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.yg-container {
    width: min(100% - 44px, 1280px);
    margin: 0 auto;
}

.yg-header {
    height: 80px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7ef;
    position: sticky;
    top: 0;
    z-index: 50;
}

.yg-nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.yg-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--yg-navy);
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.yg-brand img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.yg-menu {
    display: flex;
    align-items: center;
    gap: 45px;
    margin-left: auto;
}

.yg-menu a {
    color: #1f2937;
    font-size: 13px;
    text-decoration: none;
    padding: 31px 0 21px;
    border-bottom: 3px solid transparent;
}

.yg-menu a.active {
    color: var(--yg-navy);
    border-color: var(--yg-navy);
    font-weight: 700;
}

.yg-login {
    min-width: 92px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: var(--yg-navy);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.yg-hero {
    position: relative;
    overflow: hidden;

    padding: 86px 0 70px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.96), rgba(247, 248, 255, 0.92) 46%, rgba(249, 250, 255, 0.9) 100%),
        linear-gradient(90deg, rgba(7, 26, 100, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(7, 26, 100, 0.04) 1px, transparent 1px);
    background-size: auto, 24px 24px, 24px 24px;
}

.yg-hero-blue,
.yg-hero-light-blue {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(58px);
}

.yg-hero-blue {
    width: 290px;
    height: 270px;
    left: 105px;
    top: 70px;
    background: rgba(21, 79, 183, 0.82);
}

.yg-hero-light-blue {
    width: 410px;
    height: 410px;
    right: 45px;
    bottom: 22px;
    background: rgba(96, 165, 250, 0.62);
}

.yg-hero-copy {
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.yg-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 13px;
    border: 1px solid var(--yg-accent);
    border-radius: 999px;
    color: var(--yg-accent);
    background: #eff6ff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.yg-hero h1 {
    color: var(--yg-navy);
    font-size: clamp(38px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.04;
    margin: 28px 0 25px;
}

.yg-hero p {
    width: min(690px, 100%);
    margin: 0 auto;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.65;
}

.yg-business-strip {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.yg-business-strip span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    border: 1px solid #d6deef;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--yg-navy);
    font-size: 13px;
    font-weight: 800;
    padding: 0 14px;
    box-shadow: 0 8px 18px rgba(6, 23, 105, 0.06);
}

.yg-business-strip i {
    color: var(--yg-accent);
}

.yg-hero-actions {
    display: flex;
    justify-content: center;
    gap: 17px;
    margin-top: 48px;
}

.yg-btn {
    min-width: 116px;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    padding: 0 28px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.query-section {
    background: #f7f9ff;
    padding: 64px 0;
}

.query-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
    gap: 28px;
    align-items: start;
}

.query-copy h1 {
    color: var(--yg-navy);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin: 22px 0 14px;
}

.query-copy p {
    color: var(--yg-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.query-alt-link {
    color: var(--yg-navy);
    font-weight: 800;
    text-decoration: none;
}

.query-form-card {
    border: 1px solid #dbe3f4;
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 14px 32px rgba(6, 23, 105, 0.08);
}

.query-form-card .form-label {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.query-submit {
    min-height: 48px;
    border: 0;
    background: var(--yg-navy);
    color: #ffffff;
}

@media (max-width: 900px) {
    .query-shell {
        grid-template-columns: 1fr;
    }
}

.yg-btn-primary {
    background: var(--yg-accent);
    color: #ffffff;
    border: 1px solid var(--yg-accent);
}

.yg-btn-outline {
    background: #ffffff;
    color: var(--yg-navy);
    border: 2px solid var(--yg-navy);
}

.yg-btn-dark {
    background: var(--yg-navy);
    color: #ffffff;
}

.yg-hero-art {
    position: relative;
    z-index: 2;
    width: min(808px, calc(100% - 80px));
    margin: 70px auto 0;
}

.yg-hero-panel {
    width: 100%;
    min-height: 268px;
    border-radius: 8px;
    border: 1px solid #b8c1da;
    box-shadow: 0 16px 32px rgba(4, 18, 74, 0.08);
    background: rgba(255, 255, 255, 0.92);
    overflow: hidden;
    padding: 34px;
}

.yg-hero-panel-head {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.yg-hero-panel-head span,
.yg-hero-location {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--yg-navy);
    font-size: 14px;
    font-weight: 800;
    padding: 16px;
}

.yg-hero-panel i {
    color: var(--yg-accent);
}

.yg-hero-subjects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 26px 0;
}

.yg-hero-subjects span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    color: var(--yg-navy);
    background: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 0 15px;
}

.yg-hero-location {
    justify-content: center;
    text-align: center;
}

.yg-corner {
    position: absolute;
    width: 102px;
    height: 102px;
    border-color: #93c5fd;
    z-index: -1;
}

.yg-corner-top {
    right: -95px;
    top: -25px;
    border-top: 3px solid #93c5fd;
    border-right: 3px solid #93c5fd;
}

.yg-corner-bottom {
    left: -95px;
    bottom: -25px;
    border-left: 3px solid #91a4d2;
    border-bottom: 3px solid #91a4d2;
}

.yg-services {
    padding: 78px 0 83px;
    background: #ffffff;
}

.yg-section-head {
    text-align: center;
    width: min(570px, 100%);
    margin: 0 auto 74px;
}

.yg-section-head h2 {
    color: var(--yg-navy);
    font-size: 34px;
    font-weight: 500;
    margin: 0 0 18px;
}

.yg-section-head p {
    color: #344054;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.yg-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.yg-info-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.yg-info-card {
    min-height: 124px;
    display: grid;
    align-content: start;
    gap: 8px;
    border: 1px solid var(--yg-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(4, 18, 74, 0.04);
}

.yg-info-card i {
    color: var(--yg-accent);
    font-size: 22px;
}

.yg-info-card strong {
    color: var(--yg-navy);
    font-size: 18px;
}

.yg-info-card span,
.yg-info-card a {
    color: #344054;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.yg-service-card {
    min-height: 288px;
    border: 1px solid var(--yg-border);
    border-radius: 8px;
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.yg-service-wide {
    grid-column: span 2;
}

.yg-card-soft {
    background: #f0f2ff;
    position: relative;
}

.yg-card-soft > i {
    position: absolute;
    right: 45px;
    top: 43px;
    color: #d5daea;
    font-size: 86px;
}

.yg-card-blue {
    background: #082677;
    color: #ffffff;
}

.yg-card-light-blue {
    background: #1d4ed8;
    color: #ffffff;
}

.yg-card-white {
    background: #fbfdff;
}

.yg-card-white > i {
    color: var(--yg-accent);
    font-size: 31px;
}

.yg-service-card h3 {
    color: inherit;
    font-size: 31px;
    font-weight: 500;
    margin: 0 0 18px;
}

.yg-card-blue h3,
.yg-card-light-blue h3 {
    font-size: 24px;
    font-weight: 800;
}

.yg-service-card p {
    max-width: 620px;
    color: inherit;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.yg-card-soft p,
.yg-card-white p {
    color: #344054;
}

.yg-card-blue > i,
.yg-card-light-blue > i {
    color: #bfdbfe;
    font-size: 31px;
}

.yg-mentor-card {
    min-height: 288px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 34px;
}

.yg-mentor-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: #11309a;
    color: #ffffff;
}

.yg-cta-section {
    background: var(--yg-section);
    padding: 82px 0 0;
}

.yg-cta-card {
    position: relative;
    overflow: hidden;
    min-height: 343px;
    border: 1px solid #bfc8df;
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 52px 28px;
}

.yg-cta-card h2 {
    color: var(--yg-navy);
    font-size: 43px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 28px;
}

.yg-cta-card p {
    width: min(555px, 100%);
    color: #344054;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 48px;
}

.yg-cta-card .yg-btn {
    min-height: 55px;
}

.yg-cta-shape {
    position: absolute;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: #edf5f1;
}

.yg-cta-shape-top {
    right: -35px;
    top: -35px;
}

.yg-cta-shape-bottom {
    left: -35px;
    bottom: -35px;
}

.yg-footer {
    background: var(--yg-section);
    padding: 80px 0 45px;
}

.yg-footer-line {
    border-top: 1px solid #bfc7dc;
    margin-bottom: 54px;
}

.yg-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    align-items: start;
}

.yg-footer-brand {
    font-size: 31px;
}

.yg-footer p {
    width: min(270px, 100%);
    color: #344054;
    font-size: 14px;
    line-height: 1.55;
    margin: 25px 0 0;
}

.yg-footer-right {
    text-align: right;
}

.yg-footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 38px;
    margin: 12px 0 30px;
}

.yg-footer-links a,
.yg-footer small {
    color: #344054;
    font-size: 13px;
    text-decoration: none;
}

.yg-footer strong {
    color: var(--yg-navy);
    display: block;
    font-size: 13px;
    margin-top: 11px;
}

@media (max-width: 900px) {
    .yg-header {
        height: auto;
        position: static;
    }

    .yg-nav {
        min-height: 76px;
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .yg-brand {
        font-size: 25px;
    }

    .yg-menu {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        overflow-x: auto;
    }

    .yg-menu a {
        padding: 8px 0;
    }

    .yg-hero {
        min-height: auto;
        padding: 58px 0 56px;
    }

    .yg-hero-art {
        width: 100%;
    }

    .yg-hero-panel {
        padding: 22px;
    }

    .yg-hero-panel-head {
        grid-template-columns: 1fr;
    }

    .yg-corner {
        display: none;
    }

    .yg-service-grid,
    .yg-info-grid,
    .yg-footer-grid {
        grid-template-columns: 1fr;
    }

    .yg-service-wide {
        grid-column: auto;
    }

    .yg-mentor-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .yg-footer-right {
        text-align: left;
    }

    .yg-footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .yg-container {
        width: min(100% - 28px, 1280px);
    }

    .yg-login {
        min-width: 78px;
    }

    .yg-hero h1,
    .yg-cta-card h2 {
        font-size: 34px;
    }

    .yg-hero p {
        font-size: 15px;
    }

    .yg-hero-actions {
        display: grid;
        gap: 10px;
    }

    .yg-btn {
        min-height: 52px;
        width: 100%;
    }

    .yg-service-card {
        min-height: 230px;
        padding: 26px 22px;
    }

    .yg-service-card h3 {
        font-size: 27px;
    }

    .yg-card-soft > i {
        display: none;
    }

    .yg-cta-section {
        padding-top: 48px;
    }

    .yg-footer {
        padding-top: 46px;
    }
}
