:root {
    color-scheme: light;
    --ink: #08172c;
    --muted: #42566a;
    --soft: rgba(255, 255, 255, 0.72);
    --panel: rgba(255, 255, 255, 0.9);
    --line: rgba(111, 135, 152, 0.28);
    --teal: #006876;
    --teal-dark: #003e4a;
    --green: #139657;
    --green-dark: #087443;
    --footer: #002f3f;
    --gold: #a06a16;
    --error: #a12b23;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 52% 18%, rgba(255, 255, 255, 0.92) 0 7%, rgba(255, 255, 255, 0) 23%),
        radial-gradient(circle at 92% 42%, rgba(255, 255, 255, 0.65) 0 2px, transparent 3px),
        radial-gradient(circle at 47% 58%, rgba(255, 255, 255, 0.75) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
        linear-gradient(126deg, rgba(255, 255, 255, 0.92) 0%, rgba(242, 248, 251, 0.78) 40%, rgba(207, 225, 234, 0.86) 100%),
        #eaf2f7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before,
body::after {
    content: "";
    inset: 70px 0 150px;
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

body::before {
    background:
        linear-gradient(28deg, transparent 0 20%, rgba(255, 255, 255, 0.5) 20.2%, transparent 20.8% 100%),
        linear-gradient(145deg, transparent 0 52%, rgba(255, 255, 255, 0.65) 52.2%, transparent 53% 100%),
        linear-gradient(80deg, transparent 0 70%, rgba(255, 255, 255, 0.42) 70.2%, transparent 70.8% 100%);
}

body::after {
    background:
        linear-gradient(32deg, transparent 0 33%, rgba(87, 123, 146, 0.16) 33.2%, transparent 33.8% 100%),
        linear-gradient(154deg, transparent 0 61%, rgba(87, 123, 146, 0.14) 61.2%, transparent 61.8% 100%);
    opacity: 0.7;
}

.page {
    min-height: 100vh;
}

.topbar {
    align-items: center;
    background: rgba(0, 47, 63, 0.98);
    color: #fff;
    display: flex;
    justify-content: space-between;
    min-height: 72px;
    padding: 0 clamp(20px, 5vw, 64px);
}

.premium-mark,
.top-actions,
.top-trust,
.top-trust span,
.language-switcher,
.privacy,
button,
.primary-link,
.secondary-link {
    align-items: center;
    display: flex;
}

.premium-mark {
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
}

.top-actions {
    gap: 24px;
}

.top-trust {
    gap: 34px;
    font-size: 16px;
    font-weight: 600;
}

.top-trust span {
    gap: 10px;
}

svg {
    fill: none;
    height: 24px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 24px;
}

.premium-mark svg,
.top-trust svg {
    color: #44c877;
}

.language-switcher {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 4px;
}

.language-switcher a {
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
    padding: 6px 10px;
    text-decoration: none;
}

.language-switcher a.active {
    background: rgba(255, 255, 255, 0.94);
    color: var(--teal-dark);
}

.hero-grid {
    display: grid;
    gap: clamp(28px, 5vw, 64px);
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.92fr);
    margin: 0 auto;
    max-width: 1440px;
    min-height: calc(100vh - 222px);
    padding: clamp(46px, 7vw, 108px) clamp(20px, 6vw, 92px) clamp(34px, 4vw, 56px);
}

.hero-copy {
    align-self: center;
}

h1,
h2,
p {
    margin: 0;
}

h1 {
    display: grid;
    font-size: clamp(54px, 6.6vw, 92px);
    gap: 8px;
    letter-spacing: 0;
    line-height: 0.96;
}

h1 span {
    color: var(--ink);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 500;
}

h1 span:last-child {
    font-size: clamp(36px, 4.4vw, 58px);
}

h1 {
    color: var(--teal);
}

.trust-list {
    display: grid;
    gap: 22px;
    margin-top: clamp(34px, 5vw, 54px);
    max-width: 620px;
}

.trust-item {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: 88px minmax(0, 1fr);
}

.icon-tile,
.form-icon,
.success-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 24px;
    box-shadow: 0 18px 34px rgba(6, 36, 54, 0.12);
    color: var(--green);
    display: flex;
    justify-content: center;
}

.icon-tile {
    height: 74px;
    width: 74px;
}

.icon-tile svg,
.form-icon svg,
.success-icon svg {
    height: 36px;
    width: 36px;
}

.trust-item h2 {
    font-size: 24px;
    line-height: 1.2;
}

.trust-item p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.45;
    margin-top: 8px;
}

.card {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 14px;
    box-shadow: 0 28px 70px rgba(16, 40, 58, 0.22);
}

.inquiry-card {
    align-self: center;
    backdrop-filter: blur(16px);
    padding: clamp(24px, 4vw, 42px);
}

.form-head {
    align-items: center;
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.form-head h2 {
    font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.1;
}

.form-icon {
    background: rgba(11, 99, 110, 0.09);
    border-radius: 50%;
    box-shadow: none;
    color: var(--teal);
    flex: 0 0 auto;
    height: 58px;
    width: 58px;
}

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

label {
    display: grid;
    gap: 7px;
}

label span {
    font-weight: 800;
}

small {
    color: var(--muted);
    font-weight: 500;
}

.wide {
    grid-column: 1 / -1;
}

input,
textarea {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    font: inherit;
    min-height: 48px;
    padding: 12px 14px;
    width: 100%;
}

input:focus,
textarea:focus {
    background: #fff;
    border-color: var(--teal);
    outline: 4px solid rgba(0, 104, 118, 0.14);
}

textarea {
    min-height: 96px;
    resize: vertical;
}

em {
    color: var(--error);
    font-style: normal;
}

.website-field {
    left: -9999px;
    opacity: 0;
    position: absolute;
}

.privacy {
    color: var(--muted);
    font-size: 14px;
    gap: 8px;
    justify-content: center;
    line-height: 1.45;
    margin: 18px 0;
}

.privacy svg {
    color: var(--green-dark);
    height: 17px;
    width: 17px;
}

.consent-note {
    color: rgba(66, 86, 106, 0.86);
    font-size: 12px;
    line-height: 1.45;
    margin-top: 12px;
    text-align: center;
}

button,
.primary-link,
.secondary-link {
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-size: 20px;
    font-weight: 800;
    gap: 12px;
    justify-content: center;
    min-height: 58px;
    padding: 14px 22px;
    text-decoration: none;
}

button,
.primary-link {
    background: linear-gradient(180deg, #00976c, var(--green-dark));
    color: #fff;
    width: 100%;
}

button:hover,
.primary-link:hover {
    background: linear-gradient(180deg, #087b61, #055c46);
}

.trust-band {
    background:
        radial-gradient(circle at 18% 50%, rgba(19, 150, 87, 0.22), transparent 26%),
        linear-gradient(90deg, #002d3c, #003f52 52%, #002b3a);
    color: #fff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 150px;
    padding: 26px clamp(20px, 7vw, 120px);
}

.trust-band div {
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
    display: grid;
    gap: 5px 18px;
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 0 38px;
}

.trust-band div:last-child {
    border-right: 0;
}

.trust-band svg {
    color: #5bd27f;
    grid-row: span 2;
    height: 56px;
    width: 56px;
}

.trust-band strong {
    font-size: 22px;
}

.trust-band span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.35;
}

.success-fallback {
    background: #effaf3;
    border: 1px solid rgba(19, 150, 87, 0.28);
    border-radius: 12px;
    color: var(--ink);
    display: none;
    margin: 0 auto 24px;
    max-width: 900px;
    padding: 18px 20px;
    width: min(100% - 40px, 900px);
}

.success-fallback p {
    color: var(--muted);
    line-height: 1.5;
    margin-top: 8px;
}

.success-fallback a {
    color: var(--green-dark);
    display: inline-block;
    font-weight: 800;
    margin-top: 10px;
}

.modal-overlay {
    align-items: center;
    background: rgba(5, 17, 28, 0.58);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 20;
}

.success-modal {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    max-width: 640px;
    padding: clamp(26px, 5vw, 44px);
    text-align: center;
}

.success-icon {
    background: #eaf8ef;
    border-radius: 50%;
    box-shadow: none;
    color: var(--green);
    height: 78px;
    margin: 0 auto 18px;
    width: 78px;
}

.success-modal h2 {
    color: var(--ink);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.08;
}

.success-modal p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
    margin-top: 16px;
}

.modal-actions {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.secondary-link {
    background: #eef4f6;
    color: var(--teal-dark);
}

.secondary-link:hover {
    background: #e0edf1;
}

@supports not (position: fixed) {
    .success-fallback {
        display: block;
    }

    .modal-overlay {
        background: transparent;
        inset: auto;
        padding: 20px;
        position: static;
    }
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .inquiry-card {
        align-self: auto;
    }

    .trust-band {
        grid-template-columns: 1fr;
    }

    .trust-band div {
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
        border-right: 0;
        padding: 20px 0;
    }

    .trust-band div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 760px) {
    .topbar {
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        min-height: 0;
        padding: 16px 18px;
    }

    .premium-mark {
        font-size: 18px;
    }

    .top-actions {
        align-items: flex-end;
        gap: 10px;
        margin-left: auto;
    }

    .language-switcher a {
        font-size: 12px;
        padding: 5px 8px;
    }

    .top-trust {
        align-items: center;
        flex-direction: row;
        gap: 14px;
        font-size: 14px;
    }

    .top-trust span {
        gap: 6px;
        white-space: nowrap;
    }

    .top-trust svg {
        height: 19px;
        width: 19px;
    }

    .hero-grid {
        gap: 28px;
        padding: 34px 16px 28px;
    }

    h1 {
        font-size: clamp(42px, 15vw, 62px);
        overflow-wrap: anywhere;
    }

    h1 span,
    h1 span:last-child {
        font-size: clamp(28px, 9vw, 38px);
    }

    .trust-item {
        gap: 14px;
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .icon-tile {
        border-radius: 18px;
        height: 54px;
        width: 54px;
    }

    .icon-tile svg {
        height: 28px;
        width: 28px;
    }

    .trust-item h2 {
        font-size: 20px;
    }

    .trust-item p {
        font-size: 16px;
    }

    .inquiry-card {
        padding: 20px;
    }

    .form-head {
        align-items: flex-start;
    }

    .form-icon {
        height: 48px;
        width: 48px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    button,
    .primary-link,
    .secondary-link {
        font-size: 18px;
    }

    .trust-band {
        background: #002f3f;
        display: block;
        min-height: 0;
        padding: 18px;
    }

    .trust-band div {
        width: 100%;
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 18px 0;
    }

    .trust-band svg {
        height: 40px;
        width: 40px;
    }

    .trust-band strong {
        font-size: 20px;
    }

    .trust-band span {
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    .topbar {
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.92);
        border-bottom: 1px solid rgba(111, 135, 152, 0.22);
        color: var(--ink);
        flex-direction: column;
    }

    .top-actions {
        align-items: flex-start;
        flex-direction: column;
        margin-left: 0;
    }

    .language-switcher {
        background: rgba(0, 104, 118, 0.08);
        border-color: rgba(0, 104, 118, 0.15);
    }

    .language-switcher a {
        color: var(--muted);
    }

    .language-switcher a.active {
        background: var(--teal-dark);
        color: #fff;
    }

    .top-trust {
        display: grid;
        gap: 8px;
        grid-template-columns: 1fr;
        margin-top: 2px;
    }

    .success-modal {
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }
}
