/* Base */

:root {
    --primary: #1f4fd8;
    --primary-hover: #183fb0;
    --primary-soft: #eef2fc;
    --success: #12805c;
    --success-soft: #e6f4ee;
    --danger: #c63b2b;
    --danger-soft: #fbecea;
    --text: #151c2c;
    --text-soft: #2f3747;
    --muted: #5c6578;
    --line: #e2e5eb;
    --line-strong: #c5ccd9;
    --surface: #f5f6f8;
    --white: #fff;
    --whatsapp: #25d366;
    --radius: 18px;
    --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* header height plus its border, so a section starts right under the sticky header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 69px;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.is-nav-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon--sm {
    width: 18px;
    height: 18px;
}

.flag {
    display: block;
    width: 26px;
    height: 26px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.flag + .flag {
    margin-left: -7px;
}

.flag--sm {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 0;
}

/* small label next to a heading, e.g. "Optional" */
.tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    vertical-align: 2px;
    color: var(--primary);
    background: var(--primary-soft);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    background: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--white);
}

.btn-outline:hover {
    background: var(--primary-soft);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 30px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

/* Section */

.section-head {
    max-width: 640px;
    margin-bottom: 48px;
}

.section-head__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-head__title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 16px;
    border-radius: 2px;
    background: var(--primary);
}

.section-head__desc {
    margin-top: 14px;
    font-size: 18px;
    color: var(--muted);
}

@media (max-width: 768px) {
    .section-head {
        margin-bottom: 32px;
    }

    .section-head__title {
        font-size: 28px;
    }

    .section-head__desc {
        font-size: 16px;
    }
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

/* equal side columns keep the nav centred on the page, not between logo and button */
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* the logo file is 4509x580: at 32px high it is about 249px wide */
.logo-img {
    display: block;
    width: auto;
    height: 32px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header-nav__link {
    font-size: 15px;
    color: var(--muted);
}

.header-nav__link:hover,
.header-nav__link.is-active {
    color: var(--text);
}

.header-nav__cta {
    display: none;
}

.header-cta {
    justify-self: end;
}

.header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0 11px;
    border: 0;
    background: none;
    cursor: pointer;
}

.header-burger__line {
    display: block;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s, opacity 0.2s;
}

.header-burger.is-open .header-burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-burger.is-open .header-burger__line:nth-child(2) {
    opacity: 0;
}

.header-burger.is-open .header-burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
    .header-nav {
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .header-inner {
        display: flex;
    }

    .header-burger {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .header-nav {
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 32px;
        overflow-y: auto;
        background: var(--white);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    }

    .header-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .header-nav__link {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        font-size: 18px;
        color: var(--text);
    }

    .header-nav__cta {
        display: flex;
        margin-top: 24px;
    }
}

/* Hero */

.hero {
    padding: 72px 0 64px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 64px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-desc {
    max-width: 540px;
    margin-top: 24px;
    font-size: 19px;
    color: var(--muted);
}

.hero-points {
    display: grid;
    gap: 8px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-point .icon {
    color: var(--success);
    stroke-width: 2.4;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-regions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    font-size: 14px;
    color: var(--muted);
}

.hero-regions__flags {
    display: flex;
    flex-shrink: 0;
}

.hero-regions__text {
    margin-left: 6px;
}

/* fixed card height, so a new invite can slide in by animating margin-top */
.hero-invites__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 420px;
    overflow: hidden;
}

.hero-invites__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    color: var(--muted);
}

.hero-invites__note .icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.invite {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    height: 76px;
    padding: 0 14px 0 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    transition: margin-top 0.5s ease, opacity 0.5s ease, border-color 0.4s;
}

.invite:nth-child(4) {
    opacity: 0.6;
}

.invite:nth-child(5) {
    opacity: 0.3;
}

.invite:nth-child(n + 6) {
    opacity: 0;
}

.invite.is-entering {
    margin-top: -86px;
    opacity: 0;
}

/* the new card opens its space first and only then fades in, so it is never seen cut off by the list edge */
.invite.is-calling {
    border-color: #b9c8f3;
    transition-delay: 0s, 0.45s, 0s;
}

.invite-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    color: var(--primary);
    background: var(--primary-soft);
}

.invite-date__day {
    font-size: 12px;
    line-height: 1.2;
}

.invite-date__num {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.invite-date__phone {
    display: none;
    width: 22px;
    height: 22px;
}

.invite.is-calling .invite-date__day,
.invite.is-calling .invite-date__num {
    display: none;
}

.invite.is-calling .invite-date__phone {
    display: block;
}

.invite-body {
    min-width: 0;
}

.invite-title {
    display: block;
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.invite-meta {
    display: block;
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--muted);
}

.invite-call {
    display: none;
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--primary);
}

.invite.is-calling .invite-meta {
    display: none;
}

.invite.is-calling .invite-call {
    display: block;
}

.invite.is-entered .invite-date__day,
.invite.is-entered .invite-date__num,
.invite.is-entered .invite-meta {
    animation: invite-reveal 0.4s ease;
}

@keyframes invite-reveal {
    from {
        opacity: 0;
    }
}

.invite-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--primary);
    background: var(--primary-soft);
    transition: background-color 0.3s, color 0.3s;
}

.invite-action .icon {
    display: none;
    stroke-width: 2.6;
}

.invite.is-entered .invite-action {
    color: var(--success);
    background: var(--success-soft);
}

.invite.is-entered .invite-action .icon {
    display: block;
}

.invite.is-entered .invite-wave {
    display: none;
}

.invite-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 12px;
}

.invite-wave__bar {
    width: 2px;
    height: 100%;
    border-radius: 1px;
    background: currentColor;
    animation: invite-wave 0.9s ease-in-out infinite;
}

.invite-wave__bar:nth-child(2) {
    animation-delay: 0.15s;
}

.invite-wave__bar:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes invite-wave {
    0%,
    100% {
        transform: scaleY(0.3);
    }

    50% {
        transform: scaleY(1);
    }
}

@media (max-width: 1100px) {
    .hero-title {
        font-size: 44px;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 48px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-invites {
        max-width: 560px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 34px;
    }

    .hero-desc {
        font-size: 17px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-invites__list {
        height: 334px;
    }

    .invite {
        grid-template-columns: 46px 1fr auto;
        gap: 12px;
    }

    .invite-date {
        width: 46px;
        height: 46px;
    }
}

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

/* Hero video */

.hero-inner--video {
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
}

.hero-inner--video .hero-side {
    position: relative;
    padding-bottom: 72px;
}

.hero-inner--video .hero-invites__list {
    position: absolute;
    left: -60px;
    bottom: 0;
    z-index: 2;
    width: 380px;
    height: 188px;
    padding: 0 20px 24px;
}

.hero-inner--video .invite {
    box-shadow: 0 12px 32px -12px rgba(21, 28, 44, 0.3);
}

.hero-inner--video .invite:nth-child(n + 3) {
    opacity: 0;
    transition: margin-top 0.5s ease, opacity 0.15s, border-color 0.4s;
}

.hero-inner--video .hero-invites__note {
    position: absolute;
    right: 0;
    bottom: 28px;
    margin: 0;
    font-size: 14px;
}

.hero-inner--video .hero-invites__note .icon {
    width: 18px;
    height: 18px;
}

.hero-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--text);
    box-shadow: 0 30px 60px -24px rgba(21, 28, 44, 0.4);
}

.hero-video__media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: none;
    cursor: pointer;
}

.hero-video__play:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: -3px;
}

.hero-video__play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    color: var(--primary);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(21, 28, 44, 0.25);
    transition: transform 0.3s, opacity 0.3s;
}

.hero-video__play-icon .icon {
    width: 30px;
    height: 30px;
}

.hero-video__play:hover .hero-video__play-icon {
    transform: scale(1.06);
}

.hero-video.is-playing .hero-video__play-icon {
    opacity: 0;
    transform: scale(0.8);
}

.hero-video__sound {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    background: var(--white);
    box-shadow: 0 6px 20px rgba(21, 28, 44, 0.25);
    cursor: pointer;
    animation: hero-video-pulse 2s ease-in-out infinite;
}

.hero-video__sound[hidden] {
    display: none;
}

.hero-video__sound .icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
    stroke-width: 2;
}

.hero-video__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-video.is-watching .hero-video__progress {
    opacity: 1;
}

.hero-video__progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes hero-video-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 1199px) {
    .hero-inner--video .hero-invites__list {
        left: -20px;
    }
}

@media (max-width: 991px) {
    .hero-inner--video {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-inner--video .hero-side {
        padding-bottom: 0;
    }

    .hero-inner--video .hero-invites {
        max-width: none;
        margin-top: 16px;
    }

    .hero-inner--video .hero-invites__list {
        position: static;
        width: auto;
        height: 164px;
        padding: 0;
    }

    .hero-inner--video .invite {
        box-shadow: none;
    }

    .hero-inner--video .hero-invites__note {
        position: static;
        margin-top: 12px;
    }
}

@media (max-width: 576px) {
    .hero-video__play-icon {
        width: 64px;
        height: 64px;
    }

    .hero-video__sound {
        top: 12px;
        right: 12px;
        padding: 8px 14px;
        font-size: 13px;
    }
}

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

/* Services */

.services {
    padding: 96px 0;
    border-top: 1px solid var(--line);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
}

.service-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    /* a card stretched to its taller neighbour keeps title and text together */
    align-content: start;
    column-gap: 20px;
    padding: 36px 36px 36px 0;
    border-bottom: 1px solid var(--line);
}

.service-card:nth-child(even) {
    padding: 36px 0 36px 36px;
    border-left: 1px solid var(--line);
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    grid-row: span 2;
    border-radius: 14px;
    color: var(--primary);
    background: var(--primary-soft);
}

.service-card__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.service-card__text {
    margin-top: 6px;
    color: var(--muted);
}

.services-audience {
    margin-top: 36px;
}

.services-audience__label {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
}

.services-audience__list {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* long German compounds break with a hyphen once the line may wrap */
.services-audience__item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    hyphens: auto;
}

.services-audience__item .icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* one line does not fit below this width, a 3x2 grid keeps it tidy */
@media (max-width: 1100px) {
    .services-audience__list {
        display: grid;
        grid-template-columns: repeat(3, auto);
        justify-content: start;
        gap: 14px 40px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 64px 0;
    }

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

    .service-card,
    .service-card:nth-child(even) {
        padding: 28px 0;
        border-left: 0;
    }
}

@media (max-width: 576px) {
    .services-audience__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 16px;
    }

    .services-audience__item {
        font-size: 14px;
        white-space: normal;
    }

    .service-card,
    .service-card:nth-child(even) {
        grid-template-columns: 40px 1fr;
        column-gap: 16px;
    }

    .service-card__icon {
        width: 40px;
        height: 40px;
    }
}

/* Process */

.process {
    padding: 96px 0;
    background: var(--surface);
}

.process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ends at the last icon centre: one column minus half an icon */
.process-steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 28px;
    right: calc((100% - 96px) / 4 - 28px);
    height: 2px;
    background: var(--primary);
    transform-origin: left;
}

.process-step {
    position: relative;
}

/* transition only on the visible state, or adding is-ready would animate the hiding */
.process-steps.is-ready::before {
    transform: scaleX(0);
}

.process-steps.is-visible::before {
    transform: scaleX(1);
    transition: transform 2.4s linear;
}

.process-steps.is-ready .process-step {
    opacity: 0;
    transform: translateY(12px);
}

.process-steps.is-ready .process-step.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.process-steps.is-ready .process-step.is-visible:nth-child(2) {
    transition-delay: 0.8s;
}

.process-steps.is-ready .process-step.is-visible:nth-child(3) {
    transition-delay: 1.6s;
}

.process-steps.is-ready .process-step.is-visible:nth-child(4) {
    transition-delay: 2.4s;
}

.process-step__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--primary);
    background: var(--white);
}

.process-step__num {
    position: absolute;
    top: -4px;
    right: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    background: var(--primary);
}

.process-step__title {
    margin-top: 20px;
    font-size: 19px;
    font-weight: 600;
}

.process-step__text {
    margin-top: 6px;
    font-size: 15px;
    color: var(--muted);
}

@media (max-width: 991px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

    .process-steps::before {
        display: none;
    }

    .process-steps.is-ready .process-step.is-visible:nth-child(n) {
        transition-delay: 0s;
    }
}

@media (max-width: 768px) {
    .process {
        padding: 64px 0;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-step {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 20px;
        padding-bottom: 32px;
    }

    .process-step:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 56px;
        bottom: 0;
        left: 27px;
        width: 2px;
        background: var(--primary);
        transform-origin: top;
    }

    .process-steps.is-ready .process-step:not(:last-child)::before {
        transform: scaleY(0);
    }

    .process-steps.is-ready .process-step.is-visible:not(:last-child)::before {
        transform: scaleY(1);
        transition: transform 1s ease 0.4s;
    }

    .process-step__icon {
        grid-row: span 2;
    }

    .process-step__title {
        margin-top: 4px;
    }
}

/* Pricing */

.pricing {
    padding: 96px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
}

.price-card--featured {
    border: 2px solid var(--primary);
}

.price-card__badge {
    position: absolute;
    top: -13px;
    left: 26px;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
}

.price-card__name {
    font-size: 22px;
    font-weight: 700;
}

.price-card__desc {
    margin-top: 4px;
    color: var(--muted);
}

.price-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin-top: 24px;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
}

.price-card__tax {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
}

.price-card__note {
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
}

.price-card__list {
    display: grid;
    gap: 10px;
    margin: 24px 0 28px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.price-card__item {
    display: flex;
    gap: 10px;
    font-size: 15px;
}

.price-card__item .icon {
    margin-top: 2px;
    color: var(--success);
    stroke-width: 2.4;
}

.price-card__item--strong {
    font-weight: 600;
}

.price-card__btn {
    margin-top: auto;
}

.price-addon {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 20px 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
}

.price-addon__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    color: var(--primary);
    background: var(--primary-soft);
}

.price-addon__body {
    flex: 1;
}

.price-addon__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.price-addon__text {
    margin-top: 2px;
    font-size: 15px;
    color: var(--muted);
}

.price-addon__price {
    font-size: 15px;
    white-space: nowrap;
    color: var(--muted);
}

.price-addon__link {
    font-weight: 700;
    white-space: nowrap;
    color: var(--primary);
}

.price-addon__link:hover {
    text-decoration: underline;
}

.pricing-perks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 44px;
    margin-top: 40px;
    color: var(--muted);
}

.pricing-perk {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-perk .icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.pricing-perk__link {
    font-weight: 700;
    color: var(--primary);
}

.pricing-perk__link:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .pricing-perks {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 28px;
    }

    /* price and link move to their own line under the text */
    .price-addon {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px 20px;
        max-width: 480px;
    }

    .price-addon__body {
        flex-basis: calc(100% - 64px);
    }

    .price-addon__price {
        margin-left: 64px;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 64px 0;
    }
}

@media (max-width: 576px) {
    .price-card {
        padding: 28px 22px;
    }

    .price-addon {
        gap: 14px 16px;
        padding: 20px 22px;
    }

    .price-addon__body {
        flex-basis: calc(100% - 60px);
    }

    .price-addon__price {
        margin-left: 0;
    }
}

/* Calculator */

.calc {
    padding: 96px 0;
    background: var(--surface);
}

.calc-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: var(--white);
}

.calc-form {
    padding: 36px;
}

.calc-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.calc-packages__legend {
    margin-bottom: 12px;
    padding: 0;
    font-weight: 600;
}

.calc-package {
    position: relative;
    cursor: pointer;
}

.calc-package__input {
    position: absolute;
    opacity: 0;
}

.calc-package__box {
    display: block;
    padding: 10px 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
    transition: border-color 0.3s, background 0.3s;
}

.calc-package__name {
    display: block;
    font-weight: 600;
}

.calc-package__meta {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.calc-package__input:checked + .calc-package__box {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.calc-package__input:focus-visible + .calc-package__box {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.calc-field {
    margin-top: 28px;
}

.calc-field__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 12px;
}

.calc-field__label {
    font-weight: 600;
}

.calc-field__hint {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
}

.calc-field__value {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.calc-field__range {
    --fill: 0;
    display: block;
    width: 100%;
    height: 24px;
    margin: 0;
    background: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* fill is offset by half the thumb so the blue part ends exactly under its centre */
.calc-field__range::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--primary) calc(var(--fill) * (100% - 22px) + 11px), var(--line) 0);
}

.calc-field__range::-webkit-slider-thumb {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    margin-top: -8px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    background: var(--white);
    -webkit-appearance: none;
    appearance: none;
}

.calc-field__range::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: var(--line);
}

.calc-field__range::-moz-range-progress {
    height: 6px;
    border-radius: 3px;
    background: var(--primary);
}

.calc-field__range::-moz-range-thumb {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    background: var(--white);
}

.calc-field__range:focus {
    outline: none;
}

.calc-field__range:focus-visible::-webkit-slider-thumb {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.calc-field__range:focus-visible::-moz-range-thumb {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.calc-result {
    display: flex;
    flex-direction: column;
    padding: 36px;
    border-left: 1px solid var(--line);
}

.calc-result__title {
    font-size: 18px;
    font-weight: 600;
}

.calc-result__rows {
    margin-top: 16px;
}

.calc-result__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.calc-result__label {
    color: var(--muted);
}

.calc-result__value {
    font-weight: 600;
}

.calc-result__total {
    margin-top: 20px;
}

.calc-result__total-label {
    color: var(--muted);
}

.calc-result__total-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--success);
}

.calc-result__roi {
    display: block;
    margin-top: 2px;
    font-size: 15px;
}

.calc-result__btn {
    margin-top: 24px;
}

.calc-result__note {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

@media (max-width: 991px) {
    .calc-inner {
        grid-template-columns: 1fr;
    }

    .calc-result {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 768px) {
    .calc {
        padding: 64px 0;
    }
}

@media (max-width: 576px) {
    .calc-form,
    .calc-result {
        padding: 24px 20px;
    }

    .calc-result__total-value {
        font-size: 30px;
    }
}

/* Compare */

.compare {
    padding: 96px 0;
    background: var(--surface);
}

.compare-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.compare-card {
    display: flex;
    flex-direction: column;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
}

.compare-card--ours {
    border: 2px solid var(--primary);
    background: var(--white);
}

.compare-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.compare-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--muted);
    background: var(--white);
}

.compare-card__logo {
    display: block;
    width: 28px;
    height: 28px;
}

.compare-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.compare-card__subtitle {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.compare-card__list {
    display: grid;
    gap: 14px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.compare-card__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-card__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--danger);
    background: var(--danger-soft);
}

.compare-card--ours .compare-card__mark {
    color: var(--success);
    background: var(--success-soft);
}

.compare-card__mark .icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.4;
}

.compare-card__footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.compare-card__label {
    font-size: 14px;
    color: var(--muted);
}

.compare-card__price {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.compare-card--ours .compare-card__price {
    color: var(--primary);
}

@media (max-width: 768px) {
    .compare {
        padding: 64px 0;
    }

    .compare-inner {
        grid-template-columns: 1fr;
    }

    .compare-card {
        padding: 28px 24px;
    }
}

/* Reviews */

.reviews {
    padding: 96px 0;
}

.reviews-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.reviews-head .section-head {
    margin: 0;
}

.reviews-nav-group {
    display: flex;
    gap: 12px;
}

.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}

.reviews-nav:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Swiper adds this class at either end of the list */
.reviews-nav.swiper-button-disabled {
    border-color: var(--line);
    color: var(--line);
    cursor: default;
}

/* Swiper core layout, the library itself sets slide widths and moves the wrapper */
.reviews-slider {
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition-property: transform;
}

.swiper-slide {
    flex-shrink: 0;
}

.review {
    display: flex;
    flex-direction: column;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
}

.review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.review-quote {
    width: 36px;
    height: 26px;
    flex-shrink: 0;
    color: #d5def7;
}

.review-stars {
    display: flex;
    gap: 4px;
    color: #f5b301;
}

.review-stars .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

.review-text {
    flex-grow: 1;
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-soft);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
}

.review-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.review-meta {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 14px;
    color: var(--muted);
}

/* keeps the flag on the first line when the meta wraps on narrow cards */
.review-meta .flag {
    margin-top: 3px;
}

@media (max-width: 768px) {
    .reviews {
        padding: 64px 0;
    }

    .reviews-head {
        margin-bottom: 32px;
    }
}

@media (max-width: 576px) {
    .reviews-nav-group {
        display: none;
    }

    .review {
        padding: 26px 22px;
    }

    .review-text {
        font-size: 15px;
    }
}

/* Faq */

.faq {
    padding: 96px 0;
}

.faq-link {
    color: var(--primary);
    text-decoration: underline;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    border: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    background: none;
    cursor: pointer;
}

.faq-item__toggle {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s;
}

.faq-item__toggle::after {
    transform: rotate(90deg);
}

.faq-item.is-open .faq-item__toggle::after {
    transform: rotate(0);
}

.faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.2s ease;
}

.faq-item.is-open .faq-item__answer {
    grid-template-rows: 1fr;
}

.faq-item__inner {
    overflow: hidden;
}

/* full-width rows, but answer lines stay readable */
.faq-item__text {
    max-width: 800px;
    padding-bottom: 22px;
    color: var(--muted);
}

@media (max-width: 768px) {
    .faq {
        padding: 64px 0;
    }

    .faq-item__question {
        font-size: 16px;
    }
}

/* Lead */

.lead {
    padding: 96px 0;
    border-top: 1px solid var(--line);
}

.lead-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "head form"
        "contacts form";
    align-items: start;
    column-gap: 64px;
}

.lead-inner .section-head {
    grid-area: head;
    margin-bottom: 40px;
}

.lead-inner .contact-methods {
    grid-area: contacts;
}

.lead-box {
    grid-area: form;
    min-width: 0;
}

.lead .lead-form,
.lead-calendar {
    border: 1px solid var(--line);
}

.lead-form[hidden],
.lead-calendar[hidden],
.lead-tabs[hidden] {
    display: none;
}

/* Booking calendar */

.lead-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 16px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.lead-tabs__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    background: none;
    cursor: pointer;
    transition: color 0.3s, background-color 0.3s;
}

.lead-tabs__btn:hover {
    color: var(--text);
}

.lead-tabs__btn.is-active {
    color: var(--white);
    background: var(--primary);
}

.lead-calendar {
    overflow: hidden;
    border-radius: 24px;
    background: var(--white);
}

.lead-calendar__consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 36px;
    text-align: center;
}

.lead-calendar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    color: var(--primary);
    background: var(--primary-soft);
}

.lead-calendar__icon .icon {
    width: 28px;
    height: 28px;
}

.lead-calendar__text {
    max-width: 440px;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

.lead-calendar__load {
    margin-top: 28px;
}

.lead-calendar.is-loading .lead-calendar__load {
    opacity: 0.6;
    pointer-events: none;
}

.lead-calendar__direct {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
    text-decoration: underline;
    transition: color 0.3s;
}

.lead-calendar__direct:hover {
    color: var(--primary);
}

.lead-calendar.is-loaded .lead-calendar__consent {
    display: none;
}

/* Calendly sets the height of each booking step on this box; until then it keeps room for the calendar */
.lead-calendar--auto .lead-calendar__widget,
.lead-calendar.is-loaded .lead-calendar__widget {
    min-height: 640px;
}

.contact-methods {
    border-top: 1px solid var(--line);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.contact-item__icon {
    color: var(--primary);
}

.contact-item__icon--whatsapp {
    color: #1fa855;
}

.contact-item__label {
    display: block;
    font-size: 14px;
    color: var(--muted);
}

.contact-item__value {
    display: block;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s;
}

.contact-item--link:hover .contact-item__value {
    color: var(--primary);
}

@media (max-width: 991px) {
    /* the form is the goal here, contacts follow as the alternative */
    .lead-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "head"
            "form"
            "contacts";
    }

    .lead-inner .section-head {
        margin-bottom: 32px;
    }

    .lead-inner .contact-methods {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .lead {
        padding: 64px 0;
    }
}

/* Form */

.lead-form {
    padding: 36px;
    border-radius: 24px;
    color: var(--text);
    background: var(--white);
}

.lead-form__title {
    font-size: 22px;
    font-weight: 700;
}

.lead-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.lead-form__group--full {
    grid-column: 1 / -1;
}

.lead-form__label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.lead-form__optional {
    font-weight: 400;
    color: var(--muted);
}

.lead-form__field {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.4;
    background: var(--white);
    outline: none;
    transition: border-color 0.15s;
}

.lead-form__field:focus {
    border-color: var(--primary);
}

/* while typing the field stays blue, red only after leaving it empty */
.lead-form__field:user-invalid:not(:focus) {
    border-color: var(--danger);
}

.lead-form__field--select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6578' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    cursor: pointer;
    appearance: none;
}

/* Tom Select: the wrapper takes over the field classes from the native select */
.ts-hidden-accessible {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.ts-wrapper {
    position: relative;
}

.ts-wrapper.lead-form__field--select {
    background-image: none;
}

.ts-wrapper.focus {
    border-color: var(--primary);
}

/* the wrapper border shows focus, so the control needs no own outline */
.ts-control {
    display: flex;
    align-items: center;
    outline: none;
    cursor: pointer;
}

.ts-control::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6578' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat;
    transition: transform 0.2s;
}

.ts-wrapper.dropdown-active .ts-control::after {
    transform: rotate(180deg);
}

.ts-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    width: 100%;
    margin-top: 6px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 16px 32px -16px rgba(17, 26, 51, 0.25);
    animation: dropdown-in 0.2s ease;
}

/* Tom Select toggles display, so the dropdown plays this every time it opens */
@keyframes dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.ts-dropdown-content {
    max-height: 280px;
    overflow-y: auto;
}

.ts-dropdown .option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.ts-dropdown .option .icon {
    display: none;
    color: var(--primary);
    stroke-width: 2.6;
}

.ts-dropdown .option.active {
    background: var(--surface);
}

.ts-dropdown .option.selected {
    font-weight: 600;
    color: var(--primary);
}

.ts-dropdown .option.selected .icon {
    display: block;
}

.lead-form__field--textarea {
    min-height: 110px;
    resize: vertical;
}

.lead-form__addon {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-soft);
    cursor: pointer;
}

.lead-form__hp {
    position: absolute;
    left: -9999px;
}

.lead-form__consent {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    cursor: pointer;
}

.lead-form__checkbox {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin: 0;
    border: 1.5px solid var(--line-strong);
    border-radius: 6px;
    background: var(--white) center / 14px no-repeat;
    cursor: pointer;
    appearance: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.lead-form__checkbox:hover,
.lead-form__checkbox:focus-visible {
    border-color: var(--primary);
    outline: none;
}

.lead-form__checkbox:checked {
    border-color: var(--primary);
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.lead-form__checkbox:user-invalid {
    border-color: var(--danger);
}

.lead-form__link {
    color: var(--primary);
    text-decoration: underline;
}

.lead-form__submit {
    margin-top: 22px;
}

.lead-form__status {
    display: none;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--success);
    background: var(--success-soft);
}

.lead-form.is-sent .lead-form__status {
    display: block;
}

.lead-form .lead-form__status--error {
    display: none;
    color: var(--danger);
    background: var(--danger-soft);
}

.lead-form.is-error .lead-form__status--error {
    display: block;
}

.lead-form.is-sent .lead-form__status--error,
.lead-form.is-error .lead-form__status--success {
    display: none;
}

.lead-form.is-sending .lead-form__submit {
    opacity: 0.6;
    pointer-events: none;
}

.lead-form__field.is-invalid {
    border-color: var(--danger);
}

@media (max-width: 576px) {
    .lead-form {
        padding: 24px 20px;
    }

    .lead-calendar__consent {
        padding: 40px 20px;
    }

    .lead-tabs__btn {
        padding: 12px 8px;
        font-size: 14px;
    }

    .lead-form__grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
    color: var(--muted);
    background: var(--surface);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-legal__link:hover {
    color: var(--primary);
}

/* the cookie settings link in the footer is a button, it opens the banner again */
.footer-legal__button {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: color 0.3s;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    transition: color 0.3s, border-color 0.3s;
}

.footer-social__link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer-social__link .icon {
    width: 20px;
    height: 20px;
}

/* Consent */

/* above the WhatsApp button; the page stays usable, the banner only asks */
.consent {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 70;
    width: min(440px, calc(100% - 40px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 16px 48px rgba(21, 28, 44, 0.18);
}

.consent[hidden] {
    display: none;
}

.consent__title {
    font-size: 17px;
    font-weight: 700;
}

.consent__text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.consent__link {
    color: var(--primary);
    text-decoration: underline;
}

.consent__options {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.consent__options[hidden] {
    display: none;
}

.consent-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

.consent-option .lead-form__checkbox {
    margin-top: 1px;
}

.consent-option .lead-form__checkbox:disabled {
    cursor: default;
    opacity: 0.6;
}

.consent-option__name {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.consent-option__text {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

.consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
}

.consent__more {
    grid-column: 1 / -1;
    justify-self: center;
    padding: 4px;
    border: 0;
    font-size: 14px;
    color: var(--muted);
    text-decoration: underline;
    background: none;
    cursor: pointer;
    transition: color 0.3s;
}

.consent__more:hover {
    color: var(--primary);
}

.consent__save {
    grid-column: 1 / -1;
}

.consent__actions [hidden] {
    display: none;
}

@media (max-width: 576px) {
    .consent {
        left: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 20px;
    }

    /* German buttons are long: one under the other instead of squeezed */
    .consent__actions {
        grid-template-columns: 1fr;
    }
}

/* Whatsapp */

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: var(--white);
    background: var(--whatsapp);
}

.whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: var(--whatsapp);
    animation: whatsapp-pulse 2.4s ease-out infinite;
}

.whatsapp .icon {
    width: 30px;
    height: 30px;
}

@keyframes whatsapp-pulse {
    from {
        transform: scale(1);
        opacity: 0.5;
    }

    to {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}

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

/* Page */

.page-header {
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.page-header__crumbs {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}

.page-header__crumb:hover {
    color: var(--primary);
}

.page-header__title {
    margin-top: 12px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-header__desc {
    max-width: 640px;
    margin-top: 12px;
    font-size: 18px;
    color: var(--muted);
}

@media (max-width: 768px) {
    .page-header {
        padding: 44px 0 40px;
    }

    .page-header__title {
        font-size: 32px;
    }

    .page-header__desc {
        font-size: 16px;
    }
}

/* Legal */

.legal {
    padding: 64px 0 96px;
}

.legal-content {
    max-width: 780px;
}

.legal-content__title {
    margin: 44px 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.legal-content__title:first-child {
    margin-top: 0;
}

.legal-content__text {
    margin-bottom: 14px;
    color: var(--text-soft);
}

.legal-content__list {
    margin: 0 0 14px;
    padding-left: 22px;
    color: var(--text-soft);
}

.legal-content__item {
    margin-bottom: 6px;
}

.legal-content__link {
    color: var(--primary);
    text-decoration: underline;
}

.legal-content .legal-content__note {
    margin-top: 44px;
    font-size: 14px;
    color: var(--muted);
}

/* the text comes from the panel's editor as plain tags, styled like the classes above */
.legal-content h2,
.legal-content h3 {
    margin: 44px 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.legal-content h3 {
    margin-top: 28px;
    font-size: 18px;
}

.legal-content h2:first-child,
.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 14px;
    color: var(--text-soft);
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 14px;
    padding-left: 22px;
    color: var(--text-soft);
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal {
        padding: 44px 0 64px;
    }

    .legal-content__title,
    .legal-content h2 {
        margin-top: 32px;
        font-size: 20px;
    }
}

