/* ============================================================
   enquiry.css — split-screen enquiry page (premium B2B pass)
   Scoped: this file is only linked on the enquiry page.
   ============================================================ */
:root {
    --enq-green: #1f9d55;
    --enq-green-dark: #17864a;
    --enq-green-soft: #e9f7ef;
    --enq-ink: #111827;          /* headings / field text */
    --enq-body: #374151;         /* labels / secondary text */
    --enq-muted: #6b7280;        /* hints / placeholders (4.8:1 on white) */
    --enq-line: #e2e6ea;
    --enq-line-hover: #c3ccd5;
    --enq-bg: #f4f6f8;
    --enq-error: #dc2626;
    --enq-ring: 0 0 0 4px rgba(31, 157, 85, .15);
}

/* focused layout — hiding the site chrome here is automatically page-scoped */
.footerSection, .textSlider { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--enq-bg); margin: 0; }

/* ---------- page: true 50/50 split ---------- */
.enqPage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip;
    font-family: var(--font-family, 'Switzer', system-ui, -apple-system, 'Segoe UI', sans-serif);
    color: var(--enq-ink);
}

/* ---------- left: full-height image panel ---------- */
.enqLeft {
    min-width: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    padding: clamp(28px, 3.5vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}
.enqLeft::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 11, 18, .50) 0%, rgba(7, 11, 18, .26) 45%, rgba(7, 11, 18, .87) 100%),
        url('/images/Contact/Office.webp') center / cover no-repeat;
    z-index: 0;
}
.enqLeft > * { position: relative; z-index: 1; }
.enqBrand { display: inline-block; width: max-content; border-radius: 8px; }
.enqBrand img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.enqLeftBottom { max-width: 560px; }
.enqLeftBottom h1 {
    font-size: clamp(2.2rem, 3.2vw, 3.2rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.02em;
    margin: 0 0 18px;
}
.enqLeftBottom h1 span { color: #3fd68b; display: block; }
.enqLeftBottom > p {
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
    margin: 0 0 34px;
    max-width: 440px;
}
.enqBadges {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    padding-top: 26px;
}
.enqBadge { display: flex; gap: 12px; align-items: flex-start; }
.enqBadge i {
    flex: none;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(63, 214, 139, .16);
    color: #3fd68b;
    font-size: 1.05rem;
    line-height: 0;
}
.enqBadge .enqBadgeIcon {
    flex: none;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(63, 214, 139, .16);
    font-size: 1.15rem;
    line-height: 1;
}
.enqBadge h4 { font-size: .9rem; font-weight: 600; margin: 0 0 3px; }
.enqBadge p { font-size: .78rem; color: rgba(255, 255, 255, .75); line-height: 1.45; margin: 0; }

/* ---------- right: form panel ---------- */
.enqRight { min-width: 0; background: var(--enq-bg); padding: 28px clamp(24px, 4vw, 60px) 56px; }
.enqTopbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 28px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 760px;
    margin: 0 auto 28px;
}
.enqTopbar a {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--enq-body); text-decoration: none;
    font-size: .88rem; font-weight: 500;
    padding: 8px 2px; border-radius: 8px;
}
.enqTopbar a:hover { color: var(--enq-ink); }
.enqTopbar a i { color: var(--enq-green); }
.enqTopbar .enqCta {
    background: var(--enq-green); color: #fff;
    padding: 12px 24px; border-radius: 999px; font-weight: 600;
    box-shadow: 0 8px 18px -8px rgba(31, 157, 85, .55);
    transition: transform .18s, box-shadow .18s, background .18s;
}
.enqTopbar .enqCta:hover { background: var(--enq-green-dark); transform: translateY(-1px); color: #fff; }
.enqTopbar .enqCta i { color: #fff; }

.enqCard {
    background: #fff;
    border-radius: 20px;
    padding: clamp(28px, 3.2vw, 48px);
    box-shadow: 0 24px 60px -28px rgba(15, 26, 42, .18), 0 2px 8px -2px rgba(15, 26, 42, .06);
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}
.enqCard h2 { font-size: clamp(1.65rem, 2.2vw, 2.05rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
.enqCard h2 span { color: var(--enq-green); }
.enqSub { color: var(--enq-muted); font-size: .9rem; margin: 0; }
.enqRule { height: 1px; background: var(--enq-line); margin: 24px 0 28px; }

/* ---------- form grid & fields ---------- */
.enqGrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 24px; }
.enqPage .enqField { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.enqPage .enqField.full { grid-column: 1 / -1; }
.enqPage .enqField label { font-size: .875rem; font-weight: 600; color: var(--enq-body); }
.req { color: var(--enq-error); margin-left: 3px; }

.enqPage .enqField input,
.enqPage .enqField select,
.enqPage .enqField textarea {
    width: 100%;
    min-height: 52px;                 /* uniform height + comfortable touch target */
    border: 1.5px solid var(--enq-line);
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 1rem;                  /* 16px — also prevents iOS focus zoom */
    font-family: inherit;
    font-weight: 500;
    color: var(--enq-ink);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.enqPage .enqField input::placeholder,
.enqPage .enqField textarea::placeholder { color: var(--enq-muted); font-weight: 400; }
.enqPage .enqField input:hover, .enqPage .enqField select:hover, .enqPage .enqField textarea:hover { border-color: var(--enq-line-hover); }
.enqPage .enqField input:focus, .enqPage .enqField select:focus, .enqPage .enqField textarea:focus {
    outline: none;
    border-color: var(--enq-green);
    box-shadow: var(--enq-ring);
}
.enqPage .enqField [aria-invalid="true"] { border-color: var(--enq-error); }
.enqPage .enqField [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }

/* ---------- dropdowns: high-contrast, readable ---------- */
.enqPage .enqField select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 44px;
    cursor: pointer;
}
.enqPage .enqField select.enqPlaceholder { color: var(--enq-muted); }         /* only the closed placeholder is muted */
.enqPage .enqField select option { color: #1f2937; font-weight: 500; background: #fff; }
.enqPage .enqField select option:disabled { color: #9ca3af; }

/* Chromium/Safari with customizable-select: fully styled, accessible dropdown */
@supports (appearance: base-select) {
    .enqPage .enqField select, .enqPage .enqField select::picker(select) { appearance: base-select; }
    .enqPage .enqField select { background-image: none; display: flex; align-items: center; }
    .enqPage .enqField select::picker-icon { color: var(--enq-body); }
    .enqPage .enqField select::picker(select) {
        border: 1px solid var(--enq-line);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 18px 40px -18px rgba(15, 26, 42, .30);
        padding: 6px;
        margin-top: 6px;
        max-height: min(380px, 60vh);
        overflow-y: auto;
        scrollbar-width: thin;
    }
    .enqPage .enqField select option {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 11px 12px;
        border-radius: 8px;
        font-size: .95rem;
        text-transform: none;      /* don't inherit the group-label styling */
        letter-spacing: normal;
    }
    .enqPage .enqField select option:hover, .enqPage .enqField select option:focus { background: var(--enq-green-soft); }
    .enqPage .enqField select option:checked { background: var(--enq-green-soft); color: #116b3a; font-weight: 600; }
}

/* ---------- textarea + counter ---------- */
.enqPage .enqTextareaWrap { position: relative; }
.enqPage .enqTextareaWrap textarea { min-height: 160px; resize: none; padding-bottom: 32px; }
.enqPage .enqCounter { position: absolute; right: 14px; bottom: 12px; font-size: .74rem; color: var(--enq-muted); pointer-events: none; }
.enqPage .enqMsg { font-size: .78rem; font-weight: 500; color: var(--enq-error); margin: 0; }

/* ---------- attach: drag & drop ---------- */
.enqPage .enqAttach {
    grid-column: 1 / -1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px dashed var(--enq-line-hover);
    border-radius: 14px;
    background: #fafbfc;
    padding: 6px;
    transition: border-color .15s, background .15s;
}
.enqPage .enqAttach:hover { border-color: var(--enq-green); background: var(--enq-green-soft); }
.enqPage .enqAttach.dragover { border-color: var(--enq-green); border-style: solid; background: var(--enq-green-soft); }
.enqPage .enqAttach:focus-within { border-color: var(--enq-green); box-shadow: var(--enq-ring); }
.enqPage .enqAttachMain { flex: 1; display: flex; align-items: center; gap: 14px; padding: 12px 14px; cursor: pointer; min-width: 0; }
.enqPage .enqAttach .ic {
    width: 44px; height: 44px; flex: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: #eef2f5;
    color: var(--enq-body);
    font-size: 1.15rem;
    line-height: 0;
}
.enqPage .enqAttach .txt { flex: 1; min-width: 0; }
.enqPage .enqAttach .txt > strong { display: block; font-size: .92rem; color: var(--enq-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enqPage .enqAttach .txt > span { display: block; font-size: .78rem; color: var(--enq-muted); margin-top: 2px; white-space: normal; line-height: 1.45; } /* .enqAttachMain is a <label>: global style.css label{white-space:nowrap} would inherit here and overflow */
.enqPage .enqAttach .lim { font-size: .76rem; color: var(--enq-muted); flex: none; padding-right: 6px; }
.enqOpt { color: var(--enq-muted); font-weight: 400; }
.enqPage .enqFileInput { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.enqPage .enqClear {
    flex: none;
    width: 36px; height: 36px;
    margin-right: 10px;
    border: 1px solid var(--enq-line);
    border-radius: 50%;
    background: #fff;
    color: var(--enq-muted);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.enqPage .enqClear:hover { color: var(--enq-error); border-color: var(--enq-error); }
.enqPage .enqClear[hidden] { display: none; }

/* ---------- submit ---------- */
.enqPage .enqSubmit {
    grid-column: 1 / -1;
    margin-top: 8px;
    width: 100%;
    min-height: 58px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(180deg, #21a45a, #1b8f4d);
    color: #fff;
    font-size: 1.06rem;
    font-weight: 650;
    letter-spacing: .01em;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    cursor: pointer;
    box-shadow: 0 16px 30px -14px rgba(31, 157, 85, .65);
    transition: transform .18s, box-shadow .18s, filter .18s;
}
.enqPage .enqSubmit:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 20px 36px -14px rgba(31, 157, 85, .7); }
.enqPage .enqSubmit:active { transform: translateY(0); }
.enqPage .enqSubmit[disabled] { opacity: .65; cursor: default; transform: none; box-shadow: none; }

/* ---------- trust row ---------- */
.enqTrust { display: flex; align-items: center; justify-content: center; gap: 12px 32px; margin-top: 24px; flex-wrap: wrap; }
.enqTrust span { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--enq-muted); }
.enqTrust i { color: var(--enq-green); }

/* honeypot */
.enqHp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- accessibility ---------- */
.enqPage a:focus-visible, .enqPage button:focus-visible {
    outline: 2px solid var(--enq-green);
    outline-offset: 3px;
}
.enqPage .enqSubmit:focus-visible { outline: 3px solid #0f4d2c; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .enqPage, .enqPage * { transition: none !important; }
}

/* ---------- offices / contact block (below the form) ---------- */
.enqOffices {
    margin-top: 20px;
    background: #fff;
    border: 1px solid var(--enq-line);
    border-radius: 18px;
    padding: clamp(22px, 3vw, 32px);
}
.enqOfficesTitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--enq-ink);
    margin: 0 0 20px;
}
.enqOfficeGrid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}
.enqOffice { display: flex; gap: 13px; align-items: flex-start; }
.enqOffice .enqFlag {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    object-fit: cover;
    flex: none;
    margin-top: 2px;
    box-shadow: 0 0 0 1px rgba(17, 24, 39, .06);
}
.enqOffice h3 {
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--enq-green-dark);
    margin: 0 0 6px;
}
.enqOfficeEntity { font-size: .86rem; font-weight: 600; color: var(--enq-ink); margin: 0 0 3px; }
.enqOffice p:not(.enqOfficeEntity) { font-size: .82rem; line-height: 1.5; color: var(--enq-body); margin: 0; }
.enqOfficeContact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--enq-line);
}
.enqOfficeContact a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--enq-ink);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease;
}
.enqOfficeContact a i { color: var(--enq-green); }
.enqOfficeContact a:hover { color: var(--enq-green); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
    .enqPage { grid-template-columns: minmax(0, 1fr); margin-top: 60px; }   /* clear the 61px fixed site header (matches homepage offset); stack: image first, form below */
    .enqLeft { position: relative; height: auto; min-height: 0; padding: 32px 28px 40px; justify-content: flex-start; }  /* relative (not static): ::before needs .enqLeft as containing block, else it sizes to the whole page and shows a blown-up corner */
    .enqLeft::before {
        /* portrait crop for portrait screens (glowing AQOZA sign) + lighter, bottom-weighted scrim so the photo actually reads */
        background:
            linear-gradient(180deg, rgba(7, 11, 18, .55) 0%, rgba(7, 11, 18, .34) 45%, rgba(7, 11, 18, .62) 100%),
            url('/images/Contact/office-mobile.webp') center 30% / cover no-repeat;
    }
    .enqLeftBottom { text-shadow: 0 1px 14px rgba(7, 11, 18, .55); }  /* contrast insurance where text crosses the bright sky/roof edge */
    .enqLeftBottom h1 { font-size: 2.15rem; }
    .enqRight { padding: 26px 24px 44px; }
}
@media (max-width: 640px) {
    .enqLeft { padding: 30px 20px 34px; }
    .enqPage .enqAttachMain { flex-wrap: wrap; row-gap: 2px; }
    .enqPage .enqAttach .txt { flex: 1 1 calc(100% - 58px); }
    .enqPage .enqAttach .lim { flex-basis: 100%; padding: 0 0 2px 58px; }
    .enqLeftBottom > p { margin-bottom: 26px; }
    .enqGrid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .enqCard { padding: 24px 18px; border-radius: 16px; }
    .enqTopbar { justify-content: center; gap: 6px 18px; margin-bottom: 20px; }
    .enqPage .enqTextareaWrap textarea { min-height: 140px; }
    .enqPage .enqSubmit { min-height: 54px; }
    .enqTrust { gap: 10px 18px; }
    .enqOfficeGrid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .enqOffices { border-radius: 16px; }
}
@media (max-width: 560px) {
    .enqBadges { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
