:root { --header-h: 80px; --menu-open-offset: 0px; }

body {
    font-family: 'Arial', sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    margin: 0;
    padding: 0; /* header persidengia su hero; nebeatitraukiam body */
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: transparent; /* visiškai švarus viršuje */
    backdrop-filter: none;
    box-shadow: none;
    transition: background-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
}
.header.scrolled { background: rgba(28,20,50,0.9); backdrop-filter: blur(8px); box-shadow: 0 4px 20px rgba(0,0,0,0.18); }
.header.scrolled .navigation ul li a { color: #ffffff; }
.header.scrolled .nav-toggle .bar { background: #ffffff; }

.logo {
    color: #feaa36;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text { display: inline-block; transform: none; }

.logo img {
    width: 50px;
    margin-right: 0;
}

.navigation { position: static; margin-left: auto; }
.navigation ul {
    list-style: none;
    display: flex;
    gap: 14px; /* mažesni tarpai, kad geriau tilptų */
    flex-wrap: nowrap; /* neperkelti į kitą eilę */
}
.navigation ul li {
    display: inline;
}
.navigation ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.3s ease;
}
.navigation ul li a:hover {
    color: #007bff;
}
.navigation ul li a.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}
.navigation ul li a:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}

/* Mobile nav toggle (default hidden; shown in media query) */
.nav-toggle { display: none; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle .bar { width: 24px; height: 3px; background: #1c1432; border-radius: 2px; display: block; }

/* Compact mode (JS uždeda .compact kai nuorodos netelpa) */
.header.compact .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}
.header.compact .navigation {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--header-h) - 8px);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    display: none;
    z-index: 1001;
}
.header.compact .navigation ul { display: grid; gap: 6px; padding: 12px; }
.header.compact .navigation ul li a { padding: 8px 10px; display: block; color: #1c1432; }
.header.compact.mobile-open .navigation { display: block; }

/* Desktop: rodom inline navigaciją, slepiam hamburger */
@media (min-width: 1201px) {
    .nav-toggle { display: none !important; }
    /* center the nav inside header */
    .navigation { position: absolute !important; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block !important; }
    .navigation ul { display: flex !important; gap: 14px; padding: 0; }
}

/* Collapse nav on wider screens to ensure it always fits */
@media (max-width: 1200px) {
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
        background: transparent;
        border: 0;
        cursor: pointer;
        padding: 6px;
        border-radius: 8px;
    }
    .navigation {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(var(--header-h) - 8px);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
        display: none;
        z-index: 1001;
    }
    .navigation ul {
        display: grid;
        gap: 6px;
        padding: 12px;
    }
    .navigation ul li a {
        padding: 8px 10px;
        display: block;
        color: #1c1432;
    }
    .header.mobile-open .navigation { display: block; }
    /* išskleidžiamame meniu nuorodos visada tamsios */
    .header.mobile-open .navigation ul li a { color: #1c1432 !important; }
}


/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    gap: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    padding-top: calc(var(--header-h) + 10px); /* vietoj body offset – uždedam hero viduje */
}

/* Kai atidarytas mobilus meniu, pridėti papildomą tarpą viršuje */
.header.mobile-open + .hero-section {
    padding-top: calc(var(--header-h) + var(--menu-open-offset) + 12px);
}

.hero-content {
    flex: 1;
    max-width: 500px;
    z-index: 2;
    position: relative;
    padding-right: 50px;
    /* bring content closer to the center instead of being too far right */
    padding-left: clamp(16px, 6vw, 72px);
    padding-top: 0; /* nebedubliuojam viršutinio atitraukimo */
}

.hero-subtitle {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 16px;
}

.learn-more-btn {
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.learn-more-btn:hover {
    background: #218838;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 98%;
    height: 100%;
    background-image: url('iliustracijos/purslaiLanding.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 0;
}

.hero-image::before {
    display: none;
}

.hero-characters {
    position: absolute;
    right: 15%;
    bottom: 25%;
    right: -17%;
    z-index: 2;
    background: none;
}

.hero-characters img {
    width: 70%;
    object-fit: contain;
}

/* Features Section */
.features-section {
    position: relative;
    padding: 140px 0; /* larger spacing */
    background: transparent;
    overflow: hidden;
    width: 100%;
    margin-left: 0;
}

/* Anchor offset for fixed header */
#features, #contact { scroll-margin-top: calc(var(--header-h) + 16px); }

.features-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.blue-wave-top {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 1300px;
    background-image: url('iliustracijos/blueUp.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    z-index: 2;
    pointer-events: none;
}


.blue-wave-bottom {
    background-color: rgb(0, 0, 0);
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 1300px;
    background-image: url('iliustracijos/purslaiLanding.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    z-index: 2;
    pointer-events: none;
}

.features-container {
    max-width: 1200px;
    height: 50vh;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px 40px 0 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.feature-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 16px;
}

.feature-image {
    position: absolute;
    bottom: -8px; /* hug card bottom */
    left: 0;
    right: 0;
    height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.feature-image img {
    max-height: 100%;
    object-fit: contain;
}

.character-placeholder {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

/* Bottom Text Section */
.bottom-text-section {
    background-color: #1c1432;
    padding: 80px 0 80px 0; /* reduced spacing */
    position: relative;
    overflow: visible; /* allow bottom wave to extend beyond section */
    z-index: 5; /* sits above the next section's background */
    width: 100%;
    margin-left: 0;
}

.bottom-text-section::before {
    content: '';
    position: absolute;
    top: -1px; /* butt to the previous section */
    left: 0;
    width: 100%;
    margin-left: 0;
    height: 190px; /* a bit taller so the curve shows */
    background-image: url('iliustracijos/blueUp.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 1;
}

/* We render the bottom wave on the next section instead */
.bottom-text-section::after { display: none !important; content: none !important; }

/* inline svg wave removed */

.bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.bottom-title h2 {
    color: white;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.1;
    margin: 0;
}

.bottom-description p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.bottom-description p:last-child {
    margin-bottom: 0;
}

/* removed extra .blue-wave-down element; waves drawn via ::before/::after on the purple section */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        position: relative;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
        position: relative;
        z-index: 3;
    }

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

    .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
        border-radius: 20px;
        margin-top: 20px;
    }

    .hero-image::before {
        position: absolute;
        width: 100%;
        height: 100%;
        background-position: center;
        opacity: 0.1;
    }

    .hero-characters {
        position: relative;
        left: auto;
        bottom: auto;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        height: 80%;
    }

    .features-container { grid-template-columns: 1fr; padding: 0 20px; }
    .feature-card { margin-bottom: 30px; min-height: 400px; }
    .bottom-content { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; text-align: center; }
    .bottom-title h2 { font-size: 36px; }
}

/* ===================== Statistics Section ===================== */
.stats-section {
    background: transparent;
    position: relative;
    width: 100%;
    margin-left: 0;
    padding: 120px 0 60px 0;
}

.stats-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.airplane-image {
    position: absolute;
    right: 8%;
    top: -30px;
    width: 140px;
    opacity: 0.9;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item { text-align: center; }
.stat-number { font-size: 28px; color: #1c1432; font-weight: 800; }
.stat-year { color: #6b6b6b; margin: 8px 0 14px 0; }
.stat-description { display: flex; align-items: flex-start; gap: 10px; justify-content: center; }
.stat-dot { width: 6px; height: 6px; background: #1c1432; border-radius: 50%; margin-top: 6px; }
.stat-text { color: #7a7a7a; line-height: 1.4; font-size: 14px; text-align: left; }

@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* ===================== Rocket Section ===================== */
.rocket-section {
    background: #f2f0f4; /* gray rocket section */
    position: relative;
    width: 100%;
    margin-left: 0;
    padding: 450px 0 0px 0; /* move content lower; tighter bottom */
    overflow: visible; /* allow bottom wave to extend */
}

/* Blue down wave placed at the top of the rocket section (behind content) */
.rocket-section::before {
    content: '';
    position: absolute;
        top: -50px; /* lift wave so it starts near the bottom of the text */
    left: 0;
    width: 100%;
        height: 1000px; /* depth retained; adjust if you want more/less curve */
    background-image: url('iliustracijos/blueDown.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 0; /* keep behind content */
    pointer-events: none;
}

/* Gray wave placed at the bottom of the rocket section (below content) */
.rocket-section::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px; /* butt to next section */
    width: 100%;
    height: 900px;
    background-image: url('iliustracijos/pilkaSekcija.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 0; /* keep behind content */
    pointer-events: none;
}

@media (max-width: 900px) {
    .rocket-section::before { top: -220px; height: 600px; }
}

.rocket-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative; /* create stacking context for content */
    z-index: 1; /* above ::before wave which is z-index:0 */
}

.rocket-text h2 { font-size: 36px; margin-bottom: 16px; color: #1c1432; }
.rocket-text p { color: #666; line-height: 1.7; }

.rocket-card {
    position: relative;
    background: transparent; /* no card background */
    border-radius: 0;
    height: 460px;
    overflow: visible; /* allow rocket/clouds to overflow nicely */
}

.rocket-bg { display: none; }

.rocket-clouds {
    position: absolute; right: 260px; top: 40px; width: 130px; opacity: 0.9;
}

/* Extra clouds to match the mockup */
.rocket-card::before,
.rocket-card::after { content: ''; position: absolute; background: url('iliustracijos/debesis.svg') no-repeat center / contain; opacity: 0.95; }
.rocket-card::before { right: 30px; bottom: -40px; width: 260px; height: 180px; }
.rocket-card::after  { left: -20px; top: 60px; width: 140px; height: 100px; }

.rocket-ship {
    position: absolute; right: 60px; top: 20px; width: 520px; transform: none;
}

@media (max-width: 900px) {
    .rocket-inner { grid-template-columns: 1fr; }
    .rocket-card { height: 360px; }
    .rocket-ship { width: 360px; right: 20px; top: 40px; transform: translateX(0); }
    .rocket-clouds { right: 200px; width: 100px; top: 30px; }
    .rocket-card::before { width: 180px; height: 120px; bottom: -30px; right: 10px; }
    .rocket-card::after  { width: 100px; height: 70px; left: -10px; top: 30px; }
}

/* ===================== Orange Section ===================== */
.orange-section {
    position: relative;
    width: 100%;
    margin-left: 0;
    background: linear-gradient(66deg, #ED374D 0%, #FA793F 51%, #F7F651 150%);
    padding: 500px 0 320px 0; /* more space at the bottom */
    color: #fff;
}

/* Wave below rocket-section is rendered via .rocket-section::after (pilkaSekcija.svg) */

.orange-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; text-align: center; position: relative; }
.orange-title { font-size: 44px; font-weight: 700; margin: 0 0 26px 0; letter-spacing: 1px; }

/* Keep cards and people in a single visual stage */
.orange-stage { position: relative; max-width: 1280px; margin: 0 auto; padding-bottom: 520px; }

/* 3 cards layout like screenshot */
.orange-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
    margin: 6px auto 60px;
    max-width: 1280px;
    align-items: start;
}

.orange-card {
    position: relative;
    background: #fff;
    color: #1c1432;
    border-radius: 24px;
    padding: 36px 34px 46px;
    min-height: 500px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* Faint oversized step numbers in the background */
.orange-card::before {
    content: attr(data-step);
    position: absolute;
    inset: 20px 10px auto 10px;
    font-size: 200px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 6px rgba(0,0,0,0.05);
    line-height: 0.8;
    letter-spacing: -6px;
    pointer-events: none;
}
.orange-card:nth-child(1)::before { transform: rotate(-10deg) translateY(-6px); }
.orange-card:nth-child(2)::before { transform: rotate(-6deg) translateY(0); }
.orange-card:nth-child(3)::before { transform: rotate(10deg) translate(6px, -2px); }

.oc-badge { font-size: 22px; font-weight: 800; }
.oc-date { margin: 10px 0 26px; font-size: 12px; color: #5b5b5b; }
.oc-content { display: grid; gap: 10px; }
.oc-heading { font-weight: 700; }
.oc-line { color: #6c6c6c; }

/* Center card slightly lower with orange bar as in screenshot */
.orange-card:nth-child(2) {
    transform: translateY(34px);
}
/* orange bar removed */

/* People overlapping bottom of cards */
.orange-people {
    position: absolute; /* anchor to card grid bottom */
    left: 0;
    right: 0;
    bottom: -6px; /* tiny overlap to hide any gap */
    height: 520px;
    margin: 0 auto;
    max-width: 1280px; /* align with cards width */
    z-index: 3; /* above cards */
    display: flex;
    align-items: flex-end; /* stick to bottom */
    justify-content: center; /* center pair */
    gap: 10%;
}
.people-left, .people-right {
    position: relative;
    bottom: 0;
    height: 500px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
}

.orange-bottom { margin-top: 8px; }
.orange-bottom-title { font-size: 28px; font-weight: 700; margin: 6px 0 10px; }
.orange-desc { max-width: 860px; margin: 8px auto; opacity: 0.95; }

@media (max-width: 1100px) {
    .orange-cards { max-width: 1000px; gap: 28px; }
    .orange-card { min-height: 440px; }
    .orange-people { height: 420px; margin-top: -200px; }
    .people-left, .people-right { height: 380px; }
}
@media (max-width: 900px) {
    .orange-cards { grid-template-columns: 1fr; max-width: 560px; }
    .orange-card:nth-child(2) { transform: none; }
    .orange-card { min-height: 380px; }
    .orange-stage { padding-bottom: 0; }
    .orange-people { position: relative; left: auto; right: auto; bottom: auto; height: 240px; margin: 10px auto 0; gap: 24px; }
    .people-left, .people-right { height: 200px; margin: 0 12px; }
}

/* ===================== Footer ===================== */
.footer-section {
    background: #1c1432;
    color: #bdb9d6;
    position: relative;
    width: 100%;
    margin-left: 0;
    padding: 120px 0 100px 0; /* reduce bottom gap */
    z-index: 5; /* above preceding section waves */
}

/* Footer top wave */
.footer-section::before {
    content: '';
    position: absolute;
    top: -400px; /* raise wave higher */
    left: 0;
    width: 100%;
    height: 760px; /* taller to cover when raised more */
    /* Overlay a gradient to remove any white band at the bottom without altering the SVG */
    background-image: linear-gradient(to bottom, rgba(28,20,50,0) 0%, rgba(28,20,50,0) 69%, #1c1432 70%, #1c1432 100%), url('iliustracijos/footerUp.svg');
    background-repeat: no-repeat, no-repeat;
    background-size: 100% 100%, 100% auto;
    background-position: center top, center top;
    z-index: 0; /* behind footer content but above previous section due to footer z-index */
    pointer-events: none;
}

/* Ensure no white band at the very bottom */
.footer-section::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px; /* safety strip */
    background: #1c1432;
    z-index: 0;
    pointer-events: none;
}

.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 6px 0; }
.footer-bottom { text-align: center; margin-top: 30px; margin-bottom: 0; color: #8d87a9; }

@media (max-width: 900px) {
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .footer-columns { grid-template-columns: 1fr; }
}

/* ==== Overrides for wave stacking and placement ==== */
/* Hide any bottom wave on rocket-section; we'll render it on orange-section */
.rocket-section::after { display: none !important; content: none !important; }

/* Ensure rocket stack sits above orange section */
.rocket-section { z-index: 2; }
.orange-section { z-index: 1; }

/* Render the bottom wave (below rocket) on the top of orange section */
.orange-section::before {
    content: '';
    position: absolute;
    top: -1px; /* align to rocket-section bottom */
    left: 0;
    width: 100%;
    height: 900px;
    background-image: url('iliustracijos/pilkaSekcija.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 1; /* above orange background */
    pointer-events: none;
}

/* Keep orange content above its wave */
.orange-inner { position: relative; z-index: 2; }

/* Portfolio (removed) */

/* ===================== Mobile layout (Phones) ===================== */
@media (max-width: 600px) {
    :root { --header-h: 64px; }
    /* Remove full-bleed widths that cause horizontal scroll on mobile */
    .hero-section,
    .features-section,
    .bottom-text-section,
    .stats-section,
    .rocket-section,
    .orange-section,
    .footer-section { width: 100%; margin-left: 0; overflow: hidden; }

    body { background: #f5f7fa; }

    /* Header: fixed, compact */
    .header { position: fixed; height: var(--header-h); padding: 0 16px; }
    .logo { margin-left: 0; font-size: 26px; }
    .logo img { width: 36px; }
    .navigation { display: none; }

    /* Hero: laikom offset pagal header aukštį, kad tekstas nepo header */
    .hero-section { min-height: auto; padding: calc(var(--header-h) + 12px) 0 0 0; }
    /* Kai meniu atidarytas – dar pridedam jo aukštį */
    .header.mobile-open + .hero-section { padding: calc(var(--header-h) + var(--menu-open-offset) + 16px) 0 0 0; }
    .hero-content { padding: 0 20px; max-width: none; }
    .hero-title { font-size: 28px; }
    .hero-description { font-size: 14px; }
    .learn-more-btn { padding: 10px 20px; font-size: 13px; }
    .hero-image { position: relative; width: 100%; height: 220px; border-radius: 16px; margin: 16px 0 0 0; }
    .hero-characters { display: none; }

    /* Features: stack cards */
    .features-section { padding: 40px 0; }
    .features-background, .blue-wave-top, .blue-wave-bottom { display: none !important; }
    .features-container { grid-template-columns: 1fr; padding: 0 16px; gap: 16px; height: auto; }
    .feature-card { min-height: 0; padding: 20px; border-radius: 16px; }
    .feature-image { position: relative; height: 180px; }

    /* Bottom text section */
    .bottom-text-section { padding: 40px 0; }
    .bottom-text-section::before { display: none !important; }
    .bottom-content { grid-template-columns: 1fr; gap: 16px; padding: 0 16px; text-align: center; }
    .bottom-title h2 { font-size: 28px; }
    .bottom-description p { font-size: 14px; }

    /* Stats */
    .airplane-image { display: none; }
    .stats-section { padding: 40px 0 20px; }

    /* Rocket section: simplify without waves */
    .rocket-section { padding: 60px 0 40px 0; background: #f2f0f4; }
    .rocket-section::before,
    .rocket-section::after { display: none !important; }
    .rocket-inner { grid-template-columns: 1fr; gap: 20px; padding: 0 16px; }
    .rocket-card { height: 260px; }
    .rocket-ship { width: 260px; right: auto; left: 50%; transform: translateX(-50%) rotate(10deg); top: 10px; }
    .rocket-card::before, .rocket-card::after, .rocket-clouds { display: none; }
    .rocket-text h2 { font-size: 28px; }
    .rocket-text p { font-size: 14px; }

    /* Orange section: single column cards; hide people for clarity */
    .orange-section { padding: 40px 0 60px 0; background: linear-gradient(66deg, #ED374D 0%, #FA793F 80%); }
    .orange-section::before { display: none !important; }
    .orange-inner { padding: 0 16px; }
    .orange-title { font-size: 26px; margin-bottom: 14px; }
    .orange-cards { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto 16px; }
    .orange-card { min-height: 0; padding: 18px 16px 20px; border-radius: 16px; }
    .orange-card::before { display: none; }
    .oc-badge { font-size: 18px; }
    .oc-date { font-size: 12px; margin: 6px 0 14px; }
    .orange-people { display: none; }
    .orange-bottom-title { font-size: 20px; }
    .orange-desc { font-size: 14px; padding: 0 6px; }

    /* Footer: simple, no waves */
    .footer-section { padding: 30px 0 20px 0; }
    .footer-section::before,
    .footer-section::after { display: none !important; }
    .footer-inner { padding: 0 16px; }
    .footer-columns { grid-template-columns: 1fr; gap: 12px; }
    .footer-title { margin-bottom: 6px; }
    .footer-bottom { margin-top: 16px; font-size: 12px; }


    /* Rocket mobile: upright, show small clouds */
    .rocket-ship { transform: translateX(-50%) !important; }
    .rocket-card::before { display: block; }
    .rocket-card::after { display: block; }


/* ===== Custom scrollbar ===== */
html { scrollbar-color: #c4452d #1c1432; scrollbar-width: thin; }
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: #1c1432; }
body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ED374D, #FA793F); border-radius: 6px; }

/* ===== Simple reveal animations ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
    /* Portfolio mobile (removed) */
}


/* =========================================================
   ShopFrame – 2025 redesign (sf-*)
   Note: legacy CSS above is kept for reference.
   ========================================================= */

:root {
    --sf-bg: #0b1220;
    --sf-surface: rgba(255, 255, 255, 0.06);
    --sf-surface-2: rgba(255, 255, 255, 0.1);
    --sf-card: rgba(255, 255, 255, 0.08);
    --sf-border: rgba(255, 255, 255, 0.14);
    --sf-text: rgba(255, 255, 255, 0.92);
    --sf-muted: rgba(255, 255, 255, 0.68);
    --sf-soft: rgba(255, 255, 255, 0.5);

    --sf-accent: #feaa36;
    --sf-accent-2: #ed374d;

    --sf-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
    --sf-shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.25);

    --sf-radius: 16px;
    --sf-radius-lg: 22px;

    --sf-container: 1120px;
    --sf-header-h: 72px;
}

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

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 700px at 15% 20%, rgba(254, 170, 54, 0.18), transparent 60%),
        radial-gradient(900px 600px at 80% 25%, rgba(237, 55, 77, 0.14), transparent 55%),
        linear-gradient(180deg, #0b1220 0%, #070b12 100%);
    color: var(--sf-text);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.sf-container {
    width: min(var(--sf-container), calc(100% - 40px));
    margin: 0 auto;
}

.sf-accent {
    color: var(--sf-accent);
}

.sf-muted {
    color: var(--sf-muted);
}

.sf-skip {
    position: absolute;
    left: -9999px;
    top: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 10px 12px;
    z-index: 9999;
}

.sf-skip:focus {
    left: 14px;
    outline: 2px solid rgba(254, 170, 54, 0.9);
    outline-offset: 2px;
}

:focus-visible {
    outline: 2px solid rgba(254, 170, 54, 0.95);
    outline-offset: 3px;
}

/* Header */
.sf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--sf-header-h);
    z-index: 50;
    display: flex;
    align-items: center;
    background: transparent;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.sf-header--scrolled {
    background: rgba(11, 18, 32, 0.78);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.sf-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.sf-brand__logo {
    width: 40px;
    height: 40px;
}

.sf-brand__text {
    font-weight: 800;
    letter-spacing: 0.3px;
    font-size: 18px;
}

.sf-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sf-nav__link {
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    padding: 10px 10px;
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sf-nav__link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.95);
}

.sf-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg, rgba(254, 170, 54, 0.95), rgba(237, 55, 77, 0.75));
    color: rgba(11, 18, 32, 0.95);
    box-shadow: 0 16px 40px rgba(254, 170, 54, 0.16);
}

.sf-navToggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    padding: 10px;
}

.sf-navToggle__bar {
    display: block;
    height: 2px;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
}

.sf-navToggle__bar + .sf-navToggle__bar {
    margin-top: 6px;
}

body.sf-navOpen {
    overflow: hidden;
}

/* Mobile nav */
@media (max-width: 900px) {
    .sf-navToggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .sf-nav {
        position: fixed;
        top: calc(var(--sf-header-h) + 12px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        background: rgba(11, 18, 32, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        backdrop-filter: blur(10px);
        box-shadow: var(--sf-shadow);
    }

    body.sf-navOpen .sf-nav {
        display: flex;
    }

    .sf-nav__link,
    .sf-nav__cta {
        width: 100%;
        text-align: left;
    }

    .sf-nav__cta {
        justify-content: flex-start;
        color: rgba(11, 18, 32, 0.96);
    }
}

/* Typography */
.sf-kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 12px;
}

.sf-h1 {
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 1.05;
    margin: 0 0 14px;
}

.sf-h2 {
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.15;
    margin: 0;
}

.sf-h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.sf-lead {
    color: rgba(255, 255, 255, 0.74);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 18px;
}

/* Buttons */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
    transition: transform 0.08s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.sf-btn:active {
    transform: translateY(1px);
}

.sf-btn--primary {
    background: linear-gradient(135deg, rgba(254, 170, 54, 0.95), rgba(237, 55, 77, 0.78));
    color: rgba(11, 18, 32, 0.96);
    box-shadow: 0 18px 50px rgba(237, 55, 77, 0.18);
}

.sf-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.16);
}

.sf-btn--full {
    width: 100%;
}

/* Hero */
.sf-hero {
    padding: calc(var(--sf-header-h) + 28px) 0 18px;
    position: relative;
}

.sf-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background-image: url('iliustracijos/purslaiLanding.svg');
    background-repeat: no-repeat;
    /* Avoid “cut in the middle”: keep the illustration readable without harsh cropping */
    background-size: clamp(900px, 120vw, 1500px) auto;
    background-position: 100% 50%;
    opacity: 0.12;
    pointer-events: none;
}

.sf-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: center;
}

.sf-hero__bullets {
    margin: 0 0 22px;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.76);
}

.sf-hero__bullets li {
    margin: 8px 0;
}

.sf-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sf-hero__visual {
    position: relative;
    min-height: 320px;
}

.sf-hero__blob {
    position: absolute;
    inset: -10% -10% -10% -10%;
    background: radial-gradient(40% 45% at 35% 30%, rgba(254, 170, 54, 0.28), transparent 60%),
        radial-gradient(40% 45% at 70% 65%, rgba(237, 55, 77, 0.22), transparent 60%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    filter: blur(0px);
    box-shadow: var(--sf-shadow);
}

.sf-hero__img {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    transform: translateY(8px);
}

@media (max-width: 900px) {
    .sf-hero__inner {
        grid-template-columns: 1fr;
    }
    .sf-hero__visual {
        order: -1;
        min-height: 260px;
    }
    .sf-hero__img {
        margin: 0 auto;
        max-width: 420px;
    }
}

/* Sections */
.sf-section {
    padding: 64px 0;
}

/* First section: slightly tighter to sit closer to hero */
#paslaugos.sf-section {
    padding-top: 44px;
}

.sf-section--tint {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 55%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-section__head {
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
    max-width: 760px;
}

.sf-grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 900px) {
    .sf-grid3 {
        grid-template-columns: 1fr;
    }
}

.sf-card,
.sf-work,
.sf-price,
.sf-contact__card,
.sf-form {
    background: var(--sf-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--sf-radius-lg);
    padding: 18px 18px;
    box-shadow: var(--sf-shadow-soft);
}

.sf-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.74);
}

.sf-list li {
    margin: 8px 0;
}

/* Steps */
.sf-steps {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.sf-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sf-step__num {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: rgba(254, 170, 54, 0.12);
    border: 1px solid rgba(254, 170, 54, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

.sf-step__title {
    font-weight: 800;
    margin-bottom: 4px;
}

/* Banner */
.sf-banner {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(254, 170, 54, 0.12), rgba(237, 55, 77, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sf-banner__art img {
    width: min(240px, 100%);
    margin-left: auto;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

@media (max-width: 900px) {
    .sf-banner {
        grid-template-columns: 1fr;
    }
    .sf-banner__art img {
        margin: 0;
    }
}

/* Work cards */
.sf-work__frame {
    height: 150px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(254, 170, 54, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.sf-work__frame--alt {
    background: linear-gradient(135deg, rgba(237, 55, 77, 0.12), rgba(255, 255, 255, 0.04));
}

.sf-work__frame--dark {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(11, 18, 32, 0.4));
}

.sf-work__shine {
    position: absolute;
    inset: -40% -30% auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 60%);
    transform: rotate(20deg);
}

/* Pricing */
.sf-price {
    display: grid;
    gap: 12px;
}

.sf-price__top {
    display: grid;
    gap: 6px;
}

.sf-price__name {
    font-weight: 800;
    font-size: 16px;
}

.sf-price__value {
    font-weight: 900;
    font-size: 26px;
}

.sf-price--featured {
    border-color: rgba(254, 170, 54, 0.28);
    box-shadow: 0 22px 60px rgba(254, 170, 54, 0.12);
    background: linear-gradient(180deg, rgba(254, 170, 54, 0.12), rgba(255, 255, 255, 0.06));
}

.sf-price__badge {
    justify-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: rgba(254, 170, 54, 0.16);
    border: 1px solid rgba(254, 170, 54, 0.24);
    color: rgba(255, 255, 255, 0.88);
}

/* Contact */
.sf-contact {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 16px;
    align-items: start;
}

@media (max-width: 900px) {
    .sf-contact {
        grid-template-columns: 1fr;
    }
}

.sf-contact__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-contact__row:first-of-type {
    border-top: 0;
}

.sf-contact__label {
    color: rgba(255, 255, 255, 0.66);
    font-weight: 600;
    font-size: 13px;
}

.sf-contact__value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

a.sf-contact__value:hover {
    text-decoration: underline;
}

.sf-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.sf-contact__split {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 16px 0;
}

.sf-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sf-field {
    display: grid;
    gap: 6px;
}

.sf-field--full {
    grid-column: 1 / -1;
}

.sf-field__label {
    font-weight: 700;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.sf-field__input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 12px 12px;
    color: rgba(255, 255, 255, 0.92);
    font: inherit;
}

.sf-field__input::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.sf-field__textarea {
    resize: vertical;
    min-height: 120px;
}

.sf-form__note {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12px;
}

/* Footer */
.sf-footer {
    padding: 44px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.12);
}

.sf-footer__inner {
    display: grid;
    gap: 18px;
}

.sf-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.sf-footer__logo img {
    width: 34px;
    height: 34px;
}

.sf-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sf-footer__links a {
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    font-size: 13px;
}

.sf-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.sf-footer__bottom a {
    color: rgba(255, 255, 255, 0.78);
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}

