/* ==========================================================================
   Cubicom – hlavný štýl
   ========================================================================== */

:root {
    --bg: #070a12;
    --bg-alt: #0b0f1a;
    --surface: #10162a;
    --surface-2: #161e36;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #eef0f6;
    --text-muted: #9aa1b2;
    --text-dim: #6b7285;
    /* farby vychádzajú z pôvodného loga (modrá #0071BB, zelená #4CB847) – smaragdová a kobaltová */
    --green: #10b077;
    --green-rgb: 16, 176, 119;
    --blue: #2f55e4;
    --blue-rgb: 47, 85, 228;
    --btn-text: #ffffff;
    --grad: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1180px;
    --font-head: "Space Grotesk", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--blue); color: #fff; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

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

.i {
    width: 20px; height: 20px;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
}

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.muted { color: var(--text-dim); }

/* ---------- Tlačidlá ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600; font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
    font-family: inherit;
}
.btn .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(4px); }

.btn--primary {
    background: var(--grad);
    color: var(--btn-text);
    box-shadow: 0 8px 30px -8px rgba(var(--blue-rgb), .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(var(--blue-rgb), .75); }

.btn--ghost {
    border-color: var(--border-strong);
    color: var(--text);
    background: rgba(255, 255, 255, .02);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }

.btn--sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Navigácia ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
    background: rgba(9, 12, 19,.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: inline-flex; color: var(--text); }
.logo svg { height: 48px; width: auto; }
.logo--footer svg { height: 56px; }

.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a:not(.btn) {
    font-size: 15px; color: var(--text-muted);
    position: relative; transition: color .2s;
}
.nav__menu a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--grad); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__menu a:not(.btn):hover,
.nav__menu a.is-active { color: var(--text); }
.nav__menu a:not(.btn):hover::after,
.nav__menu a.is-active::after { transform: scaleX(1); }

.nav__toggle {
    display: none;
    width: 44px; height: 44px;
    background: none; border: 1px solid var(--border-strong); border-radius: 12px;
    cursor: pointer; position: relative;
}
.nav__toggle span {
    position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text);
    border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px 0 0;
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow--a { width: 520px; height: 520px; background: var(--blue); top: -120px; right: -80px; opacity: .35; animation: drift 14s ease-in-out infinite alternate; }
.glow--b { width: 420px; height: 420px; background: var(--green); bottom: 0; left: -140px; opacity: .22; animation: drift 18s ease-in-out infinite alternate-reverse; }

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-60px, 40px) scale(1.12); }
}

.hero__inner {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 48px;
    flex: 1;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px;
    border: 1px solid var(--border-strong); border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    font-size: 13px; color: var(--text-muted); letter-spacing: .02em;
    margin-bottom: 28px;
}
.dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 0 0 rgba(var(--green-rgb), .6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    70%  { box-shadow: 0 0 0 10px rgba(var(--green-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--green-rgb), 0); }
}

.hero__title {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.06;
    /* rezervované 3 riadky, aby text pod nadpisom neposkakoval pri písaní */
    min-height: 3.2em;
}
.caret {
    display: inline-block; width: 4px; height: .85em;
    margin-left: 6px; vertical-align: -0.06em;
    background: var(--green); border-radius: 2px;
    animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__lead {
    max-width: 560px;
    margin-top: 28px;
    font-size: 18px; color: var(--text-muted);
}
.hero__lead strong { color: var(--text); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* 3D kocka */
.hero__visual { position: relative; height: 460px; display: grid; place-items: center; }
.cube-scene { width: 220px; height: 220px; perspective: 1000px; position: relative; }
.cube {
    width: 100%; height: 100%;
    position: relative; transform-style: preserve-3d;
    animation: spin 22s linear infinite;
}
@keyframes spin {
    from { transform: rotateX(-24deg) rotateY(0deg); }
    to   { transform: rotateX(-24deg) rotateY(360deg); }
}
.cube__face {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    border: 1px solid rgba(var(--blue-rgb), .55);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(var(--green-rgb), .14), rgba(var(--blue-rgb), .18)),
        rgba(13, 15, 21, .55);
    box-shadow: inset 0 0 40px rgba(var(--blue-rgb), .25), 0 0 30px rgba(var(--green-rgb), .08);
    backdrop-filter: blur(2px);
}
.cube__face span {
    font-family: var(--font-head); font-weight: 700; font-size: 40px; letter-spacing: -0.02em;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cube__face--front  { transform: translateZ(110px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(110px); }
.cube__face--right  { transform: rotateY(90deg) translateZ(110px); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(110px); }
.cube__face--top    { transform: rotateX(90deg) translateZ(110px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(110px); }
.cube-shadow {
    position: absolute; left: 50%; bottom: -110px; width: 260px; height: 40px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(var(--blue-rgb), .35), transparent 70%);
    filter: blur(8px);
}

.chip {
    position: absolute;
    padding: 8px 14px;
    font-size: 13px; font-weight: 500;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(18, 20, 28, .75);
    backdrop-filter: blur(8px);
    color: var(--text-muted);
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}
.chip::before {
    content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--green); margin-right: 8px; vertical-align: 2px;
}
.chip--1 { top: 12%; left: 0; }
.chip--2 { top: 22%; right: 0; animation-delay: -1.5s; }
.chip--2::before { background: var(--blue); }
.chip--3 { bottom: 18%; left: 4%; animation-delay: -3s; }
.chip--3::before { background: var(--blue); }
.chip--4 { bottom: 10%; right: 6%; animation-delay: -4.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* Bežiaci pás technológií */
.marquee {
    position: relative;
    margin-top: 64px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span {
    font-family: var(--font-head); font-size: 18px; font-weight: 500;
    color: var(--text-dim); white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sekcie ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__head { max-width: 720px; margin-bottom: 56px; }
.section__lead { color: var(--text-muted); font-size: 17px; margin-top: 18px; }

.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
    color: var(--green);
    margin-bottom: 16px;
}
.kicker::before { content: ""; width: 24px; height: 2px; background: var(--grad); border-radius: 2px; }

.h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; letter-spacing: -0.03em; }

/* O nás */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about__body p { color: var(--text-muted); font-size: 17px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill-list li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 14px;
}
.pill-list .i { width: 16px; height: 16px; color: var(--green); }

/* Služby – bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    position: relative;
    padding: 36px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--blue-rgb), .14), transparent 60%);
    opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(var(--blue-rgb), .4); box-shadow: 0 24px 60px -30px rgba(var(--blue-rgb), .5); }
.card:hover::before { opacity: 1; }
.card--wide { grid-column: span 2; }
.card--accent {
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(135deg, rgba(var(--green-rgb), .5), rgba(var(--blue-rgb), .5)) border-box;
    border: 1px solid transparent;
}
.card__icon {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--green-rgb), .15), rgba(var(--blue-rgb), .2));
    border: 1px solid rgba(var(--blue-rgb), .3);
    color: var(--green);
    margin-bottom: 24px;
}
.card__icon .i { width: 24px; height: 24px; }
.card h3 { font-size: 24px; margin-bottom: 12px; }
.card p { color: var(--text-muted); }
.ticks { display: grid; gap: 8px; margin-top: 20px; }
.card--wide .ticks { grid-template-columns: 1fr 1fr; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: .45em;
    width: 14px; height: 14px; border-radius: 4px;
    background: var(--grad);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Proces */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 1px;
    background: linear-gradient(90deg, var(--green), var(--blue), transparent);
    opacity: .4;
}
.step { position: relative; padding-top: 80px; }
.step__num {
    position: absolute; top: 0; left: 0;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.step:hover .step__num { border-color: transparent; background: var(--grad); color: var(--btn-text); }
.step__num { transition: background .3s, color .3s, border-color .3s; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* Hodnoty */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color .3s;
}
.value:hover { border-color: var(--border-strong); }
.value .i { width: 28px; height: 28px; color: var(--blue); margin-bottom: 20px; stroke: url(#brand-grad); }
.value h3 { font-size: 19px; margin-bottom: 10px; }
.value p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* Čo riešime */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, var(--surface), transparent);
    transition: border-color .3s;
}
.case:hover { border-color: rgba(var(--green-rgb), .4); }
.case__problem {
    font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.3;
    margin-bottom: 14px;
}
.case__solution { display: flex; gap: 10px; margin: 0; color: var(--text-muted); font-size: 15px; }
.case__solution .i { width: 18px; height: 18px; margin-top: 3px; color: var(--green); }

/* Časté otázky */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color .3s;
}
.faq__item[open], .faq__item:hover { border-color: rgba(var(--green-rgb), .4); }
.faq__item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 26px;
    font-family: var(--font-head); font-size: 18px; font-weight: 600;
    cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+"; flex: none;
    width: 30px; height: 30px; display: grid; place-items: center;
    border-radius: 50%; border: 1px solid var(--border-strong);
    color: var(--green); font-size: 20px; font-weight: 500;
    transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 24px; margin: 0; color: var(--text-muted); font-size: 16px; }

/* Kontakt */
.contact { padding: 40px 0 120px; }
.contact__box {
    position: relative; overflow: hidden;
    text-align: center;
    padding: 80px 48px 48px;
    border-radius: 28px;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(135deg, rgba(var(--green-rgb), .6), rgba(var(--blue-rgb), .6)) border-box;
    border: 1px solid transparent;
}
.contact__box > *:not(.glow) { position: relative; }
.contact__box .h2 { max-width: 760px; margin: 0 auto; }
.contact__lead { color: var(--text-muted); font-size: 18px; max-width: 560px; margin: 20px auto 48px; }
.glow--cta { width: 600px; height: 300px; background: var(--blue); top: -180px; left: 50%; transform: translateX(-50%); opacity: .35; }

.contact__cards { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 16px; text-align: left; }
.contact-card {
    display: flex; flex-direction: column;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
a.contact-card:hover { transform: translateY(-4px); border-color: rgba(var(--green-rgb), .5); box-shadow: 0 20px 50px -28px rgba(var(--blue-rgb), .7); }
.contact-card__icon {
    width: 48px; height: 48px; display: grid; place-items: center;
    border-radius: 14px; margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(var(--green-rgb), .15), rgba(var(--blue-rgb), .2));
    border: 1px solid rgba(var(--blue-rgb), .3);
    color: var(--green);
}
.contact-card small { font-size: 13px; color: var(--text-dim); }
.contact-card strong { font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-top: 2px; }
.contact-card__action {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: auto; padding-top: 22px;
    font-size: 14px; font-weight: 600; color: var(--green);
}
.contact-card__action .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
a.contact-card:hover .contact-card__action .i { transform: translateX(4px); }
.contact-card address { font-style: normal; color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-top: 8px; }

/* Pätička */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg-alt); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { color: var(--text-dim); font-size: 14px; margin-top: 12px; }
.footer__legal { display: grid; gap: 4px; font-size: 14px; color: var(--text-muted); text-align: right; }
.footer__legal strong { color: var(--text); }
.footer__legal a:hover { color: var(--green); }
.footer__bottom {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 13px; color: var(--text-dim);
}
.footer__bottom a:hover { color: var(--text); }

/* ---------- Animácie pri scrollovaní ---------- */
/* skrývame len s JS, bez neho (alebo pri chybe skriptu) zostane obsah viditeľný */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responzivita ---------- */
@media (max-width: 1080px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr); text-align: left; }
    .hero__visual { height: 380px; }
    .steps, .values, .cases { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .bento { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav__toggle { display: block; }
    .nav__menu {
        position: fixed; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 12px 24px 24px;
        background: rgba(9, 12, 19,.96);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border);
        transform: translateY(-12px); opacity: 0; visibility: hidden;
        transition: transform .3s var(--ease), opacity .3s, visibility .3s;
    }
    .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
    .nav__menu a:not(.btn)::after { display: none; }
    .nav__cta { margin-top: 18px; }
    .nav.menu-open { background: rgba(9, 12, 19,.96); }

    .about { grid-template-columns: 1fr; gap: 40px; }
    .contact__cards { grid-template-columns: 1fr; }
    .contact__box { padding: 64px 24px 24px; }
    .bento { grid-template-columns: 1fr; }
    .card--wide { grid-column: auto; }
    .section { padding: 88px 0; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .hero { padding-top: 104px; }
    .hero__title { min-height: 4.3em; }
    .hero__lead { font-size: 16px; }
    .hero__visual { height: 320px; }
    .cube-scene { width: 160px; height: 160px; }
    .cube__face--front  { transform: translateZ(80px); }
    .cube__face--back   { transform: rotateY(180deg) translateZ(80px); }
    .cube__face--right  { transform: rotateY(90deg) translateZ(80px); }
    .cube__face--left   { transform: rotateY(-90deg) translateZ(80px); }
    .cube__face--top    { transform: rotateX(90deg) translateZ(80px); }
    .cube__face--bottom { transform: rotateX(-90deg) translateZ(80px); }
    .cube__face span { font-size: 30px; }
    .cube-shadow { bottom: -80px; width: 200px; }
    .chip { font-size: 12px; padding: 6px 11px; }
    .steps, .values, .cases { grid-template-columns: 1fr; }
    .card { padding: 28px; }
    .card--wide .ticks { grid-template-columns: 1fr; }
    .contact__box { padding: 56px 16px 16px; }
    .contact__lead { font-size: 16px; }
    .contact-card { padding: 22px; }
    .footer__legal { text-align: left; }
    .hero__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; }
}
