:root {
    --bg: #010306;
    --panel: #071022;
    --panel-strong: #0b162c;
    --field: #151a21;
    --field-border: #25344e;
    --field-border-active: #3b86ff;
    --text: #f7fbff;
    --muted: #aab5c4;
    --muted-strong: #d6deeb;
    --blue: #3b86ff;
    --blue-hover: #63a0ff;
    --footer-border: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 0;
    background: var(--bg);
}

body {
    min-height: 0;
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 50% 0%, rgba(31, 81, 154, 0.22), transparent 26rem),
        linear-gradient(180deg, #030711 0%, #010306 38rem, #010306 100%);
}

a {
    color: var(--blue-hover);
}

button,
input,
textarea {
    font: inherit;
}

.sales-page {
    min-height: 0;
    overflow: hidden;
}

.hero {
    display: flex;
    justify-content: center;
    padding: 34px 18px 50px;
}

.hero-inner {
    width: min(100%, 560px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    flex: 0 0 auto;
}

.hero-copy {
    margin-top: 48px;
    text-align: center;
}

.hero-copy h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(33px, 7vw, 56px);
    line-height: 0.96;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-copy h1 strong {
    font-weight: 800;
}

.hero-copy p {
    max-width: 470px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.5;
    font-weight: 200;
}

.audience-note {
    width: min(100%, 580px);
    margin: 18px 0 0;
    padding: 13px 18px;
    border: 1px solid var(--field-border);
    border-radius: 6px;
    color: var(--muted);
    background: rgba(22, 25, 29, 0.50);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.audience-note strong {
    color: var(--text);
}

.form-container {
    width: min(100%, 680px);
    margin-top: 32px;
}

.sales-form {
    width: 100%;
    padding: 24px 30px 22px;
    border: 1px solid #193153;
    border-radius: 8px;
    background: rgba(7, 16, 34, 0.94);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field-group + .field-group {
    margin-top: 20px;
}

.field-label,
.label-row label {
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.label-row span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    background: var(--field);
}

.contact-tab {
    min-width: 0;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 6px;
    color: var(--muted-strong);
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.contact-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.contact-tab.active {
    color: var(--text);
    background: var(--blue);
    box-shadow: 0 7px 18px rgba(59, 134, 255, 0.3);
}

.contact-tab svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--field-border);
    border-radius: 7px;
    color: var(--text);
    background: var(--field);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

input {
    height: 43px;
    padding: 0 15px;
    font-size: 12px;
}

textarea {
    min-height: 70px;
    max-height: 180px;
    resize: vertical;
    padding: 15px;
    font-size: 12px;
    line-height: 1.45;
}

input::placeholder,
textarea::placeholder {
    color: #8995a7;
    opacity: 1;
}

input:focus,
textarea:focus {
    border-color: var(--field-border-active);
    box-shadow: 0 0 0 3px rgba(59, 134, 255, 0.14);
    background: #111923;
}

.error {
    display: none;
    color: #ff8b8b;
    font-size: 11px;
    line-height: 1.3;
}

.error-visible {
    display: block;
}

.error-input {
    border-color: #ff7171 !important;
}

.form-submit {
    width: 100%;
    min-height: 44px;
    margin-top: 20px;
    border: 0;
    border-radius: 7px;
    color: var(--text);
    background: var(--blue);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(59, 134, 255, 0.27);
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.form-submit:hover {
    background: var(--blue-hover);
    box-shadow: 0 14px 30px rgba(59, 134, 255, 0.34);
}

.form-submit:active {
    transform: translateY(1px);
}

.response-note {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

#bookingFrame {
    display: none;
    width: min(1000px, calc(100vw - 36px));
    height: 620px;
    margin-top: 20px;
    margin-left: 50%;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    background: var(--panel);
    transform: translateX(-50%);
}

body.booking-visible .hero {
    padding-bottom: 34px;
}

body.booking-visible .hero-copy {
    margin-top: 34px;
}

body.booking-visible .form-container {
    margin-top: 24px;
}

body.booking-visible .page-footer {
    padding-top: 34px;
    padding-bottom: 34px;
}

.hidden,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-footer {
    border-top: 1px solid var(--footer-border);
    padding: 54px 20px 42px;
    color: var(--muted);
    text-align: center;
    background: rgba(0, 0, 0, 0.18);
}

.partner-logo {
    display: block;
    width: min(100%, 420px);
    height: auto;
    margin: 0 auto 20px;
}

.copyright {
    margin: 0;
    color: var(--text);
    font-size: 15px;
}

.legal-copy {
    max-width: 900px;
    margin: 20px auto 0;
    font-size: 12px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
    margin-top: 25px;
}

.footer-links a {
    color: var(--muted-strong);
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text);
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 28px 14px 42px;
    }

    .hero-copy {
        margin-top: 46px;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .hero-copy p {
        font-size: 14px;
    }

    .sales-form {
        padding: 22px 20px 20px;
    }

    .partner-logo {
        margin-bottom: 40px;
    }

    body.booking-visible .hero {
        padding-bottom: 30px;
    }

    body.booking-visible .hero-copy {
        margin-top: 34px;
    }

    body.booking-visible .page-footer {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #bookingFrame {
        height: 620px;
    }
}

@media (max-width: 430px) {
    .contact-tab {
        gap: 0;
    }

    .contact-tab span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .contact-tab svg {
        width: 18px;
        height: 18px;
    }

    .hero-copy h1 {
        font-size: 30px;
    }

    .page-footer {
        padding-inline: 14px;
    }

    .partner-logo {
        margin-bottom: 34px;
    }
}
