/* ==========================================================================
   Fonts
   ========================================================================== */
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../assets/fonts/HelveticaNeue-Light.woff2') format('woff2'),
         url('../assets/fonts/HelveticaNeue-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    }

   @font-face {
    font-family: 'Helvetica Neue';
    src: url('../assets/fonts/HelveticaNeue-Regular.woff2') format('woff2'),
         url('../assets/fonts/HelveticaNeue-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../assets/fonts/HelveticaNeue-Medium.woff2') format('woff2'),
         url('../assets/fonts/HelveticaNeue-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../assets/fonts/HelveticaNeue-Bold.woff2') format('woff2'),
         url('../assets/fonts/HelveticaNeue-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Base / reset
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #f7f7f7;
    background-color: #ebebeb;
}

h1, h2, h3, h4, h5, h6,
p {
    margin: 0;
    padding: 0;
    font-weight: 400;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ==========================================================================
   Layout / container
   ========================================================================== */
:root {
    --container-padding: 45px;
}

.container {
    width: 100%;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding-top: 30px;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 46px;
}

.nav-list__link {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: #fff;
}

.burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: #fff;
}

/* ==========================================================================
   Burger menu (off-canvas, slides in from the left)
   ========================================================================== */
.menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.5s; /* stay visible until the panel slides out */
}

.menu.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s; /* show immediately on open */
}

.menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.4);
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.4s ease;
}

.menu.is-open .menu__overlay {
    opacity: 1;
}

.menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(406px, 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 20px 48px 25px;
    overflow-y: auto;
    background: linear-gradient(180deg, #ffffff 0%, #e7e7e7 100%);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.menu.is-open .menu__panel {
    transform: translateX(0);
}

.menu__top {
    display: flex;
    align-items: center;
    justify-content: end;
}

.menu__logo {
    display: none;
    line-height: 0;
}

.menu__close {
    line-height: 0;
    transition: transform 0.25s ease;
}

.menu__close:hover {
    transform: rotate(90deg);
}

.menu__list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 70px;
}

.menu__link {
    font-weight: 500;
    font-size: 31px;
    color: #17415e;
    transition: opacity 0.2s ease;
}

/* temporarily disabled menu link (e.g. Voices of the World) */
.menu__link.is-disabled {
    pointer-events: none;
    opacity: 0.35;
    cursor: default;
}

.menu__link:hover {
    opacity: 0.6;
}

.menu__social {
    display: flex;
    gap: 43px;
}

.menu__social-link {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 400;
    font-size: 22px;
    color: #17415e;
    transition: opacity 0.2s ease;
}

.menu__social-link:hover {
    opacity: 0.6;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--fixed-vh, 100vh);
    overflow: hidden;
    background: url('../assets/img/hero-bg.jpg') center / cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 500px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero__painting {
    position: relative;
    z-index: 2;
    width: 727px;
    max-width: 100%;
    box-shadow: 0 22px 28px -18px rgba(0, 0, 0, 1);
}

.hero__side-nav {
    position: absolute;
    top: 32%;
    right: var(--container-padding);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 45px;
    text-align: right;
}

.hero__side-nav-link {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero__bottom {
    position: absolute;
    left: var(--container-padding);
    right: var(--container-padding);
    bottom: 65px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.hero__intro {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.hero__signature {
    width: 260px;
    height: auto;
}

.hero__title {
    font-weight: 400;
    font-size: 100px;
    line-height: 90%;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 400px;
}

.hero__mob {
    display: none;
}

.hero__brand {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 24px;
}

.hero__brand-by {
    position: relative;
    top: -8px;
    left: 59px;
    font-weight: 400;
    font-size: 100px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero__brand-name {
    font-weight: 400;
    font-size: 100px;
    line-height: 90%;
    letter-spacing: -0.03em;
    color: #fff;
    text-align: right;
    max-width: 352px;
}

/* ==========================================================================
   Collectibles
   ========================================================================== */
.collectibles {
    padding-top: 250px;
    padding-bottom: 75px;
}

.collectibles__container {
    --container-padding: 250px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, auto);
    column-gap: 260px;
}

.collectible-card {
    display: grid;
    grid-row: 1 / -1;
    grid-template-rows: subgrid;
    align-items: start;
}

.collectible-card__title {
    margin-bottom: 20px;
    max-width: 450px;
    font-weight: 400;
    font-size: 35px;
    line-height: 110%;
    letter-spacing: -0.03em;
    background: linear-gradient(123deg, #002944 0%, #4482a9 96.54%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.collectible-card__desc {
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 17px;
    line-height: 118%;
    letter-spacing: -0.03em;
    color: #17415e;
}

.collectible-card__divider {
    margin-bottom: 30px;
    border-top: 1px dashed rgba(46, 46, 46, 0.25);
}

.collectible-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
}

.collectible-card__label {
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 15px;
    line-height: 133%;
    letter-spacing: -0.03em;
    color: #17415e;
}

.collectible-card__price {
    margin-bottom: 50px;
    font-weight: 400;
    font-size: 35px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #2e2e2e;
}

.sold {
    text-decoration: line-through;
}

.collectible-card__button {
    display: flex;
    align-items: center;
    gap: 51px;
    padding: 24px 16px 24px 48px;
    border-radius: 5px;
    background-color: #fff;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #292929;
}

.collectible-card__sign {
    width: 280px;
    height: 185px;
}

.collectible-card__image {
    width: 100%;
}

/* ==========================================================================
   Painting
   ========================================================================== */
.painting {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1200px;
    padding-top: 190px;
    padding-bottom: 170px;
    overflow: hidden;
    background: url('../assets/img/andy-serkis-bg.png') center / cover no-repeat;
}

.painting__fenomeno {
    padding-top: 250px;
    padding-bottom: 150px;
    background: url('../assets/img/fenomeno-bg.png') center / cover no-repeat;
}

.painting__fenomeno .painting__desc {
    max-width: 460px;
}

.painting__morricone {
    padding-top: 230px;
    padding-bottom: 170px;
    background: url('../assets/img/morricone-bg.png') center / cover no-repeat;
}

.painting__morricone .painting__desc {
    max-width: 496px;
}

.painting::before,
.painting::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 460px;
    z-index: 1;
    pointer-events: none;
}

.painting::before {
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
}

.painting::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
}

.painting__top,
.painting__bottom {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}

.painting__top {
    top: 0;
    padding-top: 70px;
    align-items: flex-start;
}

.painting__bottom {
    bottom: 0;
    padding-bottom: 65px;
    align-items: flex-end;
}

.painting__title {
    max-width: 830px;
    font-weight: 400;
    font-size: 60px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #fff;
}

.painting__title-accent {
    font-weight: 500;
}

.painting__logo {
    display: block;
    flex-shrink: 0;
}

.painting__image {
    position: relative;
    z-index: 2;
    box-shadow: 0 22px 28px -18px rgba(0, 0, 0, 1);
}

.painting__intro {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.painting__desc {
    font-weight: 400;
    font-size: 17px;
    line-height: 118%;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 430px;
}

.painting__buy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.painting__label {
    font-weight: 400;
    font-size: 15px;
    line-height: 133%;
    letter-spacing: -0.03em;
    text-align: right;
    color: rgba(255, 255, 255, 0.75);
}

.painting__price {
    border-top: 1px dashed #fff;
    padding-top: 22px;
    margin-top: 22px;
    font-weight: 400;
    font-size: 45px;
    line-height: 100%;
    letter-spacing: -0.03em;
    text-align: right;
    color: #fff;
}

.painting__button {
    margin-top: 30px;
}

/* ==========================================================================
   Everest
   ========================================================================== */
.everest {
    position: relative;
    padding-top: 150px;
    padding-bottom: 40px;
    background: url('../assets/img/everest-bg.jpg') center / cover no-repeat;
}

.everest::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 250px;
    background: linear-gradient(180deg, rgba(235, 235, 235, 0) 0%, #ebebeb 100%);
    pointer-events: none;
    z-index: 1;
}

.everest__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 220px;
}

.everest__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.everest__title {
    max-width: 680px;
    font-weight: 400;
    font-size: 60px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #17415e;
}

.everest__info {
    display: flex;
    flex-direction: column;
    gap: 27px;
    text-align: right;
}

.everest__desc {
    font-weight: 400;
    font-size: 17px;
    line-height: 118%;
    letter-spacing: -0.03em;
    text-align: right;
    color: #17415e;
    max-width: 306px;
}

.everest__divider {
    border-top: 1px dashed #17415e;
}

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

.everest__label {
    font-weight: 400;
    font-size: 15px;
    line-height: 133%;
    letter-spacing: -0.03em;
    color: #17415e;
}

.everest__price {
    font-weight: 400;
    font-size: 35px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #17415e;
}

.everest__image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   Product slider
   ========================================================================== */
.product-slider {
    padding-top: 110px;
    padding-bottom: 120px;
}

.product-slider__divider {
    margin-bottom: 70px;
    border-top: 1px dashed rgba(46, 46, 46, 0.25);
}

.product-slider__body {
    display: flex;
    align-items: flex-start;
    gap: 150px;
}

.product-slider__swiper {
    flex: 1;
    min-width: 0;
}

.product-slider__nav {
    display: flex;
    flex-shrink: 0;
    gap: 50px;
}

.product-slider__button {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 141%;
    letter-spacing: -0.03em;
    color: #2e2e2e;
}

.product-slider__button span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-slider__button.is-disabled {
    color: rgba(46, 46, 46, 0.5);
    cursor: default;
}

/* --- slide card --- */
.product-card--wide {
    width: 850px;
}

.product-card--narrow {
    width: 600px;
}

.product-card__image {
    margin-bottom: 50px;
    border-radius: 5px;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
}

.product-card__title {
    margin-bottom: 20px;
    max-width: 455px;
    font-weight: 400;
    font-size: 35px;
    line-height: 100%;
    letter-spacing: -0.03em;
    background: linear-gradient(123deg, #002944 0%, #4482a9 96.54%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-card__desc {
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 17px;
    line-height: 118%;
    letter-spacing: -0.03em;
    color: #17415e;
}

.product-card--wide .product-card__desc {
    max-width: 740px;
}

.product-card__divider {
    margin-bottom: 30px;
    border-top: 1px dashed rgba(46, 46, 46, 0.25);
}

.product-card__label {
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 15px;
    line-height: 133%;
    letter-spacing: -0.03em;
    color: #17415e;
}

.product-card__price {
    font-weight: 400;
    font-size: 35px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #2e2e2e;
    margin-bottom: 30px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    position: relative;
    margin: 0 18px 80px;
    padding: 50px 35px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #fff;
    color: #17415e;
}

.footer__decor {
    position: absolute;
    top: 75px;
    right: 55px;
    z-index: 0;
}

.footer__head,
.footer__divider,
.footer__bottom {
    position: relative;
    z-index: 1;
}

.footer__head {
    display: flex;
    flex-direction: column;
    gap: 220px;
    margin-bottom: 100px;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__top-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 300px;
}

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

.footer__nav-link {
    font-weight: 400;
    font-size: 60px;
    line-height: 100%;
    color: #17415e;
}

.footer__meta {
    display: flex;
    align-items: center;
    gap: 23px;
}

.footer__mob-meta {
    display: none;
}

.footer__copyright {
    font-weight: 400;
    font-size: 20px;
    color: #17415e;
}

.footer__privacy {
    font-weight: 400;
    font-size: 16px;
    color: rgba(23, 65, 94, 0.5);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.footer__to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(123deg, #002944 0%, #4482a9 96.54%);
}

.footer__divider {
    margin-bottom: 80px;
    border-top: 1px solid rgba(23, 65, 94, 0.5);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.footer__request {
    display: flex;
    align-items: center;
    gap: 13px;
    font-weight: 500;
    font-size: 25px;
    line-height: 1;
    color: #17415e;
}

.footer__info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 35px;
    text-align: right;
}

.footer__info-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.footer__info-head {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer__info-label {
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: #17415e;
}

.footer__info-value {
    font-weight: 400;
    font-size: 35px;
    line-height: 109%;
    text-align: right;
    color: #17415e;
}

/* ==========================================================================
   Hover interactions
   ========================================================================== */

/* Text links — animated underline reveal (left → right) */
.nav-list__link,
.hero__side-nav-link,
.footer__nav-link,
a.footer__info-value {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.35s ease;
}

.nav-list__link:hover,
.nav-list__link:focus-visible,
.hero__side-nav-link:hover,
.hero__side-nav-link:focus-visible,
.footer__nav-link:hover,
.footer__nav-link:focus-visible,
a.footer__info-value:hover,
a.footer__info-value:focus-visible {
    background-size: 100% 2px;
}

/* Logos & simple links — subtle fade */
.header__logo,
.painting__logo,
.footer__dev,
.footer__privacy {
    transition: opacity 0.25s ease;
}

.header__logo:hover,
.painting__logo:hover,
.footer__dev:hover,
.footer__privacy:hover,
.footer__privacy:focus-visible {
    opacity: 0.65;
}

/* Burger — lift with soft shadow */
.burger {
    transition: all 0.25s ease;
}

.burger:hover {
    opacity: 0.85;
}

/* White "Buy now" buttons — lift + shadow */
.collectible-card__button {
    transition: all 0.25s ease;
}

.collectible-card__button:hover,
.collectible-card__button:focus-visible {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* Slider nav — arrow slides toward its direction (active only) */
.product-slider__button svg {
    transition: transform 0.25s ease;
}

.product-slider__button--prev:not(.is-disabled):hover svg {
    transform: translateX(-4px);
}

.product-slider__button--next:not(.is-disabled):hover svg {
    transform: translateX(4px);
}

/* Back-to-top — lift, glow, arrow nudge up */
.footer__to-top,
.footer__to-top svg {
    transition: all 0.25s ease;
}

.footer__to-top:hover,
.footer__to-top:focus-visible {
    transform: translateY(-3px);
    opacity: 0.85;
}

.footer__to-top:hover svg,
.footer__to-top:focus-visible svg {
    transform: translateY(-2px);
}

/* Submit a request — arrow flies up-right */
.footer__request,
.footer__request img {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer__request:hover {
    opacity: 0.85;
}

.footer__request:hover img,
.footer__request:focus-visible img {
    transform: translate(3px, -3px);
}

/* ==========================================================================
   Buy / contact modal
   ========================================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    overflow-y: auto; /* scroll the whole modal when it's taller than the screen */
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, 0.55);
    cursor: pointer;
}

.modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    width: min(1660px, 100%);
    min-height: min(840px, 100%); /* grows with content (never clips) → modal scrolls */
    margin: auto; /* centred when it fits; top + scroll when it doesn't */
    padding: 0 63px 50px 0;
    border-radius: 8px;
    overflow: hidden;
    background: url('../assets/img/contact-modal-bg.png') center / cover no-repeat;
    transform: scale(0.98);
    transition: transform 0.3s ease;
}

.modal.is-open .modal__dialog {
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    line-height: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.modal__close:hover {
    transform: rotate(90deg);
}

/* right-hand content column */
.modal__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 370px;
    max-width: 370px;
    padding-top: 100px;
    gap: 50px;
}

.modal__title {
    max-width: 370px;
    margin-bottom: 45px;
    font-weight: 400;
    font-size: 50px;
    line-height: 90%;
    letter-spacing: -0.03em;
    background: linear-gradient(99.02deg, #17415e 25.77%, #3088c4 74.23%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.modal__input {
    width: 100%;
    background: #f6f6f6;
    height: 65px;
    border-radius: 2px;
    padding: 0px 30px;
    border: none;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: #17415e;
}

.modal__input::placeholder {
    color: rgba(23, 65, 94, 0.5);
}

/* file upload — hidden native input + clickable filled row */
.modal__file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 65px;
    padding: 0 30px;
    border-radius: 2px;
    letter-spacing: -0.02em;
    background: #f6f6f6;
    cursor: pointer;
    font-weight: 500;
    font-size: 18px;
    color: rgba(23, 65, 94, 0.5);
    transition: color 0.2s ease;
}

.modal__file:hover,
.modal__file.has-file {
    color: #17415e;
}

.modal__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.modal__file-icon {
    flex-shrink: 0;
}

.modal__file-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.modal__submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 30px;
    height: 65px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(92.45deg, #17415e 2.05%, #3088c4 117.29%);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: filter 0.25s ease;
}

.modal__submit:hover {
    filter: brightness(1.08);
}

.modal__policy {
    max-width: 226px;
    font-weight: 500;
    font-size: 12px;
    line-height: 133%;
    display: block;
    letter-spacing: -0.03em;
    color: rgba(23, 65, 94, 0.3);
}

.modal__policy a {
    color: #17415e;
}

/* --- bottom: social links --- */
.modal__social-list {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.modal__social {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 400;
    font-size: 25px;
    color: #17415e;
    transition: opacity 0.25s ease;
}

.modal__social:hover {
    opacity: 0.7;
}

/* ==========================================================================
   Phone field — intl-tel-input (country box + 12px gap to the number)
   ========================================================================== */
.modal__form .iti {
    display: block;
    width: 100%;
}

/* static country flag (no dropdown) shown as its own rounded box */
.modal__form .iti__flag-container {
    pointer-events: none;
    left: 30px;
}

.iti__selected-flag {
    padding: 0 !important;
}

.modal__form .iti__arrow {
    display: none; /* no dropdown → no arrow */
}

/* the typed number sits ~12px past the flag box */
.modal__form .modal__input--phone {
    padding-left: 62px;
}

/* placeholder-style hint shown right after the prefilled "+1" */
.modal__phone {
    position: relative;
}

.modal__phone-hint {
    position: absolute;
    top: 50%;
    transform: translateY(-58%);
    /* left is set by JS to sit exactly after "+1 " */
    font-weight: 400;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: rgba(23, 65, 94, 0.5);
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/*PRELOADER*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    opacity: 1;
    background-color: #fff;
    overflow: hidden;
    cursor: progress;
    display: flex;
    flex-direction: column;
    gap: 20px;
}.loader {
  position: relative;
  width: 150px;
  height: 150px;
}

#preloader img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
}

.loader:before , .loader:after{
  content: '';
  border-radius: 50%;
  position: absolute;
  inset: 0;
  box-shadow: 0 0 10px 2px rgba(188, 188, 188, 0.3) inset;
}
.loader:after {
  box-shadow: 0 2px 0 #17415e inset;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  0% {  transform: rotate(0)}
  100% { transform: rotate(360deg)}
}