:root {
    --green-950: #07351f;
    --green-900: #0c4a2d;
    --green-800: #176c34;
    --green-700: #278b20;
    --green-600: #48a91f;
    --green-500: #73c927;
    --green-100: #eaf8df;
    --cream: #fffdf2;
    --white: #ffffff;
    --sky: #dff5ff;
    --sun: #ffe680;
    --text: #153528;
    --muted: #5f7667;
    --line: rgba(18, 95, 49, 0.16);
    --shadow: 0 24px 70px rgba(13, 82, 35, 0.18);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1240px;
    --transition: 280ms cubic-bezier(.2,.8,.2,1);
    --font: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font);
    background:
        radial-gradient(circle at 88% 9%, rgba(255, 235, 126, .9) 0 6%, transparent 18%),
        linear-gradient(180deg, #dff5ff 0%, #fffdf1 44%, #edf9e5 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 36px, var(--container)); margin-inline: auto; }

.page-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.sun {
    position: absolute; top: 62px; right: 7%; width: 148px; aspect-ratio: 1;
    border-radius: 50%; background: radial-gradient(circle, #fff 0 22%, var(--sun) 23% 50%, rgba(255, 223, 82, .12) 70%);
    box-shadow: 0 0 80px rgba(255, 219, 77, .75);
    animation: pulseSun 5s ease-in-out infinite;
}
.rainbow {
    position: absolute; top: 120px; left: 21%; width: 470px; height: 235px;
    border-radius: 470px 470px 0 0;
    background: conic-gradient(from 180deg at 50% 100%, #ff5a5f, #ffb000, #ffe64d, #58c758, #28a9ff, #9b5cff, transparent 72deg);
    filter: blur(1px); opacity: .45;
    -webkit-mask: radial-gradient(ellipse at 50% 100%, transparent 0 54%, #000 55% 72%, transparent 73%);
            mask: radial-gradient(ellipse at 50% 100%, transparent 0 54%, #000 55% 72%, transparent 73%);
}
.cloud { position: absolute; width: 230px; height: 68px; border-radius: 999px; background: rgba(255,255,255,.68); filter: blur(.2px); }
.cloud::before, .cloud::after { content: ''; position: absolute; border-radius: 50%; background: inherit; }
.cloud::before { width: 86px; height: 86px; left: 35px; top: -34px; }
.cloud::after { width: 118px; height: 118px; right: 28px; top: -58px; }
.cloud--one { top: 170px; left: 8%; animation: cloudMove 22s linear infinite; }
.cloud--two { top: 280px; right: 10%; transform: scale(.7); animation: cloudMove 28s linear infinite reverse; }
.leaf { position: absolute; font-size: clamp(24px, 3vw, 46px); opacity: .55; filter: blur(.1px); animation: floatLeaf 8s ease-in-out infinite; }
.leaf--one { top: 15%; left: 7%; }
.leaf--two { top: 38%; right: 5%; animation-delay: -2s; }
.leaf--three { bottom: 16%; left: 2%; animation-delay: -4s; }

.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    padding: 14px 0; transition: var(--transition);
}
.header.is-scrolled { background: rgba(255,255,255,.68); backdrop-filter: blur(22px); box-shadow: 0 12px 35px rgba(29, 99, 49, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo img { object-fit: contain; filter: drop-shadow(0 12px 18px rgba(15, 95, 40, .13)); }
.pill-nav {
    display: flex; gap: 8px; align-items: center;
    padding: 8px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px;
    background: rgba(255,255,255,.56); backdrop-filter: blur(18px);
    box-shadow: 0 16px 38px rgba(46, 123, 69, .08);
}
.pill-nav a { padding: 10px 14px; border-radius: 999px; color: var(--green-950); font-size: 14px; font-weight: 800; transition: var(--transition); }
.pill-nav a:hover { background: rgba(87, 177, 35, .12); transform: translateY(-1px); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang-switcher { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.lang-switcher__btn { border: 0; cursor: pointer; padding: 10px 15px; border-radius: 999px; color: var(--green-950); background: transparent; font-weight: 900; transition: var(--transition); }
.lang-switcher__btn--active { color: #fff; background: linear-gradient(135deg, var(--green-700), var(--green-500)); box-shadow: 0 10px 18px rgba(61, 147, 32, .26); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 999px; padding: 13px 22px; font-weight: 900; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--green-700), var(--green-500)); box-shadow: 0 16px 34px rgba(55, 143, 31, .28), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--ghost { background: rgba(255,255,255,.68); color: var(--green-950); box-shadow: inset 0 0 0 1px rgba(19, 96, 48, .12); }
.btn--lg { padding: 16px 26px; }
.btn--product { width: 100%; color: #fff; background: linear-gradient(135deg, var(--card-accent, var(--green-700)), var(--card-accent-2, var(--green-500))); box-shadow: 0 16px 28px rgba(42, 128, 43, .22); }

.hero { min-height: 100vh; padding: 140px 0 72px; position: relative; }
.hero::before {
    content: ''; position: absolute; inset: 45% -10% -4%; z-index: -1;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(237, 249, 229, .96) 45%), radial-gradient(circle at 30% 42%, rgba(114, 201, 39, .18), transparent 36%);
}
.hero__grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 36px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; color: var(--green-900); background: rgba(255,255,255,.72); font-weight: 900; font-size: 14px; box-shadow: inset 0 0 0 1px rgba(35, 123, 55, .1); }
.hero__title { margin-top: 22px; max-width: 720px; font-size: clamp(46px, 7vw, 92px); line-height: .94; letter-spacing: -.065em; color: var(--green-950); font-weight: 900; }
.hero__title span { display: block; background: linear-gradient(135deg, var(--green-700), #86d62c 64%, #1c9c5b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 20px 40px rgba(77, 164, 34, .12); }
.hero__subtitle { max-width: 560px; margin-top: 22px; color: #2f5a44; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.65; font-weight: 600; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__features { display: grid; grid-template-columns: repeat(4, minmax(88px, 1fr)); gap: 14px; margin-top: 34px; max-width: 580px; }
.feature-card { min-height: 112px; display: grid; place-items: center; gap: 8px; text-align: center; padding: 16px 10px; border-radius: 22px; background: rgba(255,255,255,.72); box-shadow: 0 16px 34px rgba(25, 105, 50, .1), inset 0 0 0 1px rgba(255,255,255,.82); backdrop-filter: blur(16px); }
.feature-card span { font-size: 28px; }
.feature-card strong { font-size: 13px; color: var(--green-950); }

/* ================= HERO PRODUCTS ================= */

.hero__visual{
    min-height:620px;
    display:grid;
    place-items:center;
}

.hero-showcase{
    position:relative;
    width:min(100%,760px);
    height:620px;
}

.showcase-glow{
    position:absolute;
    inset:10% 5% 18%;
    border-radius:50%;
    background:
        radial-gradient(circle,
        rgba(255,255,255,.95),
        rgba(145,220,70,.25) 42%,
        transparent 72%);
    filter:blur(10px);
}

.wood-plate{
    display:none;
}

/* ---------- Пакетики ---------- */

.pack{
    position:absolute;
    bottom:55px;
    width:21%;
    object-fit:contain;

    filter:
        drop-shadow(0 20px 26px rgba(0,0,0,.15));

    transition:
        transform .35s ease,
        filter .35s ease;

    animation:packFloat 5s ease-in-out infinite;

    z-index:5;
}

.pack:hover{
    transform:translateY(-12px) scale(1.06);
    filter:
        drop-shadow(0 28px 34px rgba(0,0,0,.22));
}

/* ---------- Первый ---------- */

.pack--orik{
    left:1%;
    transform:rotate(-7deg);
    animation-delay:0s;
}

/* ---------- Второй ---------- */

.pack--alma{
    left:21%;
    transform:rotate(-3deg);
    animation-delay:-.8s;
}

/* ---------- Центральный ---------- */

.pack--kaun{

    left:40%;

    width:22%;

    bottom:68px;

    transform:rotate(0);

    z-index:20;

    animation-delay:-1.4s;
}

/* ---------- Четвертый ---------- */

.pack--shabdaly{

    left:60%;

    transform:rotate(3deg);

    animation-delay:-2.2s;
}

/* ---------- Пятый ---------- */

.pack--balmuz{

    left:79%;

    width:18%;

    transform:rotate(6deg);

    animation-delay:-3s;
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.section-head h2, .technology h2 { margin-top: 14px; font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -.045em; color: var(--green-950); }
.section-head p:not(.section-kicker), .technology p { margin-top: 14px; color: var(--muted); font-size: 18px; line-height: 1.65; font-weight: 600; }
.catalog { padding: 42px 0 34px; }
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.product-card { --card-accent: var(--green-700); --card-accent-2: var(--green-500); position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; padding: 20px; border-radius: var(--radius-xl); background: rgba(255,255,255,.86); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.92); transition: transform var(--transition), box-shadow var(--transition); }
.product-card::before { content: ''; position: absolute; inset: -35% -25% auto; height: 170px; background: radial-gradient(circle, color-mix(in srgb, var(--card-accent) 32%, transparent), transparent 70%); opacity: .55; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 32px 80px rgba(17, 96, 39, .22); }
.product-card--orik { --card-accent: #ff9d00; --card-accent-2: #ffbd38; }
.product-card--alma { --card-accent: #e82f3f; --card-accent-2: #ff6873; }
.product-card--kaun { --card-accent: #4aa61d; --card-accent-2: #8ed44a; }
.product-card--ice { --card-accent: #2f72c8; --card-accent-2: #6da9ff; }
.product-card--shabdaly { --card-accent: #ff7a22; --card-accent-2: #ffb347; }
.product-card__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.product-badge, .hit-badge, .tag { display: inline-flex; align-items: center; border-radius: 999px; font-weight: 900; }
.product-badge { padding: 7px 12px; color: var(--text); background: #fff; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--card-accent) 24%, transparent); }
.hit-badge { padding: 7px 12px; color: #fff; background: linear-gradient(135deg, var(--card-accent), var(--card-accent-2)); }
.product-card__image-wrapper { position: relative; z-index: 1; height: 230px; display: grid; place-items: center; margin: 10px 0 8px; }
.product-card__img { max-height: 220px; object-fit: contain; transition: transform var(--transition); filter: drop-shadow(0 24px 22px rgba(45, 70, 37, .14)); }
.product-card:hover .product-card__img { transform: scale(1.06) rotate(-1deg); }
.product-card__title { position: relative; z-index: 1; font-size: 28px; line-height: 1; color: var(--card-accent); font-weight: 900; letter-spacing: -.03em; }
.product-card__desc { position: relative; z-index: 1; margin-top: 10px; color: #315641; line-height: 1.45; font-size: 14px; font-weight: 650; }
.product-card__tags { position: relative; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tag { padding: 7px 11px; background: #eef8e9; color: var(--green-900); font-size: 12px; }
.product-card__footer { position: relative; z-index: 1; display: grid; gap: 12px; margin-top: auto; padding-top: 18px; }
.price { color: var(--green-950); font-size: 20px; }

.technology { padding: 46px 0 86px; }
.technology__grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 38px; align-items: center; padding: 34px; border-radius: var(--radius-xl); background: rgba(255,255,255,.72); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.82); }
.footer { background: linear-gradient(135deg, var(--green-950), #0f5b32); color: #fff; padding: 26px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer__copy { font-weight: 800; }
.footer__subtext { color: rgba(255,255,255,.74); margin-top: 4px; }
.footer__phone { padding: 13px 20px; border-radius: 999px; font-weight: 900; background: linear-gradient(135deg, var(--green-600), var(--green-500)); box-shadow: inset 0 1px 0 rgba(255,255,255,.28); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes pulseSun { 50% { transform: scale(1.04); box-shadow: 0 0 110px rgba(255, 219, 77, .9); } }
@keyframes cloudMove { 50% { transform: translateX(32px); } }
@keyframes floatLeaf { 50% { transform: translate3d(20px, 16px, 0) rotate(12deg); } }
@keyframes packFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 1080px) {
    .pill-nav { display: none; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { min-height: 420px; }
    .hero-showcase { height: 420px; }
    .catalog__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .container { width: min(100% - 24px, var(--container)); }
    .header { padding: 10px 0; }
    .header__inner { gap: 10px; }
    .logo img { width: 104px; }
    .header__actions { gap: 8px; }
    .btn--primary:not(.btn--lg) { padding: 11px 13px; font-size: 13px; }
    .lang-switcher__btn { padding: 9px 11px; }
    .hero { padding-top: 110px; min-height: auto; }
    .hero__title { font-size: clamp(44px, 15vw, 68px); }
    .hero__features { grid-template-columns: repeat(2, 1fr); }
    .hero__visual { min-height: 330px; }
    .hero-showcase { height: 330px; }
    .product-card__image-wrapper { height: 210px; }
    .catalog__grid { grid-template-columns: 1fr; }
    .technology__grid { grid-template-columns: 1fr; padding: 24px; }
    .footer__inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}


/* ===== Mobile-first fixes + horizontal product carousel ===== */
.catalog-slider {
    position: relative;
    margin-top: 10px;
}
.catalog-slider__hint {
    display: none;
    margin: -8px 0 14px;
    color: var(--green-900);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    opacity: .76;
}
.catalog__grid {
    display: flex;
    grid-template-columns: none;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 4px 28px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(39, 139, 32, .55) rgba(255,255,255,.55);
}
.catalog__grid:active { cursor: grabbing; }
.catalog__grid::-webkit-scrollbar { height: 9px; }
.catalog__grid::-webkit-scrollbar-track { background: rgba(255,255,255,.58); border-radius: 999px; }
.catalog__grid::-webkit-scrollbar-thumb { background: linear-gradient(135deg, var(--green-700), var(--green-500)); border-radius: 999px; }
.product-card {
    flex: 0 0 clamp(250px, 28vw, 310px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    user-select: none;
}
.product-card__img { user-select: none; -webkit-user-drag: none; }
.catalog-slider__btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    box-shadow: 0 18px 36px rgba(28, 120, 45, .25);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: transform var(--transition), opacity var(--transition);
}
.catalog-slider__btn:hover { transform: translateY(-50%) scale(1.06); }
.catalog-slider__btn--prev { left: -18px; transform: translateY(-50%); }
.catalog-slider__btn--next { right: -18px; transform: translateY(-50%); }

@media (max-width: 1080px) {
    .catalog__grid { grid-template-columns: none; }
    .product-card { flex-basis: clamp(260px, 40vw, 330px); }
}

@media (max-width: 720px) {
    body { background-size: auto; }
    .container { width: min(100% - 20px, var(--container)); }
    .sun { width: 96px; top: 74px; right: -20px; opacity: .78; }
    .rainbow { width: 300px; height: 150px; top: 128px; left: -70px; opacity: .25; }
    .cloud { width: 160px; height: 48px; opacity: .5; }
    .leaf { opacity: .22; }

    .header { padding: 8px 0; }
    .header__inner { gap: 8px; }
    .logo img { width: 92px; height: auto; }
    .header__actions { gap: 6px; }
    .lang-switcher { padding: 4px; }
    .lang-switcher__btn { padding: 8px 9px; font-size: 12px; }
    .btn--primary:not(.btn--lg) { padding: 10px 11px; font-size: 12px; white-space: nowrap; }
    .btn__icon { display: none; }

    .hero { padding: 96px 0 34px; }
    .hero__grid { gap: 18px; }
    .eyebrow, .section-kicker { padding: 8px 11px; font-size: 12px; }
    .hero__title { margin-top: 16px; font-size: clamp(38px, 13vw, 56px); letter-spacing: -.055em; }
    .hero__subtitle { margin-top: 16px; font-size: 15px; line-height: 1.55; }
    .hero__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
    .btn--lg { width: 100%; padding: 13px 12px; font-size: 13px; }
    .hero__features { grid-template-columns: repeat(4, minmax(66px, 1fr)); gap: 8px; margin-top: 20px; }
    .feature-card { min-height: 82px; padding: 10px 6px; border-radius: 17px; }
    .feature-card span { font-size: 22px; }
    .feature-card strong { font-size: 10px; line-height: 1.2; }

    .hero__visual { min-height: 230px; }
    .hero-showcase { height: 230px; width: 100%; }
    .pack { bottom: 38px; width: 31%; }
    .pack--orik { left: -4%; }
    .pack--alma { left: 15%; width: 35%; }
    .pack--kaun { left: 37%; width: 35%; }
    .pack--shabdaly { left: 58%; width: 34%; bottom: 44px; }
    .pack--balmuz { right: -7%; width: 32%; }

    .catalog { padding: 22px 0 18px; }
    .section-head { margin-bottom: 16px; }
    .section-head h2, .technology h2 { margin-top: 10px; font-size: clamp(28px, 9vw, 38px); letter-spacing: -.035em; }
    .section-head p:not(.section-kicker), .technology p { margin-top: 10px; font-size: 14px; line-height: 1.55; }
    .catalog-slider { margin-inline: -10px; }
    .catalog-slider__hint { display: block; }
    .catalog__grid {
        gap: 12px;
        padding: 4px 10px 20px;
        scroll-padding-inline: 10px;
    }
    .catalog-slider__btn { display: none; }
    .product-card {
        flex: 0 0 calc(100vw - 44px);
        max-width: 360px;
        min-height: auto;
        padding: 15px;
        border-radius: 24px;
    }
    .product-badge, .hit-badge { padding: 6px 10px; font-size: 12px; }
    .product-card__image-wrapper { height: 155px; margin: 6px 0; }
    .product-card__img { max-height: 150px; }
    .product-card__title { font-size: 24px; }
    .product-card__desc { margin-top: 8px; font-size: 13px; line-height: 1.38; }
    .product-card__tags { gap: 6px; margin-top: 12px; }
    .tag { padding: 6px 9px; font-size: 11px; }
    .product-card__footer { gap: 10px; padding-top: 14px; }
    .price { font-size: 18px; }
    .btn--product { padding: 12px 16px; font-size: 14px; }

    .technology { padding: 26px 0 46px; }
    .technology__grid { padding: 20px; border-radius: 24px; gap: 14px; }
    .footer { padding: 22px 0; }
    .footer__inner { gap: 14px; }
    .footer__copy { font-size: 13px; }
    .footer__subtext { font-size: 12px; }
    .footer__phone { padding: 11px 16px; font-size: 13px; }
}

@media (max-width: 380px) {
    .container { width: min(100% - 16px, var(--container)); }
    .logo img { width: 82px; }
    .btn--primary:not(.btn--lg) { padding: 9px 9px; font-size: 11px; }
    .lang-switcher__btn { padding: 7px 8px; }
    .hero__title { font-size: 36px; }
    .hero__features { grid-template-columns: repeat(2, 1fr); }
    .product-card { flex-basis: calc(100vw - 34px); }
}

/* ===== Instagram buttons in header and footer ===== */
.icon {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}
.btn--instagram {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 0;
    color: #fff;
    background: radial-gradient(circle at 30% 110%, #fdf497 0 18%, #fd5949 38%, #d6249f 62%, #285aeb 100%);
    box-shadow: 0 16px 34px rgba(214, 36, 159, .26), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn--instagram:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 22px 44px rgba(214, 36, 159, .34), inset 0 1px 0 rgba(255,255,255,.45);
}
.footer__socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.footer__instagram {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: radial-gradient(circle at 30% 110%, #fdf497 0 18%, #fd5949 38%, #d6249f 62%, #285aeb 100%);
    box-shadow: 0 16px 34px rgba(214, 36, 159, .26), inset 0 1px 0 rgba(255,255,255,.45);
    transition: transform var(--transition), box-shadow var(--transition);
}
.footer__instagram:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 22px 44px rgba(214, 36, 159, .34), inset 0 1px 0 rgba(255,255,255,.45);
}

@media (max-width: 720px) {
    .btn--instagram {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    .btn--instagram .icon {
        width: 18px;
        height: 18px;
    }
    .footer__socials {
        justify-content: center;
    }
    .footer__instagram {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}

@media (max-width: 380px) {
    .btn--instagram {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .btn--instagram .icon {
        width: 17px;
        height: 17px;
    }
}

.tech__text {
    white-space: pre-line;
}

.tech__text {
    white-space: pre-line;
    line-height: 1.8;
    font-size: 17px;
    color: #28523a;
}

.reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* ===== Technology history section fixed layout ===== */

.technology {
    padding: 70px 0 100px;
}

.technology__grid {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 70px;
    align-items: start;
    padding: 44px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.88);
}

.technology__grid > div:first-child {
    position: sticky;
    top: 120px;
}

.technology h2 {
    max-width: 420px;
    font-size: clamp(42px, 4.8vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.tech__text {
    width: 100%;
    max-width: 820px;
    margin-left: auto;
    white-space: pre-line;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 600;
    color: #28523a;
}

@media (max-width: 1080px) {
    .technology__grid {
        grid-template-columns: 360px 1fr;
        gap: 40px;
        padding: 34px;
    }

    .technology h2 {
        font-size: clamp(36px, 5vw, 58px);
    }
}

@media (max-width: 820px) {
    .technology {
        padding: 40px 0 60px;
    }

    .technology__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .technology__grid > div:first-child {
        position: static;
    }

    .tech__text {
        max-width: 100%;
        margin-left: 0;
        font-size: 15px;
        line-height: 1.7;
    }
}

/* ===== Compact history timeline layout ===== */
.technology {
    padding: 70px 0 100px;
}

.technology__grid {
    display: grid;
    grid-template-columns: 520px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    padding: 44px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.88);
}

.technology__head {
    position: sticky;
    top: 120px;
}

.technology h2 {
    max-width: 520px;
    font-size: clamp(42px, 4.8vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.tech__text {
    width: 100%;
    max-width: 100%;
    margin: 0;
    white-space: normal;
    line-height: 1.55;
    font-size: 16px;
    font-weight: 650;
    color: #173d2a;
}

.history-layout {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 34px;
    align-items: start;
}

.history-left,
.history-right {
    display: grid;
}

.history-left {
    gap: 30px;
}

.history-right {
    gap: 14px;
}

.history-item {
    position: relative;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 18px;
    align-items: start;
}

.history-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 31px;
    top: 74px;
    bottom: -28px;
    width: 2px;
    background: linear-gradient(180deg, rgba(72,169,31,.28), rgba(72,169,31,.06));
}

.history-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 28px rgba(20, 90, 40, .12), inset 0 0 0 1px rgba(255,255,255,.9);
    font-size: 30px;
}

.history-item h3,
.history-card h3 {
    margin: 0 0 8px;
    color: var(--green-800);
    font-size: 22px;
    line-height: 1.18;
    font-weight: 900;
}

.history-item p,
.history-card p {
    margin: 6px 0;
    color: #173d2a;
    font-size: 15.5px;
    line-height: 1.55;
    font-weight: 650;
}

.history-card {
    padding: 20px 22px;
    border-radius: 22px;
    background: rgba(245, 255, 238, .86);
    border: 1px solid rgba(72, 169, 31, .45);
    box-shadow: 0 14px 34px rgba(20, 90, 40, .08);
}

.history-card--blue {
    background: rgba(240, 248, 255, .92);
    border-color: rgba(70, 150, 230, .5);
}

.history-card--blue h3 {
    color: #1765ad;
}

.history-card strong {
    color: var(--green-700);
    font-weight: 900;
}

@media (max-width: 1180px) {
    .technology__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .technology__head {
        position: static;
    }

    .technology h2 {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .technology {
        padding: 40px 0 60px;
    }

    .technology__grid {
        padding: 24px;
        border-radius: 24px;
    }

    .history-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .history-item {
        grid-template-columns: 54px 1fr;
        gap: 14px;
    }

    .history-item:not(:last-child)::after {
        left: 25px;
        top: 58px;
    }

    .history-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        border-radius: 15px;
    }

    .history-item h3,
    .history-card h3 {
        font-size: 19px;
    }

    .history-item p,
    .history-card p {
        font-size: 14px;
    }
}

/* =======================
   HEADER + FOOTER LOGOS
======================= */

.logo-group{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:14px;
    flex-wrap:nowrap;
    white-space:nowrap;
    text-decoration:none;
    flex-shrink:0;
}

.logo-group img{
    display:block;
}

.logo-main{
    width:150px;
    height:auto;
    object-fit:contain;
    flex-shrink:0;
}

.halal-logo{
    width:60px;
    height:60px;
    object-fit:contain;
    flex-shrink:0;
    margin:0;
    filter:drop-shadow(0 10px 18px rgba(0,80,40,.18));
}

/* footer */

.footer-logo-group{
    display:flex;
    align-items:center;
    gap:14px;
}

.footer-logo-group img{
    display:block;
}

.footer-logo-group .logo-main{
    width:130px;
}

.footer-logo-group .halal-logo{
    width:48px;
    height:48px;
}

/* телефон + instagram */

.footer__socials{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:16px;
    flex-wrap:nowrap;
}

.footer__phone{
    display:flex;
    align-items:center;
    justify-content:center;
    height:52px;
}

.footer__instagram{
    display:flex;
    align-items:center;
    justify-content:center;
    width:52px;
    height:52px;
    flex:0 0 52px;
}

/* mobile */

/* ================= MOBILE HERO ================= */

@media (max-width:720px){

.hero__visual{
    min-height:320px;
}

.hero-showcase{
    height:320px;
}

.pack{

    bottom:40px;

    width:22%;
}

.pack--orik{
    left:0;
}

.pack--alma{
    left:20%;
}

.pack--kaun{

    left:40%;

    width:23%;

    bottom:48px;
}

.pack--shabdaly{
    left:60%;
}

.pack--balmuz{

    left:80%;

    width:18%;
}

}