/* =========================================================
   ПЕРЕМЕННЫЕ И БАЗА
========================================================= */
:root {
    --yellow: #f1dc42;
    --cloud: #f0f4fb;
    --sky1: #cee4f3;
    --sky2: #d4ecf4;
    --sky3: #b3d5ed;
    --mist: #acbcd4;
    --mint1: #afcec4;
    --mint2: #9cc4bc;
    --grass1: #7bb468;
    --grass2: #a0c2a2;
    --text-dark: #1e2b35;
    --text-soft: #3d4f5c;
    --glass-bg: rgba(255,255,255,0.45);
    --glass-border: rgba(255,255,255,0.65);
    --glass-shadow: 0 8px 40px rgba(60,90,110,0.10);
    --radius-xl: 36px;
    --radius-lg: 28px;
    --blur: 20px;

    --gl-1: #a4e4fb;
    --gl-2: #d3f2fb;
    --gl-3: #81dbfb;
    --gl-4: #ecfafb;
    --gl-5: #95d4ed;
    --gl-6: #bcdc8c;
    --gl-7: #aad564;
    --gl-8: #c1dba3;
    --gl-9: #7aab40;
    --gl-10: #a4b494;

    --stroke-color: rgba(30, 43, 53, 0.45);
    --stroke-width: 1.2px;
}

/* =========================================================
   СБРОС / ОБЩИЕ
========================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    touch-action: pan-x pan-y !important;
}

body {
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    -webkit-font-smoothing: antialiased;
    background: linear-gradient(180deg, #7bb9d4 0%, #8fc5e0 25%, #a3d1eb 50%, #b7ddf2 75%, #c9e7f8 100%) !important;
    background-attachment: fixed !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: auto !important;
    -webkit-overflow-scrolling: touch !important;
    pointer-events: auto !important;
}

.main-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
    position: relative;
    z-index: 1;
}

section {
    padding: 80px 0;
    position: relative;
}

/* =========================================================
   ГЛОБАЛЬНЫЙ ФОН (облака + лужайка)
========================================================= */
#goodluck-global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.clouds-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cloud {
    position: absolute;
    background: rgba(255,255,255,0.72);
    border-radius: 999px;
    will-change: transform;
    box-shadow: 0 8px 24px rgba(255,255,255,0.25), 0 2px 8px rgba(255,255,255,0.15);
}
.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    background: inherit;
    border-radius: 50%;
    box-shadow: inherit;
}
.cloud-1 { width:210px; height:62px; top:5%;  left:6%;  opacity:0.9; }
.cloud-1::before { width:80px;  height:80px;  top:-34px; left:30px; }
.cloud-1::after  { width:100px; height:100px; top:-52px; left:80px; }
.cloud-2 { width:160px; height:48px; top:18%; left:58%; opacity:0.7; }
.cloud-2::before { width:64px; height:64px; top:-28px; left:22px; }
.cloud-2::after  { width:78px; height:78px; top:-40px; left:60px; }
.cloud-3 { width:260px; height:70px; top:2%;  left:72%; opacity:0.55; }
.cloud-3::before { width:88px;  height:88px;  top:-38px; left:45px; }
.cloud-3::after  { width:112px; height:112px; top:-58px; left:106px; }
.cloud-4 { width:130px; height:40px; top:22%; left:24%; opacity:0.6; }
.cloud-4::before { width:50px; height:50px; top:-22px; left:20px; }
.cloud-4::after  { width:60px; height:60px; top:-34px; left:52px; }
.cloud-5 { width:180px; height:54px; top:10%; left:-2%; opacity:0.5; }
.cloud-5::before { width:68px; height:68px; top:-30px; left:26px; }
.cloud-5::after  { width:80px; height:80px; top:-42px; left:68px; }
.cloud-6 { width:110px; height:36px; top:28%; left:82%; opacity:0.45; }
.cloud-6::before { width:44px; height:44px; top:-20px; left:16px; }
.cloud-6::after  { width:54px; height:54px; top:-30px; left:44px; }

.meadow-layer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(200px, 35vh, 340px);
    z-index: 2;
}
.meadow-layer svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================================================
   HERO
========================================================= */
.hero-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

.hero-title {
    font-size: clamp(3.2rem, 11vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    background: linear-gradient(135deg, var(--gl-1) 0%, var(--gl-3) 15%, var(--gl-5) 30%, var(--gl-7) 50%, var(--gl-9) 70%, var(--gl-6) 85%, var(--gl-10) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: var(--stroke-width) var(--stroke-color);
    text-stroke: var(--stroke-width) var(--stroke-color);
    text-shadow: 0 2px 0 rgba(255,255,255,0.6), 0 3px 12px rgba(129, 219, 251, 0.35), 0 5px 25px rgba(170, 213, 100, 0.25), 0 8px 40px rgba(30, 43, 53, 0.12);
    transition: transform 0.4s ease;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
}
@media (hover: hover) and (pointer: fine) {
    .hero-title:hover { transform: translateY(-3px); filter: saturate(1.05); }
}
.hero-word-group { display: inline; }
.hero-word-group .word-line { display: inline; }
.hero-it { display: inline; margin-left: 0.15em; }
.hero-right-col { display: contents; }

.hero-title .dot-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    line-height: 1;
    vertical-align: middle;
    position: relative;
    top: -0.05em;
}
.hero-title .dot-image img {
    display: block;
    max-height: 1.25em;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 2px 0 rgba(255,255,255,0.7)) drop-shadow(0 3px 8px rgba(129, 219, 251, 0.4)) drop-shadow(0 6px 16px rgba(170, 213, 100, 0.25));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (hover: hover) and (pointer: fine) {
    .hero-title:hover .dot-image img { transform: scale(1.12) rotate(3deg); }
}
@media (prefers-reduced-motion: no-preference) {
    .hero-title .dot-image img {
        animation: gentleFloat 3.2s ease-in-out infinite;
    }
    @keyframes gentleFloat {
        0%, 100% { transform: translateY(0) scale(1); }
        50% { transform: translateY(-4px) scale(1.04); }
    }
}

.hero-sub {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-soft);
    font-weight: 500;
    letter-spacing: 0.04em;
    opacity: 0;
    animation: fadeUp .8s ease-out .4s forwards;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-sub i {
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 0.75; transform: translateY(0); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

/* =========================================================
   PROMO / ОБЩИЕ БЛОКИ
========================================================= */
.promo-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 1.5rem;
}
.promo-main-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.promo-clover {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    color: var(--grass1);
    flex-shrink: 0;
    transform: rotate(12deg);
    opacity: 0.95;
    transition: transform 0.3s ease;
}
.promo-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}
.promo-subtitle {
    font-size: clamp(1rem, 2.8vw, 1.35rem);
    font-weight: 500;
    margin: 0;
    color: var(--text-soft);
    letter-spacing: 0.01em;
}
@media (hover: hover) {
    .promo-heading:hover .promo-clover:first-child { transform: rotate(-8deg) translateY(-2px); }
    .promo-heading:hover .promo-clover:last-child  { transform: rotate(8deg)  translateY(-2px); }
}

.section-heading {
    text-align: center;
    font-size: clamp(1.6rem,4vw,2.4rem);
    font-weight: 700;
    margin: 0 auto 32px;
    letter-spacing: -0.02em;
    max-width: 700px;
    padding: 0 12px;
    position: relative;
    z-index: 2;
}
.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--yellow);
    border-radius: 4px;
    margin: 12px auto 0;
    opacity: 0.8;
}

.glass-bubble {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    transition: transform .3s cubic-bezier(.25,.1,.25,1.2), box-shadow .3s ease;
    overflow: visible;
    position: relative;
    z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
    .glass-bubble:hover {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 16px 45px rgba(50,80,100,0.14);
    }
}

.text-bubble {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 30px;
    font-size: clamp(1rem,1.3vw,1.1rem);
    color: var(--text-soft);
    line-height: 1.75;
    text-align: center;
    border-radius: 50px;
}
.text-bubble p + p { margin-top: .8em; }

.bubble-card {
    padding: 30px 22px 26px;
    text-align: center;
    font-size: clamp(.95rem,1.2vw,1.05rem);
    color: var(--text-soft);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    border-radius: 42px;
    cursor: default;
}
.bubble-icon {
    font-size: clamp(2.2rem,5vw,3rem);
    line-height: 1;
    display: block;
}
.bubble-card .fa-solid,
.bubble-card .fa-regular,
.bubble-card .fa-brands { font-size: inherit; }
@media (hover: hover) and (pointer: fine) {
    .bubble-card:hover .bubble-icon { transform: scale(1.12) rotate(-3deg); }
}
.bubble-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: var(--grass1);
    padding: 4px 14px;
    border-radius: 20px;
    margin-top: 4px;
    opacity: 0.85;
}
.bubble-card:nth-child(2) .bubble-tag { background: var(--mint2); }
.bubble-card:nth-child(3) .bubble-tag { background: var(--mist); }
.bubble-card:nth-child(4) .bubble-tag { background: #7bb468; }

/* Сетки */
.promo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0 2.5rem;
}
.promo-grid .bubble-card {
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    max-width: 420px;
}
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 24px;
    width: 100%;
    align-items: start;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 22px;
    width: 100%;
    align-items: start;
}

.closing-callout {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.closing-callout p { margin: 0; font-size: clamp(1rem, 2.5vw, 1.15rem); line-height: 1.6; color: var(--text-dark); }
.closing-callout strong { color: var(--grass1); font-weight: 700; }

.cta-wrapper { display: flex; justify-content: center; margin-top: 32px; }
.large-cta-btn {
    padding: 18px 40px;
    background: var(--grass1);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.2);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.large-cta-btn i { font-size: 1.3rem; transition: transform 0.3s ease; }
.large-cta-btn:hover {
    background: #16a34a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 36px rgba(22, 163, 74, 0.45);
}
.large-cta-btn:hover i { transform: translateX(4px) rotate(-10deg); }

.fa-solid, .fa-regular, .fa-brands {
    background: linear-gradient(135deg, var(--gl-3) 0%, var(--gl-5) 25%, var(--gl-7) 50%, var(--gl-9) 75%, var(--gl-6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 0.8px rgba(30, 43, 53, 0.35);
    text-stroke: 0.8px rgba(30, 43, 53, 0.35);
    filter: drop-shadow(0 2px 6px rgba(129, 219, 251, 0.25));
    transition: transform 0.3s ease, filter 0.3s ease;
    display: inline-block;
}
@media (hover: hover) and (pointer: fine) {
    .fa-solid:hover, .fa-regular:hover, .fa-brands:hover {
        transform: scale(1.08);
        filter: drop-shadow(0 3px 10px rgba(129, 219, 251, 0.35));
    }
}
.section-heading .fa-solid,
.section-heading .fa-regular,
.section-heading .fa-brands {
    -webkit-text-stroke: 0.6px rgba(30, 43, 53, 0.3);
    filter: drop-shadow(0 1px 4px rgba(129, 219, 251, 0.2));
}

/* =========================================================
   ПОРТФОЛИО
========================================================= */
.portfolio-grid {
    display: grid;
    gap: 24px;
    width: 100%;
}
.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: transform .3s ease, box-shadow .3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(50,80,100,0.15);
    }
    .project-card:hover .project-icon { transform: scale(1.15) rotate(-5deg); }
}
.project-icon { font-size: 2.6rem; transition: transform .3s ease; }
.project-card .fa-solid,
.project-card .fa-regular,
.project-card .fa-brands { font-size: inherit; }
.project-text {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}
.project-text p { margin-bottom: 12px; }
.project-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}
.project-links a {
    color: var(--grass1);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    word-break: break-word;
    transition: color .2s;
}
.project-links a:hover { color: var(--text-dark); text-decoration: underline; }
.footer-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-soft);
    opacity: 0.5;
    padding: 30px 0 10px;
    letter-spacing: 0.03em;
}

/* =========================================================
   АДАПТИВ (десктоп, планшет, телефон)
========================================================= */
@media (min-width: 769px) {
    .portfolio-grid { grid-template-columns: repeat(6,1fr); }
    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3) { grid-column: span 2; }
    .project-card:nth-child(4),
    .project-card:nth-child(5) { grid-column: span 3; }
    .project-card:nth-child(6),
    .project-card:nth-child(7) { grid-column: span 3; }
    .project-card:nth-child(8) { grid-column: span 6; }
    .promo-grid .bubble-card { flex: 1 1 calc(33.333% - 1.5rem); }
}

@media (max-width: 900px) {
    .promo-grid .bubble-card { flex: 1 1 calc(50% - 1.5rem); }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .project-card:nth-child(n) { grid-column: span 1; }
    .main-content { padding: 0 16px 50px; }
    section { padding: 60px 0; }
    #marketplace-promo .services-grid { gap: 16px; }
    #marketplace-promo .bubble-card { padding: 20px 16px 22px; border-radius: 28px; }
    #marketplace-promo .text-bubble { padding: 20px 16px; }
    #marketplace-promo .section-heading { font-size: 1.1rem; margin-top: 18px; margin-bottom: 14px; }
}

@media (max-width: 768px) {
    :root {
        --blur: 10px;
        --stroke-width: 0px;
    }
    .hero-title {
        font-size: clamp(3rem, 12vw, 4.5rem);
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.15em;
        -webkit-text-stroke: 0;
        text-stroke: 0;
        text-shadow: -0.5px -0.5px 0 rgba(255,255,255,0.5), 0.5px -0.5px 0 rgba(255,255,255,0.5), -0.5px 0.5px 0 rgba(255,255,255,0.5), 0.5px 0.5px 0 rgba(255,255,255,0.5), 0 1px 0 rgba(255,255,255,0.4), 0 3px 10px rgba(129, 219, 251, 0.2), 0 5px 20px rgba(170, 213, 100, 0.15);
    }
    .hero-word-group {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        line-height: 0.95;
    }
    .hero-word-group .word-line { display: block; }
    .hero-right-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-self: stretch;
    }
    .hero-it { display: block; font-size: 1.1em; line-height: 1; margin: 0; }
    .hero-title .dot-image { margin: 4px 0 0; }
    .hero-title .dot-image img {
        max-height: 0.85em;
        animation: none;
    }
    .hero-sub .fa-solid { -webkit-text-stroke: 0; text-stroke: 0; text-shadow: 0 0 6px rgba(255,255,255,0.8); }
    @media (hover: none) and (pointer: coarse) {
        .hero-title:hover { transform: none; filter: none; }
        .hero-title .dot-image img:hover { transform: none; }
    }

    .glass-bubble, .project-card { box-shadow: 0 4px 20px rgba(60,90,110,0.08); }
    .main-content { padding: 0 14px 70px; }
    section { padding: 60px 0; }
    .hero-wrapper { min-height: 90vh; min-height: 90dvh; }
    .section-heading {
        font-size: clamp(1.4rem,4.5vw,1.8rem);
        margin-bottom: 24px;
    }
    .section-heading::after { width: 45px; height: 3px; }
    .text-bubble { padding: 26px 20px; border-radius: 38px; }
    .principles-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .bubble-card { padding: 26px 18px 22px; border-radius: 34px; }
    .bubble-icon { font-size: clamp(1.9rem,5vw,2.5rem); }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .project-card:nth-child(n) { grid-column: auto; }
    .fa-solid, .fa-regular, .fa-brands {
        -webkit-text-stroke: 0;
        text-stroke: 0;
        text-shadow: 0 0 4px rgba(255,255,255,0.4);
    }
    .large-cta-btn {
        padding: 16px 28px;
        font-size: 1.1rem;
        width: 92%;
        justify-content: center;
    }
    .closing-callout { padding: 20px 18px; }
    .promo-grid .bubble-card { flex: 1 1 100%; max-width: 100%; }

    #marketplace-promo .services-grid { grid-template-columns: 1fr !important; gap: 14px !important; align-items: stretch !important; }
    #marketplace-promo .bubble-card { padding: 16px 14px 18px !important; border-radius: 24px !important; font-size: 0.9rem !important; gap: 10px !important; width: 100% !important; max-width: 100% !important; }
    #marketplace-promo .bubble-icon { font-size: 1.8rem !important; }
    #marketplace-promo .text-bubble { padding: 14px 12px !important; font-size: 0.9rem !important; border-radius: 24px !important; }
    #marketplace-promo .section-heading { font-size: 1rem !important; margin-top: 16px !important; margin-bottom: 12px !important; }
    #marketplace-promo .promo-title { font-size: 1.3rem !important; }
    #marketplace-promo .promo-subtitle { font-size: 0.9rem !important; }
    #marketplace-promo ul { font-size: 0.8rem !important; line-height: 1.4 !important; }
    #marketplace-promo ul li { margin-bottom: 8px !important; }
    #marketplace-promo .bubble-tag { font-size: 0.6rem !important; padding: 2px 10px !important; }
    #marketplace-promo .bubble-card { word-break: normal !important; hyphens: none !important; }
}

@media (max-width: 480px) {
    :root { --blur: 6px; }
    .hero-title {
        font-size: clamp(2.6rem, 11vw, 3.5rem);
        gap: 0.1em;
        background: linear-gradient(135deg, var(--gl-3) 0%, var(--gl-7) 50%, var(--gl-9) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        text-shadow: -1px -1px 0 rgba(255,255,255,0.4), 1px -1px 0 rgba(255,255,255,0.4), -1px 1px 0 rgba(255,255,255,0.4), 1px 1px 0 rgba(255,255,255,0.4), 0 1px 2px rgba(0,0,0,0.1), 0 2px 6px rgba(129, 219, 251, 0.2);
    }
    .hero-title .dot-image img { max-height: 0.75em; animation: none; }
    .hero-wrapper { padding: 1.5rem 0.8rem; min-height: 100vh; min-height: 100dvh; }
    .promo-heading { gap: 4px; margin-bottom: 1rem; }
    .promo-main-row { gap: 8px; }
    .promo-clover { font-size: 1.1rem; transform: rotate(0); }
    .closing-callout { padding: 20px 16px; border-radius: var(--radius-lg); }
    .large-cta-btn { width: 100%; justify-content: center; padding: 16px 20px; font-size: 1rem; }
    .section-heading { font-size: clamp(1.2rem,4.5vw,1.5rem); }
    .principles-grid, .services-grid, .portfolio-grid { grid-template-columns: 1fr; gap: 14px; }
    .bubble-card { padding: 24px 16px 20px; border-radius: 30px; font-size: 0.95rem; gap: 10px; }
    .bubble-icon { font-size: 1.8rem; }
    .text-bubble { padding: 22px 16px; border-radius: 32px; font-size: 0.95rem; }
    .bubble-tag { font-size: 0.65rem; padding: 3px 10px; }
    .project-card { padding: 22px 16px 20px; }
    .project-icon { font-size: 2.2rem; }
    .fa-solid, .fa-regular, .fa-brands { -webkit-text-stroke: 0; text-stroke: 0; text-shadow: 0 0 6px rgba(255,255,255,0.6); }
    .large-cta-btn { width: 100%; font-size: 1rem; padding: 14px 18px; }
    .closing-callout { padding: 18px 12px; }
    #marketplace-promo .services-grid { gap: 12px !important; }
    #marketplace-promo .bubble-card { padding: 12px 10px 14px !important; }
    #marketplace-promo .bubble-icon { font-size: 1.6rem !important; }
    #marketplace-promo .text-bubble { padding: 12px 8px !important; font-size: 0.85rem !important; }
    #marketplace-promo ul { font-size: 0.75rem !important; }
    #marketplace-promo .promo-title { font-size: 1.2rem !important; }
}

/* =========================================================
   ТЁМНАЯ ТЕМА
========================================================= */
@media (prefers-color-scheme: dark) {
    :root { --stroke-color: rgba(240, 244, 251, 0.55); }
    .hero-title {
        text-shadow: 0 2px 0 rgba(20, 30, 40, 0.7), 0 3px 12px rgba(129, 219, 251, 0.45), 0 5px 25px rgba(170, 213, 100, 0.35), 0 8px 40px rgba(0, 0, 0, 0.3);
    }
    @media (max-width: 768px) {
        .hero-title {
            text-shadow: -1px -1px 0 rgba(255,255,255,0.5), 1px -1px 0 rgba(255,255,255,0.5), -1px 1px 0 rgba(255,255,255,0.5), 1px 1px 0 rgba(255,255,255,0.5), 0 1px 2px rgba(0,0,0,0.12), 0 3px 10px rgba(129, 219, 251, 0.25), 0 5px 20px rgba(170, 213, 100, 0.15);
        }
    }
    .fa-solid, .fa-regular, .fa-brands {
        -webkit-text-stroke: 0.8px rgba(240, 244, 251, 0.45);
        filter: drop-shadow(0 2px 6px rgba(129, 219, 251, 0.35));
    }
    @media (max-width: 768px) {
        .fa-solid, .fa-regular, .fa-brands {
            -webkit-text-stroke: 0;
            text-stroke: 0;
            text-shadow: 0 0 8px rgba(0,0,0,0.5);
        }
    }
}

/* =========================================================
   ДОСТУПНОСТЬ
========================================================= */
@media (prefers-reduced-transparency: reduce), (update: slow) {
    .glass-bubble, .project-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255,255,255,0.75);
    }
    .fa-solid, .fa-regular, .fa-brands {
        -webkit-text-stroke: none;
        filter: none;
        -webkit-text-fill-color: var(--grass1);
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .hero-title { transition: none !important; transform: none !important; }
    .hero-title .dot-image img { animation: none !important; }
}

/* =========================================================
   ЯЗЫКОВОЙ ПЕРЕКЛЮЧАТЕЛЬ И КНОПКА СВЯЗИ – СТИЛИ
========================================================= */
/* переключатель */
.gl-lang-switcher {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9997;
    display: flex;
    gap: 8px;
    flex-direction: row;
    pointer-events: none;
}
.gl-lang-switcher * { pointer-events: auto; }
.gl-lang-btn {
    padding: 8px 14px;
    background: var(--grass1);
    color: #fff !important;
    border: none;
    border-radius: 30px;
    text-decoration: none !important;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.2);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    line-height: 1;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.gl-lang-btn.active {
    background: var(--grass1);
    opacity: 1;
    cursor: default;
    box-shadow: 0 4px 16px rgba(123, 180, 104, 0.5);
    filter: brightness(1);
}
.gl-lang-btn.active:hover {
    transform: none;
    background: var(--grass1);
    filter: brightness(1);
    box-shadow: 0 4px 16px rgba(123, 180, 104, 0.5);
}
.gl-lang-btn:not(.active) {
    opacity: 0.55;
    filter: brightness(0.85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.gl-lang-btn:not(.active):hover {
    opacity: 1;
    filter: brightness(1);
    background: #689c54;
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(100, 150, 80, 0.4);
}
.gl-lang-btn:active { transform: scale(0.98); }
@media (max-width: 768px) {
    .gl-lang-switcher { top: 16px; right: 16px; gap: 6px; }
    .gl-lang-btn { padding: 6px 12px; font-size: 0.75rem; min-width: 36px; border-radius: 24px; }
}
@media (max-width: 480px) {
    .gl-lang-switcher { top: 12px; right: 12px; flex-direction: column; gap: 4px; }
    .gl-lang-btn { padding: 5px 10px; font-size: 0.7rem; min-width: 32px; border-radius: 20px; }
}

/* кнопка обратной связи */
.fixed-form-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    padding: 14px 24px;
    background: var(--grass1);
    color: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(123, 180, 104, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.2);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fixed-form-btn i { font-size: 1.1rem; color: #fff; }
.fixed-form-btn:hover {
    background: #689c54;
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(100, 150, 80, 0.45);
}
@media (max-width: 768px) {
    .fixed-form-btn {
        right: 16px;
        bottom: 20px;
        padding: 0;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        gap: 0;
        font-size: 0;
        box-shadow: 0 8px 24px rgba(123, 180, 104, 0.4);
    }
    .fixed-form-btn i { font-size: 1.4rem; margin: 0; }
    .fixed-form-btn .btn-text { display: none; }
    .fixed-form-btn:hover { transform: scale(1.08); }
}
@media (max-width: 480px) {
    .fixed-form-btn { right: 12px; bottom: 16px; width: 48px; height: 48px; }
    .fixed-form-btn i { font-size: 1.2rem; }
}

/* модальное окно */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(30, 43, 53, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    padding: 32px 28px;
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    color: var(--text-dark);
}
.modal-overlay.active .modal-content { transform: scale(1); }
.close-btn {
    position: absolute;
    top: 14px; right: 18px;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-soft);
    transition: color 0.2s, transform 0.2s;
    padding: 4px 8px;
}
.close-btn:hover { color: #000; transform: scale(1.1); }
.modal-form-container { margin-top: 8px; }
@media (max-width: 768px) {
    .modal-content { padding: 24px 18px; width: 95%; max-width: 500px; max-height: 90vh; border-radius: 24px; }
    .close-btn { top: 10px; right: 12px; font-size: 26px; }
}

/* =========================================================
   ПАСХАЛКА (облако)
========================================================= */
.stealth-cloud {
    position: fixed;
    top: 12%;
    left: 3%;
    width: 200px;
    height: 60px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.3), 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
    z-index: 100000;
    pointer-events: auto;
    will-change: transform;
    transition: box-shadow 0.2s ease;
    animation: subtleGreenPulse 12s infinite ease-in-out;
}
.stealth-cloud::before,
.stealth-cloud::after {
    content: "";
    position: absolute;
    background: inherit;
    border-radius: 50%;
    box-shadow: inherit;
}
.stealth-cloud::before { width: 80px; height: 80px; top: -34px; left: 30px; }
.stealth-cloud::after  { width: 100px; height: 100px; top: -52px; left: 80px; }
@keyframes subtleGreenPulse {
    0%, 90%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.3), 0 4px 12px rgba(0,0,0,0.05); background: rgba(255, 255, 255, 0.55); }
    95% { box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.6), 0 0 18px 4px #8bc34a; background: rgba(200, 240, 180, 0.7); }
}
.stealth-cloud:hover { background: rgba(255, 255, 255, 0.75); box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.4); }
.cloud-disperse {
    animation: disperseCloud 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    pointer-events: none !important;
}
@keyframes disperseCloud {
    0% { opacity: 1; transform: scale(1) translate(0,0); filter: blur(0); }
    100% { opacity: 0; transform: scale(0.1) translate(40px, -50px); filter: blur(10px); visibility: hidden; }
}
.mascot-popup {
    position: fixed;
    z-index: 100001;
    cursor: pointer;
    animation: mascotAppear 0.4s ease-out;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}
.mascot-popup img { width: 110px; height: auto; display: block; transition: transform 0.2s; }
.mascot-popup:hover img { transform: scale(1.05); }
@keyframes mascotAppear {
    0% { opacity: 0; transform: scale(0.2) rotate(-10deg); }
    70% { transform: scale(1.1) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}
@media (max-width: 768px) { .stealth-cloud { display: none; } }