*,
*::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-around; */
    align-items: flex-start;
    gap: 56px;
    padding: 8.5vh 7.5vw 6vh;
    box-sizing: border-box;
}

.score-brand {
    max-width: min(720px, 58%);
    padding: 6rem 2rem 6rem 6rem;
}

.score-brand-logo {
    display: block;
    width: min(275px, 42vw);
    height: auto;
    margin: 0 0 18px;
}

.score-brand-line {
    display: block;
    width: 72px;
    height: 4px;
    margin: 0 0 18px;
    background: #00b4c8;
    border-radius: 2px;
}

.score-brand-text {
    margin: 0 0 28px;
    max-width: 560px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.15vw, 17px);
    font-weight: 400;
    line-height: 1.55;
    color: #ffffff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.score-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px 22px;
}

.score-stats li {
    width: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.score-stats li:not(:last-child) {
    border-right: 2px solid #ffffff75;
    padding-right: 22px;
}

.score-stat-icon {
    width: 36px;
    height: 36px;
    color: #00b4c8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-stat-icon img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.score-stats strong {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 1.7vw, 26px);
    font-weight: 800;
    line-height: 1.1;
    color: #00b4c8;
}

.score-stats li span:last-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
}

.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: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    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-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    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;
}

.score-btn:hover {
    background: #00a3b5;
}

.score-btn:active {
    transform: translateY(1px);
}

.score-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.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: 360px;
    }

    .score-brand {
        padding: 3rem 2rem;
    }

    .score-title {
        font-size: clamp(22px, 3.4vw, 36px);
    }

    .score-stats li {
        width: 76px;
    }
}

@media (max-width: 900px) {
    .score-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 32px;
        padding: 8vh 6vw 48px;
    }

    .score-brand {
        max-width: 100%;
        padding: 1.5rem 0;
    }

    .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-brand {
        padding: 0;
    }

    .score-brand-logo {
        width: min(180px, 70vw);
        margin-bottom: 14px;
    }

    .score-brand-text {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .score-stats {
        gap: 14px 12px;
    }


    .score-title {
        font-size: 24px;
    }

    .score-form {
        max-width: none;
        gap: 14px;
        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;
    }
}
