:root {
    --sg-navy: #071a3b;
    --sg-navy-2: #0d274f;
    --sg-orange: #f89a16;
    --sg-orange-2: #ff7b0a;
    --sg-white: #ffffff;
    --sg-muted: #687385;
    --sg-border: rgba(255, 255, 255, 0.16);
}

.sg-enquiry {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
    font-family: inherit;
}

.sg-enquiry[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
}

.sg-enquiry__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 13, 33, .76);
    backdrop-filter: blur(12px);
}

.sg-enquiry__panel {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 26px;
    padding: 32px;
    color: var(--sg-white);
    background:
        radial-gradient(circle at 100% 0%, rgba(248,154,22,.18), transparent 34%),
        linear-gradient(145deg, rgba(13,39,79,.98), rgba(5,22,49,.99));
    box-shadow: 0 28px 90px rgba(0,0,0,.44);
    transform: translateY(16px) scale(.985);
    transition: transform .25s ease;
}

.sg-enquiry[aria-hidden="false"] .sg-enquiry__panel {
    transform: translateY(0) scale(1);
}

.sg-enquiry__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--sg-border);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.08);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.sg-enquiry__brand img {
    display: block;
    width: min(300px, 72%);
    height: auto;
    margin: 0 0 22px;
    padding: 9px 12px;
    border-radius: 14px;
    background: #fff;
}

.sg-enquiry__eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border: 1px solid rgba(248,154,22,.35);
    border-radius: 999px;
    color: #ffb43f;
    background: rgba(248,154,22,.09);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sg-enquiry__intro h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
}

.sg-enquiry__intro p {
    margin: 0 0 24px;
    max-width: 610px;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.65;
}

.sg-enquiry__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sg-field {
    display: grid;
    gap: 8px;
    margin: 0;
}

.sg-field--full {
    grid-column: 1 / -1;
}

.sg-field > span {
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 700;
}

.sg-field small {
    color: rgba(255,255,255,.55);
    font-weight: 400;
}

.sg-field input,
.sg-field select,
.sg-field textarea {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 12px;
    outline: none;
    color: #fff;
    background: rgba(255,255,255,.07);
    box-shadow: none;
    font: inherit;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.sg-field textarea {
    min-height: 116px;
    resize: vertical;
}

.sg-field input::placeholder,
.sg-field textarea::placeholder {
    color: rgba(255,255,255,.42);
}

.sg-field input:focus,
.sg-field select:focus,
.sg-field textarea:focus {
    border-color: var(--sg-orange);
    background: rgba(255,255,255,.1);
    box-shadow: 0 0 0 3px rgba(248,154,22,.13);
}

.sg-field select option {
    color: #111;
}

.sg-file input {
    padding: 10px;
}

.sg-file input::file-selector-button {
    margin-right: 12px;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    color: #071a3b;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}

.sg-enquiry__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    margin-top: 18px;
    border: 0;
    border-radius: 13px;
    color: #071a3b;
    background: linear-gradient(135deg, var(--sg-orange), var(--sg-orange-2));
    box-shadow: 0 15px 34px rgba(248,123,10,.24);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.sg-enquiry__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(248,123,10,.33);
}

.sg-enquiry__submit:disabled {
    cursor: wait;
    opacity: .72;
}

.sg-enquiry__status {
    min-height: 0;
    margin-top: 14px;
    font-size: 14px;
}

.sg-enquiry__status.is-error {
    padding: 11px 13px;
    border: 1px solid rgba(255,102,102,.35);
    border-radius: 10px;
    color: #ffd3d3;
    background: rgba(180,0,0,.16);
}

.sg-enquiry__privacy {
    margin: 12px 0 0;
    text-align: center;
    color: rgba(255,255,255,.52);
    font-size: 12px;
}

.sg-enquiry__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.sg-enquiry__success {
    padding: 46px 12px 18px;
    text-align: center;
}

.sg-enquiry__success-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    color: #071a3b;
    background: var(--sg-orange);
    font-size: 34px;
    font-weight: 900;
}

.sg-enquiry__success h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 32px;
}

.sg-enquiry__success p {
    margin: 0 0 24px;
    color: rgba(255,255,255,.72);
}

.sg-enquiry__success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sg-enquiry__success-actions a,
.sg-enquiry__success-actions button {
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    color: #fff;
    background: rgba(255,255,255,.08);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

body.sg-enquiry-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .sg-enquiry {
        display: block;
        padding: 0;
    }

    .sg-enquiry__panel {
        width: 100%;
        min-height: 100dvh;
        max-height: 100dvh;
        border: 0;
        border-radius: 0;
        padding: 24px 18px 32px;
    }

    .sg-enquiry__brand img {
        width: min(265px, 76%);
        margin-bottom: 18px;
    }

    .sg-enquiry__intro h2 {
        font-size: 31px;
    }

    .sg-enquiry__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sg-field--full {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-enquiry,
    .sg-enquiry__panel,
    .sg-enquiry__submit {
        transition: none;
    }
}

/* v1.1.0 visibility and interaction fixes */
.sg-enquiry__close {
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 0;
    pointer-events: auto;
    touch-action: manipulation;
}

.sg-enquiry__close span {
    display: block;
    transform: translateY(-1px);
    color: #ffffff;
}

.sg-field input,
.sg-field select,
.sg-field textarea {
    border-color: rgba(255, 255, 255, 0.38);
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.11) !important;
    caret-color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.sg-field input:hover,
.sg-field select:hover,
.sg-field textarea:hover {
    border-color: rgba(255, 255, 255, 0.56);
    background-color: rgba(255, 255, 255, 0.14) !important;
}

.sg-field input::placeholder,
.sg-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.72) !important;
    opacity: 1;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.72);
}

.sg-field select {
    color-scheme: dark;
}

.sg-field select option {
    color: #101827 !important;
    background: #ffffff !important;
    -webkit-text-fill-color: #101827;
}

.sg-field input:-webkit-autofill,
.sg-field input:-webkit-autofill:hover,
.sg-field input:-webkit-autofill:focus,
.sg-field textarea:-webkit-autofill,
.sg-field select:-webkit-autofill {
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 0 0 1000px #17345d inset !important;
    transition: background-color 9999s ease-out 0s;
}

.sg-field > span {
    color: #ffffff;
}

.sg-field small,
.sg-enquiry__privacy {
    color: rgba(255, 255, 255, 0.72);
}


/* v1.2.0 visibility and file upload fixes */
.sg-enquiry__close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-color: rgba(255,255,255,.32);
    background: rgba(7,26,59,.86);
    box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

.sg-enquiry__close:hover {
    background: rgba(248,154,22,.18);
    border-color: rgba(248,154,22,.58);
}

.sg-enquiry__close span {
    font-size: 30px;
    line-height: 1;
    color: #ffffff !important;
    opacity: 1;
}

.sg-file__control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 18px;
    background: rgba(255,255,255,.09);
}

.sg-file__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.sg-file__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 158px;
    min-height: 60px;
    padding: 0 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    color: #071a3b;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.sg-file__name {
    min-width: 0;
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1.5;
    opacity: .95;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-file input {
    padding: 0;
}

@media (max-width: 767px) {
    .sg-enquiry__close {
        top: 14px;
        right: 14px;
    }

    .sg-file__control {
        min-height: 84px;
        gap: 12px;
        padding: 12px;
    }

    .sg-file__button {
        min-width: 122px;
        min-height: 54px;
        padding: 0 14px;
        font-size: 14px;
    }

    .sg-file__name {
        font-size: 14px;
    }
}


/* v1.3.0 glass styling and icon branding */
.sg-enquiry__panel {
    border: 1px solid rgba(255,255,255,.22);
    background:
        radial-gradient(circle at 100% 0%, rgba(248,154,22,.18), transparent 34%),
        linear-gradient(145deg, rgba(13,39,79,.78), rgba(5,22,49,.84));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.sg-enquiry__close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(248,154,22,.38);
    background: rgba(3,16,38,.88);
    box-shadow: 0 14px 30px rgba(0,0,0,.30);
}

.sg-enquiry__close:hover {
    border-color: rgba(248,154,22,.7);
    background: rgba(248,154,22,.16);
}

.sg-enquiry__close span {
    color: #f89a16 !important;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 0 0 transparent;
}

.sg-enquiry__brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 18px;
}

.sg-enquiry__brand img {
    display: block;
    width: 88px;
    height: 88px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.sg-enquiry__intro {
    margin-bottom: 22px;
    padding: 20px 20px 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0,0,0,.16);
}

.sg-enquiry__eyebrow {
    margin-bottom: 12px;
    background: rgba(248,154,22,.10);
    color: #ffb43f;
}

.sg-enquiry__intro h2 {
    margin: 0 0 10px;
}

.sg-enquiry__intro p {
    margin: 0;
}

@media (max-width: 767px) {
    .sg-enquiry__close {
        top: 14px;
        right: 14px;
        width: 46px;
        height: 46px;
    }

    .sg-enquiry__brand {
        margin-bottom: 14px;
    }

    .sg-enquiry__brand img {
        width: 74px;
        height: 74px;
    }

    .sg-enquiry__intro {
        padding: 16px 16px 15px;
        border-radius: 18px;
        margin-bottom: 18px;
    }
}


/* v1.4.0 fuller glass treatment */
.sg-enquiry__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02) 32%, transparent 100%);
    opacity: .9;
}

.sg-enquiry__panel > * {
    position: relative;
    z-index: 1;
}

.sg-enquiry__form {
    padding: 20px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.sg-field input,
.sg-field select,
.sg-field textarea,
.sg-file__control {
    background: rgba(255,255,255,.11);
    border-color: rgba(255,255,255,.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.sg-field input:focus,
.sg-field select:focus,
.sg-field textarea:focus {
    background: rgba(255,255,255,.14);
    border-color: rgba(248,154,22,.55);
    box-shadow: 0 0 0 3px rgba(248,154,22,.14), inset 0 1px 0 rgba(255,255,255,.08);
}

.sg-enquiry__submit {
    box-shadow: 0 16px 30px rgba(248,154,22,.22);
}

.sg-enquiry__privacy {
    padding: 0 4px;
}

@media (max-width: 767px) {
    .sg-enquiry__form {
        padding: 16px;
        border-radius: 20px;
    }
}

/* v1.4.1 correct circular brand icon asset */
