:root {
    --page-bg: #111315;
    --header-bg: rgba(5, 6, 7, .94);
    --text: #f5f5f4;
    --cyan: #00c6ff;
    --lime: #eaff00;
    --divider: #50a38b;
    --content-x: 94px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--page-bg);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: var(--page-bg);
    font-family: "Jost", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

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

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

.site-page {
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--page-bg);
    background-image: url("images/desktop_bg.jpg");
    background-repeat: no-repeat;
    background-position:  top right;
    background-size: cover;
}

.content-wrap,
.site-header__inner {
    width: min(100% - (var(--content-x) * 2), 1732px);
    margin-inline: auto;
}

.site-header {
    height: 68px;
    background: var(--header-bg);
    background-image: url("images/header_bg.jpg");
    background-size: cover;
    background-position: center
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
}

.site-logo {
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.hero {
    height: 600px;
}

.hero__inner {
    position: relative;
    height: 100%;
}

.hero__title {
    position: absolute;
    top: 74px;
    left: 0;
    margin: 0;
    max-width: 650px;
    font-size: 40px;
    line-height: 1.7;
    font-weight: 700;
    text-transform: uppercase;
}

.hero__title span {
    color: var(--cyan);
}

.phone-cta {
    position: absolute;
    top: 240px;
    left: 0;
    width: 524px;
    height: 112px;
    padding: 0 38px;
    display: flex;
    align-items: center;
    gap: 28px;
    border-radius: 999px;
    color: #050505;
    background: var(--lime);
    transition: transform .18s ease, filter .18s ease;
}

.phone-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.phone-cta img {
    flex: 0 0 auto;
    width: 58px;
    max-height: 58px;
    object-fit: contain;
}

.phone-cta strong {
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}

.hero__appointment {
    position: absolute;
    top: 365px;
    left: 48px;
    margin: 0;
    color: #e8e8e8;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 300;
    letter-spacing: .2px;
}

.services {
    min-height: 344px;
}

.section-heading {
    width: 365px;
}

.section-heading h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-heading__line {
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 36px;
    background: var(--divider);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 26px;
    margin-top: 45px;
}

.service-item {
    min-width: 0;
    text-align: center;
}

.service-item__icon {
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item__icon img {
    max-width: 155px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.service-item h3 {
    margin: 10px 0 0;
    font-size: 27px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: .5px;
    white-space: nowrap;
}

.contact {
    padding: 36px 0 58px;
}

.section-heading--contact,
.contact-mobile {
    display: none;
}

.contact-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 88px;
}

.contact-desktop__item {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    color: #e5e5e5;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: .4px;
}

.contact-desktop__item img {
    width: 31px;
    max-height: 42px;
    object-fit: contain;
}

.contact-desktop__mail-icon {
    width: 39px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1300px) and (min-width:1024px) {
    :root {
        --content-x: 54px;
    }

    .site-page {
        background-size: auto 1080px;
    }

    .hero__title {
        font-size: 34px;
    }

    .phone-cta {
        width: 455px;
        height: 96px;
    }

    .phone-cta strong {
        font-size: 30px;
    }

    .service-item h3 {
        font-size: 22px;
    }

    .contact-desktop__item {
        font-size: 23px;
    }
}

@media (max-width: 1024px) {
    :root {
        --content-x: 30px;
    }

    .site-page {
        background-size: 100% auto;
        background-position: top 60px right;
    }

    .site-header {
        height: 68px;
    }

    .site-header__inner {
        width: calc(100% - 72px);
    }

    .site-logo {
        height: auto;
        max-width: 341px;
    }

    .hero {
        height: 585px;
    }

    .hero__inner {
        width: 100%;
    }

    .hero__title {
        top: 425px;
        left: 50%;
        width: calc(100% - 80px);
        max-width: none;
        transform: translateX(-50%);
        text-align: center;
        font-size: clamp(28px, 4vw, 44px);
        line-height: 1.38;
        letter-spacing: .8px;
    }

    .phone-cta {
        top: 190px;
        left: 36px;
        width: auto;
        
        height: 60px;
        padding: 0 28px;
        gap: 22px;
    }

    .phone-cta img {
        width: 47px;
        max-height: 47px;
    }

    .phone-cta strong {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .hero__appointment {
        display: none;
    }

    .services {
        min-height: 0;
        padding: 95px 0 0;
    }

    .section-heading {
        width: min(648px, calc(100% - 80px));
        margin-inline: auto;
        text-align: center;
    }

    .section-heading h2 {
        font-size: clamp(18px, 2vw, 22px);
        letter-spacing: 5.5px;
    }

    .section-heading__line {
        margin-top: 43px;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 78px 34px;
        width: min(820px, calc(100% - 90px));
        margin: 75px auto 0;
    }

    .service-item__icon {
        height: 100px;
    }

    .service-item__icon img {
        max-width: 155px;
        max-height: 90px;
    }

    .service-item h3 {
        margin-top: 13px;
        font-size: clamp(20px, 2.55vw, 28px);
    }

    .contact {
        padding: 105px 0 135px;
    }

    .contact-desktop {
        display: none;
    }

    .section-heading--contact,
    .contact-mobile {
        display: block;
    }

    .contact-mobile {
        width: min(650px, calc(100% - 80px));
        margin: 66px auto 0;
    }

    .contact-mobile__main {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 22px;
    }

    .contact-mobile__graphic {
        position: relative;
        width: 94px;
        height: 102px;
        flex: 0 0 94px;
        transform: rotate(-9deg);
    }

    .contact-mobile__phone-outline {
        position: absolute;
        left: 8px;
        top: 4px;
        width: 50px;
        height: 92px;
        border: 4px solid #f7f7f7;
        border-radius: 8px;
    }

    .contact-mobile__phone-outline::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 8px;
        width: 15px;
        height: 3px;
        border-radius: 999px;
        background: #f7f7f7;
        transform: translateX(-50%);
    }

    .contact-mobile__envelope-outline {
        position: absolute;
        right: 0;
        top: 27px;
        width: 63px;
        height: 45px;
        border: 4px solid #f7f7f7;
        background: var(--page-bg);
        transform: rotate(9deg);
    }

    .contact-mobile__envelope-outline::before,
    .contact-mobile__envelope-outline::after {
        content: "";
        position: absolute;
        top: 8px;
        width: 38px;
        height: 4px;
        background: #f7f7f7;
    }

    .contact-mobile__envelope-outline::before {
        left: 0;
        transform: rotate(34deg);
        transform-origin: left center;
    }

    .contact-mobile__envelope-outline::after {
        right: 0;
        transform: rotate(-34deg);
        transform-origin: right center;
    }

    .contact-mobile__copy {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .contact-mobile__phone {
        font-size: clamp(24px, 2.9vw, 31px);
        line-height: 1;
        font-weight: 800;
        letter-spacing: 1.7px;
    }

    .contact-mobile__mail,
    .contact-mobile__address {
        font-size: clamp(20px, 2.55vw, 28px);
        line-height: 1.25;
        font-weight: 300;
        letter-spacing: .3px;
    }

    .contact-mobile__address {
        display: block;
        margin-top: 36px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    :root {
        --content-x: 20px;
    }

    .site-page {
        /* A 1920x1080-as desktop háttér mobilon nagyobbra van húzva,
           hogy a hangfal/keverő kompozíció a PSD-hez hasonlóan domináns maradjon. */
        background-size: 760px auto;
       
    }

    .site-header {
        height: 60px;
    }

    .site-header__inner {
        width: calc(100% - 34px);
    }

    .site-logo {
        height: 43px;
        max-width: 285px;
    }

    .hero {
        height: 520px;
    }

    .hero__title {
        top: 360px;
        width: calc(100% - 36px);
       font-size: 20px;
    line-height: 1.7;
    }

    .phone-cta {
       
        left: 20px;
       
        padding: 0 24px;
        gap: 18px;
        top: 230px
    }

    .phone-cta img {
        width: 39px;
    }

    .phone-cta strong {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .services {
        padding-top: 0px;
    }

    .section-heading {
        width: calc(100% - 56px);
    }

    .section-heading h2 {
        font-size: 17px;
        letter-spacing: 4.3px;
    }

    .section-heading__line {
        margin-top: 31px;
    }

    .services-grid {
        width: calc(100% - 34px);
        gap: 56px 10px;
        margin-top: 52px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-item__icon {
        height: 76px;
    }

    .service-item__icon img {
        max-width: 84px;
        max-height: 68px;
    }

    .service-item h3 {
        margin-top: 8px;
        font-size: clamp(14px, 4vw, 17px);
        letter-spacing: 0;
    }

    .contact {
        padding: 78px 0 30px;
    }

    .contact-mobile {
        width: calc(100% - 30px);
        margin-top: 48px;
    }

    .contact-mobile__main {
        gap: 12px;
    }

    .contact-mobile__graphic {
        width: 72px;
        height: 80px;
        flex-basis: 72px;
        transform: scale(.78) rotate(-9deg);
        margin-right: -8px;
    }

    .contact-mobile__copy {
        gap: 8px;
    }

    .contact-mobile__phone {
        font-size: clamp(19px, 5.4vw, 23px);
        letter-spacing: 1px;
    }

    .contact-mobile__mail,
    .contact-mobile__address {
        font-size: clamp(16px, 4.4vw, 19px);
    }

    .contact-mobile__address {
        margin-top: 27px;
    }
}
