@font-face {
  font-family: 'Benzin';
  src: url('../fonts/Benzin-ExtraBold.woff2') format('woff2'),
  url('../fonts/Benzin-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


:root {
    --main-font: "Inter Tight", sans-serif;
    --secondary-font: "Benzin", sans-serif;
    --text-color: #101010;
    --dark-color: #101010;
    --green-gradient: linear-gradient(110deg, #327b5d 4.57%, #92cea8 123.14%);

}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1.6rem;
    line-height: 1.1;
    font-family: var(--main-font);
    color: var(--text-color);
}

.app {
    flex: 1;
}


img {
    max-width: 100%;
    max-height: 100%;
}

.container {
    width: 100%;
    max-width: 167.9rem;
    margin: 0 auto;
}

/* Scroll reveal (classes are added by main.js, so without JS everything stays visible) */

.reveal {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal--visible {
    opacity: 1;
    transform: none;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 4.8rem;
    padding: 0 2.4rem;
    border-radius: 1.2rem;
    font-family: var(--main-font);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.button img {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
}

@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes gradient-rotate {
    to {
        --gradient-angle: 360deg;
    }
}

.button--accent {
    border: 2px solid transparent;
    background: linear-gradient(var(--dark-color), var(--dark-color)) padding-box,
        conic-gradient(from var(--gradient-angle), #e6dd7f, #8dcc6a, #d756d4, #f62c89, #e6dd7f) border-box;
    box-shadow: inset 0 0.3rem 0.3rem rgba(255, 255, 255, 0.12);
    animation: gradient-rotate 4s linear infinite;
}

.button--accent:hover {
    animation-play-state: paused;
    box-shadow: inset 0 0.3rem 0.3rem rgba(255, 255, 255, 0.12), 0 0 2rem rgba(215, 86, 212, 0.4);
}

.button--glass {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(2.2rem);
    box-shadow: 0 0.125rem 0.3125rem rgba(255, 255, 255, 0.12);
    letter-spacing: -0.01em;
}

.button--glass:hover {
    background: #fff;
    color: var(--dark-color);
}

.button--outline {
    border: 1px solid rgba(16, 16, 16, 0.44);
    backdrop-filter: blur(2.2rem);
    letter-spacing: -0.01em;
    color: var(--dark-color);
}

.button--outline:hover {
    border-color: var(--dark-color);
    background: var(--dark-color);
    color: #fff;
}

/* Header */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 2rem;
}

.header__logo {
    display: block;
}

.header__logo img {
    display: block;
    width: 26.3rem;
    height: auto;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header__menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.header__menu a {
    font-size: 1.6rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.header__menu a:hover {
    opacity: 0.7;
}

.header__lang {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header__lang-link {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
}

.header__lang-switch {
    display: flex;
    width: 1.8rem;
    height: 1.1rem;
    padding: 0.2rem;
    border-radius: 11.1rem;
    background: rgba(255, 255, 255, 0.11);
}

.header__lang-switch::before {
    content: '';
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.44);
    transition: transform 0.3s;
}

.header__lang-switch--second::before {
    transform: translateX(0.7rem);
}

.header__button {
    height: 3.8rem;
    padding: 0 2.2rem;
    border-radius: 0.95rem;
    font-size: 1.5rem;
    line-height: 1.6;
}

/* Hero */

.hero {
    display: flex;
    height: 100vh;
    min-height: 72rem;
    max-height: 108rem;
    position: relative;
    overflow: hidden;
    background: #106444;
    color: #fff;
}

.hero__bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s;
}

.hero__bg--ready {
    opacity: 1;
}

.hero__canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.hero__content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
    margin-top: auto;
    padding-bottom: 6.6rem;
}

.hero__socials {
    display: flex;
    gap: 0.32rem;
    margin-bottom: 2.6rem;
}

.hero__social {
    position: relative;
    display: block;
}

.hero__social-box {
    display: block;
    padding: 1.08rem;
    overflow: hidden;
    border: 1px solid rgba(216, 216, 216, 0.05);
    border-radius: 1.6rem;
    background: linear-gradient(135deg, rgba(248, 251, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: inset 0 0 1.08rem rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(1.35rem);
}

.hero__social--youtube .hero__social-box {
    box-shadow: inset 0 0 1.08rem rgba(255, 255, 255, 0.32);
}

.hero__social-icon {
    position: relative;
    display: block;
    width: 4.33rem;
    height: 4.33rem;
}

.hero__social-icon img {
    max-width: none;
    max-height: none;
}

.hero__social-img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.hero__social-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 162.5%;
    transform: translate(-50%, -50%);
    mix-blend-mode: plus-lighter;
}

.hero__social--tiktok .hero__social-glow {
    width: 150%;
}

.hero__social-highlight {
    position: absolute;
    top: 34.2%;
    left: 34.2%;
    width: 116.8%;
    max-width: none;
    max-height: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero__title {
    max-width: 80.2rem;
    font-family: var(--secondary-font);
    font-size: 8rem;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.2rem;
}

.hero__buttons .button--accent {
    padding-left: 1.6rem;
}

.hero__button-text--mobile {
    display: none;
}

.hero__cards {
    display: grid;
    flex-shrink: 0;
    grid-template-columns: repeat(2, 20.4rem);
    gap: 0.4rem;
}

.hero__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 14.4rem;
    padding: 1.2rem 1.2rem 1.3rem;
    border-radius: 1.2rem;
    background: rgba(217, 217, 217, 0.22);
    backdrop-filter: blur(2rem);
}

.hero__card--big {
    grid-column: 1 / -1;
    gap: 2.9rem;
    padding: 1.6rem 1.4rem 1.5rem;
}

.hero__phones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.hero__phone {
    position: relative;
    aspect-ratio: 87 / 130;
    overflow: hidden;
    border-radius: 0.6rem;
    background: var(--dark-color);
}

/* The video fills the phone, the extra height is cropped. Clicks are off, so it just plays */
.hero__phone-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero__card-text {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero__card-text--small {
    font-size: 1.6rem;
    font-weight: 400;
}

.hero__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    background: #fff;
}

.hero__card-icon--dark {
    background: var(--dark-color);
}

.hero__card-icon img {
    width: 1.6rem;
    height: 1.6rem;
}

/* Stats */

.stats {
    padding: 7rem 0;
    background: #fff;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stats__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    min-height: 20.4rem;
    padding: 1.4rem 1.7rem 1.9rem;
    border-radius: 1.2rem;
    background: rgba(194, 194, 194, 0.22);
}

.stats__number {
    width: fit-content;
    /* Equal-width digits, so the count-up (main.js) doesn't make the text jitter */
    font-variant-numeric: tabular-nums;
    font-size: 6.4rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    background: var(--green-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stats__text {
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--dark-color);
}

/* Services */

.services {
    padding: 8.9rem 0 14.2rem;
    background: #fff;
}

.services__icon {
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 3.7rem;
}

.services__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
        "head head . card1"
        "head head empty1 card2"
        "card3 empty2 card4 card5";
    grid-auto-rows: minmax(20.4rem, auto);
    gap: 1rem;
}

.services__head {
    grid-area: head;
    display: flex;
    flex-direction: column;
    gap: 2.3rem;
}

.services__title {
    font-family: var(--secondary-font);
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--dark-color);
}

.services__title-accent {
    background: var(--green-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.services__subtitle {
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.services__card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.6rem 1.7rem;
    border-radius: 1.2rem;
    backdrop-filter: blur(2.2rem);
}

.services__card--1 {
    grid-area: card1;
}

.services__card--2 {
    grid-area: card2;
}

.services__card--3 {
    grid-area: card3;
}

.services__card--4 {
    grid-area: card4;
}

.services__card--5 {
    grid-area: card5;
}

.services__card--bordered {
    border: 1px solid rgba(16, 16, 16, 0.22);
}

.services__card--gray {
    background: rgba(86, 86, 86, 0.11);
}

.services__card--dark {
    background: #2c2c2c;
    color: #fff;
}

.services__card--gradient {
    background: var(--green-gradient);
    color: #fff;
}

.services__card-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.services__card-icon {
    display: block;
    width: auto;
    height: 2rem;
}

.services__card-title {
    margin-top: auto;
    padding-top: 2rem;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.services__card-text {
    max-width: 36.6rem;
    margin-top: 1.4rem;
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: rgba(16, 16, 16, 0.44);
}

.services__card--dark .services__card-text,
.services__card--gradient .services__card-text {
    color: rgba(255, 255, 255, 0.55);
}

.services__empty {
    border: 1px solid rgba(16, 16, 16, 0.22);
    border-radius: 1.2rem;
}

.services__empty--1 {
    grid-area: empty1;
}

.services__empty--2 {
    grid-area: empty2;
}

/* The keychain hangs from the stats section above, so it starts above the grid */
.services__image {
    position: absolute;
    z-index: 1;
    top: 25.5rem;
    left: 48.2%;
    transform: translate(-50%, -50%) rotate(7.65deg);
    pointer-events: none;
}

.services__image img {
    display: block;
    width: 43.9rem;
    height: 103.5rem;
    max-width: none;
    max-height: none;
    transform-origin: 50% 0;
    animation: keychain-swing 3.2s ease-in-out infinite alternate;
}

/* Separate `rotate` property, so the swing stacks on top of the image's own tilt */
@keyframes keychain-swing {
    from {
        rotate: -3deg;
    }

    to {
        rotate: 3deg;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services__image img {
        animation: none;
    }
}

/* Why we */

.why-we {
    position: relative;
    z-index: 0;
    padding: 13.9rem 0 14.1rem;
    background: #fff;
}

.why-we__title {
    font-family: var(--secondary-font);
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 4.4rem;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}

.why-we__title-icon {
    position: relative;
    display: inline-block;
    width: 8rem;
    height: 4.4rem;
    vertical-align: top;
}

.why-we__title-icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9.3rem;
    max-width: none;
    max-height: none;
    transform: translate(-50%, calc(-50% - 1.5rem)) rotate(10.1deg);
}

.why-we__title-icon--mobile {
    display: none;
}

.why-we__title-accent {
    position: relative;
    z-index: 1;
    color: rgba(16, 16, 16, 0.32);
}

.why-we__table {
    position: relative;
    max-width: 125.6rem;
    margin: 7.4rem auto 0;
    padding-bottom: 1.2rem;
    border: 2px solid transparent;
    border-radius: 1.2rem;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #e6dd7f 0%, #8dcc6a 15%, #d756d4 65%, #f62c89 100%) border-box;
}

.why-we__table::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 9.6rem 6.9rem -1.4rem;
    border-radius: 1rem;
    background: linear-gradient(90deg, #e6dd7f 0%, #8dcc6a 15%, #d756d4 65%, #f62c89 100%);
    filter: blur(8.6rem);
    opacity: 0.4;
}

.why-we__row {
    display: grid;
    grid-template-columns: 1fr 13rem 10.5rem 23.5rem;
    align-items: center;
    min-height: 4rem;
    padding: 0 3.5rem 0 2.5rem;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.why-we__row:nth-child(even) {
    background: #f5f5f5;
}

.why-we__row:nth-child(even) .why-we__cell:first-child {
    color: rgba(16, 16, 16, 0.55);
}

.why-we__row--head {
    min-height: 5.2rem;
    font-weight: 600;
}

.why-we__cell {
    padding: 0.8rem 0;
}

.why-we__cell--others,
.why-we__cell--us {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.why-we__cell--us {
    position: relative;
    z-index: 2;
    grid-column: 4;
    margin: 0 1px;
}

.why-we__row:nth-child(even) .why-we__cell--us {
    background: rgba(40, 77, 62, 0.1);
}

.why-we__row--head .why-we__cell--others {
    color: rgba(16, 16, 16, 0.44);
}

.why-we__row--head .why-we__cell--us {
    font-weight: 700;
    color: #327b5d;
    text-transform: uppercase;
}

.why-we__cell img {
    width: 2.8rem;
    height: 2.8rem;
}

.why-we__us-mobile {
    display: none;
}

.why-we__highlight {
    position: absolute;
    z-index: 1;
    top: -1.9rem;
    right: 3.5rem;
    bottom: -1.8rem;
    width: 23.5rem;
    border: 1px solid #317a5c;
    border-radius: 1.2rem;
    background: #f6f9f8;
    box-shadow: inset 0 0 2.4rem 0.6rem rgba(16, 100, 68, 0.51);
}

.why-we__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 7.4rem;
}

.why-we__buttons .button--accent {
    padding-left: 1.6rem;
}

/* Examples */

.examples {
    padding: 10.8rem 0 6.6rem;
    background: var(--dark-color);
    color: #fff;
}

.examples__title {
    font-family: var(--secondary-font);
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 4.4rem;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}

.examples__subtitle {
    margin: 2.2rem auto 0;
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
}

.examples__slider-wrap {
    position: relative;
    margin-top: 6.9rem;
}

.examples__item {
    width: 28.6rem;
    margin: 0 auto;
}

.examples__phone {
    position: relative;
    aspect-ratio: 285.6 / 524.1;
}

.examples__phone::before {
    content: '';
    position: absolute;
    inset: 0 1.92%;
    border: 0.29rem solid rgba(255, 255, 255, 0.15);
    border-radius: 4.55rem;
}

.examples__phone-btn {
    position: absolute;
    left: 0;
    width: 1.85%;
    background: rgba(255, 255, 255, 0.15);
}

.examples__phone-btn--1 {
    top: 21.12%;
    bottom: 75.04%;
}

.examples__phone-btn--2 {
    top: 29.16%;
    bottom: 63.06%;
}

.examples__phone-btn--3 {
    top: 39.49%;
    bottom: 52.73%;
}

.examples__phone-btn--4 {
    top: 31.82%;
    right: 0;
    bottom: 55.66%;
    left: auto;
}

.examples__screen {
    position: absolute;
    inset: 0.83% 3.45% 0.84%;
    overflow: hidden;
    border-radius: 4rem;
    background: #272727;
}

.examples__screen > img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

/* The whole player fits the screen, so the YouTube controls stay visible */
.examples__youtube {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Clicks go through to the player underneath */
.examples__account {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Inter', var(--main-font);
    font-size: 1rem;
    pointer-events: none;
}

.examples__account img {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    object-fit: cover;
}

.examples__account-name {
    margin-right: 0.4rem;
    font-weight: 600;
}

.examples__item-title {
    margin-top: 2.5rem;
    padding: 0 0.5rem;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.examples__item-text {
    margin-top: 0.8rem;
    padding: 0 0.5rem;
    font-size: 1.6rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.44);
}

.examples__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2.1rem;
    padding: 0 0.5rem;
    list-style: none;
}

.examples__tag {
    display: flex;
    align-items: center;
    height: 2.6rem;
    padding: 0.2rem 0.8rem 0.4rem;
    border-radius: 11.1rem;
    font-size: 1.6rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.44);
}

.examples__tag--outline {
    border: 1px solid rgba(255, 255, 255, 0.44);
}

.examples__tag--filled {
    background: rgba(255, 255, 255, 0.11);
}

.examples__arrow {
    position: absolute;
    z-index: 2;
    top: 26.2rem;
    width: 1.6rem;
    height: 1.6rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 0.3s;
}

.examples__arrow img {
    display: block;
    width: 100%;
}

.examples__arrow--prev {
    left: 0;
}

.examples__arrow--prev img {
    transform: scaleX(-1);
}

.examples__arrow--next {
    right: 0;
}

.examples__arrow.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

.examples__arrow.swiper-button-lock {
    display: none;
}

.examples__pagination.swiper-pagination-bullets {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 4rem;
}

.examples__pagination .swiper-pagination-bullet {
    width: 0.8rem;
    height: 0.8rem;
    margin: 0;
    background: #fff;
    opacity: 0.22;
}

.examples__pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Calculator */

.calculator {
    padding: 14.8rem 0;
    background: var(--dark-color);
}

.calculator__box {
    position: relative;
    display: flex;
    gap: 1rem;
    min-height: 78.4rem;
    padding: 1rem;
    overflow: hidden;
    border-radius: 3.2rem;
    background: #2f7556 url('../images/calculator-bg.jpg') -62.7rem -12.5rem / 214.9rem auto no-repeat;
}

/* The 3D logo (hero-3d.js) covers the static image once it has rendered; the image stays as a fallback */
.calculator__bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s;
}

.calculator__bg--ready {
    opacity: 1;
}

.calculator__canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.calculator__info,
.calculator__form {
    position: relative;
}

.calculator__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
}

.calculator__title {
    max-width: 67.7rem;
    padding: 3rem 0 0 2.2rem;
    font-size: 6.4rem;
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: 0.04em;
    color: #fff;
}

.calculator__note {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 1rem;
    min-height: 5.2rem;
    padding: 1rem 2rem 1rem 1.2rem;
    border-radius: 2.4rem;
    background: var(--dark-color);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
}

.calculator__note img {
    flex-shrink: 0;
    width: 3.2rem;
    height: 3.2rem;
}

.calculator__form {
    display: flex;
    flex: 0 0 83.5rem;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 60%;
}

.calculator__panel {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    padding: 2rem 2rem 2.6rem 2.2rem;
    border-radius: 2.4rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2.2rem);
}

.calculator__panel--contacts {
    flex: 1;
    gap: 0;
    padding: 2.8rem 2rem 2rem 2.2rem;
}

.calculator__panel-title {
    margin-bottom: 0.5rem;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
}

.calculator__field {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.calculator__label {
    padding-left: 1rem;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: -0.01em;
    color: rgba(16, 16, 16, 0.44);
}

.calculator__label--icon {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-left: 0;
}

.calculator__label--icon img {
    width: 1.6rem;
    height: 1.6rem;
}

.calculator__label--dark {
    color: var(--text-color);
}

.calculator__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.calculator__select {
    position: relative;
}

.calculator__select::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.calculator__select--dot::before {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #158a59;
}

.calculator__select--globe::before {
    width: 1.6rem;
    height: 1.6rem;
    background: url('../icons/globe.svg') center / contain no-repeat;
}

.calculator__select select,
.calculator__select-button {
    width: 100%;
    padding: 1rem 3.2rem 1rem 2.6rem;
    border: 1px solid rgba(16, 16, 16, 0.22);
    border-radius: 1.2rem;
    background: url('../icons/chevron.svg') right 1.2rem center / 1rem auto no-repeat;
    font-family: var(--main-font);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
    color: rgba(16, 16, 16, 0.44);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.3s;
}

.calculator__select--globe select {
    padding-left: 3.4rem;
}

.calculator__select select:hover,
.calculator__select-button:hover:not(:disabled) {
    border-color: #158a59;
}

/* Countries: a button that looks exactly like the selects next to it, with a checkbox list under it */
.calculator__select-button {
    display: block;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calculator__dropdown {
    position: absolute;
    z-index: 5;
    top: calc(100% + 0.4rem);
    right: 0;
    left: 0;
    max-height: 24rem;
    overflow-y: auto;
    padding: 0.6rem;
    border: 1px solid rgba(16, 16, 16, 0.12);
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 1.2rem 3rem rgba(16, 16, 16, 0.12);
}

.calculator__option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.2s;
}

.calculator__option:hover {
    background: rgba(86, 86, 86, 0.08);
}

.calculator__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.calculator__option-box {
    position: relative;
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid rgba(16, 16, 16, 0.3);
    border-radius: 0.4rem;
    transition: background-color 0.2s, border-color 0.2s;
}

.calculator__option input:checked + .calculator__option-box {
    border-color: #158a59;
    background: #158a59;
}

/* Check mark */
.calculator__option input:checked + .calculator__option-box::after {
    content: '';
    position: absolute;
    top: 0.2rem;
    left: 0.45rem;
    width: 0.4rem;
    height: 0.8rem;
    border: solid #fff;
    border-width: 0 0.2rem 0.2rem 0;
    transform: rotate(45deg);
}

.calculator__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.calculator__chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.calculator__chip-inner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.4rem;
    border: 1px solid rgba(16, 16, 16, 0.22);
    border-radius: 11.1rem;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: -0.01em;
    color: rgba(16, 16, 16, 0.44);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}

.calculator__chip-inner:hover {
    border-color: rgba(16, 16, 16, 0.44);
}

.calculator__chip input:checked + .calculator__chip-inner {
    border-color: #158a59;
    font-weight: 500;
    color: #158a59;
}

.calculator__chip-icon {
    width: 2rem;
    height: 2rem;
    margin: -0.2rem 0;
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.calculator__budget {
    padding-left: 1rem;
}

.calculator__budget-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.calculator__budget-value {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    color: #158a59;
}

.calculator__range {
    --progress: 50%;
    width: 100%;
    height: 2.2rem;
    margin-top: 0.4rem;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.calculator__range::-webkit-slider-runnable-track {
    height: 0.6rem;
    border-radius: 44.4rem;
    background: linear-gradient(90deg, #158a59 0%, #39aa7b 60%, #e4f563 119%) 0 0 / var(--progress) 100% no-repeat, rgba(16, 16, 16, 0.07);
}

.calculator__range::-webkit-slider-thumb {
    width: 2.2rem;
    height: 2.2rem;
    margin-top: -0.8rem;
    border: 1.5px solid #158a59;
    border-radius: 50%;
    background: #fff;
    -webkit-appearance: none;
}

.calculator__range::-moz-range-track {
    height: 0.6rem;
    border-radius: 44.4rem;
    background: rgba(16, 16, 16, 0.07);
}

.calculator__range::-moz-range-progress {
    height: 0.6rem;
    border-radius: 44.4rem;
    background: linear-gradient(90deg, #158a59 0%, #39aa7b 60%, #e4f563 119%);
}

.calculator__range::-moz-range-thumb {
    width: 2.2rem;
    height: 2.2rem;
    border: 1.5px solid #158a59;
    border-radius: 50%;
    background: #fff;
}

.calculator__budget-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: -0.01em;
    color: rgba(16, 16, 16, 0.44);
}

.calculator__select select:disabled,
.calculator__select-button:disabled {
    cursor: default;
    opacity: 0.6;
}

.calculator__contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2.1rem;
}

/* The badge sits over the e-mail icon of the field below */
.calculator__contacts .calculator__label--icon {
    padding-left: 1rem;
}

.calculator__input {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    height: 4.8rem;
    padding: 0 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 1.2rem;
    cursor: text;
    transition: border-color 0.3s;
}

.calculator__input img {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
}

.calculator__input input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: none;
    font-family: var(--main-font);
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    color: var(--text-color);
}

.calculator__input input::placeholder {
    color: rgba(16, 16, 16, 0.44);
}

.calculator__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin-top: 2.4rem;
}

.calculator__manager-text--mobile {
    display: none;
}

/* No own blur: inside the blurred panel it would only see the panel and turn white */
.calculator__manager {
    border-color: var(--dark-color);
    background: transparent;
    backdrop-filter: none;
}

.calculator__manager:hover {
    background: var(--dark-color);
}

.calculator__submit {
    padding-left: 1.6rem;
    cursor: pointer;
}

/* FAQ */

.faq {
    padding: 22.7rem 0 22.8rem;
    background: var(--dark-color);
    color: #fff;
}

.faq__title {
    font-family: var(--secondary-font);
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 125.6rem;
    margin: 6rem auto 0;
}

.faq__item {
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(5.5rem);
}

.faq__question {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    width: 100%;
    min-height: 6.6rem;
    padding: 1.6rem 4rem 1.6rem 3.3rem;
    border: 0;
    background: none;
    font-family: var(--main-font);
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: left;
    color: #fff;
    cursor: pointer;
}

.faq__number {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 0.8rem;
    background: #424242;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.faq__arrow {
    flex-shrink: 0;
    width: 1.6rem;
    margin-left: auto;
    transition: transform 0.3s;
}

.faq__item--open .faq__arrow {
    transform: rotate(180deg);
}

.faq__answer {
    display: none;
}

.faq__answer p {
    padding: 0 4rem 2.4rem 8.8rem;
    font-size: 1.8rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.55);
}

/* Footer */

.footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #101010 4.49%, #767676 135.56%);
    color: #fff;
}

.footer__bg {
    position: absolute;
    top: -14.3rem;
    left: -9.3%;
    width: 113.9%;
    max-width: none;
    max-height: none;
    mix-blend-mode: difference;
    pointer-events: none;
}

.footer__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 108rem;
    padding-top: 7.8rem;
}

.footer__line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(153, 153, 153, 0) 0%, #fff 39.4%);
    opacity: 0.11;
    pointer-events: none;
}

.footer__line--1 {
    left: -1px;
}

.footer__line--2 {
    left: calc(50% - min(62.8rem, 50%) - 1px);
}

.footer__line--3 {
    left: calc(50% + min(62.8rem, 50%));
}

.footer__line--4 {
    right: 0;
}

.footer__cta {
    position: relative;
    width: 100%;
    max-width: 125.6rem;
    margin: auto;
    padding: 5.7rem 1rem 1rem;
    border-radius: 2.4rem;
    background: rgba(217, 217, 217, 0.22);
    backdrop-filter: blur(2.75rem);
    text-align: center;
}

.footer__title {
    font-size: 4.8rem;
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: 0.01em;
}

.footer__subtitle {
    margin-top: 1.4rem;
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.footer__form {
    display: flex;
    gap: 0.8rem;
    margin-top: 4.8rem;
    padding: 2rem 2.1rem;
    border-radius: 2.4rem;
    background: #fff;
}

.footer__input {
    flex: 1;
    min-width: 0;
    height: 4.8rem;
    padding: 0 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 1.2rem;
    outline: none;
    font-family: var(--main-font);
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    color: var(--text-color);
    transition: border-color 0.3s;
}

.footer__input::placeholder {
    color: var(--text-color);
}

.footer__submit {
    padding-left: 1.6rem;
    cursor: pointer;
}

.footer__manager {
    border-color: var(--dark-color);
}

.footer__manager-text--mobile {
    display: none;
}

.footer__bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 3.8rem;
    margin-top: 6rem;
    margin-bottom: 1.4rem;
}

.footer__logo img {
    display: block;
    width: 21.2rem;
}

.footer__info {
    display: flex;
    gap: 5.2rem;
    font-size: 1.6rem;
    line-height: 0.9;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.32);
}

.footer__privacy {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

a.footer__privacy:hover {
    color: #fff;
}

/* Page (index.php) */

.page-hero {
    padding-bottom: 1rem;
    background: var(--dark-color);
    color: #fff;
}

.page-hero__box {
    margin-top: 6rem;
    padding: 5.6rem 4rem 4.8rem;
    border-radius: 3.2rem;
    background: linear-gradient(105deg, #92cea8 10%, #30795c 93%);
}

.page-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.page-hero__back:hover {
    color: #fff;
}

.page-hero__back img {
    width: 1.6rem;
    height: 1.6rem;
    transform: scaleX(-1);
}

.page-hero__title {
    max-width: 110rem;
    margin-top: 3.2rem;
    font-family: var(--secondary-font);
    font-size: 6.4rem;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.page-hero__date {
    margin-top: 2.4rem;
    font-size: 1.6rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.7);
}

.page-content {
    padding-bottom: 12rem;
    background: var(--dark-color);
}

.page-content__body {
    padding: 5.6rem 4rem;
    border-radius: 3.2rem;
    background: #fff;
    font-size: 1.8rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: rgba(16, 16, 16, 0.75);
}

.page-content__body > * + * {
    margin-top: 1.6rem;
}

.page-content__body h2,
.page-content__body h3,
.page-content__body h4 {
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--text-color);
}

.page-content__body h2 {
    margin-top: 6rem;
    font-size: 3.2rem;
}

.page-content__body h3 {
    margin-top: 4rem;
    font-size: 2.4rem;
}

.page-content__body h4 {
    margin-top: 3.2rem;
    font-size: 2rem;
}

.page-content__body > :first-child {
    margin-top: 0;
}

.page-content__body > :last-child {
    margin-bottom: 0;
}

.page-content__body h2 + *,
.page-content__body h3 + *,
.page-content__body h4 + * {
    margin-top: 2rem;
}

.page-content__body ul,
.page-content__body ol {
    padding-left: 2.4rem;
}

.page-content__body li + li {
    margin-top: 0.8rem;
}

.page-content__body li::marker {
    color: #158a59;
}

.page-content__body a {
    color: #158a59;
    text-underline-offset: 0.3rem;
}

.page-content__body strong {
    font-weight: 600;
    color: var(--text-color);
}

.page-content__body .privacy-policy-tutorial {
    color: #158a59;
}

.page-content__body blockquote {
    padding-left: 2rem;
    border-left: 3px solid #158a59;
}

/* Forms */

/* No focus outlines or highlighted borders on active form fields and buttons */
.calculator__form :focus,
.footer__form :focus {
    outline: none;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.footer__input.form-field--error,
.calculator__input:has(.form-field--error),
.calculator__select select.form-field--error,
.calculator__select-button.form-field--error {
    border-color: #e5484d;
}

.button--loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Modal */

.modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

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

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 16, 16, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.modal__box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 48rem;
    padding: 4.8rem 3.2rem 3.2rem;
    border-radius: 3.2rem;
    background: #fff;
    text-align: center;
    transform: translateY(2rem) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal--open .modal__box {
    transform: none;
}

.modal__close {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(86, 86, 86, 0.11);
    color: var(--dark-color);
    cursor: pointer;
    transition: background 0.2s;
}

.modal__close:hover {
    background: rgba(86, 86, 86, 0.2);
}

.modal__close svg {
    width: 2rem;
    height: 2rem;
}

.modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 50%;
    background: var(--green-gradient);
    color: #fff;
}

.modal--error .modal__icon {
    background: #e5484d;
}

.modal__icon svg {
    width: 3.2rem;
    height: 3.2rem;
}

.modal--success .modal__icon-error,
.modal--error .modal__icon-success {
    display: none;
}

.modal__title {
    margin-top: 2.4rem;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: 0.01em;
}

.modal__text {
    max-width: 32rem;
    margin-top: 1.2rem;
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: rgba(16, 16, 16, 0.55);
    text-wrap: balance;
}

.modal__button {
    width: 100%;
    margin-top: 3.2rem;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .modal__box {
        padding: 4rem 2rem 2rem;
        border-radius: 2.4rem;
    }

    .modal__icon {
        width: 5.6rem;
        height: 5.6rem;
    }

    .modal__icon svg {
        width: 2.8rem;
        height: 2.8rem;
    }

    .modal__title {
        margin-top: 2rem;
        font-size: 2.8rem;
    }

    .modal__text {
        font-size: 1.6rem;
    }

    .modal__button {
        margin-top: 2.4rem;
    }
}

/* Media */

@media (max-width: 1700px) {
    html {
        font-size: 56.25%;
    }

    .container {
        padding: 0 4rem;
    }
}

@media (max-width: 1440px) {
    html {
        font-size: 53.125%;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 50%;
    }
}

@media (max-width: 1023px) {
    html {
        font-size: 62.5%;
    }

    .why-we {
        padding: 8rem 0;
    }

    .why-we__table::before {
        inset: 6rem 3rem -1.4rem;
    }

    .why-we__row {
        grid-template-columns: 1fr 10rem 1.5rem 16rem;
        padding: 0 2rem;
        font-size: 1.6rem;
    }

    .why-we__highlight {
        right: 2rem;
        width: 16rem;
    }

    .calculator {
        padding: 8rem 0;
    }

    .calculator__box {
        flex-direction: column;
        min-height: 0;
    }

    .calculator__title {
        font-size: 4.8rem;
    }

    .calculator__form {
        flex: none;
        max-width: none;
    }

    .page-hero__title {
        font-size: 4rem;
        overflow-wrap: anywhere;
    }

    .header__nav {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
        max-height: none;
    }

    .hero__content {
        flex-direction: column;
        align-items: stretch;
        gap: 4.8rem;
        padding-top: 30rem;
        padding-bottom: 4rem;
    }

    .hero__title {
        max-width: 60rem;
        font-size: 6.4rem;
    }

    .hero__cards {
        grid-template-columns: 2fr 1fr;
    }

    .hero__card--big {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .hero__card {
        min-height: 0;
    }

    .stats {
        padding: 6rem 0;
    }

    .stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .services {
        padding: 6rem 0 8rem;
    }

    .services__icon {
        margin: 0 auto 2rem;
    }

    .services__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "head head"
            "card1 card2"
            "card3 card4"
            "card5 card5";
        grid-auto-rows: auto;
    }

    .services__head {
        align-items: center;
        gap: 1.6rem;
        margin-bottom: 22rem;
        text-align: center;
    }

    .services__empty {
        display: none;
    }

    .services__card {
        min-height: 18.6rem;
    }

    .services__card--bordered {
        border: 0;
        background: rgba(86, 86, 86, 0.11);
    }

    .services__image {
        position: relative;
        top: auto;
        left: auto;
        grid-column: 1 / -1;
        grid-row: 1 / -1;
        transform: none;
    }

    .services__image img {
        width: 32rem;
        height: 75.4rem;
        margin: 0 auto;
        /* Tilt around the top ring; the translate keeps the image where a center tilt would put it */
        transform: translate(15.7%, 0.45%) rotate(7.65deg);
        animation-name: keychain-swing-tilted;
    }

    @keyframes keychain-swing-tilted {
        from {
            transform: translate(15.7%, 0.45%) rotate(4.65deg);
        }

        to {
            transform: translate(15.7%, 0.45%) rotate(10.65deg);
        }
    }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
    .services__image img {
        animation: none;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 2rem;
    }

    .header {
        padding-top: 1.5rem;
    }

    .header__logo img {
        width: 4.8rem;
    }

    .header__right {
        gap: 1.6rem;
    }

    .header__button {
        height: 3rem;
        padding: 0 2rem;
        border-radius: 0.8rem;
        font-size: 1.3rem;
    }

    .hero__content {
        gap: 4rem;
        padding-top: 40rem;
        padding-bottom: 3.5rem;
    }

    .hero__socials {
        gap: 0.2rem;
        margin-bottom: 1.9rem;
    }

    .hero__social-box {
        padding: 0.67rem;
        border-radius: 1rem;
        box-shadow: inset 0 0 0.67rem rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(0.83rem);
    }

    .hero__social--youtube .hero__social-box {
        box-shadow: inset 0 0 0.67rem rgba(255, 255, 255, 0.32);
    }

    .hero__social-icon {
        width: 2.67rem;
        height: 2.67rem;
    }

    .hero__title {
        max-width: 35rem;
        font-size: 3.6rem;
        letter-spacing: 0.02em;
    }

    .hero__buttons {
        flex-wrap: nowrap;
        gap: 0.4rem;
        margin-top: 1.9rem;
    }

    .hero__buttons .button {
        height: 4.2rem;
        font-size: 1.4rem;
    }

    .hero__buttons .button--accent {
        gap: 0.8rem;
        padding: 0 2rem 0 1.4rem;
    }

    .hero__buttons .button--accent img {
        width: 1.4rem;
        height: 1.4rem;
    }

    .hero__buttons .button--glass {
        flex: 1;
        padding: 0 1.6rem;
    }

    .hero__button-text--desktop {
        display: none;
    }

    .hero__button-text--mobile {
        display: inline;
    }

    .hero__cards {
        grid-template-columns: 1fr 1fr;
    }

    .hero__card {
        min-height: 10rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.2);
        gap: 1rem;
    }

    .hero__card--big {
        grid-column: 1 / -1;
        grid-row: auto;
        gap: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .hero__phones {
        gap: 1rem;
    }

    .hero__phone {
        border-radius: 0.5rem;
    }

    .hero__card-text {
        font-size: 1.4rem;
        letter-spacing: -0.02em;
    }

    .hero__card-text--small {
        font-size: 1.2rem;
    }

    .stats {
        padding: 3.6rem 0 5rem;
    }

    .stats__grid {
        gap: 0.4rem;
    }

    .stats__item {
        min-height: 0;
        aspect-ratio: 1;
        padding: 1rem 1rem 1.2rem;
    }

    .stats__number {
        font-size: 3.6rem;
    }

    .stats__text {
        font-size: 1.4rem;
    }

    .services {
        padding: 6.1rem 0 4rem;
    }

    .services__icon {
        width: 1.6rem;
        height: 1.6rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "card1"
            "card2"
            "card3"
            "card4"
            "card5";
    }

    /* The keychain reaches the second card: outlined, without a fill or blur, so the keychain stays visible through it */
    .services__card--2 {
        border: 1px solid rgba(16, 16, 16, 0.22);
        background: none;
        backdrop-filter: none;
    }

    .services__head {
        gap: 1.3rem;
        margin-bottom: 28rem;
    }

    .services__title {
        font-size: 2.8rem;
        line-height: 0.9;
    }

    .services__subtitle {
        font-size: 1.4rem;
    }

    .services__card {
        padding: 1.3rem 1rem 1.9rem;
    }

    .services__card-title {
        font-size: 2rem;
    }

    .services__card-text {
        margin-top: 0.8rem;
        font-size: 1.4rem;
        color: rgba(16, 16, 16, 0.55);
    }

    .services__image img {
        width: 24.7rem;
        height: 58.1rem;
        /* Starts below the subtitle so the ring doesn't cover the text */
        margin-top: 10rem;
    }

    .why-we {
        padding: 6rem 0;
    }

    .why-we__title {
        font-size: 2.8rem;
        line-height: 2.6rem;
    }

    .why-we__title-icon {
        width: 4.8rem;
        height: 2.6rem;
    }

    .why-we__title-icon img {
        width: 5.4rem;
        transform: translate(-50%, calc(-50% - 0.8rem)) rotate(10.1deg);
    }

    /* "Что [icon] входит" on the first line, the rest of the heading on the next one */
    .why-we__title-icon--mobile {
        display: inline-block;
    }

    .why-we__title-icon--desktop {
        display: none;
    }

    /* The second line goes over the icon, which hangs down into it */
    .why-we__title-end {
        position: relative;
        z-index: 1;
        display: block;
    }

    /* The block line already ends there, the <br> would add an empty line */
    .why-we__title-end + br {
        display: none;
    }

    .why-we__table {
        margin-top: 4.8rem;
        padding-bottom: 0.8rem;
    }

    .why-we__table::before {
        inset: 4rem 1.5rem -1rem;
        filter: blur(4rem);
    }

    .why-we__row {
        grid-template-columns: 1fr 5.4rem 0.6rem 7rem;
        column-gap: 0.4rem;
        min-height: 3.6rem;
        padding: 0 1rem;
        font-size: 1.3rem;
    }

    .why-we__row--head {
        min-height: 4.4rem;
    }

    .why-we__row--head .why-we__cell--us {
        font-size: 1.2rem;
        line-height: 1;
        text-align: center;
    }

    .why-we__us-desktop {
        display: none;
    }

    .why-we__us-mobile {
        display: block;
    }

    .why-we__cell img {
        width: 2.2rem;
        height: 2.2rem;
    }

    .why-we__highlight {
        top: -1rem;
        right: 1rem;
        bottom: -1rem;
        width: 7rem;
        box-shadow: inset 0 0 1.4rem 0.3rem rgba(16, 100, 68, 0.51);
    }

    .why-we__buttons {
        flex-direction: column;
        margin-top: 4rem;
    }

    .why-we__buttons .button {
        height: 4.2rem;
        font-size: 1.4rem;
    }

    .why-we__buttons .button--accent {
        gap: 0.8rem;
        padding-left: 1.4rem;
    }

    .why-we__buttons .button--accent img {
        width: 1.4rem;
        height: 1.4rem;
    }

    .examples {
        padding: 7.4rem 0 4.6rem;
    }

    .examples__title {
        font-size: 3.2rem;
        line-height: 0.95;
    }

    .examples__subtitle {
        max-width: 26rem;
        margin-top: 0.9rem;
        font-size: 1.4rem;
    }

    .examples__slider-wrap {
        margin-top: 4rem;
    }

    .examples__item {
        width: 26rem;
    }

    .examples__item-title {
        margin-top: 3.2rem;
        padding: 0 0.9rem;
    }

    .examples__item-text {
        padding: 0 0.9rem;
        font-size: 1.4rem;
    }

    .examples__tags {
        margin-top: 1.4rem;
        padding: 0 0.9rem;
    }

    .examples__tag {
        font-size: 1.4rem;
    }

    .examples__arrow {
        top: 23.9rem;
        width: 3.2rem;
        height: 3.2rem;
    }

    .calculator {
        padding: 2rem 0 1.4rem;
    }

    .faq {
        padding: 8rem 0;
    }

    .faq__title {
        font-size: 3.2rem;
    }

    .faq__list {
        gap: 0.8rem;
        margin-top: 8rem;
    }

    .faq__item {
        border-radius: 1.2rem;
    }

    .faq__question {
        gap: 0.9rem;
        min-height: 4.2rem;
        padding: 1rem 1.4rem 1rem 2.2rem;
        font-size: 1.4rem;
    }

    .faq__number {
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 0.6rem;
        font-size: 1.2rem;
    }

    .faq__arrow {
        width: 1rem;
    }

    .faq__answer p {
        padding: 0 1.4rem 1.4rem 5.3rem;
        font-size: 1.3rem;
    }

    .footer__bg {
        top: -8.5rem;
        left: -191%;
        width: 438%;
    }

    .footer__inner {
        min-height: 0;
        padding-top: 21.8rem;
    }

    .footer__line--2 {
        left: 2rem;
    }

    .footer__line--3 {
        left: auto;
        right: 1.8rem;
    }

    .footer__cta {
        margin: 0;
        padding: 5.2rem 1rem 1rem;
    }

    .footer__title {
        max-width: 20rem;
        margin: 0 auto;
        font-size: 2.4rem;
    }

    .footer__subtitle {
        max-width: 28rem;
        margin: 2rem auto 0;
        font-size: 1.4rem;
    }

    .footer__form {
        flex-direction: column;
        gap: 0;
        margin-top: 6.4rem;
        padding: 1rem;
        border-radius: 1.6rem;
    }

    /* flex: none, otherwise the column form squeezes the field to a single line of text;
       16px font, so iOS doesn't zoom the page in when the field gets focus */
    .footer__input {
        flex: none;
        height: 4.2rem;
        padding: 0 1.4rem;
        font-size: 1.6rem;
    }

    .footer__form .button {
        font-size: 1.4rem;
    }

    .footer__submit {
        height: 4.2rem;
        gap: 0.8rem;
        margin-top: 1.6rem;
    }

    .footer__submit img {
        width: 1.4rem;
        height: 1.4rem;
    }

    .footer__manager {
        height: 3.8rem;
        margin-top: 0.6rem;
    }

    .footer__manager-text--desktop {
        display: none;
    }

    .footer__manager-text--mobile {
        display: inline;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 21.5rem;
        margin-bottom: 2rem;
    }

    .footer__info {
        flex-direction: column;
        align-items: center;
        gap: 5.2rem;
        font-size: 1.2rem;
    }

    .footer__copyright {
        order: -1;
    }

    .page-hero__box {
        margin-top: 4rem;
        padding: 3.2rem 2rem;
        border-radius: 2.4rem;
    }

    .page-hero__title {
        margin-top: 2.4rem;
        font-size: 2.4rem;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .page-content {
        padding-bottom: 4rem;
    }

    .page-content__body {
        padding: 4rem 2rem;
        border-radius: 2.4rem;
        font-size: 1.6rem;
    }

    .page-content__body h2 {
        margin-top: 4rem;
        font-size: 2.4rem;
    }

    .page-content__body h3 {
        font-size: 2rem;
    }

    .calculator__box {
        padding: 0.5rem;
        border-radius: 2.4rem;
        /* 2400px image at 80rem = 3 image pixels per CSS pixel, so it stays sharp on 3x iPhone screens; the logo sits in the image center */
        /* Below the image the card continues with the colors of its bottom edge, so there is no visible seam */
        background-image: url('../images/calculator-bg.jpg'), linear-gradient(90deg, #236c4f, #094a32);
        background-position: center -1.5rem, 0 0;
        background-size: 80rem auto, 100% 100%;
    }

    .calculator__info {
        min-height: 30.1rem;
        gap: 2.4rem;
    }

    .calculator__title {
        padding: 2.1rem 0 0 1.7rem;
        font-size: 2.7rem;
    }

    .calculator__note {
        align-self: stretch;
        min-height: 3.8rem;
        padding: 0.7rem 1rem 0.7rem 0.9rem;
        border-radius: 1.9rem;
        font-size: 1.3rem;
    }

    .calculator__note img {
        width: 2.3rem;
        height: 2.3rem;
    }

    .calculator__panel {
        gap: 1.6rem;
        padding: 1.6rem 1rem 3.3rem;
        border-radius: 1.8rem;
    }

    .calculator__panel--contacts {
        gap: 0;
        padding: 2rem 1rem 2.1rem;
    }

    .calculator__panel-title {
        margin-bottom: 0;
        font-size: 2rem;
    }

    .calculator__panel--contacts .calculator__panel-title {
        font-size: 1.8rem;
    }

    .calculator__label {
        font-size: 1.2rem;
    }

    .calculator__label--icon img {
        width: 1.2rem;
        height: 1.2rem;
    }

    .calculator__row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .calculator__select select,
    .calculator__select-button {
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
        font-size: 1.3rem;
    }

    .calculator__select--dot::before {
        width: 0.6rem;
        height: 0.6rem;
    }

    .calculator__select--globe::before {
        width: 1.4rem;
        height: 1.4rem;
    }

    .calculator__select--dot select,
    .calculator__select--dot .calculator__select-button {
        padding-left: 2rem;
    }

    .calculator__option {
        font-size: 1.4rem;
    }

    .calculator__select--globe select {
        padding-left: 2.8rem;
    }

    .calculator__chips {
        gap: 0.4rem;
    }

    .calculator__chip-inner {
        gap: 0.4rem;
        padding: 0.85rem 1.2rem;
        font-size: 1.2rem;
    }

    .calculator__chip-icon {
        width: 1.6rem;
        height: 1.6rem;
        margin: -0.2rem 0;
    }

    .calculator__budget-value {
        font-size: 1.8rem;
    }

    .calculator__range {
        height: 1.4rem;
        margin-top: 1.1rem;
    }

    .calculator__range::-webkit-slider-runnable-track {
        height: 0.4rem;
    }

    .calculator__range::-webkit-slider-thumb {
        width: 1.4rem;
        height: 1.4rem;
        margin-top: -0.5rem;
    }

    .calculator__range::-moz-range-track,
    .calculator__range::-moz-range-progress {
        height: 0.4rem;
    }

    .calculator__range::-moz-range-thumb {
        width: 1.4rem;
        height: 1.4rem;
    }

    .calculator__budget-limits {
        margin-top: 0.3rem;
        font-size: 1rem;
    }

    .calculator__contacts {
        gap: 0.8rem;
        margin-top: 1.6rem;
    }

    .calculator__contacts .calculator__label--icon {
        gap: 0.5rem;
    }

    .calculator__contacts .calculator__label--icon img {
        width: 1.6rem;
        height: 1.6rem;
    }

    .calculator__input {
        height: 4.2rem;
    }

    .calculator__input img {
        width: 1.6rem;
        height: 1.6rem;
    }

    .calculator__input input {
        font-size: 1.4rem;
    }

    .calculator__buttons {
        flex-wrap: nowrap;
        gap: 0.4rem;
        margin-top: 1.6rem;
    }

    .calculator__manager-text--desktop {
        display: none;
    }

    .calculator__manager-text--mobile {
        display: inline;
    }

    .calculator__manager {
        flex: 1;
        min-width: 0;
        height: 4.2rem;
        padding: 0 1.2rem;
        font-size: 1.4rem;
    }

    .calculator__submit {
        height: 4.2rem;
        padding-right: 1.4rem;
        padding-left: 1.2rem;
        gap: 0.8rem;
        font-size: 1.4rem;
    }

    .calculator__submit img {
        width: 1.4rem;
        height: 1.4rem;
    }
}

@media (max-width: 374px) {
    html {
        font-size: 56.25%;
    }
}