/* ============================================================
   Bellissimo Pizza Franchise Landing — mobile-first styles
   Aligned to Figma desktop frame 5658:54001 (1440 wide)
   ============================================================ */

section {
    position: relative;
}
section[id] {
    scroll-margin-top: 110px;
}

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 0;
    background: transparent;
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}
.site-header.is-scrolled {
    background: var(--color-red-900-85);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-header);
}
.site-header__pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--color-white);
    border-radius: var(--radius-pill-sm);
    padding: 10px 16px;
}
.site-header__logo img {
    width: 120px;
    height: auto;
}
.site-header__nav {
    display: none;
}
.site-header__nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
}
.site-header__nav a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-black);
    transition: color 0.15s ease;
}
.site-header__nav a:hover {
    color: var(--color-red-900);
}
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-picker {
    display: block;
    position: relative;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-black);
}
.lang-picker__trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    color: var(--color-black);
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}
.lang-picker__flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}
.lang-picker__label,
.lang-picker__trigger svg {
    display: none;
}
.lang-picker__trigger svg {
    color: var(--color-black);
    transition: transform 0.15s ease;
}
.lang-picker[data-open="true"] .lang-picker__trigger svg {
    transform: rotate(180deg);
}
.lang-picker__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-lg);
    padding: 6px;
    min-width: 140px;
    z-index: 100;
    list-style: none;
    margin: 0;
}
.lang-picker__option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    color: var(--color-black);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.12s ease;
    text-decoration: none;
}
.lang-picker__option img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}
.lang-picker__option:hover {
    background: var(--color-gray-100);
}
.lang-picker__option.is-active {
    background: var(--color-gray-100);
    color: var(--color-red-900);
}
.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
}
.burger span {
    display: block;
    height: 2px;
    background: var(--color-black);
    border-radius: 2px;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .site-header__pill {
        padding: 12px 24px;
    }
    .site-header__logo img {
        width: 170px;
    }
    .site-header__nav {
        display: block;
    }
    .site-header__actions {
        gap: 24px;
    }
    .lang-picker__flag {
        width: 20px;
        height: 20px;
    }
    .lang-picker__label,
    .lang-picker__trigger svg {
        display: inline-block;
    }
    .burger {
        display: none;
    }
}

/* Mobile nav drawer */
.site-header__nav.is-open {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
}
.site-header__nav.is-open ul {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}
.site-header__nav.is-open a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    background: var(--color-red-900);
    color: var(--color-white);
    overflow: hidden;
    padding: 160px 0 240px;
    margin-top: -88px;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 200px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'><path d='M 0 0 Q 720 360 1440 0 L 1440 200 L 0 200 Z' fill='%23ffffff'/></svg>")
        bottom center/100% 100% no-repeat;
    z-index: 2;
    pointer-events: none;
}
.hero__bg {
    position: absolute;
    inset: 0;
    /*background-image: url("../assets/images/patterns/hero-bg-composite.svg");*/
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;
    pointer-events: none;
}
.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    max-width: 702px;
}
.hero__cta-headline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hero__title {
    font-family: var(--font-display);
    font-size: var(--fs-h1);
    font-weight: 700;
    color: var(--color-yellow);
    line-height: 1.2;
    max-width: 702px;
}
.hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-white);
    max-width: 634px;
}
.hero__media {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
.hero__frame {
    width: 100%;
    aspect-ratio: 588 / 400;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 5px solid var(--color-white-20);
}
.hero__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__dots {
    display: flex;
    gap: 4px;
    align-items: center;
}
.hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 24px;
    background: var(--color-white-20);
}
.hero__dot.is-active {
    background: var(--color-white);
}

@media (max-width: 767px) {
    .hero {
        padding-bottom: 120px;
    }
    .hero::after {
        height: 80px;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        padding-bottom: 180px;
    }
    .hero::after {
        height: 130px;
    }
}
@media (min-width: 1024px) {
    .hero {
        padding: 224px 0 320px;
        margin-top: -104px;
    }
    .hero__content {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }
    .hero__cta {
        flex: 0 1 692px;
        min-width: 0;
    }
    .hero__media {
        flex: 0 1 588px;
        min-width: 0;
        margin-left: auto;
    }
}
@media (min-width: 1280px) {
    .hero__content {
        gap: 0;
    }
}

/* ============ STATS (Section 8 — growth chart) ============ */
.stats {
    background: var(--color-white);
    padding: 48px 0;
}
.stats__head {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
    align-items: stretch;
}
.stats__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 500px;
}
.stats__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1.2;
    color: var(--color-black);
}
.stats__title-accent {
    color: var(--color-red-600);
}
.stats__source {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.2;
    color: var(--color-gray-400);
}
.stats__lead {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.4;
    color: var(--color-gray-600);
    max-width: 472px;
}
.stats__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.stats__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.stats-card {
    background: var(--color-gray-100);
    border-radius: var(--radius-2xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}
.stats-card__data {
    display: inline-flex;
    align-items: flex-end;
    position: relative;
}
.stats-card__data::before {
    content: "";
    position: absolute;
    right: -14px;
    bottom: 4px;
    width: 40px;
    height: 40px;
    background: var(--color-yellow);
    border-radius: 50%;
    z-index: 0;
}
.stats-card__value {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 3vw, 40px);
    line-height: 1.3;
    color: var(--color-black);
    white-space: nowrap;
}
.stats-card__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stats-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-black);
}
.stats-card__trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-600);
}
.stats-card__trend .icon-trend {
    width: 16px;
    height: 16px;
    color: var(--color-red-600);
}

.stats__chart {
    background: var(--color-gray-100);
    border-radius: var(--radius-2xl);
    padding: 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}
.stats__quote {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
}
.stats__quote p {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(16px, 1.7vw, 24px);
    line-height: 1.4;
    color: var(--color-black);
    position: relative;
    padding-left: 16px;
}
.stats__quote p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--color-red-600);
}
.stats__quote-source {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(18px, 1.6vw, 24px);
    font-style: normal;
    color: var(--color-black);
}
.stats__quote-source span {
    color: var(--color-red-600);
}

.stats__chart-area {
    position: relative;
    flex: none;
    height: 320px;
    display: flex;
    flex-direction: column;
}
.stats__bars {
    position: relative;
    z-index: 0;
    flex: 1;
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 8px;
}
.stats-bar {
    flex: 1;
    position: relative;
    align-self: stretch;
}
.stats-bar__bar {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 48px;
    height: calc(var(--h) * 0.75);
    min-height: 6px;
    background: var(--color-gray-200);
    border-radius: 6px;
}
.stats-bar__value {
    position: absolute;
    left: 50%;
    bottom: calc(var(--h) * 0.75 + 6px);
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 11px;
    color: var(--color-gray-400);
    line-height: 1.2;
    white-space: nowrap;
}
.stats-bar.is-active .stats-bar__value {
    color: var(--color-black);
    font-weight: 600;
}
.stats__years {
    display: flex;
    gap: 4px;
    margin-top: 12px;
}
.stats__years span {
    flex: 1;
    min-width: 0;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 10px;
    line-height: 1.4;
    color: var(--color-gray-400);
}
.stats__trendline {
    position: absolute;
    top: 16px;
    left: 32px;
    right: 32px;
    bottom: 36px;
    width: calc(100% - 64px);
    height: calc(100% - 52px);
    pointer-events: none;
    z-index: 1;
    object-fit: fill;
    overflow: visible;
    transform: translateY(-22px);
}
.stats__caption {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-400);
}

@media (min-width: 768px) {
    .stats__head {
        flex-direction: row;
        gap: 48px;
        align-items: flex-end;
        justify-content: space-between;
    }
    .stats__cards {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px) {
    .stats {
        padding: 80px 0;
    }
    .stats__head {
        gap: 168px;
        margin-bottom: 32px;
    }
    .stats__body {
        grid-template-columns: 376px 1fr;
        gap: 16px;
        align-items: stretch;
    }
    .stats__cards {
        grid-template-columns: 1fr;
    }
    .stats__chart {
        padding: 32px;
        min-height: 548px;
    }
    .stats-card {
        padding: 32px;
    }
    .stats__chart-area {
        height: 400px;
    }
    .stats__years {
        gap: 8px;
    }
    .stats__years span {
        font-size: 12px;
    }
    .stats-bar__value {
        font-size: 13px;
    }
}

/* ============ TESTIMONIALS (Section 9) ============ */
.testimonials {
    background: var(--color-white);
    padding: 48px 0;
}
.testimonials__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.testimonials__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1.2;
    color: var(--color-black);
}
.testimonials__title-accent {
    color: var(--color-red-600);
    display: block;
}
.testimonials__nav {
    display: flex;
    gap: 16px;
}
.testimonials__arrow {
    background: var(--color-gray-100);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: background 0.15s ease;
}
.testimonials__arrow:hover {
    background: var(--color-gray-200);
}
.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.testimonial {
    background: var(--color-gray-100);
    border-radius: var(--radius-2xl);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.testimonial__media {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 8px;
    box-shadow: 0 2px 7.5px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}
.testimonial__video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 312 / 415;
    background: var(--color-gray-200);
}
.testimonial__video img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial__overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 100px;
    padding: 0 20px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.6)
    );
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial__person {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--color-white);
    min-width: 0;
}
.testimonial__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
}
.testimonial__role {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}
.testimonial__play {
    background: var(--color-white);
    color: var(--color-black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.testimonial__play svg {
    width: 16px;
    height: 16px;
}
.testimonial__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.testimonial__quote-mark {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-red-600);
    font-size: 56px;
    line-height: 1;
    display: block;
}
.testimonial__quote {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(16px, 1.5vw, 24px);
    line-height: 1.4;
    color: var(--color-black);
    margin-top: -16px;
}
.testimonial__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.testimonial__meta-item {
    flex: 1;
    background: var(--color-white);
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}
.testimonial__meta-label {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.5;
}
.testimonial__meta-value {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--color-black);
    line-height: 1.3;
}

.testimonial__video-el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .testimonial {
        grid-template-columns: 280px 1fr;
        padding: 32px;
        gap: 24px;
    }
}
@media (min-width: 1024px) {
    .testimonials {
        padding: 80px 0;
    }
    .testimonials__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ============ VIDEO MODAL ============ */
.vmodal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.vmodal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.vmodal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}
.vmodal__inner {
    position: relative;
    width: min(92vw, 820px);
    max-height: 90vh;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    z-index: 1;
    background: #000;
}
.vmodal__video {
    display: block;
    width: 100%;
    max-height: 90vh;
}
.vmodal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.55);
    color: var(--color-white);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.vmodal__close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* ============ NETWORK ============ */
.network {
    background: var(--color-white);
    padding: 48px 0 0;
    text-align: center;
}
.network .section-title {
    max-width: 1279px;
    margin-inline: auto;
}
.network .section-lead {
    max-width: 1279px;
    margin-inline: auto;
}

.network__showcase {
    background: var(--color-red-900);
    padding: 48px 0;
    margin-top: 48px;
}
.network__figure {
    border-radius: var(--radius-40);
    overflow: hidden;
    border: 8px solid var(--color-white-20);
}
.network__figure img {
    display: block;
    width: 100%;
    aspect-ratio: 1280 / 632;
    object-fit: cover;
}
.network__caption {
    margin-top: 24px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.3;
    color: var(--color-white-70);
    text-align: center;
}
@media (min-width: 1024px) {
    .network {
        padding: 80px 0 0;
    }
    .network__showcase {
        padding: 80px 0;
        margin-top: 80px;
    }
}

/* ============ WHY ============ */
.why {
    background: var(--color-red-900);
    color: var(--color-white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.why__bg-text {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: min(1454px, 101%);
    height: 244px;
    background-image: url("../assets/images/patterns/bg-why-text.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}
.why > .container {
    position: relative;
    z-index: 1;
}
.why .section-title {
    max-width: 739px;
    margin-inline: auto;
    position: relative;
    padding: 60px 0 48px;
}
.why__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
    align-items: center;
}
.why__image {
    position: relative;
    width: 100%;
    max-width: 716px;
    margin-inline: auto;
}
.why__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.why__stats {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.why__stat {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.why__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 4vw, 52px);
    line-height: 1.2;
    color: var(--color-white);
}
.why__asterisk {
    color: var(--color-yellow);
}
.why__caption {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-gray-100);
    max-width: 406px;
}
@media (min-width: 1024px) {
    .why {
        padding: 0 0 120px;
    }
    .why__grid {
        grid-template-columns: 716px 1fr;
        gap: 48px;
        margin-top: 64px;
    }
    .why__image img {
        max-height: 580px;
    }
}

/* ============ FEATURES ============ */
.features {
    background: var(--color-red-900);
    color: var(--color-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.features::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M 0 0 Q 360 60 720 30 T 1440 0 L 1440 60 L 0 60 Z' fill='%23ffffff'/></svg>")
        bottom center/100% 100% no-repeat;
    z-index: 2;
    pointer-events: none;
}
.features > .container {
    position: relative;
    z-index: 1;
}
.features .section-title {
    margin-bottom: 48px;
}
.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.feature {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: 50%;
    flex-shrink: 0;
}
.feature__icon img {
    width: 32px;
    height: 32px;
}
.feature__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.3;
    color: var(--color-white);
}
.feature__text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-gray-100);
}
.feature__text-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (min-width: 768px) {
    .features__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}
@media (min-width: 1024px) {
    .features {
        padding: 145px 0;
    }
    .features .section-title {
        margin-bottom: 64px;
    }
}

/* ============ INVESTMENTS ============ */
.investments {
    background: var(--color-white);
    padding: 60px 0 80px;
    position: relative;
}
.investments__card {
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}
.investments__card .section-title {
    font-size: clamp(28px, 3.6vw, 52px);
}

.invest-hero {
    background: var(--color-gray-100);
    border-radius: var(--radius-2xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
.invest-hero__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}
.invest-hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.2;
    color: var(--color-black);
    display: inline-block;
}
.invest-hero__title .invest-hero__brand {
    position: relative;
    display: inline-block;
}
.invest-hero__title .invest-hero__brand::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 8px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'><path d='M2 5 Q 50 -2, 100 4 T 198 5' fill='none' stroke='%23ff3300' stroke-width='2' stroke-linecap='round'/></svg>")
        center/100% 100% no-repeat;
}
.invest-hero__right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}
.invest-hero__price {
    display: flex;
    align-items: center;
    gap: 12px;
}
.invest-hero__prefix {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.25;
    color: #1b1b1b;
}
.invest-hero__amount {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.2;
    color: var(--color-red-600);
    white-space: nowrap;
}
.invest-hero__meta {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-text-grey);
}
.invest-hero__note {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 24px;
    color: var(--color-black);
}

.invest-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}
.invest-item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    padding: 21px 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.invest-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.invest-item__body h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    color: var(--color-black);
}
.invest-item__body p {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 20px;
    color: #1b1b1b;
}

/* Investments metric: donut ring with percentage centered */
.donut {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: conic-gradient(
        from -90deg,
        var(--color-red-600) 0 calc(var(--p) * 1%),
        var(--color-gray-200) calc(var(--p) * 1%) 100%
    );
    display: grid;
    place-items: center;
    position: relative;
}
.donut::before {
    content: "";
    position: absolute;
    inset: 6px;
    background: var(--color-white);
    border-radius: 50%;
}
.donut span {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    color: var(--color-black);
}

@media (min-width: 768px) {
    .invest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 960px) {
    .invest-hero {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        gap: 24px;
        padding: 28px;
    }
    .invest-hero__left {
        flex: 1 1 0;
        min-width: 0;
        min-height: 200px;
    }
    .invest-hero__right {
        flex: 0 1 346px;
        min-width: 0;
        min-height: 200px;
    }
}
@media (min-width: 1280px) {
    .invest-hero {
        gap: 32px;
        padding: 32px;
    }
    .invest-hero__left {
        flex: 0 0 550px;
    }
}
@media (min-width: 1024px) {
    .investments {
        padding: 80px 0 120px;
    }
    .investments__card {
        gap: 48px;
    }
    .invest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============ FORMATS ============ */
.formats {
    background: var(--color-red-900);
    color: var(--color-white);
    padding: 120px 0 200px;
    position: relative;
    overflow: hidden;
}
.formats::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M 0 0 Q 360 60 720 30 T 1440 0 L 1440 0 L 0 0 Z' fill='%23ffffff'/></svg>")
        top center/100% 100% no-repeat;
    z-index: 2;
    pointer-events: none;
}
.formats::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 130px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 130' preserveAspectRatio='none'><path d='M 0 0 Q 720 230 1440 0 L 1440 130 L 0 130 Z' fill='%23ffffff'/></svg>")
        bottom center/100% 100% no-repeat;
    z-index: 2;
    pointer-events: none;
}
.formats__bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/patterns/formats-bg-figma.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.formats > .container {
    position: relative;
    z-index: 1;
}
.formats .section-title {
    margin-bottom: 48px;
    font-size: clamp(28px, 3.6vw, 52px);
}

.format {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 56px;
}
.format:last-child {
    margin-bottom: 0;
}
.format__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.format__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.format__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(26px, 2.5vw, 32px);
    line-height: 1.3;
    color: var(--color-white);
}
.format__text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-white-60);
}
.format__locations h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}
.format__locations ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.format__locations li {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-white-60);
}
.format__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.chip {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    min-width: 200px;
}
.chip__label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    color: var(--color-black);
}
.chip__value {
    display: block;
    margin-top: 2px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-grey);
}
.format__media {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.format__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .formats {
        padding-bottom: 110px;
    }
    .formats::after {
        height: 70px;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .formats {
        padding-bottom: 150px;
    }
    .formats::after {
        height: 100px;
    }
}
@media (min-width: 1024px) {
    .formats {
        padding: 160px 0 96px;
    }
    .formats .section-title {
        margin-bottom: 64px;
    }
    .format {
        flex-direction: row;
        gap: 32px;
        align-items: stretch;
        margin-bottom: 96px;
    }
    .format > * {
        flex: 0 0 calc(50% - 16px);
        min-width: 0;
    }
    .format--reverse {
        flex-direction: row-reverse;
    }
    .format__body {
        justify-content: space-between;
        padding: 28px 0;
    }
    .format__media {
        aspect-ratio: auto;
        height: 400px;
        border-radius: var(--radius-2xl);
    }
}

/* ============ CALCULATOR ============ */
.calculator {
    background: var(--color-white);
    padding: 48px 0;
}
.calculator .section-title {
    margin-bottom: 32px;
    font-size: clamp(28px, 3.6vw, 52px);
}
.calc {
    background: var(--color-gray-100);
    border-radius: var(--radius-2xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.calc__group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.calc__label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-black);
}
.calc__tabs {
    display: flex;
    gap: 8px;
    background: var(--color-white);
    border-radius: var(--radius-pill);
    padding: 4px;
}
.calc__tab {
    flex: 1;
    min-width: 0;
    height: auto;
    min-height: 64px;
    border-radius: var(--radius-pill);
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-black);
    transition:
        background 0.15s ease,
        color 0.15s ease;
}
.calc__tab-name {
    font-size: 14px;
    line-height: 1.2;
}
.calc__tab-area {
    max-width: 100%;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 11px;
    line-height: 1.2;
    color: var(--color-gray-600);
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 8px;
    border-radius: 999px;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.calc__tab.is-active {
    background: var(--color-yellow);
}
.calc__tab.is-active .calc__tab-area {
    background: rgba(255, 255, 255, 0.5);
    color: var(--color-black);
}
.calc__tab:not(.is-active) {
    color: var(--color-gray-400);
}
@media (min-width: 1024px) {
    .calc__tab {
        flex-direction: row;
        gap: 12px;
        height: 64px;
        min-height: 0;
        padding: 0 16px;
    }
    .calc__tab-name {
        font-size: 18px;
        line-height: 1.3;
    }
    .calc__tab-area {
        font-size: 12px;
        padding: 4px 10px;
        max-width: none;
        overflow: visible;
    }
}

.calc__sliders {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.calc__row {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 19px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.calc__row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
}
.calc__row-value {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.calc__row input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--radius-pill);
    background: var(--color-gray-100);
    outline: none;
}
.calc__row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 40px;
    border-radius: 8px;
    background: var(--color-black);
    box-shadow: var(--shadow-range-thumb);
    cursor: grab;
    border: none;
}
.calc__row input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 40px;
    border-radius: 8px;
    background: var(--color-black);
    box-shadow: var(--shadow-range-thumb);
    cursor: grab;
    border: none;
}

.calc__results {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    gap: 20px;
}
.calc__result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.calc__result-label {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-gray-400);
    font-weight: 500;
}
.calc__result-value {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    color: var(--color-black);
    white-space: nowrap;
}
.calc__result-value--accent {
    color: var(--color-green);
    font-weight: 700;
    font-size: 26px;
}
@media (min-width: 768px) {
    .calc__results {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        position: relative;
    }
    .calc__result + .calc__result {
        border-left: 1px solid var(--color-gray-100);
        padding-left: 20px;
    }
}

.calc__payback {
    background: var(--color-green);
    border-radius: var(--radius-lg);
    padding: 19px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--color-white);
    flex-wrap: wrap;
}
.calc__payback-label {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-white-70);
}
.calc__payback-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
}
.calc__disclaimer {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-gray-400);
    text-align: center;
}
.calc__cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

@media (min-width: 1024px) {
    .calculator {
        padding: 80px 0;
    }
    .calc {
        padding: 40px;
        gap: 32px;
    }
    .calc__result-value {
        font-size: 24px;
    }
    .calc__result-value--accent {
        font-size: 28px;
    }
    .calc__payback-value {
        font-size: 28px;
    }
}

/* ============ STEPS (6 horizontal circles) ============ */
.steps {
    background: var(--color-white);
    padding: 48px 0 64px;
}
.steps__title {
    margin: 0 auto 40px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1.3;
    color: var(--color-black);
    text-align: center;
}
.steps__track {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}
.step__circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    color: var(--color-black);
}
.step__circle--active {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
}
.step__card {
    background: var(--color-gray-100);
    border-radius: var(--radius-xl);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    width: 100%;
}
.step__title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: var(--color-black);
    letter-spacing: -0.01em;
}
.step__text {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-gray-400);
}
@media (min-width: 768px) {
    .steps__track {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}
@media (min-width: 1024px) {
    .steps {
        padding: 64px 0 100px;
    }
    .steps__track {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 16px;
    }
    .steps__track::before {
        content: "";
        position: absolute;
        top: 36px;
        left: 8.3%;
        right: 8.3%;
        height: 2px;
        background: var(--color-gray-200);
        z-index: 0;
    }
    .step__card {
        min-height: 140px;
    }
}

/* ============ CTA + FOOTER ============ */
.cta {
    background: var(--color-red-900);
    color: var(--color-white);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M 0 0 Q 360 60 720 30 T 1440 0 L 1440 0 L 0 0 Z' fill='%23ffffff'/></svg>")
        top center/100% 100% no-repeat;
    z-index: 2;
    pointer-events: none;
}
.cta__bg {
    display: none;
}
.cta > .container {
    position: relative;
    z-index: 1;
}
.cta__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.cta__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1.3;
    color: var(--color-white);
}
.cta__subtitle {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.3;
    color: var(--color-white);
}
.cta__text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-white);
    max-width: 740px;
}
.cta__actions {
    margin-top: 16px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.cta__form-status {
    font-size: 14px;
    color: var(--color-yellow);
    min-height: 20px;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .cta__actions {
        gap: 24px;
    }
}
@media (min-width: 1024px) {
    .cta {
        padding: 120px 0 64px;
    }
}

.site-footer {
    background: var(--color-red-900);
    color: var(--color-white);
    padding: 0 0 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.site-footer .cta__bg {
    opacity: 0.5;
}
.site-footer > .container {
    position: relative;
    z-index: 1;
}
.site-footer__divider {
    height: 1px;
    background: var(--color-white-30);
    margin-bottom: 32px;
}
.site-footer__row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}
.site-footer__logo {
    width: 140px;
    height: auto;
}
.site-footer__copy {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-white);
}
.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.site-footer__links a {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-white);
}
.site-footer__legal {
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1.45;
    color: var(--color-white-70);
    max-width: 1280px;
}
@media (min-width: 1024px) {
    .site-footer__row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 32px;
    }
    .site-footer__copy {
        flex-shrink: 0;
    }
    .site-footer__logo {
        width: 170px;
    }
    .site-footer__links {
        justify-content: flex-end;
        flex: 1;
    }
}

/* ============ IT PLATFORM (Section 10) ============ */
.it-platform {
    background: var(--color-white);
    padding: 48px 0;
}
.it-platform__head {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
}
.it-platform__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1.2;
    color: var(--color-black);
}
.it-platform__title-accent {
    color: var(--color-red-600);
    display: block;
}
.it-platform__lead {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.3;
    color: var(--color-gray-600);
    max-width: 808px;
}
.it-platform__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.it-card {
    background: var(--color-gray-100);
    border-radius: var(--radius-2xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
}
.it-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-green);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.it-card__icon svg,
.it-card__icon img {
    width: 28px;
    height: 28px;
    display: block;
}
.it-card__head {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.it-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.3;
    color: var(--color-black);
}
.it-card__desc {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.3;
    color: rgba(30, 30, 30, 0.7);
}
.it-card__visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: auto;
}

/* Dashboard mockup (IT card) */
.dashboard {
    background: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 21px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dashboard__bar {
    display: flex;
    gap: 6px;
}
.dashboard__dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
}
.dashboard__dot--red {
    background: #ff5c5c;
}
.dashboard__dot--yellow {
    background: #ffbd2e;
}
.dashboard__dot--green {
    background: #27c93f;
}
.dashboard__kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.kpi {
    background: rgba(30, 30, 30, 0.05);
    border-radius: 16px;
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.kpi__label {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}
.kpi__row {
    display: inline-flex;
    gap: 4px;
    align-items: baseline;
    flex-wrap: wrap;
    min-width: 0;
}
.kpi__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    color: var(--color-black);
    white-space: nowrap;
}
.kpi__delta {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 10px;
    color: #27c93f;
}

.dashboard__chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
    padding: 0 4px;
}
.dashboard__chart > span {
    flex: 1;
    height: var(--h);
    min-height: 8px;
    background: rgba(255, 195, 38, 0.3);
    border-radius: 4px;
}
.dashboard__chart .dashboard__chart-active {
    background: var(--color-yellow);
}
.dashboard__time {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 10px;
    color: rgba(0, 0, 0, 0.3);
}

.it-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.it-card__chips li {
    background: var(--color-white);
    border-radius: 999px;
    padding: 6px 12px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    color: var(--color-black);
}

/* Supply flow (IT card B) */
.supply-flow {
    display: flex;
    align-items: stretch;
    gap: 6px;
}
.supply-node {
    flex: 1;
    background: var(--color-white);
    border-radius: 20px;
    padding: 12px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}
.supply-node strong {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    color: var(--color-black);
}
.supply-node span {
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.7);
}
.supply-node--accent {
    background: var(--color-green);
}
.supply-node--accent strong {
    color: var(--color-white);
}
.supply-node--accent span {
    color: rgba(255, 255, 255, 0.7);
}
.supply-line {
    display: block;
    flex: 0 0 24px;
    height: 14px;
    align-self: center;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16' preserveAspectRatio='none'><line x1='0' y1='8' x2='28' y2='8' stroke='%23999' stroke-width='1.5' stroke-dasharray='4 4' stroke-linecap='round'/><path d='M24 3 L32 8 L24 13' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>")
        center/contain no-repeat;
}
.supply-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.supply-stat {
    background: var(--color-white);
    border-radius: 20px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.supply-stat strong {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    line-height: 1.2;
    color: var(--color-black);
    letter-spacing: -0.02em;
}
.supply-stat span {
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1.35;
    color: rgba(0, 0, 0, 0.7);
}

@media (min-width: 1024px) {
    .it-platform {
        padding: 80px 0;
    }
    .it-platform__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .it-card {
        padding: 32px;
        min-height: 624px;
        gap: 24px;
    }
    .dashboard__kpis {
        gap: 12px;
    }
    .kpi {
        padding: 12px 16px;
    }
    .kpi__value {
        font-size: 18px;
        line-height: 24px;
    }
    .supply-flow {
        gap: 8px;
    }
    .supply-line {
        flex: 0 0 40px;
        height: 16px;
    }
    .supply-node strong {
        line-height: 18px;
    }
    .supply-node span {
        line-height: 14px;
    }
    .supply-stats {
        gap: 12px;
    }
    .supply-stat {
        padding: 20px;
    }
    .supply-stat strong {
        font-size: 24px;
        line-height: 32px;
    }
    .supply-stat span {
        font-size: 12px;
        line-height: 16px;
    }
}

/* ============================================================
   CONTACT PAGE — /contact.html
   ============================================================ */
.page-contact {
    background: var(--color-white);
}

/* ---------- Contact hero ---------- */
.contact-hero {
    position: relative;
    background: var(--color-red-900);
    color: var(--color-white);
    overflow: hidden;
    padding: 120px 0 140px;
    margin-top: -88px;
}
.contact-hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            1200px 600px at 80% 0%,
            rgba(255, 195, 38, 0.12),
            transparent 60%
        ),
        radial-gradient(
            800px 500px at 0% 100%,
            rgba(255, 51, 0, 0.18),
            transparent 65%
        );
    pointer-events: none;
}
.contact-hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,0 Q360,80 720,40 T1440,0 L1440,80 L0,80 Z' fill='%23ffffff'/></svg>")
        bottom center/100% 100% no-repeat;
    z-index: 2;
    pointer-events: none;
}
.contact-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}
.contact-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--color-white-30);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-white);
    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}
.contact-hero__back:hover {
    background: var(--color-white-08);
    border-color: var(--color-white-60);
}
.contact-hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-h1);
    line-height: 1.1;
    color: var(--color-white);
    max-width: 720px;
}
.contact-hero__title-accent {
    color: var(--color-yellow);
}
.contact-hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.4;
    color: var(--color-white-70);
    max-width: 580px;
}
.contact-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin-top: 8px;
}
.contact-hero__meta li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-white-70);
}
.contact-hero__meta strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-yellow);
}
@media (min-width: 1024px) {
    .contact-hero {
        padding: 180px 0 200px;
        margin-top: -104px;
    }
    .contact-hero__meta {
        gap: 24px 56px;
    }
    .contact-hero__meta strong {
        font-size: 26px;
    }
}

/* ---------- Contact form section ---------- */
.contact {
    position: relative;
    background: var(--color-white);
    padding: 32px 0 80px;
}
@media (min-width: 1024px) {
    .contact {
        padding: 56px 0 96px;
    }
}
.contact > .container {
    position: relative;
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
    position: relative;
    z-index: 3;
}
@media (min-width: 1024px) {
    .contact__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 32px;
        margin-top: 64px;
    }
}

/* Info side card */
.contact-info-card {
    background: linear-gradient(
        160deg,
        var(--color-red-900) 0%,
        var(--color-red-800) 100%
    );
    color: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 28px;
    box-shadow: var(--shadow-card-lg);
    position: relative;
    overflow: hidden;
}
.contact-info-card::after {
    content: "";
    position: absolute;
    inset: -40% -40% auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(
        closest-side,
        rgba(255, 195, 38, 0.18),
        transparent 70%
    );
    pointer-events: none;
}
.contact-info-card__title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 12px;
}
.contact-info-card__text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-white-70);
    margin-bottom: 24px;
}
.contact-info-card__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-info-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-info-card__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 195, 38, 0.16);
    color: var(--color-yellow);
}
.contact-info-card__label {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-white-60);
    margin-bottom: 2px;
}
.contact-info-card__value {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-white);
}
a.contact-info-card__value:hover {
    color: var(--color-yellow);
}
.contact-info-card__divider {
    height: 1px;
    background: var(--color-white-20);
    margin: 24px 0 16px;
}
.contact-info-card__hint {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-white-60);
}
@media (min-width: 1024px) {
    .contact-info-card {
        padding: 36px;
        position: sticky;
        top: 100px;
    }
}

/* Form card */
.contact-form {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 28px;
    box-shadow: var(--shadow-card-lg);
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-form__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-form__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.2;
    color: var(--color-black);
}
.contact-form__subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-gray-600);
}
.req {
    color: var(--color-red-600);
}

@media (min-width: 1024px) {
    .contact-form {
        padding: 40px;
        gap: 28px;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px 20px;
    }
    .field--full {
        grid-column: 1 / -1;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.field__label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.3;
    color: var(--color-gray-600);
}
.field__input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-black);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}
.field__input::placeholder {
    color: var(--color-text-grey);
}
.field__input:hover {
    border-color: var(--color-gray-400);
}
.field__input:focus {
    outline: none;
    border-color: var(--color-red-600);
    box-shadow: 0 0 0 4px rgba(255, 51, 0, 0.12);
}
.field__input:disabled {
    background: var(--color-gray-100);
    color: var(--color-gray-400);
    cursor: not-allowed;
    border-color: var(--color-gray-200);
}
.field__textarea {
    height: auto;
    min-height: 120px;
    padding: 14px 16px;
    resize: vertical;
    line-height: 1.4;
}
.field__select-wrap {
    position: relative;
    display: block;
}
.field__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px;
    cursor: pointer;
}
.field__select:disabled {
    cursor: not-allowed;
}
.field__chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-600);
    pointer-events: none;
}

/* Consent checkbox */
.field-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}
.field-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.field-check__box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--color-gray-200);
    border-radius: 6px;
    background: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    pointer-events: none;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}
.field-check__box svg {
    pointer-events: none;
}
.field-check input[type="checkbox"]:checked + .field-check__box {
    background: var(--color-red-600);
    border-color: var(--color-red-600);
    color: var(--color-white);
}
.field-check input[type="checkbox"]:focus-visible + .field-check__box {
    box-shadow: 0 0 0 4px rgba(255, 51, 0, 0.18);
}
.field-check__text {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-600);
}
.field-check__text a {
    color: var(--color-red-600);
    text-decoration: underline;
}
.field-check__text a:hover {
    color: var(--color-red-900);
}

/* Form footer */
.contact-form__foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.contact-form__submit {
    align-self: stretch;
    width: 100%;
}
.contact-form__hint {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-gray-400);
    text-align: center;
}
@media (min-width: 640px) {
    .contact-form__foot {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }
    .contact-form__submit {
        align-self: auto;
        width: auto;
    }
    .contact-form__hint {
        text-align: left;
    }
}

.form-status {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-green);
    min-height: 20px;
}
.form-status.is-success {
    color: var(--color-green);
}

/* ---------- Next steps ---------- */
.next-steps {
    padding: 64px 0 96px;
    background: var(--color-white);
}
.next-steps__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.2;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 32px;
}
.next-steps__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .next-steps__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
.next-step {
    background: var(--color-gray-100);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.next-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.next-step__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    color: var(--color-red-600);
    letter-spacing: -0.02em;
}
.next-step__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: var(--color-black);
}
.next-step__text {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-600);
}

/* On the contact page, the header sits over a colored hero — keep it
   transparent until scrolled, like the homepage. */
.page-contact .site-header {
    background: transparent;
}

/* ============================================================
   MOBILE SEAM FIXES (≤ 1023px)
   Sub-pixel rounding on small screens can reveal a 1px white
   gap between adjacent red sections or at the edge of an SVG
   wave divider. These overrides force a 2px overlap so the
   neighbouring fill colour always wins.
   ============================================================ */
@media (max-width: 1023px) {
    .hero::after,
    .features::after,
    .formats::after {
        bottom: -2px;
    }
    .formats::before,
    .cta::before {
        top: -2px;
    }
    .why,
    .features {
        margin-top: -1px;
    }
}
