*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #d7c4a8;
    color: #ffffff;
}

.score-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.score-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #d7c4a8;
}

.score-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.score-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.score-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 56px;
    padding: 8.5vh 7.5vw 6vh;
    box-sizing: border-box;
}

.score-title {
    margin: 0;
    max-width: min(640px, 58%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(22px, 3.1vw, 42px);
    line-height: 1.18;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #00b4c8;
    white-space: normal;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.12);
}

.score-form {
    width: 100%;
    max-width: 440px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: auto;
    padding: 28px 24px 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(15, 30, 35, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.score-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.score-field label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #1d1d1d;
    margin: 0;
}

.score-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.score-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #6b6b6b;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.score-input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 42px;
    background: #ffffff;
    border: 1px solid rgba(29, 29, 29, 0.18);
    border-radius: 6px;
    outline: none;
    color: #1d1d1d;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.score-input-wrap input::placeholder {
    color: #8a8a8a;
    font-weight: 400;
}

.score-input-wrap input:focus {
    border-color: #00b4c8;
}

.score-input-wrap input:-webkit-autofill,
.score-input-wrap input:-webkit-autofill:hover,
.score-input-wrap input:-webkit-autofill:focus {
    -webkit-text-fill-color: #1d1d1d;
    box-shadow: 0 0 0 1000px #ffffff inset;
    transition: background-color 9999s ease-out;
    caret-color: #1d1d1d;
}

.score-input-wrap--phone {
    background: #ffffff;
    border: 1px solid rgba(29, 29, 29, 0.18);
    border-radius: 6px;
    overflow: hidden;
}

.score-input-wrap--phone:focus-within {
    border-color: #00b4c8;
}

.score-country {
    flex: 0 0 108px;
    width: 108px;
    height: 48px;
    border: none;
    border-right: 1px solid rgba(29, 29, 29, 0.12);
    background-color: #f4f6f7;
    color: #1d1d1d;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 0 22px 0 8px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%231d1d1d' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.score-input-wrap--phone input {
    border: none;
    padding-left: 12px;
    border-radius: 0;
    height: 46px;
}

.score-input-wrap--phone input:focus {
    border-color: transparent;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.score-error {
    display: block;
    min-height: 0;
    font-size: 11px;
    line-height: 1.2;
    color: #c0392b;
}

.score-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.score-step {
    display: none;
    flex-direction: column;
    gap: 8px;
}

.score-step.is-active {
    display: flex;
}

.score-progress {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #00a3b5;
}

.score-question {
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.score-question legend {
    padding: 0;
    margin: 0 0 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: #1d1d1d;
}

.score-question-note {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #00a3b5;
}

.score-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(29, 29, 29, 0.16);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    color: #1d1d1d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.score-option input {
    margin-top: 2px;
    accent-color: #00b4c8;
    flex-shrink: 0;
}

.score-option:has(input:checked),
.score-option.is-selected {
    border-color: #00b4c8;
    background: rgba(0, 180, 200, 0.08);
}

.score-btn-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.score-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin-top: 0;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    background: #00b4c8;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.score-btn:hover:not(:disabled) {
    background: #00a3b5;
}

.score-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.score-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #8aa0a6;
}

.score-btn--secondary {
    background: transparent;
    color: #00a3b5;
    border: 1.5px solid #00b4c8;
}

.score-btn--secondary:hover:not(:disabled) {
    background: rgba(0, 180, 200, 0.1);
    color: #008a9a;
}

.score-btn--secondary:disabled {
    background: transparent;
    color: #8aa0a6;
    border-color: rgba(29, 29, 29, 0.18);
}

.score-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.score-modal[hidden] {
    display: none;
}

.score-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 35, 0.55);
}

.score-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 28px 24px 22px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    color: #1d1d1d;
}

.score-modal-card h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #00a3b5;
}

.score-modal-flags {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
}

.score-modal-text {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.55;
    color: #222;
}

body.score-modal-open {
    overflow: hidden;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.score-status {
    min-height: 18px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    color: #555;
}

.score-status.is-success {
    color: #0d7a4f;
}

.score-status.is-error {
    color: #c0392b;
}

.hub-page {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(15, 30, 35, 0.08), rgba(15, 30, 35, 0.18)),
        #e8ddd0;
    color: #1d1d1d;
}

.hub {
    max-width: 980px;
    margin: 0 auto;
    padding: 72px 24px 80px;
}

.hub-brand {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #00a3b5;
}

.hub-title {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #111;
}

.hub-text {
    margin: 0 0 32px;
    color: #555;
    font-size: 16px;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hub-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 163, 168, 0.16);
}

.hub-card-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #00a3b5;
}

.hub-card-headline {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
}

@media (max-width: 1100px) {
    .score-form {
        max-width: 420px;
    }

    .score-title {
        font-size: clamp(22px, 3.4vw, 36px);
    }
}

@media (max-width: 900px) {
    .score-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 32px;
        padding: 8vh 6vw 48px;
    }

    .score-title {
        max-width: 100%;
        white-space: normal;
        font-size: 28px;
        letter-spacing: 0.02em;
    }

    .score-form {
        max-width: 420px;
        width: 100%;
        margin-left: 0;
    }

    .hub-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .score-inner {
        padding: 7vh 20px 36px;
        gap: 28px;
    }

    .score-title {
        font-size: 24px;
    }

    .score-form {
        max-width: none;
        gap: 12px;
        padding: 22px 16px 18px;
    }

    .score-input-wrap input,
    .score-country,
    .score-btn {
        height: 46px;
        min-height: 46px;
    }

    .score-country {
        flex-basis: 96px;
        width: 96px;
        font-size: 12px;
    }

    .score-input-wrap--phone input {
        height: 44px;
    }
}
