@keyframes btn-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(61, 108, 224, 0.55);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(61, 108, 224, 0);
    }
}
@keyframes phone-ring {
    0%,
    100% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(-14deg);
    }
    20% {
        transform: rotate(12deg);
    }
    30% {
        transform: rotate(-10deg);
    }
    40% {
        transform: rotate(8deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

.hero {
    position: relative;
    background: #101c3c;
    overflow: hidden;
    color: #ffffff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 22, 54, 0.55) 0%,
        rgba(13, 22, 54, 0.1) 30%,
        rgba(13, 22, 54, 0.55) 62%,
        rgba(13, 22, 54, 0.97) 100%
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    padding-top: 468px;
    padding-bottom: 64px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 620px;
    min-width: 0;
}

.hero-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 50px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.hero-lead * {
    font-size: 17px;
    line-height: 1.6;
    color: #ccd6ee;
    max-width: 52ch;
    text-wrap: pretty;
}

.hero-contact {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.hero-call {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 26px;
    border-radius: 9px;
    background: #3d6ce0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    animation: btn-pulse 2.2s ease-out infinite;
    transition: background 0.15s;
    &:hover {
        background: #2050c8;
        color: #ffffff;
    }
    svg {
        animation: phone-ring 2.2s ease-in-out infinite;
        transform-origin: 50% 20%;
    }
}

.hero-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.18);
}

.hero-hours {
    display: flex;
    gap: 28px;
}

.hero-hours-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    p {
        margin: 0;
    }
    p:first-child {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #9fb0d8;
    }
    p:last-child {
        font-size: 17px;
        font-weight: 700;
    }
}

@media (max-width: 900px) {
    .hero-inner {
        padding-top: 380px;
        padding-bottom: 48px;
    }
    .hero-title {
        font-size: 38px;
    }
}

@media (max-width: 600px) {
    .hero-inner {
        padding-top: 300px;
        gap: 32px;
        text-align: center;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-contact {
        gap: 18px;
        flex-direction: column;
        margin-inline: auto;
    }
    .hero-divider {
        display: none;
    }
    .hero-call {
        font-size: 18px;
        padding: 14px 22px;
    }
}
