:root {
    --brand:       #2E3F57;
    --brand-light: #4a5d78;
    --brand-muted: rgba(46, 63, 87, 0.50);
    --brand-faint: rgba(46, 63, 87, 0.13);
    --glass:       rgba(255, 255, 255, 0.18);
    --glass-edge:  rgba(255, 255, 255, 0.45);
    --font:        'Outfit', sans-serif;
}

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

html, body {
    height: 100%;
    overflow: hidden;
    font-family: var(--font);
    background: #e4e8e2;
    color: var(--brand);
}

.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.bg-left {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


.bg-gif {
    height: 100%;
    width: auto;
    display: block;
}

.bg-right {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent       0%,
        transparent      22%,
        rgba(0,0,0,0.35) 36%,
        rgba(0,0,0,0.75) 46%,
        black            58%
    );
    mask-image: linear-gradient(
        to right,
        transparent       0%,
        transparent      22%,
        rgba(0,0,0,0.35) 36%,
        rgba(0,0,0,0.75) 46%,
        black            58%
    );
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 50%,
        transparent 50%,
        rgba(160, 168, 155, 0.22) 100%
    );
    pointer-events: none;
}

.page {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100vh;
    padding: 0 4vw;
}

.card-wrap {
    animation: fadeInUp 0.9s ease-out;
}

.glass-card {
    position: relative;
    width: 370px;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    background: var(--glass);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    border: 1px solid var(--glass-edge);
    border-radius: 22px;
    padding: 2rem;
    box-shadow:
        0 24px 64px rgba(46, 63, 87, 0.13),
        0 4px 16px  rgba(46, 63, 87, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.brand-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.brand-logo { width: 145px; }

.tagline {
    font-size: 0.79rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--brand-muted);
    line-height: 1.5;
}

.badge {
    display: inline-block;
    padding: 7px 20px;
    border: 1px solid rgba(46, 63, 87, 0.25);
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: var(--brand);
    background: rgba(46, 63, 87, 0.07);
}

.divider {
    height: 1px;
    background: var(--brand-faint);
}

.form-heading {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 0.58rem;
}

.field-row {
    display: flex;
    gap: 0.58rem;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(46, 63, 87, 0.18);
    border-radius: 8px;
    color: var(--brand);
    font-family: var(--font);
    font-size: 0.83rem;
    transition: all 0.2s ease;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: rgba(46, 63, 87, 0.30);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(46, 63, 87, 0.26);
    box-shadow: 0 0 0 3px rgba(46, 63, 87, 0.05);
}

.inquiry-form textarea { resize: none; }

.inquiry-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.74rem;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.inquiry-form button:hover {
    background: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(46, 63, 87, 0.22);
}

.inquiry-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.success-state {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.success-state.hidden { display: none; }

.success-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(46, 63, 87, 0.06);
    border: 1px solid var(--brand-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.success-title { font-size: 0.98rem; font-weight: 600; }
.success-sub   { font-size: 0.80rem; color: var(--brand-muted); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.sound-btn {
    position: fixed;
    top: 1.8rem;
    right: 1.8rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 200;
    color: var(--brand);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(46, 63, 87, 0.15);
}

.sound-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.38);
}

.sound-btn.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 4px 20px rgba(46, 63, 87, 0.35);
}

.sound-btn .icon-playing        { display: none; }
.sound-btn.active .icon-muted   { display: none; }
.sound-btn.active .icon-playing { display: block; }

.wa-btn {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 200;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.mobile-header  { display: none; }
.mobile-tagline { display: none; }

@media (max-width: 860px) {
    html, body { height: 100%; overflow: hidden; }

    .bg-left { width: 100%; height: 100%; }

    .bg-gif {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .bg-right {
        width: 100%;
        height: 100%;
        top: 0; left: 0;
        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent       0%,
            transparent      35%,
            rgba(0,0,0,0.45) 55%,
            black            72%
        );
        mask-image: linear-gradient(
            to bottom,
            transparent       0%,
            transparent      35%,
            rgba(0,0,0,0.45) 55%,
            black            72%
        );
    }

    .bg-img { object-position: center bottom; }

    .page {
        height: 100vh;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        padding: 0;
    }

    .mobile-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 2.8rem 1.5rem 0;
        flex-shrink: 0;
    }

    .mobile-logo {
        width: 130px;
        filter: drop-shadow(0 2px 8px rgba(255,255,255,0.5));
    }

    .mobile-header .badge {
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 3px;
        padding: 6px 18px;
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.45);
        color: var(--brand);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .mobile-tagline {
        display: block;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--brand);
        line-height: 1.7;
        letter-spacing: 0.15px;
        text-shadow: 0 1px 10px rgba(255,255,255,0.95);
    }

    .card-wrap {
        animation: none;
        flex-shrink: 0;
        padding: 0 1.4rem;
    }

    .glass-card {
        width: 100%;
        overflow: visible;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0 0 1.6rem;
        gap: 0;
        box-shadow: none;
        margin-bottom: 0;
    }

    .glass-card::before { display: none; }

    .brand-block { display: none; }

    .field-row { flex-direction: column; gap: 0; }

    .inquiry-form { gap: 0; }

    .inquiry-form input,
    .inquiry-form textarea {
        padding: 0.75rem 0;
        font-size: 16px;
        font-weight: 500;
        border-radius: 0;
        background: transparent;
        border: none;
        border-bottom: 1.5px solid rgba(46, 63, 87, 0.45);
        box-shadow: none;
        color: var(--brand);
        text-shadow:
            0 0 12px rgba(255,255,255,0.95),
            0 1px 4px rgba(255,255,255,0.8);
    }

    .inquiry-form input::placeholder,
    .inquiry-form textarea::placeholder {
        color: var(--brand);
        opacity: 0.72;
        text-shadow:
            0 0 10px rgba(255,255,255,0.9),
            0 1px 4px rgba(255,255,255,0.7);
    }

    .inquiry-form input:focus,
    .inquiry-form textarea:focus {
        outline: none;
        background: transparent;
        border-bottom-color: var(--brand);
        box-shadow: none;
    }

    .inquiry-form textarea {
        min-height: 64px;
        margin-top: 0.1rem;
    }

    .inquiry-form button {
        margin-top: 1.2rem;
        padding: 0.85rem;
        font-size: 0.95rem;
        border-radius: 11px;
        box-shadow: 0 6px 22px rgba(46, 63, 87, 0.25);
    }

    .form-heading {
        font-size: 0.88rem;
        font-weight: 700;
        letter-spacing: 0.4px;
        color: var(--brand);
        margin-bottom: 0.5rem;
        text-shadow:
            0 0 14px rgba(255,255,255,1),
            0 1px 6px rgba(255,255,255,0.9);
    }

    .divider { display: none; }

    .wa-btn {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 52px;
        height: 52px;
    }

    .sound-btn {
        top: 1.2rem;
        right: 1.2rem;
        width: 44px;
        height: 44px;
    }
}
