@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================
   2. MODERN CSS RESET (Box-sizing & Margins)
   ================================          */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================
   3. GLOBAL BASE STYLES
   ================================          */
html {
    /* Smooth scrolling behavior for anchor links */
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Onest', sans-serif !important;
    background-color: #000000;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Layout foundation */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section {
    padding-left: 64px;
    padding-right: 64px;
}

/* ==========================================
   4. UTILITY HELPERS
   ================================          */
/* Responsive container to keep content centered and padded */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    /* 24px */
    padding-right: 2rem;
    /* 24px */
}

/* Ensure images and media scale nicely inside containers */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Remove default list styles */
ul,
ol {
    list-style: none;
}

/* Inherit fonts for interactive form elements */
input,
button,
textarea,
select {
    font: inherit;
}

/* GSAP STYLES */
/* Hide elements targeted for slide animations before JS runs */
/* Pre-hide for entrance animations only when they will actually run (main.js adds .no-anim otherwise) */
html.js:not(.no-anim) [data-gsap="slide-left"],
html.js:not(.no-anim) [data-gsap="slide-right"],
html.js:not(.no-anim) [data-gsap="slide-left-stagger"]>*,
html.js:not(.no-anim) [data-gsap="slide-right-stagger"]>* {
    visibility: hidden;
}

html.js:not(.no-anim) .hero-title,
html.js:not(.no-anim) .hero-subtitle,
html.js:not(.no-anim) .site-header.absolute-header,
html.js:not(.no-anim) .step-card {
    opacity: 0;
}

.app-icon {
    display: inline-block;
    /* REQUIRED: allows <span> to take width/height */
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    background-color: currentColor;

    /* CSS Masking */
    mask-image: var(--icon-url);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: var(--icon-url);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Color Classes */
.app-icon--red {
    background-color: rgba(216, 79, 109, 1);
}

.app-icon--white {
    background-color: #FFFFFF;
}

/* Preset Sizes */
.app-icon--xs {
    width: 16px;
}

.app-icon--sm {
    width: 20px;
}

.app-icon--md {
    width: 24px;
}

.app-icon--lg {
    width: 32px;
}

.app-icon--xl {
    width: 48px;
}

/* ==========================================
   STICKY RECTANGLE NAVBAR STYLES
   ========================================== */
.site-header.absolute-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background-color: transparent;
    padding-left: 76px;
    padding-right: 76px;
    margin-bottom: -120px;
    /* Seamless floating overlay */
}

.nav-container {
    margin: 16px 0;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 1;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 2rem;
}

.nav-pages {
    display: inline-flex;
    gap: 52px;
    align-items: center;
}

/* Logo Image */
.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Center Nav Links */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    text-wrap: nowrap;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Right Side Actions Group */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Dropdown Wrapper Position */
.lang-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

/* Language Selector Button */
.lang-selector-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    color: #ffffff;
}

.globe-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.chevron-icon {
    opacity: 0.7;
    transition: transform 0.2s ease;
}

/* Dropdown Menu Container (Hidden by default) */
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 70px;

    /* Background & glass effect matching your screenshot */
    background: rgba(22, 22, 24, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 12px 16px;

    /* Flexbox layout for vertical items */
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;

    /* Closed state is fully hidden, not just transparent (was leaving an empty box) */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scaleY(0.92);
    transform-origin: top center;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s;
}

.lang-dropdown-wrapper.is-open .lang-dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

.lang-dropdown-wrapper.is-open .chevron-icon {
    transform: rotate(180deg);
}

/* Show class triggered by JS */
/* .lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
} */

/* "valodas" heading inside dropdown */
.lang-heading {
    font-family: 'Onest', sans-serif;
    font-size: 11px;
    color: #777777;
    text-transform: lowercase;
    padding: 0 16px 6px 16px;
    letter-spacing: 0.05em;
}

/* Language Options */
.lang-option {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    transition: background-color 0.15s ease, color 0.15s ease;
    text-align: center;
}

.lang-option {
    color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

.lang-option:hover,
.lang-option:focus-visible,
.lang-option.active {
    color: #ffffff;
}

/* "Mans CarPoint" Secondary Button */
.btn-secondary-nav {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 15px;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.btn-secondary-nav:hover {
    background-color: #333333;
}

/* "Pieslēgt" Primary White Button */
.btn-primary-nav {
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 15px;
    background-color: #ffffff;
    color: #000000;
    padding: 10px 24px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-primary-nav:hover {
    background-color: #cccccc;
}

/* Language Selector Button */
.lang-selector-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    color: #ffffff;
}

.globe-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.chevron-icon {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

/* ==========================================
   HERO SECTION (NO PHONE MOCKUP)
   ========================================== */
.hero-section {
    position: relative;
    background-color: #000000;
    padding-top: calc(82px + 6rem);
    padding-bottom: 10rem;
    overflow: hidden;
}

/* Background image overlay styling */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/herobg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg-integrated {
    position: absolute;
    inset: 0;
    background-image: url('assets/hero_bg_integrated.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

/* Main Container */
.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* Text Content Wrapper */
.hero-content {
    max-width: 720px;
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: 0%;

}

.hero-subtitle {
    margin-top: 16px;
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
}

/* ==========================================
   GLOBAL BUTTON SYSTEM
   ========================================== */

.hero-buttons {
    margin-top: 56px;
    display: flex;
    gap: 16px;
}

/* Base Button Properties (Shared by all buttons) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 0;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 12px;
    padding-right: 24px;
    padding-bottom: 12px;
    padding-left: 24px;
    gap: 8px;
    opacity: 1;
    border-radius: 16px;
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: 0%;
    text-decoration: none;

}

/* Variant 1: Primary White Button */
.btn-white {
    background-color: #ffffff;
    color: #000000;
}

.btn-white:hover {
    background-color: #cccccc;
}

/* Variant 2: Dark / Secondary Button */
.btn-dark {
    background-color: #1a1a1a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-dark:hover {
    background-color: #333333;
}

/* Variant 3: Outline / Bordered Button */
.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   FEATURES SECTION STYLES
   ========================================== */
.features-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    width: 100%;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}

/* Header Text Styles */
.features-header {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;

}

.features-subtitle {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

/* Horizontal Scroll / Grid Layout for Feature Cards */
/* Infinite marquee: .features-marquee clips, .features-grid (cards x2) is moved by main.js.
   The strip bleeds to the screen edges (negative margins = section gutter). */
.features-marquee {
    overflow: hidden;
    margin-left: calc(-1 * var(--gutter, 64px));
    margin-right: calc(-1 * var(--gutter, 64px));
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.features-marquee.is-dragging {
    cursor: grabbing;
}

.features-marquee.is-dragging .feature-card {
    pointer-events: none;
}

.features-grid {
    display: flex;
    padding: 10px 0;
    gap: 1rem;
    width: max-content;
    will-change: transform;
}

.features-grid > .feature-card {
    flex-shrink: 0;
}

.features-grid > .feature-card:first-child {
    margin-left: var(--gutter, 64px);
}

/* No JS: a normal horizontal scroller without the copies */
html:not(.js) .features-marquee {
    overflow-x: auto;
}

html:not(.js) .features-grid > [data-clone] {
    display: none;
}

/* Individual Feature Card */
a.feature-card,
a.pfg-card {
    color: inherit;
    text-decoration: none;
}

.feature-card {
    width: 304px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding-top: 20px;
    padding-right: 24px;
    padding-bottom: 32px;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 1;
    border-radius: 32px;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-bg-blue-light {
    background-color: rgba(227, 228, 223, 1) !important;
}

/* Explicit Card Background Colors */
.feature-bg-light-pink {
    background-color: rgba(231, 212, 233, 1) !important;
}

.feature-bg-pink {
    background-color: #e8d7d9 !important;
}

.feature-bg-red-light {
    background-color: #f0dede !important;
}

.feature-bg-blue-light {
    background-color: #e2e8f0 !important;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.05);
}

/* Icon Box */
.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 16px;
}

/* Card Content Typography */
.feature-card-title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    color: rgba(37, 34, 34, 1);
}

.feature-card-text {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(37, 34, 34, 1);
}

/* ==========================================
   NOTIFICATIONS SECTION STYLES
   ========================================== */
.notifications-section {
    width: 100%;
    overflow: hidden;
    padding-top: 144px;
}

/* Outer wrapper provides horizontal boundary margins */
.notifications-container {
    position: relative;
    border-radius: 32px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 4rem;
}

.notifications-decorative-shadow {
    position: absolute;
    z-index: 0; /* behind the phones and the text, never over the screenshots */
    width: 100%;
    height: 338px;
    background-color: rgba(255, 255, 255, 0.1);
    gap: 80px;
    opacity: 1;
    border-radius: 32px;

}

/* Left Column: Overlapping Phones */
.notifications-phones-col {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notifications-container.is-reversed {
    flex-direction: row-reverse;
}

/* Viena telefona režīma pielāgošana */
.notifications-phones-col.has-single-phone {
    display: flex;
    justify-content: center;
}

.notifications-phones-col.has-single-phone .phone-mockup-front {
    transform: none;
    margin: 0 auto;
}

/* Back Phone Mockup */
.phone-mockup-back {
    position: absolute;
    left: 10px;
    top: -90px;
    /* Pushes the phone out of the top container edge */
    width: 230px;
    height: 460px;
    background-color: #1a1a1a;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    z-index: 1;
}

/* Front Phone Mockup */
.phone-mockup-front {
    position: absolute;
    left: 110px;
    top: -120px;
    height: 500px;
    background-color: #121212;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85);
    z-index: 2;
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Column: Text Copy */
.notifications-text-col {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.notifications-title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;

}

.notifications-description {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
}

/* ==========================================
   CONNECTION TYPES SECTION STYLES
   ========================================== */
.connection-types-section {
    background-color: #000000;
    padding: 6rem 64px;
    width: 100%;
}

.connection-container {
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Header text style */
.connection-header {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.connection-title {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
    text-wrap: nowrap;
}

.connection-subtitle {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
}

/* Grid layout for the two cards */
.connection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* General Card Layout */
.connection-card {
    opacity: 1;
    padding-top: 80px;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    overflow: hidden;
    position: relative;
}

/* Card 1 Variant: Light background */
.connection-card.light-card {
    background-color: #FFFDFF;
    color: #000000;
}

.connection-card.light-card .card-title,
.connection-card.light-card .card-price {
    color: #000000;
}

.connection-card.light-card .card-text {
    color: #4b5563;
}

/* Card 2 Variant: Dark background with image overlay */
.connection-card.dark-card {
    background-color: #111111;
    color: #ffffff;
}

.connection-card.dark-card .card-title,
.connection-card.dark-card .card-price {
    color: #ffffff;
}

.connection-card.dark-card .card-text {
    color: #9ca3af;
}

/* Image Placeholder Box */
.connection-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;

}

.connection-card.dark-card .connection-img-placeholder {
    position: absolute;
    inset: 0;
    height: 100%;
    margin-bottom: 0;
    border-radius: 0;
    opacity: 0.45;
}

.card-img {
    position: absolute;
    top: 0;
    /* height: 100%; */
    object-fit: contain;
}

/* Ensure the card acts as a relative bounding box */
.connection-card.dark-card {
    position: relative;
    background-color: #111111;
    color: #ffffff;
    border-radius: 32px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Pushes content to the bottom */
    min-height: 480px;
    overflow: hidden;
    /* Clips the background image inside the rounded corners */
}

/* Position the image wrapper to cover 100% of the card */
.card-bg-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Force the image to cover the entire container */
.card-bg-img {
    object-fit: contain;
    object-position: center;
    opacity: 1;
}

/* Ensure text and content sit above the background image */
.connection-card.dark-card .connection-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Optional gradient fade behind text for extra readability */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 20%, transparent 100%);
    margin: -15.5rem;
    padding: 4rem 2.5rem 2.5rem 2.5rem;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

/* Content & Footer typography inside card */
.connection-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 230px;
}

/* OBD card (tablet/desktop): the plug image is part of the layout, so the title always starts
   right below it at any card width (a fixed gap left an empty band on laptop screens). */
@media (min-width: 768px) {
    .connection-card.light-card {
        padding-top: 0;
        min-height: 0;
        justify-content: flex-start;
    }
    .connection-card.light-card .connection-img-placeholder {
        margin: 0 -32px 8px;
    }
    .connection-card.light-card .card-img {
        position: static;
        display: block;
        width: 100%;
        max-width: none;
    }
    .connection-card.light-card .connection-card-content {
        margin-top: 0;
    }
}

.connection-card.dark-card .connection-card-content {
    margin-top: auto;
    /* Pushes text down when background image covers full card */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 40%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
    padding-top: 5rem;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    margin-bottom: -2.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

.card-title {
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
    text-wrap-mode: nowrap;
}

.card-text {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

/* Footer layout inside card for price and button */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.card-price {
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
}

.card-price small {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;

}


/* ==========================================
   STEPS SECTION STYLES
   ========================================== */
/* ==========================================
   STEPS SECTION STYLES (4 Columns in One Line)
   ========================================== */
.steps-section {
    background-color: #000000;
    padding: 7rem 0;
    width: 100%;
}

.steps-container {
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    flex-direction: row;
    gap: 32px;
}

/* Header typography */
.steps-header {
    width: 360px;
}

.step-badge {
    font-family: Onest;
    font-weight: 700;
    font-size: 32px;
    color: #000000;
    padding-top: 6px;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    gap: 10px;
    opacity: 1;
    line-height: 100%;
    letter-spacing: 0%;
    background-color: rgba(255, 204, 0, 1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 32px 0px rgba(242, 198, 4, 1);
    position: absolute;
    left: 12px;
    top: 12px;
}

.steps-title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;

}

/* Steps Grid Layout - Forced to 4 equal columns on desktop */
.steps-grid {
    display: inline-grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Individual Step Card Style */
.step-card {
    background-color: #121212;
    border-radius: 28px;
    padding-top: 102px;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
    flex: 1 1 0;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}


/* Step Content Layout */
.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-card-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
}

.step-card-text {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

/* ==========================================
   CTA BANNER SECTION STYLES
   ========================================== */
.cta-banner-section {
    padding: 0;
    background-color: #000000;
    width: 100%;
}

.cta-banner-container {
    padding: 64px;
    background-color: #d15875;
    /* Vibrant pink background color matching the design */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
}

/* Banner Content */
.cta-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
}

.cta-banner-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
}

.cta-banner-text {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

/* Action Buttons Group */
.cta-banner-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.consultation-section {
    background-color: #000000;
    padding: 6rem 0;
    width: 100%;
}

.consultation-container {
    margin: 0 auto;
    padding: 4rem 3rem;
    /* background: rgba(255, 255, 255, 0.1); */
    background: rgb(26, 26, 26);
    border-radius: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 4rem;
    gap: 3rem;
    align-items: stretch;
    margin-left: 64px;
    margin-right: 64px;
}

/* Rekvizīti (atbalsts.php): same card as the consultation block, one column */
.consultation-section.company-section {
    padding-top: 0;
}

.consultation-container.company-container {
    flex-direction: column;
    gap: 1.5rem;
}

.company-lines p {
    margin: 0;
}

/* Left Column: Info & Direct Contacts */
.consultation-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 540px;
}

.consultation-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.consultation-text {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.consultation-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
}

.contact-label {
    font-family: Onest;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.contact-value {
    font-family: Onest;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: white;
    text-decoration: none;
}

.contact-value:hover {
    opacity: 0.8;
}

/* ==========================================
   PRECISE VERTICAL DIVIDER STYLES
   ========================================== */
.consultation-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
}

/* On Desktop: Vertical layout setup */
@media (min-width: 1024px) {
    .consultation-divider {
        width: 40px;
        /* fixed column track for the divider */
        height: 240px;
        margin: 0;
    }
}

/* The vertical rule line */
.divider-line {
    position: absolute;
    background-color: rgba(255, 255, 255, 1);
}

/* Mobile: Horizontal line */
@media (max-width: 1023px) {
    .divider-line {
        width: 100%;
        height: 1px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Desktop: Vertical line stretching through the center */
@media (min-width: 1024px) {
    .divider-line {
        width: 1px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
}

/* The "VAI" text badge */
.divider-text {
    background-color: rgb(26, 26, 26);
    padding: 0.75rem 0.5rem;
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 1);
    letter-spacing: 0.08em;
    z-index: 2;
    position: relative;
    text-align: center;
}

/* Right Column: Form */
.consultation-form-col {
    flex: 1;
    max-width: 480px;
}

.consultation-form-col button.btn.btn-white {
    min-width: 112px;
    align-self: flex-start;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: Onest;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.form-input {
    background-color: rgba(48, 48, 48, 1);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #ffffff;
    outline: none;
    border: 0;
    transition: border-color 0.2s ease;
}

.form-input::placeholder {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

    color: #9a9b9d;
}

.form-input:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.form-input[aria-invalid="true"] {
    box-shadow: 0 0 0 2px #f87171;
}

.consultation-form .btn-light-solid {
    background-color: #e5dde0;
    color: #000000;
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: 0.5ul;
}

.consultation-form .btn-light-solid:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================
   SUPPORT / FAQ SECTION STYLES
   ========================================== */
.support-section {
    background-color: #000000;
    padding: 80px 64px;
    padding-top: 172px;
    width: 100%;
}

.support-container {
    display: flex;
    flex-direction: column;
}

.support-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 750px;
    margin-bottom: 48px;
}

.support-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: 0%;

}

.support-text {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

.support-search-wrapper {
    width: 100%;
    max-width: 680px;
    margin-bottom: 48px;
}

.support-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(48, 48, 48, 1);
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.support-search-box:focus-within {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.support-search-input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #ffffff;
}

.support-search-input::placeholder {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.support-search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #d15875;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.support-search-btn:hover {
    opacity: 0.8;
}

/* Filter Tags Track */
.support-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.support-filter-btn {
    color: #ffffff;
    border: 0;
    cursor: pointer;
    padding-top: 8px;
    padding-right: 16px;
    padding-bottom: 8px;
    padding-left: 16px;
    gap: 10px;
    opacity: 1;
    border-radius: 8px;
    background: rgba(25, 25, 25, 1);
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.support-filter-btn:hover {
    background-color: #1a1a1a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.support-filter-btn.active {
    background: rgba(216, 79, 109, 1);
    color: #ffffff;
}

.support-results-info {
    margin-top: 16px;
    margin-bottom: 16px;
    font-family: Onest;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(121, 122, 124, 1);
}

.functions-features-section {
    position: relative;
    background-color: #000000;
    padding: 6rem 0;
    width: 100%;
    box-sizing: border-box;
}

.functions-features-container {
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    flex-direction: column;
    gap: 88px;
}

.functions-features-header {
    width: 100%;
}

.functions-features-title {
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
}

.functions-features-grid {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 420px) 1fr;
    gap: 132px;
    align-items: start;
    width: 100%;
}

.functions-features-info-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.functions-features-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.functions-features-info-content.fade-out {
    opacity: 0;
    transform: translateY(6px);
}

.functions-features-active-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;

}

.functions-features-active-desc {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
}

.functions-features-phone-col {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding-top: 48px;
}

.func-phone-wrapper {
    width: 100%;
    max-width: 320px;
    flex-shrink: 0;
}

.func-phone-frame {
    width: 100%;
    aspect-ratio: 9 / 18.5;
    background-color: #121212;
    border: 6px solid #252525;
    border-radius: 38px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    position: relative;
}

.func-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.func-phone-img.fade-out {
    opacity: 0;
    transform: scale(0.97);
}

/* Nav Arrows */
.func-nav-arrow {
    width: 48px;
    height: 48px;
    background-color: rgba(25, 25, 25, 1);
    color: #ffffff;
    border: 0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.func-nav-arrow:hover {
    background-color: #262626;
    transform: scale(1.05);
}

.functions-features-list-col {
    min-height: 480px;
}

.functions-features-list-col::-webkit-scrollbar {
    width: 4px;
}

.functions-features-list-col::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.func-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.func-menu-item {
    display: flex;
    gap: 16px;
    border-radius: 12px;
    justify-content: space-between;
    cursor: pointer;
    color: #888888;
    transition: all 0.2s ease;
}

.func-menu-item .func-menu-icon svg {
    fill: currentColor;
    stroke: currentColor;
    transition: fill 0.25s ease, stroke 0.25s ease;
}

.func-menu-item:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.func-menu-item:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.03);
}

.func-menu-item.active {
    color: #d15875;
    background-color: rgba(209, 88, 117, 0.08);
}

.func-menu-item-inline {
    display: inline-flex;
    gap: 16px;
}

.func-menu-item.active {
    color: #e54d60;
}

.func-menu-item.active .func-menu-icon svg {
    fill: #e54d60;
    stroke: #e54d60;
}

.func-menu-item .app-icon {
    background-color: currentColor !important;
    transition: background-color 0.25s ease;
}

.func-menu-item .func-menu-label {
    color: #ffffff;
    transition: color 0.25s ease;
}

.func-menu-item.active {
    color: #e54d60;
    /* CarPoint Red */
}

.func-menu-item.active .func-menu-label {
    color: #e54d60;
}

.func-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: auto;
    margin-bottom: auto;
    flex-shrink: 0;
}

.func-menu-icon img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.func-menu-label {
    font-family: Onest;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
}

.func-badge-obd {
    font-family: Onest;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    padding: 2px 8px;
    background: rgba(25, 25, 25, 1);
    letter-spacing: 0%;
}

.simple-text-section {
    padding: 4rem 0;
    transition: background-color 0.3s ease;
}

.simple-text-section.is-dark {
    background-color: #000000;
    color: #ffffff;
}

.simple-text-section.is-light {
    background-color: #ffffff;
    color: #111111;
}

.simple-text-container {
    padding-left: 64px;
    padding-right: 64px;
    text-align: left;
}

.simple-text-container.is-centered {
    text-align: center;
}

.simple-text-container.is-centered .simple-text-description {
    margin-left: auto;
    margin-right: auto;
}

.simple-text-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
    margin-bottom: 16px;
}

.simple-text-description {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

.simple-text-section.is-dark .simple-text-description {
    color: rgba(255, 255, 255, 0.85);
}

.simple-text-section.is-light .simple-text-description {
    color: rgba(0, 0, 0, 0.75);
}

/* ==========================================================================
   Product Feature Grid (PFG) - Unique Non-Responsive Stylesheet
   ========================================================================== */

/* Outer Section */
.pfg-section {
    box-sizing: border-box;
}

/* Fixed Outer Container */
.pfg-wrapper {
    margin: 0 auto;
}

/* Grid Layout */
.pfg-container {
    display: grid;
    gap: 1.5rem;
}

/* Column Configuration Modifiers */
.pfg-container.pfg-cols-3 {
    grid-template-columns: repeat(3, 32%);
}

.pfg-container.pfg-cols-2 {
    grid-template-columns: repeat(2, 588px);
}

.pfg-container.pfg-cols-4 {
    grid-template-columns: repeat(4, 282px);
}

/* Card Container */
.pfg-card {
    background-color: #161618;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    cursor: pointer;
}

/* Icon Elements */
.pfg-icon-box {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfg-icon-img {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: contain;
}

/* Typography */
.pfg-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;

}

.pfg-description {
    padding-top: 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

/* ==========================================================================
   Comparison Stack Layered Cards (Absolute Positioning & Blur)
   ========================================================================== */

.comparison-stack-wrapper:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -2px;
    border-radius: 32px;
}

.comparison-stack-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 880px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    user-select: none;
}

/* Kopsavilkuma konteiners ar relatīvo pozicionēšanu */
.comparison-stack-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-left: 64px;
    padding-right: 64px;
    cursor: pointer;
    user-select: none;
}

/* Kopējie kartīšu stili */
.comparison-stack-card {
    width: 752px;
    background-color: rgba(25, 25, 25, 1);
    border-radius: 32px;
    padding: 48px 40px;
    grid-area: 1 / 1;
    /* Eliminates the need for position: absolute */
    will-change: transform, filter, opacity;
}

/* 1. Priekšplāna kartīte (OBD) */
.comparison-stack-card.card-foreground {
    z-index: 2;
    filter: blur(0px);
    opacity: 1;
    transform: translate(0px, 0px) scale(1);
}

/* 2. Fona kartīte (Integrated - Aizmugurē un aizmiglota) */
.comparison-stack-card.card-background {
    z-index: 1;
    filter: blur(6px);
    opacity: 0.6;
    transform: translate(0px, 12px) scale(0.95);
}

/* Kartītes virsraksts (OBD spraudnis / Integrētais) */
.comparison-stack-title {
    font-family: Onest, sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 12px;
    color: #fff;
}

/* Saraksta un rindas elementi */
.comparison-stack-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comparison-stack-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-stack-row:last-child {
    border-bottom: none;
}

/* Teksta un ikonu stili */
.comparison-stack-label {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

.comparison-stack-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.comparison-stack-check {
    width: 32px;
    height: 32px;
    display: block;
}

.comparison-stack-text {
    color: #a1a1aa;
    font-size: 0.95rem;
}

.comparison-stack-dash {
    color: #8a8a93;
    font-size: 1rem;
}

/* ==========================================================================
   CarPoint Flow Process (Isolated Styles - No Collisions)
   ========================================================================== */

.cp-flow-section {
    padding: 5rem 64px;
    box-sizing: border-box;
}

.cp-flow-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

/* Header Column */
.cp-flow-header {
    flex: 0 0 420px;
}

.cp-flow-title {
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
}

.cp-flow-subtitle {
    padding-top: 12px;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
}

/* Steps Column */
.cp-flow-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Individual Pill Row */
.cp-flow-item {
    background-color: #161618;
    border-radius: 50px;
    padding: 0.85rem 1.75rem 0.85rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-sizing: border-box;
}

/* Yellow Glowing Badge */
.cp-flow-badge {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #eab308;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.55),
        0 0 40px rgba(234, 179, 8, 0.25);
}

/* Step Text */
.cp-flow-content {
    flex: 1;
}

.cp-flow-text {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* FAQ Container & Layout */
.faq-section {
    background-color: #000000;
    color: #ffffff;
}

/* Product pages (was the Tailwind class py-[36px], but Tailwind isn't loaded) */
.faq-section--page {
    padding-top: 36px;
    padding-bottom: 36px;
}

.faq-all-link {
    color: #ffffff;
    text-decoration: none;
}

/* .faq-container {
    margin: 0 auto;
    padding: 0 64px;
} */

/* Header */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.faq-title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

.faq-all-link {
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    display: inline-flex;
    gap: 16px;
}

.faq-all-link:hover {
    opacity: 1;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 10px 0;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;

    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question-text {
    line-height: 1.4;
}

/* Icon */
.faq-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-cross-icon {
    display: block;
}

/* Hidden Answer Container */
.faq-answer {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    /* Stops FOUC before JS initializes */
}

.faq-answer-inner {
    padding-bottom: 28px;
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-answer-inner p {
    margin: 0;
}

/* Force hidden items to remove from layout, overriding any flex/grid styles */
.faq-item.is-hidden {
    display: none !important;
}

#faqEmptyState.is-hidden {
    display: none !important;
}

.site-footer {
    color: #ffffff;
    padding: 4rem 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}

.footer-logo .logo-sub {
    font-size: 0.65rem;
    color: #888888;
    letter-spacing: 0.15em;
    margin-top: 2px;
}

/* App Badges (App Store / Google Play) */
.app-badges {
    display: flex;
    gap: 0.75rem;
}

.app-badges img {
    height: 36px;
    width: auto;
    display: block;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    color: #ffffff;
}

.social-icons a {
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

.copyright {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
}

/* Footer Link Columns */
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

/* Footer Column Headings */
.footer-col .footer-title {
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: #ffffff;
    margin-bottom: 16px;
}

/* Links List Container */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-link {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: white;
    text-decoration: none;
}

.footer-link:hover {
    opacity: 0.7;
}

/* Contact Info Column Text */
.footer-col .address,
.footer-col .phone,
.footer-col .email {
    color: #aaaaaa;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Brand Column Stack Alignment */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Aligns everything strictly to the left */
    gap: 1.5rem;
    /* Consistent vertical spacing between elements */
}

/* Logo Dimensions */
.footer-logo-img {
    height: 44px;
    /* Matches the vertical scale of your design box */
    width: auto;
    display: block;
    object-fit: contain;
}

/* App Store / Google Play Side-by-Side Wrapper */
.app-badges {
    display: flex;
    gap: 0.75rem;
    /* Space between the Apple and Google badges */
    align-items: center;
}

.app-badges img {
    height: 40px;
    /* Standard badge size */
    width: auto;
    display: block;
    object-fit: contain;
}

/* Social Media Icons Row */
.social-icons {
    display: flex;
    gap: 1.25rem;
    /* Space between the social icons */
    align-items: center;
}

.social-icons a img {
    width: 24px;
    /* Clean icon size */
    height: 24px;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.social-icons a:hover img {
    opacity: 0.7;
}

/* Responsive collapse for tablets and mobile */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 550px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
/* ==========================================================================
   Order Start Form (src/Views/components/order-start-form.php)
   Step 1 of the order flow, "Tavs Carpoint". Prefix .cp-order.
   ========================================================================== */

.cp-order-section {
    /* the floating header overlaps the page top by ~120px */
    padding-top: calc(120px + 4rem);
    padding-bottom: 6rem;
}

.cp-order {
    --cp-card: #191919;
    --cp-field: #303030;
    --cp-red: #dc2626;
    --cp-cta: #ECEBE6;
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 48px 32px;
    background: var(--cp-card);
    border-radius: 32px;
    color: #ffffff;
}

.cp-order .cp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 56px;
    font-size: 14px;
    font-weight: 600;
}

.cp-order .cp-crumbs li[aria-current] {
    color: var(--cp-red);
}

.cp-order .cp-crumbs .cp-arrow {
    font-weight: 400;
    opacity: .8;
}

.cp-order .cp-order-title {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #ffffff;
}

.cp-order .cp-login {
    text-align: right;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 32px;
}

.cp-order .cp-login a {
    color: #ffffff;
    text-underline-offset: 3px;
}

.cp-order .cp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.cp-order .cp-full {
    grid-column: 1 / -1;
}

.cp-order label {
    display: block;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 8px;
    color: #ffffff;
}

.cp-order input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: var(--cp-field);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.cp-order input::placeholder {
    color: #9a9b9d;
}

.cp-order input:focus {
    border-color: rgba(255, 255, 255, .5);
}

.cp-order input[aria-invalid="true"] {
    border-color: var(--cp-red);
}

.cp-order .cp-field-error {
    min-height: 18px;
    margin-top: 6px;
    font-size: 12px;
    color: #f87171;
}

.cp-order .cp-error {
    margin-top: 24px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(248, 113, 113, 0.14);
    color: #fecaca;
    font-size: 14px;
}

.cp-order .cp-error[hidden] {
    display: none;
}

.cp-order .cp-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.cp-order .cp-submit {
    height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: var(--cp-cta);
    color: #191919;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cp-order .cp-submit:hover {
    background: #ffffff;
}

.cp-order .cp-submit:disabled {
    opacity: .5;
    cursor: default;
}

@media (max-width: 720px) {
    .cp-order-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cp-order {
        padding: 28px 20px 24px;
        border-radius: 24px;
    }

    .cp-order .cp-crumbs {
        margin-bottom: 32px;
    }

    .cp-order .cp-order-title {
        font-size: 32px;
    }

    .cp-order .cp-login {
        text-align: left;
    }

    .cp-order .cp-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SHARED FIXES & HELPERS (added with the i18n / responsive rework)
   ========================================================================== */

:root {
    /* Horizontal page gutter. Desktop keeps the design's 64px; tablet/mobile override below. */
    --gutter: 64px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

[hidden] {
    display: none !important;
}

/* Keyboard focus — everything interactive gets a visible ring */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* --- Hero: product price + actions (was Tailwind pt-12 / inline-flex, which aren't loaded,
       so the price sat on top of the buttons) --- */
.hero-price {
    display: block;
    margin-top: 40px;
    line-height: 1.2;
}

.hero-buttons--product {
    margin-top: 24px;
}

.hero-buttons {
    flex-wrap: wrap;
}

/* Legibility of the hero text over the photo */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 80%);
}

/* --- Forms: validation + status messages --- */
.form-error {
    min-height: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #f87171;
}

.form-error:empty {
    display: none;
}

.form-status {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    background: rgba(48, 48, 48, 1);
}

.form-status.is-success {
    background: rgba(30, 158, 86, 0.18);
    color: #b8f0cf;
}

.form-status.is-error {
    background: rgba(248, 113, 113, 0.14);
    color: #fecaca;
}

.btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Honeypot field — off-screen for people, still in the DOM for bots */
.form-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cp-order .cp-error a {
    color: #ffffff;
    font-weight: 600;
    text-underline-offset: 3px;
}

/* Support page: search empty state */
.faq-empty-state {
    padding: 32px 0;
    color: #9ca3af;
}

/* Footer: "cookie settings" link */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ==========================================================================
   COOKIE BANNER (moved from index.php, classes scoped to the banner)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 550px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 24px;
    border-radius: 12px;
    z-index: 999999;
    color: #333333;
}

.cookie-banner h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
}

.cookie-banner p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #555555;
}

.cookie-banner a {
    color: #111111;
    text-decoration: underline;
}

.cookie-banner .cookie-category {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeeee;
}

.cookie-banner .category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.cookie-banner .badge {
    font-size: 0.75rem;
    background: #e8e8e8;
    padding: 2px 8px;
    border-radius: 4px;
}

.cookie-banner .banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cookie-btn {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.cookie-btn-primary {
    background-color: #000000;
    color: #ffffff;
}

.cookie-btn-secondary {
    background-color: #e0e0e0;
    color: #000000;
}

.cookie-btn-outline {
    background-color: transparent;
    border: 1px solid #cccccc;
    color: #333333;
}

.cookie-banner :focus-visible {
    outline-color: #000000;
}

/* ==========================================================================
   HEADER — mobile card menu (moved from the inline <style> in header.php).
   Collapses at 1279px: below that the five nav links + CTA + language don't fit (RU is longest).
   ========================================================================== */
.mobile-toggle-btn,
.cp-mobile-card-menu {
    display: none;
}

.nav-link[aria-current="page"] {
    opacity: 0.7;
}

@media (max-width: 1279px) {
    header.site-header .nav-links,
    header.site-header .nav-actions {
        display: none;
    }

    header.site-header .nav-container {
        position: relative;
    }

    /* Rounded hamburger / close toggle */
    header.site-header .mobile-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border: 0;
        border-radius: 10px;
        color: #ffffff;
        cursor: pointer;
        flex-shrink: 0;
    }

    header.site-header .mobile-toggle-btn:hover {
        background: rgba(255, 255, 255, 0.12);
    }

    /* Floating dark card menu */
    .cp-mobile-card-menu {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        width: min(420px, 100%);
        background: #111111;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        z-index: 100;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .cp-mobile-card-menu.is-open {
        display: block;
    }

    .cp-mobile-card-menu .mobile-links-list {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .cp-mobile-card-menu .mobile-link-item {
        display: block;
        padding: 0.5rem 0;
        color: #ffffff;
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

    .cp-mobile-card-menu .mobile-link-item:hover,
    .cp-mobile-card-menu .mobile-link-item[aria-current="page"] {
        opacity: 0.75;
    }

    .cp-mobile-card-menu .menu-divider {
        height: 1.25rem;
    }

    .cp-mobile-card-menu .mobile-cta-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.85rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        color: #ffffff;
        font-weight: 600;
        font-size: 0.95rem;
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: background 0.2s ease;
    }

    .cp-mobile-card-menu .mobile-cta-btn:hover {
        background: rgba(255, 255, 255, 0.14);
    }

    .cp-mobile-card-menu .mobile-lang-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        margin-top: 1.25rem;
        flex-wrap: wrap;
    }

    .cp-mobile-card-menu .lang-label {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.875rem;
    }

    .cp-mobile-card-menu .lang-items {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .cp-mobile-card-menu .lang-btn {
        min-width: 44px;
        padding: 0.5rem;
        border-radius: 10px;
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
        font-weight: 700;
        font-size: 0.9rem;
        text-decoration: none;
        transition: color 0.2s, background 0.2s;
    }

    .cp-mobile-card-menu .lang-btn.active,
    .cp-mobile-card-menu .lang-btn:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }
}

/* ==========================================================================
   RESPONSIVE — one set of breakpoints for the whole site
     ≤1199  nav collapses, tighter gutter (32px), 3-col grids keep going
     ≤1023  tablet: two-column layouts stack
     ≤767   phone: single column, gutter 20px
     ≤479   small phone: full-width buttons
   Only layout, spacing and type size change; colours and components stay as designed.
   ========================================================================== */

/* ---------- ≤1199 ---------- */
@media (max-width: 1199px) {
    :root {
        --gutter: 32px;
    }

    section {
        padding-left: var(--gutter);
        padding-right: var(--gutter);
    }

    .site-header.absolute-header {
        padding-left: var(--gutter);
        padding-right: var(--gutter);
        margin-bottom: -104px;
    }

    .nav-container {
        padding: 14px 16px 14px 24px;
    }

    .hero-section {
        padding-top: calc(104px + 4rem);
        padding-bottom: 7rem;
    }

    .hero-title {
        font-size: 52px;
    }

    .features-title,
    .notifications-title,
    .connection-title,
    .steps-title,
    .cta-banner-title,
    .consultation-title,
    .functions-features-title,
    .simple-text-title,
    .cp-flow-title,
    .card-title {
        font-size: 38px;
    }

    .connection-title,
    .card-title {
        text-wrap: wrap;
        text-wrap-mode: wrap;
    }

    .support-title {
        font-size: 52px;
    }

    .connection-types-section {
        padding: 5rem var(--gutter);
    }

    .connection-container {
        padding: 0;
    }

    .steps-container {
        padding: 0 var(--gutter);
        flex-wrap: wrap;
        gap: 24px;
    }

    .steps-header {
        width: 100%;
    }

    .step-card {
        flex: 1 1 0;
        min-width: 220px;
    }

    .cta-banner-container {
        padding: 56px var(--gutter);
    }

    .consultation-container {
        margin-left: var(--gutter);
        margin-right: var(--gutter);
        padding: 4rem 3rem;
    }

    .functions-features-container {
        padding: 0 var(--gutter);
    }

    .functions-features-grid {
        gap: 48px;
    }

    .simple-text-container {
        padding-left: var(--gutter);
        padding-right: var(--gutter);
    }

    .comparison-stack-container {
        padding-left: var(--gutter);
        padding-right: var(--gutter);
    }

    .cp-flow-section {
        padding: 4rem var(--gutter);
    }

    .cp-flow-header {
        flex-basis: 340px;
    }

    .support-section {
        padding: 150px var(--gutter) 64px;
    }

    .pfg-container.pfg-cols-2,
    .pfg-container.pfg-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pfg-container.pfg-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-container {
        padding: 0 var(--gutter);
    }
}

/* ---------- ≤1023 (tablet) ---------- */
@media (max-width: 1023px) {
    .hero-section {
        padding-bottom: 5rem;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-content {
        max-width: 640px;
    }

    .features-title,
    .notifications-title,
    .connection-title,
    .steps-title,
    .cta-banner-title,
    .consultation-title,
    .functions-features-title,
    .simple-text-title,
    .cp-flow-title,
    .card-title {
        font-size: 34px;
    }

    .support-title {
        font-size: 44px;
    }

    /* Notifications: phones above text; the grey band sits behind the text part */
    .notifications-section {
        padding-top: 96px;
    }

    .notifications-container,
    .notifications-container.is-reversed {
        flex-direction: column;
        align-items: stretch;
        gap: 2.5rem;
        padding: 0 24px 40px;
    }

    .notifications-phones-col {
        margin: 0 auto;
        height: 420px;
    }

    .notifications-text-col {
        max-width: none;
    }

    .notifications-decorative-shadow {
        top: 200px;
        bottom: 0;
        left: 0;
        height: auto;
        z-index: -1;
    }

    .notifications-container {
        z-index: 0;
    }

    /* Connection types: one card per row */
    .connection-grid {
        grid-template-columns: 1fr;
    }

    /* Steps: header full width, three cards in a row still fit */
    .step-card {
        min-width: 200px;
        padding: 88px 24px 24px;
    }

    /* Consultation: stack, divider becomes horizontal (see .divider-line ≤1023) */
    .consultation-container {
        flex-direction: column;
        padding: 3rem 2.5rem;
        gap: 2rem;
    }

    .consultation-info-col,
    .consultation-form-col {
        max-width: none;
    }

    .consultation-divider {
        height: 24px;
        margin: 0;
    }

    /* Functions page: phone, then description, then the list */
    .functions-features-container {
        gap: 48px;
    }

    .functions-features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .functions-features-phone-col {
        order: -1;
        padding-top: 0;
    }

    .func-phone-wrapper {
        max-width: 280px;
    }

    .functions-features-info-col {
        text-align: center;
    }

    .functions-features-list-col {
        min-height: 0;
    }

    .func-menu-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 32px;
    }

    /* Product feature grid */
    .pfg-container.pfg-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Comparison: card takes the full width, wrapper height follows content */
    .comparison-stack-wrapper {
        height: auto;
        padding-bottom: 48px;
    }

    .comparison-stack-card {
        width: 100%;
        max-width: 752px;
        flex-shrink: 0;
    }

    /* Flow: header above the list */
    .cp-flow-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .cp-flow-header {
        flex: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* ---------- ≤767 (phone) ---------- */
@media (max-width: 767px) {
    :root {
        --gutter: 20px;
    }

    .site-header.absolute-header {
        margin-bottom: -80px;
    }

    .nav-container {
        margin: 12px 0;
        padding: 10px 10px 10px 16px;
        border-radius: 1.25rem;
    }

    .nav-logo .footer-logo-img {
        height: 36px;
    }

    .hero-section {
        padding-top: calc(80px + 2.5rem);
        padding-bottom: 4rem;
    }

    .hero-bg::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.7) 100%);
    }

    .hero-title {
        font-size: 36px;
        line-height: 110%;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        margin-top: 32px;
        gap: 12px;
    }

    .hero-price {
        margin-top: 32px;
    }

    .hero-buttons--product {
        margin-top: 20px;
    }

    .features-title,
    .notifications-title,
    .connection-title,
    .steps-title,
    .cta-banner-title,
    .consultation-title,
    .functions-features-title,
    .simple-text-title,
    .cp-flow-title,
    .card-title {
        font-size: 28px;
        line-height: 125%;
    }

    .support-title {
        font-size: 36px;
    }

    .features-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .features-container {
        gap: 2rem;
    }

    .feature-card {
        width: 260px;
        padding: 18px 20px 24px;
        border-radius: 24px;
    }

    .feature-card-title,
    .step-card-title,
    .pfg-title,
    .functions-features-active-title {
        font-size: 20px;
    }

    .feature-card-text,
    .step-card-text,
    .pfg-description {
        font-size: 15px;
    }

    /* Notifications */
    .notifications-section {
        padding-top: 72px;
    }

    .notifications-container,
    .notifications-container.is-reversed {
        padding: 0 16px 32px;
        gap: 2rem;
    }

    .notifications-phones-col {
        height: 360px;
        max-width: 300px;
    }

    .phone-mockup-back {
        width: 170px;
        height: 340px;
        top: -40px;
        left: 0;
        border-radius: 1.75rem;
    }

    .phone-mockup-front {
        height: 360px;
        top: -60px;
        left: 70px;
        border-radius: 1.75rem;
    }

    .notifications-phones-col.has-single-phone .phone-mockup-front {
        left: 50%;
        transform: translateX(-50%);
    }

    .notifications-decorative-shadow {
        top: 160px;
        border-radius: 24px;
    }

    /* Connection cards */
    .connection-types-section {
        padding: 3.5rem var(--gutter);
    }

    .connection-container {
        gap: 28px;
    }

    .connection-card,
    .connection-card.dark-card {
        min-height: 0;
        padding: 20px 20px 24px;
        border-radius: 24px;
    }

    .connection-img-placeholder {
        margin: 0 0 20px;
        border-radius: 16px;
    }

    .card-img {
        position: static;
        width: 100%;
    }

    .connection-card-content {
        margin-top: 0;
        gap: 0.75rem;
    }

    .connection-card.dark-card {
        min-height: 420px;
    }

    .connection-card.dark-card .connection-card-content {
        margin: auto -20px -24px;
        padding: 4rem 20px 24px;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }

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

    .card-price {
        font-size: 1.5rem;
    }

    .card-footer {
        margin-top: 0.5rem;
    }

    /* Steps: one card per row */
    .steps-section {
        padding: 3.5rem 0;
    }

    .steps-container {
        flex-direction: column;
        gap: 16px;
    }

    .step-card {
        min-width: 0;
        padding: 76px 20px 24px;
        border-radius: 20px;
        gap: 1rem;
    }

    .step-badge {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    /* CTA banner */
    .cta-banner-container {
        padding: 40px var(--gutter);
        gap: 1.5rem;
    }

    .cta-banner-actions {
        flex-wrap: wrap;
    }

    /* Consultation */
    .consultation-section {
        padding: 3rem 0;
    }

    .consultation-container {
        padding: 2rem 20px;
        border-radius: 24px;
    }

    .contact-label,
    .contact-value {
        font-size: 18px;
    }

    .contact-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Support */
    .support-section {
        padding: 120px var(--gutter) 48px;
    }

    .support-header,
    .support-search-wrapper {
        margin-bottom: 28px;
    }

    .support-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: calc(-1 * var(--gutter));
        margin-right: calc(-1 * var(--gutter));
        padding: 0 var(--gutter) 4px;
        scrollbar-width: none;
    }

    .support-filters::-webkit-scrollbar {
        display: none;
    }

    .support-filter-btn {
        flex-shrink: 0;
        font-size: 15px;
    }

    /* Functions page */
    .functions-features-section {
        padding: 3.5rem 0;
    }

    .functions-features-container {
        gap: 32px;
    }

    .func-phone-wrapper {
        max-width: 230px;
    }

    .func-nav-arrow {
        width: 44px;
        height: 44px;
    }

    .func-menu-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .functions-features-active-desc {
        font-size: 15px;
    }

    /* Product feature grid */
    .pfg-container.pfg-cols-2,
    .pfg-container.pfg-cols-3,
    .pfg-container.pfg-cols-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pfg-card {
        padding: 1.5rem 1.25rem;
        border-radius: 20px;
    }

    .pfg-icon-box {
        margin-bottom: 1rem;
    }

    /* Comparison */
    .comparison-stack-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .comparison-stack-row {
        gap: 12px;
    }

    .comparison-stack-label,
    .comparison-stack-text {
        font-size: 15px;
    }

    .comparison-stack-text {
        text-align: right;
    }

    .comparison-stack-check {
        width: 26px;
        height: 26px;
    }

    /* Flow */
    .cp-flow-section {
        padding: 3rem var(--gutter);
    }

    .cp-flow-item {
        border-radius: 24px;
        padding: 0.75rem 1rem 0.75rem 0.75rem;
        gap: 1rem;
    }

    .cp-flow-badge {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.1rem;
    }

    .cp-flow-text {
        font-size: 15px;
    }

    /* FAQ */
    .faq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 24px;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-question {
        font-size: 18px;
        gap: 16px;
        padding: 14px 0;
    }

    .faq-answer-inner {
        font-size: 15px;
    }

    /* Text blocks */
    .simple-text-section {
        padding: 2.5rem 0;
    }

    .simple-text-description {
        font-size: 15px;
    }

    /* Order form spacing (header is 80px here) */
    .cp-order-section {
        padding-top: calc(80px + 2rem);
        padding-bottom: 3rem;
    }

    /* Footer */
    .site-footer {
        padding: 3rem 0;
    }

    .footer-container {
        gap: 2rem;
    }

    .footer-link,
    .copyright {
        font-size: 15px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 20px;
    }
}

/* ---------- ≤479 (small phone) ---------- */
@media (max-width: 479px) {
    .hero-title {
        font-size: 32px;
    }

    .features-title,
    .notifications-title,
    .connection-title,
    .steps-title,
    .cta-banner-title,
    .consultation-title,
    .functions-features-title,
    .simple-text-title,
    .cp-flow-title,
    .card-title {
        font-size: 26px;
    }

    /* Button rows: full-width, stacked */
    .hero-buttons,
    .cta-banner-actions,
    .card-footer {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-buttons .btn,
    .cta-banner-actions .btn,
    .card-footer .btn,
    .consultation-form-col button.btn.btn-white {
        width: 100%;
    }

    .consultation-form-col button.btn.btn-white {
        align-self: stretch;
    }

    .notifications-phones-col {
        height: 320px;
        max-width: 260px;
    }

    .phone-mockup-back {
        width: 140px;
        height: 290px;
        top: -30px;
    }

    .phone-mockup-front {
        height: 310px;
        top: -50px;
        left: 60px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .cookie-banner .banner-actions .cookie-btn {
        flex: 1 1 auto;
    }
}

/* ==========================================================================
   Smooth hover transitions for every other clickable element that changes colour
   ========================================================================== */
.nav-link,
.footer-link,
.faq-all-link,
.contact-value,
.lang-option,
.lang-selector-btn,
.support-filter-btn,
.support-search-btn,
.func-nav-arrow,
.func-menu-item,
.mobile-toggle-btn,
.cp-mobile-card-menu .mobile-link-item,
.cp-mobile-card-menu .mobile-cta-btn,
.cp-mobile-card-menu .lang-btn,
.cookie-btn,
.social-icons a img {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-btn-primary:hover {
    background-color: #333333;
}

.cookie-btn-secondary:hover {
    background-color: #d0d0d0;
}

.cookie-btn-outline:hover {
    background-color: #f2f2f2;
}

/* ==========================================================================
   Comparison stack on tablet/phone: the two cards sit on top of each other
   (on desktop they sit side by side). The back card peeks out below; tap swaps.
   ========================================================================== */
@media (max-width: 1023px) {
    .comparison-stack-wrapper {
        overflow: visible;
        padding-bottom: 40px;
    }

    .comparison-stack-container {
        display: grid;
    }

    .comparison-stack-card {
        grid-area: 1 / 1;
        width: 100%;
        max-width: none;
    }

    .comparison-stack-card.card-background {
        transform: translate(0, 24px) scale(0.94);
        transform-origin: 50% 100%;
    }
}

/* ==========================================================================
   Phone-mockup sections on tablet/phone: space before the next section, and the
   phone column only as tall as the phone (it sits 60px above its box).
   ========================================================================== */
@media (max-width: 1023px) {
    .notifications-section {
        padding-bottom: 56px;
    }
}

@media (max-width: 767px) {
    .notifications-section {
        padding-bottom: 48px;
    }

    .notifications-phones-col {
        height: 300px;
    }
}

@media (max-width: 479px) {
    .notifications-phones-col {
        height: 260px;
    }
}
