@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: dark;
  --bg-0: #050c13;
  --bg-1: #08121b;
  --bg-2: #0c1923;
  --surface: #0f1e2a;
  --surface-2: #142837;
  --line: rgba(130, 200, 225, .13);
  --line-strong: rgba(130, 200, 225, .26);
  --heading: #f1f7fa;
  --text: #c2d0d9;
  --muted: #8da3b1;
  --teal: #2ee6c5;
  --blue: #2b8cff;
  --cyan: #3cc8f0;
  --grad: linear-gradient(120deg, var(--teal), var(--blue));
  --whatsapp: #25d366;
  --telegram: #2aabee;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--heading); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 750; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 720; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
p, li, figcaption, dd, summary { text-wrap: pretty; }
.nw { white-space: nowrap; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--heading); font-weight: 650; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(46, 230, 197, .3); color: #fff; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.sr-only, .sprite { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--teal); color: #04221d; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
  font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow a { color: inherit; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--text); max-width: 60ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #03191c; box-shadow: 0 10px 28px rgba(43, 140, 255, .28); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(46, 230, 197, .35); }
.btn-ghost { border-color: var(--line-strong); color: var(--heading); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--teal); background: rgba(46, 230, 197, .07); }
.btn-wa { background: var(--whatsapp); color: #052e16; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled, .menu-open .site-header {
  background: rgba(8, 18, 27, .88);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-weight: 750; font-size: 1.3rem; letter-spacing: -.02em; }
.brand-name span { margin-left: .22em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a {
  padding: 8px 12px; border-radius: 999px;
  color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 550;
  transition: color .2s, background-color .2s;
}
.nav > a:hover { color: var(--heading); background: rgba(255, 255, 255, .05); }
.nav > a[aria-current="page"] { color: var(--heading); background: rgba(46, 230, 197, .1); }
.lang { display: flex; margin-left: 8px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang a { padding: 4px 10px; border-radius: 999px; text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.lang a[aria-current] { background: var(--surface-2); color: var(--heading); }
.lang a:hover { color: var(--heading); }
.header-cta { min-height: 42px; padding: 8px 16px; font-size: .92rem; }
.menu-toggle { display: none; }

.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 8vw, 100px);
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(43, 140, 255, .16), transparent 70%),
    radial-gradient(45% 45% at 18% 20%, rgba(46, 230, 197, .1), transparent 70%),
    var(--bg-0);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(140, 200, 230, .12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-points { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; font-size: .95rem; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--teal); width: 1.1em; height: 1.1em; }

.hero-visual { position: relative; }
.house { width: 100%; height: auto; overflow: visible; }
.house .roof, .house .walls { fill: none; stroke: url(#brand-grad); stroke-linecap: round; stroke-linejoin: round; }
.house .roof { stroke-width: 7; }
.house .walls { stroke-width: 5; opacity: .85; }
.house .links path { stroke: rgba(120, 200, 230, .22); stroke-width: 2; fill: none; stroke-dasharray: 4 6; }
.house .pulses path { stroke: var(--teal); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 10 90; animation: pulse 2.8s linear infinite; filter: drop-shadow(0 0 6px rgba(46, 230, 197, .8)); }
.house .pulses path:nth-child(2) { animation-delay: -.6s; stroke: var(--cyan); }
.house .pulses path:nth-child(3) { animation-delay: -1.3s; }
.house .pulses path:nth-child(4) { animation-delay: -2s; stroke: var(--cyan); }
.house .pulses path:nth-child(5) { animation-delay: -.9s; }
@keyframes pulse { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.house .node circle { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.house .node use { color: var(--heading); }
.house .hub > circle:not(.ring) { fill: #0d2433; stroke: url(#brand-grad); stroke-width: 2.5; }
.house .hub .ring { fill: none; stroke: rgba(46, 230, 197, .35); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 3.2s ease-out infinite; }
.house .hub use { color: var(--teal); }
@keyframes ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

.chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(15, 30, 42, .82); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--heading); font-size: .85rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.chip .icon { color: var(--teal); width: 1.05em; height: 1.05em; }
.chip-1 { top: 22%; left: -4%; }
.chip-2 { bottom: 6%; right: -2%; animation-delay: -2s; }
.chip-3 { top: 2%; right: 4%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(48px, 7vw, 84px);
  background:
    radial-gradient(55% 60% at 85% 30%, rgba(43, 140, 255, .14), transparent 70%),
    radial-gradient(40% 50% at 10% 10%, rgba(46, 230, 197, .09), transparent 70%),
    var(--bg-0);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.page-hero-art { display: flex; justify-content: center; }
.page-hero-art img { max-height: 460px; width: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.framed { border-radius: var(--radius); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.page-hero-art .framed { width: 100%; max-height: none; object-fit: cover; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }

.badge-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 14px; color: var(--teal);
  background: linear-gradient(135deg, rgba(46, 230, 197, .16), rgba(43, 140, 255, .14));
  border: 1px solid rgba(46, 230, 197, .22);
}
.badge-icon .icon { width: 22px; height: 22px; }

.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(46, 230, 197, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232ee6c5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.more { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 650; text-decoration: none; }
.more .icon { transition: transform .2s; }
.more:hover .icon, a:hover > .more .icon { transform: translateX(4px); }

.cards-3, .features, .blocks, .services, .tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.features-4 { grid-template-columns: repeat(4, 1fr); }

.service-card, .feature, .block, .svc, .tier, .panel {
  position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.service-card:hover, .feature:hover, .block:hover, .svc:hover, .tier:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.service-card { overflow: hidden; display: flex; flex-direction: column; }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 26px 26px; }
.service-body .badge-icon { margin-top: -23px; background-color: var(--surface); }
.service-body .ticks { margin: 4px 0 20px; font-size: .95rem; }
.service-body .more { margin-top: auto; }
.service-body p { color: var(--muted); }

.feature { padding: 26px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.block, .panel { padding: 28px; }
.block .ticks { font-size: .96rem; }
.block-accent { background: linear-gradient(140deg, rgba(46, 230, 197, .12), rgba(43, 140, 255, .12)), var(--surface); border-color: rgba(46, 230, 197, .3); }
.step { display: block; margin-bottom: 10px; font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--teal); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.panel { background: linear-gradient(160deg, rgba(46, 230, 197, .07), transparent 60%), var(--surface); }
.panel > p { color: var(--muted); }

.works-with { margin-top: 44px; text-align: center; }
.works-with h3 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--heading); font-size: .93rem; font-weight: 550; }

.svc { padding: 26px; display: flex; flex-direction: column; }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.price { margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(46, 230, 197, .1); color: var(--teal); font-size: .88rem; white-space: nowrap; }
.price strong { color: var(--teal); }
.svc h3 { margin-bottom: 2px; }
.svc-kicker { margin: 0 0 12px; font-size: .88rem; font-weight: 600; color: var(--cyan); }
.svc > p:not(.svc-kicker) { color: var(--muted); font-size: .97rem; }
details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
summary { cursor: pointer; font-weight: 650; color: var(--heading); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--teal); font-size: 1.1rem; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details .ticks { margin-top: 14px; font-size: .94rem; }
.note { margin-top: 24px; color: var(--muted); font-size: .9rem; }

.tier { padding: 28px; display: flex; flex-direction: column; }
.tier-mid { border-color: rgba(46, 230, 197, .35); background: linear-gradient(170deg, rgba(46, 230, 197, .09), transparent 55%), var(--surface); }
.tier-use { color: var(--muted); font-size: .95rem; min-height: 3.2em; }
.tier dl { margin: 0 0 20px; }
.tier dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.tier dt { color: var(--muted); }
.tier dd { margin: 0; color: var(--heading); }
.tier-price { margin: auto 0 0; font-size: 1.3rem; font-weight: 750; color: var(--heading); letter-spacing: -.01em; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); border: 1px solid var(--line); cursor: zoom-in; flex: 1; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(3, 8, 12, .9); backdrop-filter: blur(4px); }
.lightbox img { max-height: 84vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox-caption { margin: 12px 0 0; text-align: center; color: var(--text); }
.lightbox-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--heading); font-size: 1.6rem; line-height: 1; cursor: pointer; }

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.article-card {
  display: flex; flex-direction: column; gap: 10px; padding: 30px;
  border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(150deg, rgba(43, 140, 255, .14), rgba(46, 230, 197, .06) 60%), var(--surface);
  border: 1px solid var(--line-strong);
  transition: transform .25s, box-shadow .25s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card strong { font-size: 1.25rem; line-height: 1.3; }
.article-card > span:not(.eyebrow):not(.more) { color: var(--muted); }
.article-card .eyebrow { margin: 0; }
.article-wide { margin-top: 40px; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 44px; padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(46, 230, 197, .14), rgba(43, 140, 255, .14)), var(--surface);
  border: 1px solid rgba(46, 230, 197, .3);
}
.cta-band > div { max-width: 640px; }
.cta-band h3 { font-size: 1.4rem; }
.cta-band p { margin: 0; color: var(--text); }

.article-head { padding: calc(var(--header-h) + clamp(28px, 5vw, 60px)) 0 32px; background: radial-gradient(60% 70% at 80% 0%, rgba(43, 140, 255, .14), transparent 70%), var(--bg-0); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.prose { padding-bottom: clamp(56px, 8vw, 96px); }
.prose > img { margin: 8px 0 40px; width: 100%; height: auto; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.6em; }
.prose p { font-size: 1.07rem; }

.not-found { min-height: 70vh; display: flex; align-items: center; }
.not-found p[lang] { color: var(--muted); }

.contact { padding: clamp(64px, 9vw, 112px) 0; background: radial-gradient(70% 80% at 0% 100%, rgba(46, 230, 197, .1), transparent 70%), radial-gradient(60% 70% at 100% 0%, rgba(43, 140, 255, .12), transparent 70%), var(--bg-0); border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact-text p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; padding: 18px;
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; transition: transform .2s, border-color .2s, background-color .2s;
  min-width: 0;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-2); }
.contact-card .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; }
.contact-card > span { display: flex; flex-direction: column; min-width: 0; }
.contact-card strong { font-size: 1.02rem; }
.contact-card small { color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-card.wa .icon { background: rgba(37, 211, 102, .14); color: var(--whatsapp); }
.contact-card.tg .icon { background: rgba(42, 171, 238, .14); color: var(--telegram); }
.contact-card.mail .icon { background: rgba(46, 230, 197, .12); color: var(--teal); }
.contact-card.wa { grid-column: 1 / -1; border-color: rgba(37, 211, 102, .35); }

.site-footer { padding: 44px 0 36px; background: var(--bg-0); border-top: 1px solid var(--line); font-size: .93rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 48px; }
.footer-brand p { margin: 14px 0 0; color: var(--muted); max-width: 42ch; }
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-brand .brand-name { font-size: 1.15rem; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: var(--text); text-decoration: none; width: fit-content; }
.footer-nav a:hover { color: var(--teal); }
.footer-nav { justify-self: end; padding-top: 4px; }
.footer-bottom { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; text-align: center; }
.footer-bottom p { margin: 0; }
.footer-bottom p + p { margin-top: 4px; }
.footer-bottom a { color: var(--text); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal); }

.wa-bubble {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: none; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  transition: transform .3s, opacity .3s;
}
.wa-bubble .icon { width: 30px; height: 30px; }
.wa-bubble.hidden { transform: scale(.6); opacity: 0; pointer-events: none; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .features-4 { grid-template-columns: repeat(2, 1fr); }
  .nav > a { padding: 8px 9px; font-size: .9rem; }
  .header-cta span { display: none; }
  .header-cta { width: 42px; padding: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-left: 4px;
    border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; color: var(--heading); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, background-color .25s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .menu-open .bars { background: transparent; }
  .menu-open .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .header-cta { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 22px;
    background: rgba(8, 18, 27, .97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > a { padding: 13px 14px; font-size: 1.05rem; border-radius: 12px; }
  .lang { margin: 10px 0 0; align-self: flex-start; }
  .lang a { padding: 6px 16px; font-size: .9rem; }

  .hero-grid, .page-hero-grid, .split, .about-grid, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 8px auto 0; width: 100%; }
  .services, .blocks, .features { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .tiers { grid-template-columns: 1fr; }
  .service-card { flex-direction: row; }
  .service-card img { width: 38%; aspect-ratio: auto; align-self: stretch; }
  .service-body { padding: 26px; }
  .service-body .badge-icon { margin-top: 0; }
  .tier dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .gallery, .gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .page-hero-art img { max-height: 360px; }
  .page-hero-art .framed { max-width: 560px; }
  .wa-bubble { display: grid; }
  .tier-use { min-height: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(1.85rem, 8.4vw, 2.3rem); }
  .btn { padding: 12px 18px; font-size: .95rem; }
  .lightbox { max-width: 100vw; }
  .lightbox img { max-height: 78vh; border-radius: 10px; }
  .cards-3, .services, .tiers, .blocks, .features, .features-4, .cards-2 { grid-template-columns: 1fr; }
  .service-card { flex-direction: column; }
  .service-card img { width: 100%; aspect-ratio: 16 / 10; }
  .service-body { padding: 0 22px 24px; }
  .service-body .badge-icon { margin-top: -23px; }
  .tier dl { display: block; }
  .gallery { gap: 12px; }
  .gallery figcaption { font-size: .8rem; line-height: 1.45; margin-top: 6px; }
  .feature { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
  .feature .badge-icon { grid-row: span 2; margin: 0; }
  .feature h3 { margin-bottom: .3em; }
  .contact-actions { grid-template-columns: 1fr; gap: 10px; }
  .contact-card { padding: 14px; }
  .actions .btn { flex: 1 1 100%; }
  .chip { font-size: .75rem; padding: 7px 11px; }
  .chip-1 { left: 0; top: 30%; }
  .chip-2 { right: 0; }
  .brand-name { font-size: 1.15rem; }
  .brand-mark { width: 34px; height: 34px; }
  .page-hero-art img { max-height: 300px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-self: start; padding-top: 0; }
  .section-head { margin-bottom: 28px; }
}

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