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

html { height: 100%; }

body {
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #1a1a27;
    background: #ffffff;
    display: flex;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════
   2 баганы grid
═══════════════════════════════ */
.sg-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
    min-height: 100vh;
}

/* ═══════════════════════════════
   Зүүн тал — маягт
═══════════════════════════════ */
.sg-left {
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    padding: 32px 40px;
    min-height: 100vh;
    position: relative;
}

.sg-left::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 300px;
    background-image: url(/assest/logo/back.png);
    background-repeat: repeat-y;
    background-position: left center;
    background-size: 100% auto;
    pointer-events: none;
    opacity: 0.2;
    z-index: 0;
}

.sg-left-header {
    align-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    width: 100%;
    max-width: 370px;
    position: relative;
    z-index: 1;
}

.sg-soyombo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sg-soyombo svg {
    filter: drop-shadow(0 2px 6px rgba(255, 199, 5, 0.35));
}

.sg-page-title {
    width: 100%;
    max-width: 370px;
    font-size: 20px;
    font-weight: 700;
    color: #00593A;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-align: center;
}

.sg-page-sub {
    width: 100%;
    max-width: 370px;
    font-size: 13px;
    font-weight: 400;
    color: #6c7293;
    line-height: 1.65;
    text-align: center;
}

.sg-page-sub strong {
    color: #1a1a27;
    font-weight: 600;
}

.sg-card {
    background: #ffffff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 370px;
    position: relative;
    z-index: 1;
}

.sg-card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
}

.sg-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a27;
    line-height: 1.2;
}

.sg-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a27;
    margin-bottom: 6px;
}

.sg-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e4e6ef;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    color: #1a1a27;
    background: #ffffff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.sg-input:focus {
    border-color: #00593A;
    box-shadow: 0 0 0 3px rgba(0, 89, 58, 0.1);
}

.sg-input::placeholder {
    color: #b5b5c3;
}

.sg-pw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.sg-pw-header .sg-label {
    margin-bottom: 0;
}

.sg-forgot {
    font-size: 13px;
    font-weight: 500;
    color: #00593A;
    text-decoration: none;
    flex-shrink: 0;
}

.sg-forgot:hover {
    text-decoration: underline;
}

.sg-pw-box {
    display: flex;
    align-items: center;
    border: 1px solid #e4e6ef;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color .2s, box-shadow .2s;
}

.sg-pw-box:focus-within {
    border-color: #00593A;
    box-shadow: 0 0 0 3px rgba(0, 89, 58, 0.1);
}

.sg-pw-box input {
    flex: 1;
    height: 42px;
    padding: 0 0 0 14px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    color: #1a1a27;
}

.sg-pw-box input::placeholder {
    color: #b5b5c3;
}

.sg-pw-eye {
    padding: 0 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #b5b5c3;
    display: flex;
    align-items: center;
    transition: color .15s;
    flex-shrink: 0;
}

.sg-pw-eye:hover {
    color: #6c7293;
}

.sg-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #1a1a27;
}

.sg-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #00593A;
    flex-shrink: 0;
}

.sg-btn {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00593A;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: background .2s;
}

.sg-btn:hover {
    background: #004a30;
}

.sg-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══════════════════════════════
   Баруун тал — branded
═══════════════════════════════ */
.sg-right {
    position: relative;
    border-radius: 12px;
    border: 1px solid #e4e6ef;
    margin: 20px;
    background-color: #111;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Slideshow зурагнууд */
.sg-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    transform: scale(1.06);
    animation: none;
}

.sg-slide.active {
    opacity: 1;
    animation: sgZoom 8s ease-out forwards;
}

@keyframes sgZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.0);  }
}

/* Overlay — бүх зураг дээр нэгдсэн харанхуй бүрхүүл */
.sg-slideshow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    pointer-events: none;
    z-index: 1;
}

/* Текст агуулга slideshow-н дээр */
.sg-right-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 32px 64px;
    gap: 16px;
}

/* Давуу талын card-ууд */
.sg-features {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    gap: 12px;
    padding: 0 28px;
}

.sg-feat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(245, 145, 32, 0.45);
    border-radius: 14px;
    padding: 20px 16px;
    box-shadow: 0 0 0 0.5px rgba(245, 145, 32, 0.2) inset;
}

.sg-feat-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(245, 145, 32, 0.28);
    border: 1px solid rgba(245, 145, 32, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-feat-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sg-feat-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.sg-feat-desc {
    font-size: 11.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.5;
}

/* ── SVG animations ── */

/* 1: Баганан диаграм — дээш доош хөдлөнө */
@keyframes featBarA {
    0%, 100% { transform: scaleY(0.55); }
    50%       { transform: scaleY(1);    }
}
@keyframes featBarB {
    0%, 100% { transform: scaleY(0.75); }
    50%       { transform: scaleY(1);    }
}
@keyframes featBarC {
    0%, 100% { transform: scaleY(0.4);  }
    50%       { transform: scaleY(1);    }
}

.feat-bar-a {
    transform-origin: bottom;
    animation: featBarA 2s ease-in-out infinite;
}
.feat-bar-b {
    transform-origin: bottom;
    animation: featBarB 2s ease-in-out infinite 0.35s;
}
.feat-bar-c {
    transform-origin: bottom;
    animation: featBarC 2s ease-in-out infinite 0.7s;
}

/* 2: Шугаман граф — зам зурагдана */
@keyframes featDraw {
    0%   { stroke-dashoffset: 80; opacity: 0.4; }
    60%  { stroke-dashoffset: 0;  opacity: 1;   }
    100% { stroke-dashoffset: 0;  opacity: 1;   }
}
@keyframes featDotPop {
    0%, 40% { r: 0;   opacity: 0; }
    70%      { r: 2.5; opacity: 1; }
    100%     { r: 2;   opacity: 1; }
}

.feat-line {
    stroke-dasharray: 80;
    animation: featDraw 2.6s ease-in-out infinite;
}
.feat-dot {
    animation: featDotPop 2.6s ease-in-out infinite;
}

/* 3: Хамгаалалт — цагираг долгионтой */
@keyframes featRing {
    0%   { r: 8;  opacity: 0.7; stroke-width: 2; }
    100% { r: 14; opacity: 0;   stroke-width: 0.5; }
}
@keyframes featShieldBob {
    0%, 100% { transform: translateY(0);  }
    50%       { transform: translateY(-2px); }
}

.feat-ring {
    animation: featRing 2s ease-out infinite;
}
.feat-ring2 {
    animation: featRing 2s ease-out infinite 0.8s;
}
.feat-shield-grp {
    animation: featShieldBob 2.4s ease-in-out infinite;
}

/* Dots indicator */
/* Цаг агаарын мэдээ — давуу талын card-ууд болон цэгүүдийн хооронд төвд */
.sg-weather {
    position: absolute;
    top: 180px;
    bottom: 44px;
    left: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.sg-weather > .hw-card {
    pointer-events: auto;
    width: 100%;
    max-width: 960px;
    max-height: 100%;
    overflow: hidden;
}

.sg-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.sg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .3s, transform .3s;
}

.sg-dot.active {
    background: #ffffff;
    transform: scale(1.25);
}

.sg-right-logo {
    display: block;
    text-decoration: none;
    line-height: 1;
}

.sg-right-texts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sg-right-title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.sg-right-desc {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.sg-right-desc strong {
    color: #ffffff;
    font-weight: 600;
}

/* ── Footer ── */
.sg-footer {
    align-self: start;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #b5b5c3;
    font-weight: 400;
    text-align: center;
}

.sg-footer-sep {
    color: #d0d0d8;
}

.sg-footer-link {
    color: #00593A;
    text-decoration: none;
    font-weight: 500;
}

.sg-footer-link:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════
   Нууцлалын бодлогын modal
═══════════════════════════════ */
#privacyOverlay {
    display: none;
}

.prv-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.22);
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 64px);
    margin: auto;
}

.prv-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #E4E6EF;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: #fff;
    border-radius: 14px 14px 0 0;
    z-index: 1;
}
.prv-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.prv-head-title {
    font-size: 15px;
    font-weight: 700;
    color: #1E2129;
}
.prv-close {
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 22px;
    color: #B5B5C3;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .15s, background .15s;
    flex-shrink: 0;
}
.prv-close:hover { color: #1E2129; background: #F5F5F5; }

.prv-body {
    overflow-y: auto;
    padding: 24px 32px;
    flex: 1;
    font-size: 13.5px;
    color: #3a3a4a;
    line-height: 1.75;
}
.prv-body h2 {
    font-size: 14px;
    font-weight: 700;
    color: #00593A;
    margin: 22px 0 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #E8FFF3;
}
.prv-body h2:first-child { margin-top: 0; }
.prv-body h3 {
    font-size: 13px;
    font-weight: 600;
    color: #1E2129;
    margin: 12px 0 5px;
}
.prv-body p {
    margin: 0 0 8px;
}
.prv-body ul {
    margin: 0 0 10px;
    padding-left: 20px;
}
.prv-body ul li {
    margin-bottom: 4px;
}

.prv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    background: #F0FAF4;
    border: 1px solid #A1CD46;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 20px;
    font-size: 12.5px;
    color: #00593A;
}

.prv-note {
    margin-top: 20px;
    background: #FFF8EC;
    border-left: 3px solid #F59120;
    border-radius: 0 6px 6px 0;
    padding: 10px 14px;
    font-size: 12px;
    color: #7E6020;
    line-height: 1.6;
}

.prv-foot {
    padding: 16px 24px;
    border-top: 1px solid #E4E6EF;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    background: #fff;
    border-radius: 0 0 14px 14px;
}

/* ═══════════════════════════════
   Нууц үг сэргээх modal
═══════════════════════════════ */
#fgOverlay {
    display: none;
}
#fgOverlay.fg-open {
    display: flex !important;
}

.fg-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    padding: 40px 36px 32px;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fg-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 22px;
    color: #B5B5C3;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color .15s, background .15s;
}
.fg-close:hover {
    color: #1E2129;
    background: #F5F5F5;
}

.fg-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.fg-spinner-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

@keyframes fgRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.fg-spin {
    animation: fgRotate 0.9s linear infinite;
}

.fg-title {
    font-size: 17px;
    font-weight: 700;
    color: #1E2129;
    text-align: center;
    margin-bottom: 8px;
}

.fg-desc {
    font-size: 13px;
    color: #7E8299;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

.fg-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1E2129;
    margin-bottom: 6px;
}

.fg-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #E4E6EF;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    color: #1E2129;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    margin-bottom: 0;
}
.fg-input:focus {
    border-color: #00593A;
    box-shadow: 0 0 0 3px rgba(0,89,58,0.1);
}
.fg-input::placeholder {
    color: #B5B5C3;
}

.fg-btn {
    width: 100%;
    height: 42px;
    margin-top: 18px;
    background: #00593A;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: background .2s;
}
.fg-btn:hover   { background: #004a30; }
.fg-btn:disabled { opacity: .6; cursor: not-allowed; }

.fg-sms-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 12px;
}

.fg-instruction-box {
    background: #F0FAF4;
    border: 1px solid #A1CD46;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
}
.fg-instruction {
    font-size: 18px;
    font-weight: 600;
    color: #00593A;
    text-align: center;
    line-height: 1.65;
}

.fg-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    background: #F0FAF4;
    border: 1px solid #A1CD46;
    border-radius: 10px;
    padding: 8px;
}
.fg-qr-wrap canvas,
.fg-qr-wrap img {
    display: block;
    border-radius: 4px;
    width: 160px !important;
    height: 160px !important;
}
.fg-qr-lbl {
    font-size: 10px;
    color: #7E8299;
    text-align: center;
    white-space: nowrap;
}

.fg-hint {
    font-size: 12px;
    color: #7E8299;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 16px;
}

.fg-pw-box {
    display: flex;
    align-items: center;
    border: 1px solid #E4E6EF;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.fg-pw-box:focus-within {
    border-color: #00593A;
    box-shadow: 0 0 0 3px rgba(0,89,58,0.1);
}
.fg-pw-box input {
    flex: 1;
    height: 42px;
    padding: 0 0 0 14px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    color: #1E2129;
}
.fg-pw-box input::placeholder { color: #B5B5C3; }
.fg-pw-eye {
    padding: 0 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #B5B5C3;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color .15s;
}
.fg-pw-eye:hover { color: #6c7293; }

.fg-rules {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.fg-rules li {
    font-size: 12px;
    color: #B5B5C3;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color .2s;
}
.fg-rules li::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #D0D0D8;
    flex-shrink: 0;
    background: #fff;
    transition: background .2s, border-color .2s;
    box-sizing: border-box;
}
.fg-rules li.fg-rule-ok {
    color: #00593A;
}
.fg-rules li.fg-rule-ok::before {
    background: #00593A;
    border-color: #00593A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpolyline points='2,5 4,7.5 8,3' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.fg-link-btn {
    background: none;
    border: none;
    color: #7E8299;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    transition: color .15s;
}
.fg-link-btn:hover { color: #1E2129; }

/* ═══════════════════════════════
   SVG Icon анимэйшн
═══════════════════════════════ */

/* Нууцлалын бодлого — shield */
@keyframes prvShBreathe {
    0%,100% { transform: scale(1); }
    50%     { transform: scale(1.12); }
}
@keyframes prvShDraw {
    0%,8%   { stroke-dashoffset: 9; opacity: 0.2; }
    35%,72% { stroke-dashoffset: 0;  opacity: 1;   }
    95%,100%{ stroke-dashoffset: 0;  opacity: 0.2; }
}
.prv-shield-ico {
    display: block;
    animation: prvShBreathe 3s ease-in-out infinite;
    transform-origin: center;
}
.prv-sh-bg {
    fill: #E8FFF3;
    stroke: #00593A;
    stroke-width: 2;
    stroke-linejoin: round;
}
.prv-sh-chk {
    fill: none;
    stroke: #00593A;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 9;
    animation: prvShDraw 3s ease-in-out infinite;
}

/* Step 1 — phone float + type animation */
@keyframes fgS1Float {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-5px); }
}
@keyframes fgS1LineDraw {
    0%,5%   { stroke-dashoffset: 8; opacity: 0;    }
    30%,70% { stroke-dashoffset: 0; opacity: 1;    }
    95%,100%{ stroke-dashoffset: 0; opacity: 0.3;  }
}
@keyframes fgS1Cur {
    0%,49%  { opacity: 1; }
    50%,100%{ opacity: 0; }
}
.fg-s1-ico { animation: fgS1Float 2.6s ease-in-out infinite; }
.fg-s1-l1 {
    stroke-dasharray: 8;
    stroke-dashoffset: 8;
    animation: fgS1LineDraw 2.6s ease-in-out infinite;
}
.fg-s1-l2 {
    stroke-dasharray: 6;
    stroke-dashoffset: 6;
    animation: fgS1LineDraw 2.6s ease-in-out infinite 0.35s;
}
.fg-s1-cur { animation: fgS1Cur 0.85s step-end infinite 1.1s; }

/* Step 2 — circle loading */
@keyframes fgCircleSpin {
    to { transform: rotate(360deg); }
}
.fg-spin-arc {
    transform-box: fill-box;
    transform-origin: center;
    animation: fgCircleSpin 0.9s linear infinite;
}

/* Step 3 — lock float + shackle lift + keyhole glow */
@keyframes fgS3Float {
    0%,100% { transform: translateY(0);  }
    50%     { transform: translateY(-4px); }
}
@keyframes fgS3ShkLift {
    0%,15%,65%,100% { transform: translateY(0);   }
    35%,55%          { transform: translateY(-5px); }
}
@keyframes fgS3KhPulse {
    0%,100% { opacity: 1;    }
    50%     { opacity: 0.4;  }
}
.fg-s3-ico { animation: fgS3Float 3.5s ease-in-out infinite; }
.fg-s3-shk {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: fgS3ShkLift 3.5s ease-in-out infinite;
}
.fg-s3-kh-c,
.fg-s3-kh-r { animation: fgS3KhPulse 1.8s ease-in-out infinite; }

/* ═══════════════════════════════
   Responsive
═══════════════════════════════ */
@media (max-width: 1024px) {
    .sg-wrap {
        grid-template-columns: 1fr;
    }

    .sg-right {
        display: none;
    }

    .sg-left {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .sg-card-body {
        padding: 28px 24px;
    }

    .sg-left {
        padding: 16px;
        padding-top: 40px;
        align-items: flex-start;
    }
}
