/* Skyline Vista Enquiry Form - fully scoped under .sv-enquiry (no body/:root/* globals).
   Fixed 1100x650 design canvas; contact-form.js zooms it to fit its container,
   so both panels always show side by side exactly like the desktop design. */

.sv-enquiry {
    --ink: #071b17;
    --deep: #0b2721;
    --green: #0f4436;
    --gold: #d9ad5b;
    --gold-light: #ffe3a0;
    --rose: #d9a49b;
    --ivory: #fbf8f0;
    --muted: #68736e;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    padding: 0;
    background: none;
    font-family:
        "Inter",
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--ink);
    overflow: hidden;
    line-height: normal;
    text-align: left;
}
.sv-enquiry h1,
.sv-enquiry h2,
.sv-enquiry p,
.sv-enquiry label {
    font-family: inherit;
}
.sv-enquiry *,
.sv-enquiry *:before,
.sv-enquiry *:after {
    box-sizing: border-box;
}

/* Popup mode: add class sv-enquiry--overlay. Hidden until opened via any element
   with data-sv-open (or window.svEnquiryOpen()). Dim backdrop, form centred on top. */
.sv-enquiry--overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 28px;
    background: #071b17e0;
    backdrop-filter: blur(4px);
}
.sv-enquiry--overlay.sv-open {
    display: grid;
}

.sv-enquiry .sv-ambient {
    display: none;
}
.sv-enquiry--overlay .sv-ambient {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.sv-enquiry .sv-orb {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f8d78c;
    box-shadow: 0 0 16px 5px #d7a84b66;
    animation: svFloat 10s ease-in-out infinite;
    opacity: 0.55;
}
.sv-enquiry .sv-orb:nth-child(1) {
    left: 9%;
    top: 20%;
    animation-delay: -2s;
}
.sv-enquiry .sv-orb:nth-child(2) {
    left: 88%;
    top: 25%;
    animation-delay: -6s;
}
.sv-enquiry .sv-orb:nth-child(3) {
    left: 75%;
    top: 84%;
    animation-delay: -4s;
}
.sv-enquiry .sv-orb:nth-child(4) {
    left: 22%;
    top: 78%;
    animation-delay: -8s;
}
.sv-enquiry .sv-orb:nth-child(5) {
    left: 52%;
    top: 9%;
    animation-delay: -3s;
}

.sv-enquiry .sv-modal {
    position: relative;
    z-index: 1;
    width: 1100px;
    max-width: none;
    min-height: 650px;
    flex: none;
    display: grid;
    grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.22fr);
    border: 1px solid #f0cf83;
    border-radius: 26px;
    overflow: hidden;
    background: var(--ivory);
    box-shadow:
        0 35px 100px #0008,
        0 0 0 5px #d8ae5b12;
    animation: svModalIn 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.sv-enquiry .sv-modal:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        #fff1bf,
        #b7812f 26%,
        transparent 44%,
        #e8c46d 80%,
        #fff0bc
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 4;
}

.sv-enquiry .sv-brand-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px 30px 30px;
    background:
        radial-gradient(ellipse at 30% 80%, #16463a 0, transparent 42%),
        linear-gradient(160deg, #071411, #0b211c 58%, #101e1a);
    color: #fff;
    overflow: hidden;
    min-height: 0;
}
.sv-enquiry .sv-brand-panel:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.4;
    background: repeating-linear-gradient(
        115deg,
        transparent 0 45px,
        #e6bd6840 46px,
        #e6bd6840 47px,
        transparent 48px 92px
    );
    mask-image: linear-gradient(to bottom, transparent, #000 40%, #000);
}
.sv-enquiry .sv-brand-panel:after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -20%;
    right: -20%;
    bottom: -115px;
    height: 290px;
    background: linear-gradient(180deg, #d9a64a08, #d9a64a35);
    border-top: 1px solid #d6b66c88;
    transform: skewY(-13deg);
}
.sv-enquiry .sv-brand-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 22px;
    animation: svFadeUp 0.8s 0.2s both;
}
.sv-enquiry .sv-logo-wrap {
    width: 174px;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9ad5b88;
    border-radius: 16px;
    background: #0a0c0bf2;
    box-shadow:
        0 12px 35px #0005,
        inset 0 0 20px #d7a84b0c;
}
.sv-enquiry .sv-logo-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 290px;
    object-fit: contain;
}
.sv-enquiry .sv-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 13px;
}
.sv-enquiry .sv-eyebrow:before {
    content: "";
    height: 1px;
    width: 28px;
    background: var(--gold);
}
.sv-enquiry .sv-brand-copy {
    animation: svFadeUp 0.8s 0.35s both;
}
.sv-enquiry .sv-brand-copy h2 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 38px;
    line-height: 1.08;
    margin: 0 0 14px;
    letter-spacing: -0.03em;
}
.sv-enquiry .sv-brand-copy h2 span {
    color: var(--gold-light);
    font-style: italic;
}
.sv-enquiry .sv-brand-copy p {
    font-size: 13px;
    line-height: 1.7;
    color: #d6dfd9;
    margin: 0;
    max-width: 290px;
}
.sv-enquiry .sv-brand-features {
    display: grid;
    gap: 15px;
    margin-top: 28px;
    animation: svFadeUp 0.8s 0.48s both;
}
.sv-enquiry .sv-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f4eee0;
    font-size: 12px;
    letter-spacing: 0.02em;
}
.sv-enquiry .sv-feature-icon {
    width: 34px;
    height: 34px;
    border: 1px solid #d9ad5b88;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--gold-light);
    flex: none;
    background: #d9ad5b0d;
}
.sv-enquiry .sv-feature-icon svg {
    width: 17px;
    height: 17px;
}
.sv-enquiry .sv-brand-footer {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #d9ad5b55;
    color: #aebbb3;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sv-enquiry .sv-form-panel {
    position: relative;
    padding: 42px 54px 34px;
    background:
        radial-gradient(ellipse at 100% 0, #f2e4c9 0, transparent 36%),
        linear-gradient(145deg, #fffdf8, #f8f5ed);
    min-height: 0;
}
.sv-enquiry .sv-close {
    position: absolute;
    right: 22px;
    top: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #c9a65c;
    background: #fffaf0;
    color: #16372e;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition:
        transform 0.25s,
        background 0.25s;
    z-index: 2;
    padding: 0;
}
.sv-enquiry .sv-close:hover {
    transform: rotate(90deg);
    background: #f4e4c0;
}
.sv-enquiry .sv-form-heading {
    padding-right: 30px;
    margin-bottom: 25px;
    animation: svFadeUp 0.65s 0.25s both;
}
.sv-enquiry .sv-form-heading .sv-mini {
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #99712e;
    font-weight: 700;
    margin: 0 0 9px;
}
.sv-enquiry .sv-form-heading h1 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -0.04em;
    margin: 0;
    color: #0b241d;
}
.sv-enquiry .sv-form-heading h1 span {
    color: #a47731;
    font-style: italic;
}
.sv-enquiry .sv-form-heading p {
    margin: 12px 0 0;
    color: #68736e;
    font-size: 13px;
    line-height: 1.6;
}
.sv-enquiry .sv-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 23px;
    animation: svFadeUp 0.65s 0.35s both;
}
.sv-enquiry .sv-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    border: 1px solid #e4d6b9;
    border-radius: 11px;
    background: #fffaf1;
    color: #46564f;
    font-size: 10px;
    line-height: 1.35;
}
.sv-enquiry .sv-benefit svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: #a77b31;
}
.sv-enquiry form {
    display: grid;
    gap: 12px;
    margin: 0;
}
.sv-enquiry .sv-field {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 57px;
    border: 1px solid #d8dcd4;
    border-radius: 12px;
    background: #fffefa;
    box-shadow: 0 3px 10px #17332905;
    transition:
        border-color 0.25s,
        box-shadow 0.25s,
        transform 0.25s;
    animation: svFieldIn 0.55s both;
    margin: 0;
}
.sv-enquiry .sv-field:nth-of-type(1) {
    animation-delay: 0.35s;
}
.sv-enquiry .sv-field:nth-of-type(2) {
    animation-delay: 0.42s;
}
.sv-enquiry .sv-field:nth-of-type(3) {
    animation-delay: 0.49s;
}
.sv-enquiry .sv-field:nth-of-type(4) {
    animation-delay: 0.56s;
}
.sv-enquiry .sv-field:focus-within {
    border-color: #b68a3d;
    box-shadow:
        0 0 0 3px #d9ad5b24,
        0 8px 20px #1733290a;
    transform: translateY(-1px);
}
.sv-enquiry .sv-field-icon {
    width: 54px;
    align-self: stretch;
    display: grid;
    place-items: center;
    border-right: 1px solid #e6e5dc;
    color: #92702f;
    flex: none;
}
.sv-enquiry .sv-field-icon svg {
    width: 26px;
    height: 26px;
}
.sv-enquiry .sv-field input,
.sv-enquiry .sv-field textarea,
.sv-enquiry .sv-field select {
    font: inherit;
    color: #18352b;
    background: transparent;
    border: 0;
    outline: 0;
    width: 100%;
    min-width: 0;
    padding: 16px 17px;
    font-size: 14px;
    box-shadow: none;
    margin: 0;
}
.sv-enquiry .sv-field input::placeholder,
.sv-enquiry .sv-field textarea::placeholder {
    color: #858b85;
    opacity: 1;
}
.sv-enquiry .sv-field select {
    appearance: none;
    color: #858b85;
    cursor: pointer;
}
.sv-enquiry .sv-field select:valid {
    color: #18352b;
}
.sv-enquiry .sv-field-select:after {
    content: "⌄";
    position: absolute;
    right: 17px;
    top: 13px;
    color: #9a762f;
    font-size: 22px;
    pointer-events: none;
}
.sv-enquiry .sv-field textarea {
    min-height: 86px;
    resize: vertical;
}
.sv-enquiry .sv-field.sv-message {
    align-items: stretch;
}
.sv-enquiry .sv-field.sv-message .sv-field-icon {
    align-items: center;
    padding-top: 0;
}
.sv-enquiry .sv-verify {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    margin-top: 2px;
    border: 1px solid #d9ddd7;
    border-radius: 10px;
    background: #fff;
    animation: svFadeUp 0.6s 0.62s both;
}
.sv-enquiry .sv-verify-left {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    color: #243b32;
}
.sv-enquiry .sv-check-circle {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid #13884e;
    color: #16834b;
    font-size: 16px;
    flex: none;
}
.sv-enquiry .sv-verify-brand {
    text-align: right;
    line-height: 1.15;
    flex: none;
}
.sv-enquiry .sv-cloud-mark {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #f48120;
    font-size: 22px;
    letter-spacing: -0.15em;
}
.sv-enquiry .sv-cloud-mark span {
    display: inline-block;
    font-size: 8px;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 3px;
}
.sv-enquiry .sv-verify-links {
    font-size: 9px;
    color: #505b55;
    text-decoration: underline;
    margin-top: 4px;
}
.sv-enquiry .sv-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 0;
    color: #66716a;
    font-size: 11px;
    line-height: 1.5;
    cursor: pointer;
    animation: svFadeUp 0.6s 0.7s both;
}
.sv-enquiry .sv-consent input {
    accent-color: #123f32;
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    flex: none;
}
.sv-enquiry .sv-submit {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 62px;
    padding: 15px 22px;
    border: 1px solid #f0cf83;
    border-radius: 13px;
    background: linear-gradient(
        110deg,
        #9c7027 0%,
        #f4d783 25%,
        #d7ad55 53%,
        #f4d783 75%,
        #a7782b 100%
    );
    background-size: 200% 100%;
    color: #102b22;
    font-weight: 750;
    font-size: 15px;
    letter-spacing: 0.01em;
    box-shadow:
        0 9px 22px #9c702b30,
        inset 0 1px #fff9;
    cursor: pointer;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
    animation:
        svFadeUp 0.65s 0.75s both,
        svGoldFlow 6s 2s ease-in-out infinite;
    font-family: inherit;
}
.sv-enquiry .sv-submit:before {
    content: "";
    position: absolute;
    inset: -50% auto -50% -35%;
    width: 25%;
    transform: rotate(22deg);
    background: linear-gradient(90deg, transparent, #ffffffb8, transparent);
    z-index: -1;
    animation: svShine 4s 1.8s ease-in-out infinite;
}
.sv-enquiry .sv-submit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px #9c702b45,
        inset 0 1px #fff9;
}
.sv-enquiry .sv-submit:active {
    transform: translateY(0);
}
.sv-enquiry .sv-submit svg {
    width: 18px;
    height: 18px;
}
.sv-enquiry .sv-secure-note {
    text-align: center;
    color: #92968f;
    font-size: 10px;
    margin: 1px 0 0;
    letter-spacing: 0.03em;
}
.sv-enquiry .sv-success-message {
    display: none;
    padding: 14px 16px;
    border-radius: 10px;
    background: #eaf5ee;
    border: 1px solid #b8ddc4;
    color: #145c35;
    font-size: 13px;
    line-height: 1.5;
}
.sv-enquiry .sv-modal.sv-is-closing {
    animation: svModalOut 0.3s ease both;
}

@keyframes svModalIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.975);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
@keyframes svModalOut {
    to {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }
}
@keyframes svFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes svFieldIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes svShine {
    0%,
    52% {
        left: -35%;
    }
    80%,
    100% {
        left: 130%;
    }
}
@keyframes svGoldFlow {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
@keyframes svFloat {
    0%,
    100% {
        transform: translateY(0) scale(0.8);
        opacity: 0.25;
    }
    50% {
        transform: translateY(-25px) scale(1.2);
        opacity: 0.8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sv-enquiry *,
    .sv-enquiry *:before,
    .sv-enquiry *:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition: none !important;
    }
}
