/* =========================================================
   Mega Teknoloji – public site
   Light, editorial theme: big type, serif-italic accents,
   the logo's rainbow used sparingly as light and detail.
   ========================================================= */

:root {
    --bg: #ffffff;
    --bg-2: #f6f7fa;
    --bg-3: #eef0f5;
    --surface: #ffffff;
    --border: rgba(16, 24, 40, .08);
    --border-strong: rgba(16, 24, 40, .14);
    --text: #0a0d14;
    --text-muted: #4b5466;
    --text-dim: #687084;

    --c-yellow-rgb: 255 196 26;
    --c-green-rgb: 34 197 94;
    --c-blue-rgb: 14 145 255;
    --c-violet-rgb: 139 92 246;
    --c-pink-rgb: 236 72 153;
    --c-orange-rgb: 249 115 22;
    --grad: linear-gradient(90deg, rgb(var(--c-yellow-rgb)), rgb(var(--c-green-rgb)) 20%, rgb(var(--c-blue-rgb)) 40%, rgb(var(--c-violet-rgb)) 60%, rgb(var(--c-pink-rgb)) 80%, rgb(var(--c-orange-rgb)));
    --rainbow-dot: conic-gradient(rgb(var(--c-yellow-rgb)), rgb(var(--c-green-rgb)), rgb(var(--c-blue-rgb)), rgb(var(--c-violet-rgb)), rgb(var(--c-pink-rgb)), rgb(var(--c-orange-rgb)), rgb(var(--c-yellow-rgb)));

    --ink-yellow: #b45309;
    --ink-green: #15803d;
    --ink-blue: #0969da;
    --ink-violet: #6d28d9;
    --ink-pink: #be185d;
    --ink-orange: #c2410c;
    --grad-ink: linear-gradient(90deg, #0a84ff, #7c3aed 45%, #db2777 75%, #ea580c);

    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .05);
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 16px 36px -16px rgba(16, 24, 40, .16);
    --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 34px 70px -28px rgba(16, 24, 40, .3);

    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
    --radius: 20px;
    --radius-lg: 32px;
    --header-h: 72px;
    --gutter: 18px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --reveal: opacity .9s var(--ease-out), translate .9s var(--ease-out), transform .5s var(--ease), box-shadow .4s ease, border-color .3s ease, background-color .3s ease;
}

@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 84px; } }

/* ---------- Base ---------- */

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

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
main:focus { outline: none; }
address { font-style: normal; }
::selection { background: rgb(var(--c-blue-rgb) / .18); }

:focus-visible { outline: 2px solid var(--ink-blue); outline-offset: 3px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container {
    width: min(1240px, 100% - 2 * var(--gutter));
    margin-inline: auto;
}

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

.skip-link {
    position: fixed; left: 16px; top: -120px; z-index: 200;
    padding: 12px 18px; border-radius: 12px;
    background: var(--text); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.accent {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
}

.grad-text {
    background-image: var(--grad-ink);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.rainbow-line { height: 2px; background: var(--grad); }

/* ---------- Buttons & links ---------- */

.btn {
    --btn-h: 48px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--btn-h);
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em;
    text-decoration: none; white-space: nowrap;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn .icon { width: 18px; height: 18px; transition: translate .3s var(--ease); }
.btn:hover .icon { translate: 3px 0; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .65; cursor: progress; }

.btn--primary { background: var(--text); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 13, 20, .7); }
.btn--primary:hover { background: #000; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(10, 13, 20, .7); }

.btn--ghost { background: rgba(255, 255, 255, .7); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: #fff; border-color: rgba(16, 24, 40, .4); transform: translateY(-2px); }

.btn--sm { --btn-h: 40px; padding: 0 18px; font-size: .875rem; }
.btn--lg { --btn-h: 56px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding-bottom: 5px;
    border-bottom: 1.5px solid currentColor;
    color: var(--text); font-weight: 600; text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: translate .3s var(--ease); }
.link-arrow:hover .icon { translate: 4px 0; }

/* ---------- Eyebrow & section heads ---------- */

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--text-muted);
    font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}

.section { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--bg-2); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--row {
    max-width: none;
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-title {
    margin-top: 18px;
    font-size: clamp(2.1rem, 3.8vw + .6rem, 3.75rem);
    font-weight: 600; line-height: 1.04; letter-spacing: -.04em;
    text-wrap: balance;
}
.section-title--sm { margin: 0 0 20px; font-size: clamp(1.6rem, 2vw + .6rem, 2.25rem); }
.section-lead { max-width: 600px; margin-top: 20px; color: var(--text-muted); font-size: 1.125rem; }

/* ---------- Cards (inner pages) ---------- */

.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--reveal);
}

.tinted > :nth-child(6n+1) { --tint: var(--c-blue-rgb); --ink: var(--ink-blue); }
.tinted > :nth-child(6n+2) { --tint: var(--c-violet-rgb); --ink: var(--ink-violet); }
.tinted > :nth-child(6n+3) { --tint: var(--c-pink-rgb); --ink: var(--ink-pink); }
.tinted > :nth-child(6n+4) { --tint: var(--c-orange-rgb); --ink: var(--ink-orange); }
.tinted > :nth-child(6n+5) { --tint: var(--c-green-rgb); --ink: var(--ink-green); }
.tinted > :nth-child(6n+6) { --tint: var(--c-yellow-rgb); --ink: var(--ink-yellow); }

.feature__icon {
    display: inline-grid; place-items: center;
    width: 52px; height: 52px;
    margin-bottom: 22px;
    border-radius: 15px;
    color: var(--ink, var(--ink-blue));
    background: rgb(var(--tint, 14 145 255) / .1);
    border: 1px solid rgb(var(--tint, 14 145 255) / .22);
}
.feature__icon .icon { width: 24px; height: 24px; }
.feature__title { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 10px; }
.feature__text { color: var(--text-muted); font-size: .9875rem; line-height: 1.65; }

/* ---------- Header ---------- */

.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background-color .4s ease, border-color .4s ease;
}
.site-header.is-scrolled, .site-header.is-open {
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: var(--border);
}
.site-header.is-open { background: #fff; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; min-height: 44px; }
.brand__mark { width: auto; height: 28px; }
.brand__text { font-size: .8125rem; font-weight: 500; letter-spacing: .2em; white-space: nowrap; }
.brand__text strong { font-weight: 700; }

.nav { display: none; }
.nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link {
    position: relative;
    display: inline-flex; align-items: center;
    min-height: 40px; padding: 0 16px;
    color: var(--text-muted); font-size: .9375rem; font-weight: 500; text-decoration: none;
    transition: color .2s ease;
}
.nav__link::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
    height: 1.5px; background: currentColor;
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, .7); }
.lang-switch a {
    display: grid; place-items: center;
    min-width: 38px; min-height: 36px; padding: 0 8px;
    border-radius: 999px;
    color: var(--text-muted); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active { background: var(--text); color: #fff; }

.menu-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px;
    border: 1px solid var(--border-strong); border-radius: 50%;
    background: #fff; color: var(--text);
    cursor: pointer;
}
.menu-toggle__bar { width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49;
    overflow-y: auto;
    background: #fff;
    animation: fade-down .35s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { margin: 0; padding: 8px 0 0; list-style: none; }
.mobile-menu__list a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 56px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted); font-size: 1.1875rem; font-weight: 500; letter-spacing: -.01em; text-decoration: none;
}
.mobile-menu__list a .icon { width: 18px; height: 18px; color: var(--text-dim); }
.mobile-menu__list a[aria-current="page"], .mobile-menu__list a:hover { color: var(--text); font-weight: 600; }
.mobile-menu__list a[aria-current="page"] .icon { color: var(--text); }
.mobile-menu__footer { display: grid; gap: 8px; padding: 28px 0 40px; }
.mobile-menu__contact { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text-muted); text-decoration: none; }

@keyframes fade-down { from { opacity: 0; translate: 0 -8px; } }

@media (min-width: 1024px) {
    .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
    .nav { display: block; }
    .header-actions { justify-self: end; }
    .menu-toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 440px) {
    .site-header__inner { gap: 12px; }
    .brand { gap: 9px; }
    .brand__mark { height: 23px; }
    .brand__text { font-size: .6875rem; letter-spacing: .14em; }
    .header-actions { gap: 8px; }
    .lang-switch a { min-width: 34px; }
}
@media (max-width: 359px) { .brand__text { display: none; } }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-h) + clamp(48px, 8vw, 104px)) 0 clamp(24px, 4vw, 48px);
    background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 55%);
}
.hero__glow {
    position: absolute; z-index: -1;
    left: 50%; bottom: -5%;
    width: min(1500px, 150%); height: 72%;
    translate: -50% 0;
    background:
        radial-gradient(40% 50% at 32% 62%, rgb(var(--c-blue-rgb) / .16), transparent 70%),
        radial-gradient(38% 46% at 68% 58%, rgb(var(--c-violet-rgb) / .13), transparent 70%),
        radial-gradient(34% 40% at 52% 90%, rgb(var(--c-orange-rgb) / .12), transparent 70%);
    pointer-events: none;
}

.hero__intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title {
    max-width: 1100px;
    font-size: clamp(2.9rem, 7vw + .5rem, 7.25rem);
    font-weight: 600; line-height: .98; letter-spacing: -.05em;
    text-wrap: balance;
}
/* each word rises out of its own mask */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .14em; margin-bottom: -.14em; }
.hero__title .w > span {
    display: inline-block;
    transform: translateY(112%);
    animation: word-rise 1.1s var(--ease-out) forwards;
    animation-delay: calc(150ms + var(--i, 0) * 80ms);
}
.hero__title .accent { padding: 0 .06em 0 .02em; }
@keyframes word-rise { to { transform: translateY(0); } }

.hero__lead {
    max-width: 620px; margin-top: 30px;
    color: var(--text-muted);
    font-size: clamp(1.0625rem, .45vw + 1rem, 1.25rem); line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero__lead, .hero__actions { animation: fade-up 1s var(--ease-out) both; }
.hero__lead { animation-delay: .55s; }
.hero__actions { animation-delay: .7s; }
@keyframes fade-up { from { opacity: 0; translate: 0 18px; } }

/* The product: a lineup of three phones; the side phones fan out as you scroll (--p: 0 → 1). */
.hero__stage { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.phones {
    --pw: clamp(150px, 20vw, 280px);
    --fan: 30%;
    position: relative;
    height: calc(var(--pw) * 2.1667 + 70px);
    animation: stage-in 1.6s var(--ease-out) .5s both;
}
@keyframes stage-in { from { opacity: 0; translate: 0 90px; } }
.phone {
    position: absolute; left: 50%; bottom: 44px;
    width: var(--pw); aspect-ratio: 9 / 19.5;
    margin-left: calc(var(--pw) / -2);
    padding: calc(var(--pw) * .032);
    border-radius: calc(var(--pw) * .16);
    background: linear-gradient(145deg, #55575f 0%, #1a1b20 22%, #0d0e11 70%, #43454d 100%);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, .16),
        inset 0 0 0 calc(var(--pw) * .012) #0a0b0d,
        0 2px 4px rgba(16, 24, 40, .12),
        0 44px 70px -30px rgba(16, 24, 40, .55),
        0 80px 120px -60px rgba(16, 24, 40, .45);
    transform-origin: 50% 100%;
}
.phone::before, .phone::after {
    content: ""; position: absolute; right: -2px;
    width: 3px; border-radius: 0 3px 3px 0;
    background: linear-gradient(90deg, #2a2b31, #6a6c75);
}
.phone::before { top: 21%; height: 11%; }
.phone::after { top: 35%; height: 6%; }
.phone--main { z-index: 2; transform: translateY(calc(var(--p, 0) * -16px)); }
.phone--left {
    z-index: 1;
    transform: translateX(calc(-1 * (50% + var(--p, 0) * var(--fan)))) rotate(calc(-6deg - var(--p, 0) * 6deg)) scale(.86);
}
.phone--right {
    z-index: 1;
    transform: translateX(calc(50% + var(--p, 0) * var(--fan))) rotate(calc(6deg + var(--p, 0) * 6deg)) scale(.86);
}
.phone__screen {
    position: relative;
    display: grid; place-items: center;
    height: 100%;
    overflow: hidden;
    border-radius: calc(var(--pw) * .13);
    background: #03040a;
    isolation: isolate;
}
.phone__aurora { position: absolute; inset: 0; }
.phone__aurora span {
    position: absolute;
    width: 140%; height: 60%;
    border-radius: 50%;
    mix-blend-mode: screen;
    animation: aurora 18s ease-in-out infinite alternate;
}
.phone__aurora span:nth-child(1) { left: -60%; top: -14%; background: radial-gradient(closest-side, rgba(30, 110, 255, .95), transparent); }
.phone__aurora span:nth-child(2) { right: -70%; top: 12%; background: radial-gradient(closest-side, rgba(139, 92, 246, .9), transparent); animation-duration: 22s; animation-delay: -7s; }
.phone__aurora span:nth-child(3) { left: -40%; bottom: -8%; background: radial-gradient(closest-side, rgba(236, 72, 153, .75), transparent); animation-duration: 20s; animation-delay: -3s; }
.phone__aurora span:nth-child(4) { right: -50%; bottom: -22%; background: radial-gradient(closest-side, rgba(249, 150, 22, .75), transparent); animation-duration: 25s; animation-delay: -11s; }
.phone--left .phone__aurora { filter: hue-rotate(-70deg); opacity: .8; }
.phone--right .phone__aurora { filter: hue-rotate(60deg); opacity: .8; }
@keyframes aurora {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(16%, 10%) scale(1.2); }
    100% { transform: translate(-12%, 6%) scale(.92); }
}
.phone__logo { position: relative; width: 56%; height: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .45)); }
.phone__time {
    position: absolute; top: 15%; left: 0; right: 0;
    color: rgba(255, 255, 255, .92);
    font-size: calc(var(--pw) * .15); font-weight: 300; letter-spacing: -.03em; text-align: center;
}
/* keep the clock on the half that isn't covered by the front phone */
.phone--left .phone__time { padding-right: 46%; }
.phone--right .phone__time { padding-left: 46%; }
.phone__camera {
    position: absolute; top: 2.4%; left: 50%;
    width: 6%; aspect-ratio: 1;
    margin-left: -3%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2c3c5a, #030407 62%);
    box-shadow: 0 0 0 1.5px #000;
}
.phone__glare {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, 0) 46%);
    pointer-events: none;
}
.phones__shadow {
    position: absolute; left: 50%; bottom: 18px;
    width: calc(var(--pw) * 2.8); height: 56px;
    translate: -50% 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(16, 24, 40, .24), transparent);
}

@media (max-width: 640px) { .phones { --fan: 6%; } }

/* Photo slideshow hero (when slideshow images are uploaded in the admin panel) */
.hero--slides {
    display: flex; flex-direction: column; justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-h) + 40px) 0 104px;
    background: #0b0d12;
    color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__slide {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.6s ease, transform 8s cubic-bezier(.2, .6, .3, 1);
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6, 8, 14, .58) 0%, rgba(6, 8, 14, .4) 45%, rgba(6, 8, 14, .7) 100%);
}
.hero--slides .hero__lead { color: rgba(255, 255, 255, .9); }
.hero--slides .hero__title, .hero--slides .hero__lead { text-shadow: 0 2px 30px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .25); }
.hero--slides .btn--primary { background: #fff; color: var(--text); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); }
.hero--slides .btn--primary:hover { background: #eef0f4; }
.hero--slides .btn--ghost {
    background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero--slides .btn--ghost:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.hero__dots { position: absolute; left: 50%; bottom: 36px; display: flex; gap: 8px; translate: -50% 0; }
.hero__dot { display: grid; align-items: center; width: 44px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot span { position: relative; display: block; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--fill, 0)); transform-origin: left; }
.hero__dot.is-active span::after { transform: scaleX(var(--fill, 1)); }

/* header sits on the photo until the page scrolls */
.has-hero-slides .site-header:not(.is-scrolled):not(.is-open) .brand { color: #fff; }
.has-hero-slides .site-header:not(.is-scrolled):not(.is-open) .nav__link { color: rgba(255, 255, 255, .8); }
.has-hero-slides .site-header:not(.is-scrolled):not(.is-open) .nav__link:hover,
.has-hero-slides .site-header:not(.is-scrolled):not(.is-open) .nav__link[aria-current="page"] { color: #fff; }
.has-hero-slides .site-header:not(.is-scrolled):not(.is-open) .lang-switch { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.has-hero-slides .site-header:not(.is-scrolled):not(.is-open) .lang-switch a { color: rgba(255, 255, 255, .85); }
.has-hero-slides .site-header:not(.is-scrolled):not(.is-open) .lang-switch a.is-active { background: #fff; color: var(--text); }
.has-hero-slides .site-header:not(.is-scrolled):not(.is-open) .menu-toggle { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }

/* ---------- Statement & numbers ---------- */

.statement { padding-block: clamp(96px, 13vw, 180px) clamp(80px, 10vw, 140px); }
.statement__inner { max-width: 1120px; }
.statement__text {
    margin: 30px 0 38px;
    font-size: clamp(1.8rem, 3.5vw + .6rem, 3.6rem);
    font-weight: 600; line-height: 1.16; letter-spacing: -.04em;
    text-wrap: pretty;
}
.fw { color: #c3c8d2; transition: color .45s ease; }
.fw.is-on { color: var(--text); }

.numbers {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(20px, 3vw, 40px);
    margin: clamp(72px, 9vw, 120px) 0 0;
}
@media (min-width: 900px) {
    .numbers--3 { grid-template-columns: repeat(3, 1fr); }
    .numbers--4 { grid-template-columns: repeat(4, 1fr); }
}
.numbers__item { display: flex; flex-direction: column-reverse; gap: 12px; padding: 28px 0; border-top: 1px solid var(--border-strong); transition: var(--reveal); }
.numbers__value { margin: 0; font-size: clamp(2.1rem, 3.5vw, 3.9rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.numbers__label { color: var(--text-muted); font-size: .9375rem; }

/* ---------- Gallery preview (home) ---------- */

.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.preview-grid__item, .masonry__item a {
    position: relative; display: block; overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-3);
}
.preview-grid__item { aspect-ratio: 4 / 3; transition: var(--reveal); }
.preview-grid__item img, .masonry__item img { width: 100%; transition: transform 1s var(--ease-out); }
.preview-grid__item img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.preview-grid__item:hover img, .masonry__item a:hover img { transform: scale(1.05); }
.preview-grid--1 { grid-template-columns: 1fr; }
.preview-grid--1 .preview-grid__item, .preview-grid--3 .preview-grid__item:first-child, .preview-grid--5 .preview-grid__item:first-child { grid-column: 1 / -1; }
.preview-grid--1 .preview-grid__item { aspect-ratio: 16 / 9; }
@media (min-width: 768px) {
    .preview-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .preview-grid--3 .preview-grid__item:first-child { grid-column: auto; }
    .preview-grid--4 { grid-template-columns: repeat(4, 1fr); }
    .preview-grid--5 {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, minmax(0, 1fr));
        height: clamp(440px, 44vw, 600px);
    }
    .preview-grid--5 .preview-grid__item { aspect-ratio: auto; }
    .preview-grid--5 .preview-grid__item:first-child { grid-column: span 2; grid-row: span 2; }
}

.zoom-hint {
    position: absolute; right: 14px; bottom: 14px;
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--text);
    box-shadow: var(--shadow);
    opacity: 0; translate: 0 6px;
    transition: opacity .3s ease, translate .3s var(--ease);
}
a:hover > .zoom-hint, a:focus-visible > .zoom-hint { opacity: 1; translate: 0 0; }
.zoom-hint .icon { width: 20px; height: 20px; }

/* ---------- Warehouse masonry ---------- */

.masonry { columns: 300px 3; column-gap: 16px; }
.masonry__item { margin: 0 0 16px; break-inside: avoid; transition: var(--reveal); }
.masonry__item figcaption { padding: 10px 4px 0; color: var(--text-muted); font-size: .875rem; }

/* ---------- Products ---------- */
.product-tools { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.product-search {
    display: flex; align-items: center; gap: 10px; width: min(360px, 100%); height: 48px; padding: 0 18px;
    border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); color: var(--text-dim);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.product-search:focus-within { border-color: var(--text); box-shadow: var(--shadow-sm); }
.product-search .icon { width: 18px; height: 18px; flex: none; }
.product-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--text); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-card[hidden] { display: none; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card__img { display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__body { display: grid; gap: 6px; padding: 14px 16px 18px; }
.product-card__badge {
    justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600;
    color: var(--ink-blue); background: rgb(var(--c-blue-rgb) / .1);
}
.product-card__name { font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.product-card__code { color: var(--text-dim); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.product-none { padding: 40px 0; color: var(--text-muted); text-align: center; }
.product-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding: 28px; }
.product-cta__title { font-size: 1.25rem; font-weight: 600; }
.product-cta p { color: var(--text-muted); }
@media (max-width: 560px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-card__body { padding: 10px 12px 14px; }
    .product-card__name { font-size: .8125rem; }
    .product-tools { justify-content: stretch; }
    .product-search { width: 100%; }
}

.empty-state {
    display: grid; justify-items: center; gap: 10px;
    max-width: 640px; margin-inline: auto;
    padding: 56px 28px;
    text-align: center;
}
.empty-state__title { font-size: 1.375rem; font-weight: 600; }
.empty-state p { color: var(--text-muted); margin-bottom: 14px; }
.empty-state .feature__icon { --tint: var(--c-orange-rgb); --ink: var(--ink-orange); margin-bottom: 8px; }

/* ---------- Inner page hero ---------- */

.page-hero, .notfound { position: relative; isolation: isolate; overflow: hidden; }
.page-hero {
    padding: calc(var(--header-h) + clamp(64px, 10vw, 128px)) 0 clamp(56px, 8vw, 104px);
    background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(110px); opacity: .28; }
.orb--blue { top: -260px; left: -160px; background: #7cc0ff; }
.orb--violet { top: -220px; right: 8%; background: #c9b8ff; }
.orb--orange { top: -280px; right: -120px; background: #ffc08a; }
.page-hero__title {
    margin-top: 22px;
    font-size: clamp(2.8rem, 6vw + .5rem, 6rem);
    font-weight: 600; line-height: 1; letter-spacing: -.05em;
    animation: fade-up 1s var(--ease-out) .1s both;
}
.page-hero__lead { max-width: 640px; margin-top: 24px; color: var(--text-muted); font-size: clamp(1.0625rem, .5vw + 1rem, 1.25rem); animation: fade-up 1s var(--ease-out) .25s both; }
.page-hero__meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--text-muted); font-size: .9375rem; font-weight: 600; }

/* ---------- About ---------- */

.about-grid { display: grid; align-items: start; gap: 32px; }
.prose p { margin: 0 0 1.2em; color: var(--text-muted); font-size: 1.0625rem; line-height: 1.8; }
.prose p:first-child { color: var(--text); font-size: clamp(1.25rem, .8vw + 1rem, 1.5rem); line-height: 1.55; letter-spacing: -.015em; }
.prose p:last-child { margin-bottom: 0; }

.about-card {
    position: relative;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: radial-gradient(320px 200px at 50% 0%, rgb(var(--c-blue-rgb) / .1), transparent 70%), #fff;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--reveal);
}
.about-card__logo { width: 120px; height: 120px; margin: 0 auto 28px; filter: drop-shadow(0 18px 30px rgba(16, 24, 40, .3)); }
.about-card__stats { display: grid; margin: 0; }
.about-card__stats > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px 0; border-top: 1px solid var(--border); }
.about-card__stats dt { color: var(--text-muted); font-size: .875rem; }
.about-card__stats dd { margin: 0; font-size: 2rem; font-weight: 600; letter-spacing: -.04em; }
@media (min-width: 960px) {
    .about-grid { grid-template-columns: 1.4fr .8fr; gap: 80px; }
    .about-card { position: sticky; top: calc(var(--header-h) + 24px); }
}

.mv-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .mv-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.mv-card { padding-top: 28px; border-top: 1px solid var(--border-strong); transition: var(--reveal); }
.mv-card__title { margin-bottom: 12px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.mv-card p { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.7; }

/* founder */
.founder__grid { display: grid; align-items: center; gap: 40px; }
.founder__photo {
    position: relative; margin: 0;
    width: 100%; max-width: 440px; aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #e9edf3;
    box-shadow: var(--shadow);
    transition: var(--reveal);
}
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__body { max-width: 640px; transition: var(--reveal); }
.founder__quote { position: relative; margin: 8px 0 0; padding-top: 44px; }
.founder__quote::before {
    content: '\201C';
    position: absolute; top: -.12em; left: -.04em;
    font-family: var(--serif); font-size: 6rem; line-height: 1;
    color: rgb(var(--c-blue-rgb) / .35);
}
.founder__quote p {
    margin: 0 0 .8em;
    font-family: var(--serif);
    font-size: clamp(1.6rem, 1.6vw + 1rem, 2.35rem);
    line-height: 1.25; letter-spacing: -.01em;
    text-wrap: pretty;
}
.founder__quote p:last-child { margin-bottom: 0; }
.founder__sign { display: flex; flex-direction: column; gap: 2px; margin-top: 32px; padding-left: 52px; position: relative; }
.founder__sign::before { content: ''; position: absolute; left: 0; top: .8em; width: 36px; height: 1px; background: var(--text); }
.founder__sign strong { font-weight: 600; font-size: 1.0625rem; }
.founder__sign span { color: var(--text-muted); font-size: .9375rem; }
@media (min-width: 900px) {
    .founder__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(56px, 7vw, 112px); }
}
@media (max-width: 899px) {
    .founder__photo { max-width: 360px; }
}


/* ---------- Contact ---------- */

.contact-grid { display: grid; align-items: start; gap: 24px; }
@media (min-width: 960px) {
    .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; }
    .contact-grid--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
}

.info-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.info-item { display: flex; align-items: flex-start; gap: 16px; padding: 22px; }
.info-item__icon {
    display: grid; place-items: center; flex: none;
    width: 46px; height: 46px;
    border-radius: 14px;
    color: var(--text); background: var(--bg-2); border: 1px solid var(--border);
}
.info-item__icon .icon { width: 22px; height: 22px; }
.info-item__label { display: block; margin-bottom: 4px; color: var(--text-dim); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.info-item__value { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.info-item__value .icon { width: 16px; height: 16px; }
address.info-item__value { display: block; }
a.info-item__value:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-social { display: grid; gap: 10px; margin-top: 24px; }

.form-card { padding: clamp(24px, 4vw, 44px); border-radius: 28px; box-shadow: var(--shadow); }
.form-card__title { font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em; }
.form-card__text { margin: 8px 0 28px; color: var(--text-muted); }

.form__grid { display: grid; gap: 18px; }
@media (min-width: 640px) {
    .form__grid { grid-template-columns: 1fr 1fr; }
    .field--full { grid-column: 1 / -1; }
}
.field label { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 600; }
.req { color: var(--ink-pink); }
.field__opt { color: var(--text-dim); font-size: .8125rem; font-weight: 500; }
.field input, .field textarea {
    width: 100%; min-height: 52px;
    padding: 12px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    font: inherit; font-size: 1rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #8a92a6; }
.field input:hover, .field textarea:hover { border-color: rgba(16, 24, 40, .3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(16, 24, 40, .08); }
.has-error input, .has-error textarea { border-color: var(--ink-pink); }
.has-error input:focus, .has-error textarea:focus { box-shadow: 0 0 0 4px rgb(var(--c-pink-rgb) / .15); }
.field__error { margin-top: 8px; color: var(--ink-pink); font-size: .875rem; font-weight: 500; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form__privacy { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: .8125rem; }
.form__privacy .icon { width: 16px; height: 16px; }

.alert { display: flex; gap: 14px; margin-bottom: 24px; padding: 16px 18px; border: 1px solid; border-radius: 14px; }
.alert:focus { outline: none; }
.alert > .icon { width: 22px; height: 22px; margin-top: 1px; }
.alert p { margin: 0; }
.alert strong { display: block; margin-bottom: 2px; }
.alert ul { margin: 8px 0 0; padding-left: 18px; }
.alert a { color: inherit; }
.alert--success { background: rgb(var(--c-green-rgb) / .08); border-color: rgb(var(--c-green-rgb) / .35); }
.alert--success > .icon { color: var(--ink-green); }
.alert--error { background: rgb(var(--c-pink-rgb) / .07); border-color: rgb(var(--c-pink-rgb) / .35); }
.alert--error > .icon { color: var(--ink-pink); }

.map { overflow: hidden; aspect-ratio: 16 / 7; min-height: 320px; border-radius: 28px; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Socials ---------- */

.socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.socials a {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--border-strong); border-radius: 50%;
    background: #fff; color: var(--text-muted);
    transition: color .2s ease, border-color .2s ease, transform .3s var(--ease);
}
.socials a:hover { color: var(--text); border-color: rgba(16, 24, 40, .4); transform: translateY(-2px); }
.socials .icon { width: 19px; height: 19px; }

/* ---------- Footer ---------- */

.site-footer { position: relative; overflow: hidden; margin-top: clamp(24px, 4vw, 56px); background: var(--bg-2); }
.site-footer > .rainbow-line { opacity: .85; }
.site-footer__grid { display: grid; gap: 40px; padding-block: 72px 48px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr; } }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { width: 68px; height: 68px; }
.site-footer__brand p { max-width: 320px; margin: 18px 0 22px; color: var(--text-muted); font-size: .9375rem; }
.site-footer__title { margin-bottom: 14px; color: var(--text-dim); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.site-footer__links, .site-footer__contact { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text-muted); text-decoration: none; transition: color .2s ease; }
.site-footer__links a:hover { color: var(--text); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: var(--text-muted); font-size: .9375rem; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--text-dim); }
.site-footer__contact a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer__contact a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    padding-block: 20px 12px;
    border-top: 1px solid var(--border);
    color: var(--text-dim); font-size: .875rem;
}
.lang-switch--plain { padding: 0; border: 0; background: none; gap: 4px; }
.lang-switch--plain a { min-height: 40px; padding: 0 12px; font-size: .8125rem; font-weight: 600; letter-spacing: 0; }
.lang-switch--plain a.is-active { background: rgba(16, 24, 40, .07); color: var(--text); }

/* ---------- WhatsApp floating button ---------- */

.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 40;
    display: flex; align-items: center; gap: 10px;
    height: 56px; padding: 0 16px;
    border-radius: 999px;
    background: #15803d; color: #fff;
    font-weight: 600; text-decoration: none;
    box-shadow: 0 16px 34px -12px rgba(21, 128, 61, .65);
    transition: transform .3s var(--ease), background-color .2s ease;
}
.wa-float:hover { transform: translateY(-2px); background: #166534; }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float__label { display: none; }
@media (min-width: 768px) { .wa-float__label { display: inline; } .wa-float { padding: 0 20px 0 16px; } }

/* ---------- 404 ---------- */

.notfound {
    display: grid; place-items: center;
    min-height: 78vh;
    padding: calc(var(--header-h) + 64px) 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}
.notfound__code { font-family: var(--serif); font-size: clamp(7rem, 20vw, 13rem); font-style: italic; line-height: .9; }
.notfound .page-hero__lead { margin-inline: auto; }
.notfound .btn { margin-top: 32px; }

/* ---------- Lightbox (stays dark for photo viewing) ---------- */

.lightbox {
    position: fixed; inset: 0; z-index: 100;
    display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
    background: rgba(8, 10, 16, .94);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; color: #c3c8d4; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 76px; }
.lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 170px);
    max-height: calc(100dvh - 170px);
    width: auto; height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    transition: opacity .2s ease;
}
.lightbox__img.is-loading { opacity: .3; }
.lightbox__btn {
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%;
    background: rgba(255, 255, 255, .1); color: #fff;
    cursor: pointer;
    transition: background-color .2s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__caption { min-height: 64px; padding: 16px 20px 24px; color: #c3c8d4; text-align: center; }
@media (max-width: 640px) {
    .lightbox__stage { padding: 0 8px; }
    .lightbox__prev { left: 12px; }
    .lightbox__next { right: 12px; }
    .lightbox__btn { width: 44px; height: 44px; background: rgba(0, 0, 0, .55); }
}

/* ---------- Scroll reveal ---------- */

.reveal { transition: var(--reveal); }
.reveal.is-pending { opacity: 0; translate: 0 32px; }

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