/* =========================================
   1. ROOT MAINĪGIE
   ========================================= */
:root {
    --primary: #22C55E;
    --primary-light: #7BF668;
    --primary-very-light: #e8f3e7;
    --primary-medium: #16A34A;
    --dark: #1F2937;
    --gray: #6B7280;
    --light-gray: #F9FAFB;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --cards-green: #e8f3e7;
    --cards-dark-green: #1f5739;
    --cards-light-green: #c8dbc7;
    --cards-dark: #1e241d;
    --dark-bg: #091612;
}

/* =========================================
   2. GLOBĀLIE STILI
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.5;
    scroll-behavior: smooth;
    font-optical-sizing: auto;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding-inline: clamp(24px, 5vw, 120px);
}

section {
    padding: 120px 0;
}

.section-light {
    background-color: var(--white);
}

.section-dark {
    background-color: var(--light-gray);
}

h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.accent-text {
    color: var(--primary);
    font-style: italic;
    font-size: 52px;
    font-weight: 700;
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    section {
        padding: 48px 0;
    }

    .accent-text {
        font-size: 38px;
    }
}

@media (max-width: 480px) {
    .accent-text {
        font-size: 32px;
    }
}

@media (max-width: 900px) {
    .container {
        margin: 0;
    }
}

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

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

/* =========================================
   3. POGAS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    line-height: 1.6;
    border-radius: 50px !important;
    transition: linear 0.2s all;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
    border: 1px solid var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    transition: linear 0.2s all;
    line-height: 1.6;
    padding: 10px 20px;
    font-size: 16px;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    transition: linear 0.2s all;
    padding: 10px 20px;
    font-size: 16px;
}

.btn-secondary:hover {
    background-color: var(--primary-medium);
    color: var(--dark);
    border-color: var(--primary-medium);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 12px 32px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    line-height: 1.6;
    border-radius: 50px;
    text-transform: uppercase;
    transition: linear 0.2s all;
    padding: 10px 20px;
    font-size: 16px;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--dark);
}

/* =========================================
   4. EYEBROW
   ========================================= */
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dark);
    background-color: var(--primary-very-light);
    border: 1px solid color-mix(in oklab, var(--primary) 30%, white);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.eyebrow-dark {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dark);
    background: color-mix(in oklab, var(--primary) 4%, rgb(231, 231, 231));
    border: 1px solid color-mix(in oklab, var(--primary) 10%, white);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

/* =========================================
   5. NAVIGĀCIJA
   ========================================= */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    padding: 24px 0;
}

.nav-dark {
    background-color: var(--dark-bg);
}

.nav .nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav .nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav .logo {
    color: white;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    z-index: 1001;
}

.nav .logo span {
    color: var(--primary);
}

@media (max-width: 900px) {
    .nav .logo {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .nav .logo {
        font-size: 32px;
    }
}

/* Desktop menu */
.nav .nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
    border: 0.5px solid var(--light-gray);
    padding: 8px 28px;
    padding-right: 8px;
    border-radius: 50px;
}

@media (max-width: 992px) {
    .nav .nav-menu {
        padding: 8px 24px;
    }
}

.nav .nav-menu a:not(.nav-phone) {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.nav .nav-menu a:not(.nav-phone):hover {
    color: var(--primary);
}

.nav .nav-menu .nav-phone {
    background-color: var(--primary);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 28px;
    display: inline-block;
    border: none;
    transition: background-color 0.2s ease;
    border-radius: 50px;
}

.nav .nav-menu .nav-phone:hover {
    background-color: var(--primary-medium);
    color: var(--dark);
}

@media (max-width: 992px) {
    .nav .nav-menu a:not(.nav-phone) {
        font-size: 12px;
    }

    .nav .nav-menu .nav-phone {
        font-size: 14px;
    }
}

/* =========================================
   6. HAMBURGER MENU TOGGLE
   ========================================= */
.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active .hamburger {
    height: 24px;
}

.menu-toggle.active .hamburger span:first-child {
    position: absolute;
    top: 11px;
    left: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:last-child {
    position: absolute;
    top: 11px;
    left: 0;
    transform: rotate(-45deg);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1001;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: relative;
        background: transparent;
        color: var(--primary);
        border: 0;
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 24px;
        transition: all 0.2s ease;
        z-index: 1001;
        margin: 0 auto;
    }
}

/* =========================================
   7. NAV - MOBILĀ VERSIJA (Tavs oriģinālais kods)
   ========================================= */
@media (max-width: 768px) {
    .nav .nav-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .nav .logo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: white !important;
        font-size: 28px !important;
        z-index: 1002 !important;
        position: relative !important;
    }

    .nav .logo span {
        color: var(--primary) !important;
    }

    .nav .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-bg);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        transition: left 0.35s ease;
        padding: 60px 24px;
        z-index: 1000;
        border: none;
        border-radius: 0;
        gap: 0;
    }

    .nav .nav-menu.active {
        left: 0;
    }

    .nav .nav-menu a:not(.nav-phone) {
        padding: 18px 20px;
        width: 100%;
        text-align: center;
        font-size: 12px;
        font-weight: 500;
        color: #fff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav .nav-menu .nav-phone {
        margin: 24px 20px;
        padding: 12px 18px;
        text-align: center;
        display: block;
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .nav .nav-menu {
        gap: 16px;
        flex-wrap: wrap;
    }

    .nav .nav-menu a:not(.nav-phone) {
        font-size: 14px;
    }

    .nav .nav-menu .nav-phone {
        font-size: 16px;
        padding: 12px 16px;
        margin: 32px 20px;
    }
}

/* Vertikālais režīms */
@media (max-width: 768px) and (orientation: portrait) {
    .nav .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-bg);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        transition: left 0.35s ease;
        padding: 60px 24px;
        z-index: 1000;
        border: none;
        border-radius: 0;
        gap: 0;
    }

    .nav .nav-menu.active {
        left: 0;
    }
}

/* =========================================
   8. NAV - HORIZONTĀLAIS REŽĪMS (FIX - tikai šis mainīts)
   ========================================= */
@media (max-width: 992px) and (orientation: landscape) {
    .nav .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        background: var(--dark-bg);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 24px 40px;
        z-index: 1000;
        border: none;
        border-radius: 0;
        gap: 2px;
        transition: left 0.35s ease;
    }

    .nav .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .nav .nav-menu a:not(.nav-phone) {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        font-size: 13px;
        font-weight: 500;
        color: #fff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav .nav-menu .nav-phone {
        margin: 16px 20px 8px;
        padding: 10px 16px;
        text-align: center;
        display: block;
        font-size: 15px;
        width: auto;
        align-self: center;
        min-width: 160px;
        background-color: var(--primary);
        color: var(--dark);
        text-decoration: none;
        font-weight: 700;
        border: none;
        border-radius: 50px;
    }

    .hero-overlap {
        height: 140vh;
    }
}

/* =========================================
   9. HERO
   ========================================= */
.hero-overlap {
    position: relative;
    background-color: #111827;
    background-image: url("img/hero-bg.jpg");
    background-image: image-set(url("img/hero-bg.webp") type("image/webp"),
            url("img/hero-bg.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.hero-overlap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.791) 0%,
            rgba(0, 0, 0, 0.689) 50%,
            rgba(0, 0, 0, 0.117) 100%);
    z-index: 1;
}

.hero-overlap .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px 60px 24px;
    text-align: left;
}

.hero-overlap h1 {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: left;
}

.hero-overlap .hero-description {
    font-size: 18px;
    color: #e3e4e6;
    max-width: 700px;
    margin: 0 0 32px 0;
    line-height: 1.6;
    font-weight: 600;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--primary);
    color: var(--dark);
    border: 1px solid var(--primary);
    padding: 10px 32px;
    transition: all linear 0.1s;
}

.hero-buttons .btn-primary:hover {
    background-color: var(--primary-medium);
    border-color: var(--primary-medium);
}

.hero-buttons .btn-outline-light {
    line-height: 1.6;
    font-size: 16px;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 10px 32px;
    transition: all linear 0.2s;
}

.hero-buttons .btn-outline-light:hover {
    background-color: rgb(255, 255, 255);
    color: var(--dark);
}

@media (max-width: 768px) {
    /* .hero-overlap::before {
        background: linear-gradient(135deg,
                rgba(0, 0, 0, 0.795) 0%,
                rgba(0, 0, 0, 0.704) 50%,
                rgba(0, 0, 0, 0.406) 100%);
    } */



    .hero-overlap h1 {
        font-size: 44px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 80%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .hero-overlap .hero-content {
        padding: 120px 24px 60px 24px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline-light {
        padding: 10px 24px;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        padding: 0 50px;
    }

    .hero-overlap h1 {
        font-size: 36px;
        text-align: center;
    }

    .hero-overlap .hero-description {
        font-size: 16px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline-light {
        padding: 10px 20px;
        font-size: 14px;
    }
}

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

/* =========================================
   10. ABOUT
   ========================================= */
.about-simple {
    display: flex;
    align-items: center;
    background-color: var(--dark-bg);
}

.about-simple-inner {
    margin: 0 auto;
    text-align: left;
}

.about-title {
    text-align: left;
    margin: 0 0 20px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--white);
}

.about-lead {
    font-size: 18px;
    color: var(--white);
    line-height: 1.7;
    margin: 0 0 12px;
    font-weight: 200;
}

.about-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    margin: 0 0 22px;
}

.about-actions {
    display: flex;
    justify-content: start;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .about-title {
        font-size: 28px;
    }

    .about-lead {
        font-size: 16px;
    }
}

/* =========================================
   11. SCROLL ANIMĀCIJAS
   ========================================= */
.split-card {
    --y: 0px;
    background: white;
    border: 1px solid var(--border);
    padding: 28px 24px;
    border-radius: 8px;
    transform: translateY(var(--y));
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.split-card:hover {
    --y: -3px;
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
        transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(var(--y));
}

@media (max-width: 768px) {

    .fade-up,
    .fade-up.visible,
    .delay-1,
    .delay-2,
    .delay-3,
    .delay-4,
    .delay-5,
    .delay-6 {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
        transition-delay: 0s !important;
    }
}

/* =========================================
   12. SECTION HEADER
   ========================================= */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 100px auto;
}

.section-header>h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--dark);
    margin: 36px auto 0 auto;
}

@media (max-width: 900px) {
    .section-header {
        text-align: center;
        max-width: 800px;
        margin: 32px auto 48px auto;
    }
}

/* =========================================
   13. SPLIT SECTION
   ========================================= */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.split-card {
    background: white;
    border: 1px solid var(--border);
    padding: 28px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.split-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.split-image {
    border-radius: 8px;
    border: none;
    width: 100%;
    height: auto;
}

.split-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
    border-radius: 6px;
}

.split-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.split-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .split-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .split-image {
        order: -1;
        max-width: 100%;
    }

    .split-image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .split-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .split-image {
        order: -1;
    }

    .split-card {
        padding: 24px 20px;
    }

    .split-card h3 {
        font-size: 18px;
    }

    .split-card p {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .split-card {
        padding: 16px;
    }

    .split-card .card-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .split-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .split-card p {
        font-size: 13px;
    }
}

/* =========================================
   14. BENTO SERVICES
   ========================================= */
.bento-services {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-service-card {
    background: white;
    border: 1px solid var(--border);
    padding: 24px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.bento-service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.bento-service-icon {
    font-size: 48px;
    color: var(--dark);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.bento-service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.bento-service-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
}

.bento-service-card.bg-dark,
.bento-service-card.bg-dark:hover {
    background-color: var(--cards-dark-green);
    border-color: var(--cards-dark-green);
}

.bento-service-card.bg-dark .bento-service-icon,
.bento-service-card.bg-dark h3,
.bento-service-card.bg-dark p {
    color: white;
}

.bento-service-card.bg-primary-light {
    background-color: var(--cards-green);
    border: 1px solid var(--cards-green);
}

.bento-service-card.bg-accent {
    background-color: #f8fafc;
    border: 1px solid var(--dark);
}

@media (max-width: 992px) {
    .bento-services {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px;
    }

    .bento-service-card {
        grid-column: span 3 !important;
        grid-row: span 1 !important;
    }
}

@media (max-width: 640px) {
    .bento-services {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .bento-service-card {
        grid-column: span 1 !important;
        padding: 20px 16px;
    }

    .bento-service-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .bento-service-icon i {
        font-size: 32px;
    }

    .bento-service-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .bento-service-card p {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* =========================================
   15. PARALLAX
   ========================================= */
.parallax-section {
    position: relative;
    overflow: hidden;
    background-image: url("img/ekskavators.jpg");
    background-image: image-set(url("img/ekskavators.webp") type("image/webp"),
            url("img/ekskavators.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
    background-attachment: inherit;
    filter: grayscale(100%);
    z-index: 0;
}

.parallax-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.906) 30%, rgba(236, 236, 235, 0.892) 70%);
    z-index: 1;
}

.parallax-section>* {
    position: relative;
    z-index: 2;
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    color: var(--dark);
}

.parallax-content>h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--primary);
    margin: 36px auto 0 auto;
}

.parallax-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--dark);
    text-align: center;
    letter-spacing: -0.01em;
}

.parallax-content>p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 60px;
    color: var(--dark);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.split-content-parallax {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.split-card-parallax {
    background: rgba(255, 255, 255, 0);
    padding: 24px;
    transition: border-color 0.2s ease;
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--dark);
    flex: 1;
}

@media (max-width: 992px) {
    .split-content-parallax {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
        min-height: 350px;
    }

    .parallax-content h2 {
        font-size: 32px;
    }

    .parallax-content p {
        font-size: 16px;
    }

    .parallax-content {
        padding: 40px 20px;
    }

    .parallax-content>h2:after {
        margin: 32px auto 0 auto;
    }
}

/* =========================================
   16. CONTENT ROW
   ========================================= */
.content-row {
    display: flex;
    flex-direction: row;
    gap: 60px;
    justify-content: center;
}

.img-card {
    text-align: center;
}

.img-card>img {
    height: 200px;
    width: auto;
    vertical-align: middle;
    max-width: 100%;
    display: inline-block;
    transition: all 0.2s ease;
}

.img-card img {
    transition: all 0.2s ease;
    margin-bottom: 24px;
}

.img-card img:hover {
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
    }
}

/* =========================================
   17. FORMA
   ========================================= */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font: inherit;
}

.btn.btn-primary {
    padding: 12px 16px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.form-note {
    font-size: 12px;
    color: #6B7280;
    margin-top: 10px;
}

input {
    transition: 0.2s ease;
}

input:focus {
    outline: none;
    border: 2px solid #3498db;
}

@media (max-width: 480px) {

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 8px 10px;
    }
}

/* =========================================
   18. OFFER SECTION
   ========================================= */
.offer-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.offer-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.offer-info {
    padding: 20px 0;
}

.offer-info h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    margin-bottom: 20px;
    color: var(--dark);
}

.offer-info h2 br {
    display: block;
}

.offer-info>p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 32px;
}

.offer-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.offer-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.offer-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(82, 236, 55, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 20px;
    flex-shrink: 0;
}

.offer-feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
}

.offer-feature-text p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.4;
}

.offer-contact-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.offer-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.offer-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 16px;
}

.offer-form-header i {
    font-size: 28px;
    color: var(--primary);
}

.offer-form-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-offer-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--dark);
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-offer-submit:hover {
    background-color: var(--primary-medium);
    gap: 16px;
}

@media (max-width: 992px) {
    .offer-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .offer-info {
        padding: 0;
    }

    .offer-info h2 {
        font-size: 32px;
        text-align: center;
    }

    .offer-info>p {
        text-align: center;
    }

    .offer-badge {
        display: block;
        text-align: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .offer-contact-row {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .offer-section {
        padding: 60px 0;
    }

    .offer-form-wrapper {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .offer-info h2 {
        font-size: 28px;
    }

    .offer-feature {
        gap: 12px;
    }

    .offer-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* =========================================
   19. KĀJENE (FOOTER) - TAVS ORIĢINĀLS AR FIX HORIZONTĀLAJAM
   ========================================= */
.site-footer {
    position: relative;
    color: #fff;
    background: var(--dark-bg);
    padding: 32px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    align-items: start;
    margin-bottom: 28px;
    min-height: 300px;
    align-items: center;
}

.contact-grid>.col {
    border-left: 1px solid var(--primary);
    padding: 12px;
    transition: linear 0.1s all;
}

.contact-grid>.col:hover {
    transform: translateY(-4px);
}

.contact-grid>.col a {
    text-decoration: none;
}

.col .head {
    margin: 0 0 14px;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--primary);
    font-style: italic;
}

.col .ans {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .9);
}

.col .ans a {
    color: inherit;
    text-decoration: none;
}

.col .ans a:hover {
    border-bottom-color: currentColor;
    text-decoration: none;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
}

.footer-link a {
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    transition: linear 0.1s all;
}

.footer-link a:hover {
    color: var(--primary-medium);
}

.footer-sep {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, .28);
    margin: 0 0 48px;
}

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

.copy {
    font-size: 14px;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .01em;
    white-space: nowrap;
    text-wrap: wrap;
}

.social {
    display: flex;
    gap: 12px;
}

.soc {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
    transition: linear 0.1s all;
}

.soc:hover {
    background-color: var(--primary-medium);
}

.soc svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Footer - vertikālais */
@media (max-width: 900px) and (orientation: portrait) {
    .site-footer {
        display: flex;
        min-height: 100vh;
        padding: 40px 0;
        align-items: center;
    }
}

/* Footer - horizontālais FIX */
@media (max-width: 900px) and (orientation: landscape) {
    .site-footer {
        display: block;
        height: auto;
        padding: 32px 0;
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        min-height: auto;
    }

    .contact-grid>.col {
        padding: 8px 12px;
    }

    .col .head {
        font-size: 24px;
        margin: 0 0 8px;
    }

    .col .ans {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .col .head {
        margin: 0 0 12px;
        font-size: 32px;
    }
}

@media (max-width: 320px) {
    .col .head {
        margin: 0 0 14px;
        font-size: 26px;
    }

    .col .ans {
        font-size: 12px;
    }
}

/* =========================================
   20. CAROUSEL
   ========================================= */
.carousel-section {
    background: #ffffff;
}

.carousel-container {
    position: relative;
    --gap: 20px;
    --per-view: 3;
    isolation: isolate;
    margin: 0 auto;
    padding: 8px 0;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px;
}

.carousel-track {
    display: flex;
    gap: var(--gap);
    transition: transform 0.45s cubic-bezier(0.2, 0.85, 0.4, 1);
    will-change: transform;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-slide {
    flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--dark-bg);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.carousel-slide:hover {
    transform: translateY(-4px);
}

.carousel-slide:active {
    transform: scale(0.99);
}

.carousel-slide img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.carousel-slide:hover img {
    transform: scale(1.04);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 60px;
    border: none;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1F2937;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    z-index: 12;
    font-family: 'Inter', sans-serif;
}

.carousel-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.06);
    color: var(--primary-medium);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

.carousel-btn[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    transform: translateY(-50%) scale(1);
}

@media (max-width: 1280px) {
    .carousel-btn.prev {
        left: 4px;
    }

    .carousel-btn.next {
        right: 4px;
    }
}

@media (max-width: 992px) {
    .carousel-container {
        --per-view: 2;
    }

    .carousel-btn.prev {
        left: -8px;
    }

    .carousel-btn.next {
        right: -8px;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}

@media (max-width: 680px) {
    .carousel-container {
        --per-view: 1;
        --gap: 16px;
    }

    .carousel-btn.prev {
        left: -6px;
    }

    .carousel-btn.next {
        right: -6px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

/* =========================================
   21. LIGHTBOX
   ========================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 88vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
    animation: fadeScale 0.2s ease-out;
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(12px);
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--primary);
    color: #1F2937;
    transform: scale(1.08);
}

.lightbox-close:hover {
    transform: rotate(90deg);
}


.lightbox-close {
    top: 28px;
    right: 32px;
}

.lightbox-nav.prev {
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav.next {
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    width: fit-content;
    margin: 0 auto;
    padding: 8px 18px;
    border-radius: 60px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

@media (max-width: 680px) {
    .lightbox-nav.prev {
        left: 12px;
    }

    .lightbox-nav.next {
        right: 12px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .lightbox-nav {
        font-size: 20px;
        width: 42px;
        height: 42px;
    }
}

/* =========================================
   22. COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    justify-self: right;
    width: 50%;
    color: var(--dark);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .25);
    overflow: hidden;
}

.cookie-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-color: var(--dark-bg);
    mix-blend-mode: overlay;
}

.cookie-banner,
.cookie-text p {
    color: #0f1a14;
}

.cookie-inner {
    gap: 16px;
    padding: 32px;
    align-items: center;
}

.cookie-text {
    margin-bottom: 20px;
}

.cookie-text p {
    margin: 6px 0 0;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
    opacity: .9;
}

.cookie-link {
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
}

.cookie-link:hover {
    color: var(--primary-medium);
}

.cookie-actions {
    display: flex;
    gap: 8px;
}

.cookie-banner .btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 500;
}

.cookie-actions .btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.6;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.cookie-actions .btn.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
    border-color: transparent;
    transition: linear 0.1s all;
}

.cookie-actions .btn.btn-primary:hover {
    background-color: var(--primary-medium);
}

.cookie-actions .btn.btn-secondary {
    color: var(--white);
    transition: linear 0.1s all;
}

.cookie-actions .btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.263);
}

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

    .cookie-actions {
        justify-content: flex-start;
    }
}

@media (prefers-color-scheme: dark) {
    .cookie-banner {
        background: rgba(20, 20, 20, .35);
        border-color: rgba(255, 255, 255, .18);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
    }

    .cookie-banner,
    .cookie-text p {
        color: #eef2ef;
    }

    .cookie-actions .btn {
        background: rgba(255, 255, 255, .08);
    }
}

/* =========================================
   23. TOAST
   ========================================= */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--primary);
    color: var(--dark);
    padding: 12px 24px;
    font-weight: 500;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.toast.error {
    background-color: #dc2626;
    color: white;
}

/* =========================================
   24. BACK TO TOP
   ========================================= */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 9998;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--dark);
    background-color: var(--primary);
    border: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .25);
    opacity: 0;
    transform: translateY(8px) scale(.98);
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-1px) scale(1.04);
    cursor: pointer;
}

.back-to-top:active {
    transform: translateY(0) scale(.98);
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}

/* =========================================
   25. PRIVACY POLICY
   ========================================= */
.privacy {
    padding-bottom: 0 !important;
    margin-top: 120px !important;
}

.privacy-policy-content {
    margin-top: 28px;
}

.privacy-policy-content h2 {
    margin-bottom: 20px !important;
}

.privacy-policy-content h2,
.privacy-policy-content p {
    text-align: left;
}

.privacy-policy-link {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s linear;
}

.privacy-policy-link:hover {
    color: var(--primary);
}

.privacy-policy-gray {
    color: #9197a0;
}

#cookie-list-container ul,
.privacy-policy-content>ul {
    list-style-position: inside;
    padding-left: 0;
    margin: 16px 0;
}

#cookie-list-container li,
.privacy-policy-content>li {
    padding: 4px 0;
}