/* Mod Hotel Software — redesign 2026 */
:root {
  --bg: #f6f7fb;
  --bg-alt: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f3f5fa;
  --ink: #0c1324;
  --ink-2: #263049;
  --muted: #5b6478;
  --line: rgba(12, 19, 36, .09);
  --line-strong: rgba(12, 19, 36, .16);
  --g: #6fb22a;
  --b: #2b8fe0;
  --m: #e11d63;
  --accent: #1f7fd1;
  --accent-ink: #ffffff;
  --ring: rgba(43, 143, 224, .4);
  --grad: linear-gradient(100deg, var(--g) 0%, var(--b) 48%, var(--m) 100%);
  --shadow-sm: 0 1px 2px rgba(12, 19, 36, .05);
  --shadow: 0 1px 2px rgba(12, 19, 36, .05), 0 10px 30px -12px rgba(12, 19, 36, .14);
  --shadow-lg: 0 30px 60px -20px rgba(12, 19, 36, .28);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 72px;
  --dark-bg: #0a0f1c;
  --dark-surface: #111829;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f1c; --bg-alt: #0d1323; --surface: #111829; --surface-2: #161f34;
    --ink: #e9edf6; --ink-2: #c9d1e3; --muted: #97a1b7;
    --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .16);
    --accent: #4aa3ef; --accent-ink: #06101f; --ring: rgba(74, 163, 239, .45);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f1c; --bg-alt: #0d1323; --surface: #111829; --surface-2: #161f34;
  --ink: #e9edf6; --ink-2: #c9d1e3; --muted: #97a1b7;
  --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .16);
  --accent: #4aa3ef; --accent-ink: #06101f; --ring: rgba(74, 163, 239, .45);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
html[lang="ru"] body { font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.ic { width: 22px; height: 22px; flex: none; }
.ic.sm { width: 18px; height: 18px; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(880px, 100% - 32px); }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 14px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px color-mix(in srgb, var(--g) 25%, transparent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink);
}
.icon-btn:hover { border-color: var(--line-strong); }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none !important; flex: none; }
.brand-logo { height: 30px; width: auto; }
.site-footer .brand-logo { height: 35px; }
.brand-mark { font-weight: 800; font-size: 2rem; letter-spacing: -.06em; line-height: 1; }
.brand-mark .m { color: var(--g); } .brand-mark .o { color: var(--b); } .brand-mark .d { color: var(--m); }
.brand-sub { font-size: .6rem; font-weight: 700; letter-spacing: .14em; line-height: 1.15; color: var(--muted); border-left: 2px solid var(--m); padding-left: 8px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav > a:hover, .nav > a.active { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav-extra { display: flex; align-items: center; margin-left: 8px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang a { padding: 6px 9px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.lang a[aria-current] { background: var(--ink); color: var(--bg); }
.lang a:hover { text-decoration: none; color: var(--ink); }
.lang a[aria-current]:hover { color: var(--bg); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
.menu-btn .close, [data-menu][aria-expanded="true"] .open { display: none; }
[data-menu][aria-expanded="true"] .close { display: block; }
.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }
:root[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block; }
  :root:not([data-theme="light"]) .only-light { display: none; }
}

/* ---------- hero */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -20% -10% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 15% 20%, color-mix(in srgb, var(--g) 22%, transparent), transparent 70%),
    radial-gradient(35% 45% at 85% 10%, color-mix(in srgb, var(--b) 26%, transparent), transparent 70%),
    radial-gradient(30% 40% at 70% 70%, color-mix(in srgb, var(--m) 16%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 28px; margin: 0; justify-content: start; }
.stats div { border-left: 2px solid var(--line-strong); padding-left: 14px; }
.stats dt { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.stats dd { margin: 0; font-size: .82rem; color: var(--muted); max-width: 14ch; line-height: 1.35; }

.hero-visual { position: relative; perspective: 1400px; }
.mock {
  border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  overflow: hidden; transform: rotateY(-8deg) rotateX(4deg); transform-origin: left center;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.hero-visual:hover .mock { transform: rotateY(-3deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-bar span:nth-child(1) { background: #ff5f57; } .mock-bar span:nth-child(2) { background: #febc2e; } .mock-bar span:nth-child(3) { background: #28c840; }
.mock-bar em { margin-left: 10px; font-style: normal; font-size: .78rem; color: var(--muted); font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 56px 1fr; min-height: 340px; }
.mock-side { border-right: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock-side i { width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.mock-side i.on { background: var(--grad); border: 0; }
.mock-main { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: var(--surface); }
.kpi small { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; }
.kpi b { font-size: 1.35rem; letter-spacing: -.03em; }
.kpi span { display: block; font-size: .68rem; color: var(--muted); }
.kpi .up { color: var(--g); font-weight: 700; }
.chart { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.chart small { font-size: .7rem; color: var(--muted); font-weight: 600; }
.bars { height: 96px; display: flex; align-items: flex-end; gap: 6px; margin-bottom: 6px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--b), color-mix(in srgb, var(--b) 35%, transparent)); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.bars i:nth-child(3n) { background: linear-gradient(180deg, var(--g), color-mix(in srgb, var(--g) 30%, transparent)); }
.bars i:last-child { background: linear-gradient(180deg, var(--m), color-mix(in srgb, var(--m) 30%, transparent)); }
.bars i:nth-child(2) { animation-delay: .05s } .bars i:nth-child(3) { animation-delay: .1s } .bars i:nth-child(4) { animation-delay: .15s }
.bars i:nth-child(5) { animation-delay: .2s } .bars i:nth-child(6) { animation-delay: .25s } .bars i:nth-child(7) { animation-delay: .3s }
.bars i:nth-child(8) { animation-delay: .35s } .bars i:nth-child(9) { animation-delay: .4s } .bars i:nth-child(10) { animation-delay: .45s }
.bars i:nth-child(11) { animation-delay: .5s } .bars i:nth-child(12) { animation-delay: .55s }
@keyframes grow { from { transform: scaleY(0); } }
.rows { display: grid; gap: 8px; }
.rows .row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.tag { font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag.g { background: color-mix(in srgb, var(--g) 18%, transparent); color: color-mix(in srgb, var(--g) 80%, var(--ink)); }
.tag.b { background: color-mix(in srgb, var(--b) 18%, transparent); color: color-mix(in srgb, var(--b) 80%, var(--ink)); }
.tag.m { background: color-mix(in srgb, var(--m) 16%, transparent); color: color-mix(in srgb, var(--m) 80%, var(--ink)); }
.line { height: 8px; border-radius: 6px; background: var(--line-strong); }
.w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; } .w30 { width: 30%; } .w25 { width: 25%; } .w20 { width: 20%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .82rem; animation: bob 6s ease-in-out infinite;
}
.float-card .ic { color: var(--accent); }
.fc-1 { left: -24px; bottom: 56px; }
.fc-2 { right: -12px; top: -18px; animation-delay: -3s; }
.mock-note { position: absolute; right: 8px; bottom: -24px; font-size: .7rem; color: var(--muted); }
@keyframes bob { 50% { transform: translateY(-8px); } }

.marquee { margin-top: clamp(48px, 7vw, 88px); padding: 22px 0; border-block: 1px solid var(--line); overflow: hidden; scrollbar-width: none;
  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: 18px; width: max-content; animation: scroll 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.mq-logo { display: grid; place-items: center; width: 132px; height: 60px; padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
/* references: two rows, opposite directions */
.refs { overflow: hidden; }
.ref-rows { display: grid; gap: 14px; }
.marquee-refs { margin-top: 0; padding: 0; border: 0; }
.marquee-refs .marquee-track { animation-duration: 90s; gap: 14px; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.ref-logo { width: 168px; height: 84px; padding: 10px 16px; border-radius: 16px; }
.ref-logo img, .mq-logo.ref-logo img { max-height: 62px; filter: none; opacity: 1; }
.mq-logo img { max-height: 40px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.mq-logo:hover img { filter: none; opacity: 1; }

/* ---------- sections */
.section { padding: clamp(44px, 5.5vw, 76px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; min-height: 220px;
}
.bento-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.bento-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.bento-card:hover::before { opacity: 1; }
.bento-lg { grid-column: span 2; grid-row: span 1; background:
  radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--b) 12%, transparent), transparent 70%), var(--surface); }
.bento-lg:nth-child(2) { background: radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--g) 14%, transparent), transparent 70%), var(--surface); }
.bento-lg h3 { font-size: 1.6rem; }
.bento-wide { grid-column: span 2; }
.bento-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 10px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent); }
.bento-kicker { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.bento-card h3 { margin: 0; }
.bento-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.bento-more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--accent); }
.bento-card:hover .bento-more .ic { transform: translateX(3px); }
.bento-more .ic { transition: transform .2s; }
.ext-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.ext-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line-strong); color: var(--ink); }
.ext-card .bento-icon { margin: 0; }
.ext-card strong { display: block; } .ext-card small { display: block; color: var(--muted); font-size: .88rem; }
.ext-card .ext { margin-left: auto; color: var(--muted); }
.ext-card:hover { text-decoration: none; border-style: solid; border-color: var(--accent); }

/* split + checklist */
.split { display: grid; grid-template-columns: minmax(260px, .8fr) 2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.split-main, .edo-kb { min-width: 0; }
.split-aside h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.checklist, .benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li, .benefits li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.tick { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--g) 18%, transparent); color: var(--g); margin-top: 2px; stroke-width: 3; }

/* tabs */
.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin-bottom: 18px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px; border: 0;
  background: transparent; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); scroll-snap-align: start; white-space: nowrap; }
.tabs [role="tab"]:hover { color: var(--ink); background: var(--surface-2); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--bg); }
.count { font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
[aria-selected="true"] .count { background: color-mix(in srgb, var(--bg) 22%, transparent); color: inherit; }
.tabpanel[hidden] { display: none; }
.group-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 26px 0 10px; }
.group-title:first-child { margin-top: 4px; }

/* accordion */
.acc-list { display: grid; gap: 10px; }
.acc { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.acc[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.acc summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; font-weight: 650; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary span { flex: 1; }
.acc summary:hover { color: var(--accent); }
.chev { width: 20px; height: 20px; color: var(--muted); transition: transform .25s ease; }
.acc[open] .chev { transform: rotate(180deg); color: var(--accent); }
.acc-body { padding: 0 20px 20px; }
.acc.is-hidden { display: none; }

.prose { color: var(--ink-2); font-size: .97rem; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--accent); }
.prose h5 { font-size: 1rem; margin: 1.2em 0 .4em; color: var(--ink); }
.prose a { word-break: break-word; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 12px 0 16px; font-size: .88rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.acc-body { overflow-x: auto; }
.prose th, .prose td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose div { margin-bottom: .6em; }
.inline-img { display: inline-block; height: 28px; width: auto; vertical-align: middle; margin: 0 4px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.shot { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; aspect-ratio: 16 / 11; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .4s ease; }
.shot:hover img { transform: scale(1.04); }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why-card p { margin: 0; font-weight: 600; color: var(--ink-2); }
.why-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; color: #fff; background: var(--grad); }
.why-card:nth-child(4n+2) .why-icon { background: linear-gradient(135deg, var(--b), var(--m)); }
.why-card:nth-child(4n+3) .why-icon { background: linear-gradient(135deg, var(--g), var(--b)); }
.why-card:nth-child(4n+4) .why-icon { background: linear-gradient(135deg, var(--m), var(--b)); }
.features { margin-top: 48px; padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-2); }

/* dark e-dönüşüm band */
.section-dark { background: radial-gradient(60% 50% at 0% 0%, rgba(111, 178, 42, .16), transparent 70%),
  radial-gradient(50% 50% at 100% 20%, rgba(43, 143, 224, .2), transparent 70%), var(--dark-bg); color: #e9edf6;
  --ink: #e9edf6; --ink-2: #c9d1e3; --muted: #97a1b7; --line: rgba(255, 255, 255, .09); --line-strong: rgba(255, 255, 255, .18);
  --surface: #111829; --surface-2: #172036; --accent: #5cb0f5; --bg: #0a0f1c; }
.edo-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-bottom: 56px; }
.edo-head .lead { color: var(--muted); }
.edo-head > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.benefits { grid-template-columns: 1fr 1fr; gap: 10px 20px; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.benefits li { font-size: .88rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--ink); cursor: pointer; font-size: .86rem; font-weight: 600; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.edo-kb { padding: clamp(18px, 3vw, 32px); border-radius: 26px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.kb-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.kb-head h3 { margin: 0; font-size: 1.4rem; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); min-width: min(360px, 100%); color: var(--muted); }
.search input { border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; width: 100%; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.no-result { color: var(--muted); padding: 16px 4px 0; margin: 0; }
mark { background: color-mix(in srgb, var(--b) 35%, transparent); color: inherit; border-radius: 4px; padding: 0 2px; }

/* partners */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.partners { display: grid; gap: 28px; }
.partner-cat h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.partner-cat.is-hidden { display: none; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.logo { display: grid; place-items: center; height: 68px; padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.logo img { max-height: 44px; width: auto; object-fit: contain; }
.logo:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* about */
.about { display: grid; grid-template-columns: .8fr 2fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-bottom: 56px; }
.about-badge { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 1; border-radius: 32px; display: grid; place-content: center; text-align: center; padding: 28px;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.about-badge b { font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -.05em; line-height: 1; }
.about-badge span { font-weight: 600; opacity: .92; margin-top: 10px; }
.about-copy .prose p { font-size: 1.02rem; }
.corp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.panel-card { padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.panel-title { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; color: var(--accent); }
.panel-title h3 { margin: 0; font-size: 1.35rem; }
.panel-card .acc { background: var(--surface-2); }
.bank-list { display: grid; gap: 10px; }
.bank-card { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.bank-top { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.bank-top span { color: var(--muted); font-size: .8rem; text-align: right; }
.iban { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.iban code { font: 600 .95rem/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .02em; color: var(--ink); }
.bank-card small { color: var(--muted); font-size: .78rem; }
.copy { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); font-size: .78rem; font-weight: 600; cursor: pointer; }
.copy.done { color: var(--g); border-color: var(--g); }

/* news */
.news .acc summary span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 12px; background: var(--grad); vertical-align: middle; }

/* contact */
.contact-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.cta-tile { display: flex; align-items: center; gap: 18px; padding: 24px 28px; border-radius: 22px; color: #fff; background: var(--grad); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.cta-tile:nth-child(2) { background: linear-gradient(110deg, var(--b), var(--m)); }
.cta-tile .ic { width: 34px; height: 34px; }
.cta-tile small { display: block; opacity: .85; font-weight: 600; }
.cta-tile b { font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.02em; word-break: break-all; }
.cta-tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office { display: grid; grid-template-columns: 220px 1fr; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.office-map { display: block; background: var(--surface-2); }
.office-map img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.office-map:hover img { transform: scale(1.05); }
.office-body { padding: 24px; }
.office-body h3 { margin: 10px 0 12px; }
.office-body p { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .93rem; margin-bottom: 8px; }
.office-body .ic { color: var(--accent); margin-top: 3px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--surface-2); color: var(--accent); border: 1px solid var(--line); }

/* footer */
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid p { margin-top: 12px; max-width: 36ch; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: .92rem; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 10, 20, .78); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(1200px, 94vw); max-height: 86vh; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; top: -52px; right: 0; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero pill + Mod Hotel Cloud */
:root { --cloud: #f2762e; --cloud-2: #ff9a4d; }
.badge-new { display: inline-block; padding: 2px 8px; border-radius: 999px; background: linear-gradient(90deg, var(--cloud), var(--m)); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.6; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; margin-bottom: 20px; max-width: 100%;
  border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 75%, transparent); backdrop-filter: blur(8px);
  color: var(--ink); font-size: .86rem; font-weight: 600; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.hero-pill:hover { text-decoration: none; border-color: var(--cloud); transform: translateY(-1px); }
.hero-pill .ic { color: var(--cloud); flex: none; }
.nav > a.nav-cloud { color: var(--cloud); }
.btn-cloud { background: linear-gradient(100deg, var(--cloud), var(--m)); color: #fff; box-shadow: var(--shadow); }
.btn-cloud:hover { box-shadow: var(--shadow-lg); color: #fff; }
.grad-cloud { background: linear-gradient(100deg, var(--cloud), var(--m) 60%, var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cloud { overflow: hidden; isolation: isolate; }
.cloud-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 35% at 85% 8%, color-mix(in srgb, var(--cloud) 16%, transparent), transparent 70%),
              radial-gradient(40% 35% at 5% 75%, color-mix(in srgb, var(--b) 14%, transparent), transparent 70%); }
.cloud-head { max-width: 780px; margin-bottom: 36px; }
.cloud-head .eyebrow { color: var(--cloud); }
.shot-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.shot-tabs [role="tab"] { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.shot-tabs [role="tab"]:hover { border-color: var(--cloud); }
.shot-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.device { position: relative; padding-right: 150px; }
.browser { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); background: #0b1022; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #151b34; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; } .browser-bar span:nth-child(3) { background: #28c840; }
.browser-bar em { margin-left: 12px; padding: 3px 14px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: #aab3c8; font-style: normal; font-size: .78rem; font-weight: 600; }
.browser-view { position: relative; aspect-ratio: 1400 / 864; background: #0b1022; }
.shot-frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.shot-frame.is-active { opacity: 1; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.phone { position: absolute; right: 0; bottom: -36px; width: 230px; padding: 9px; border-radius: 34px; background: #05070f;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.phone img { width: 100%; border-radius: 26px; }
.shot-caption { margin: 0 0 14px; font-weight: 400; font-size: 1.05rem; color: var(--ink-2); min-height: 1.6em; }
.shot-note { margin: 52px 0 0; font-size: .78rem; color: var(--muted); }
.cloud-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.cloud-feature { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cloud-feature h3 { font-size: 1.02rem; margin: 12px 0 6px; }
.cloud-feature p { margin: 0; color: var(--muted); font-size: .9rem; }
.cloud-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--cloud), var(--m)); }
@media (max-width: 1080px) {
  .cloud-features { grid-template-columns: repeat(2, 1fr); }
  .device { padding-right: 90px; }
  .phone { width: 170px; border-radius: 28px; }
}
@media (max-width: 640px) {
  .cloud-features { grid-template-columns: 1fr; }
  .device { padding-right: 46px; }
  .phone { width: 112px; padding: 6px; border-radius: 20px; bottom: -24px; }
  .phone img { border-radius: 15px; }
  .shot-note { margin-top: 36px; }
  .hero-pill { font-size: .78rem; }
}

/* ---------- responsive */
@media (max-width: 1540px) {
  .nav > a { padding: 8px 9px; font-size: .92rem; }
  .header-actions .btn-label { display: none; }
  .header-actions .btn-primary.btn-sm { width: 42px; padding: 0; border-radius: 12px; }
}
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .office { grid-template-columns: 1fr; }
  .office-map { aspect-ratio: 16 / 7; }
}
/* the menu collapses earlier than the layout: 8 links + language + actions need ~1250px */
@media (max-width: 1320px) {
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100dvh - var(--header-h)); overflow: auto; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav > a { padding: 12px 14px; font-size: 1rem; }
  .nav-extra { margin: 10px 0 0; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .edo-head, .about, .corp-grid, .offices, .contact-cta { grid-template-columns: 1fr; }
  .split-aside, .about-badge, .edo-head > div:first-child { position: static; }
  .about-badge { aspect-ratio: auto; padding: 28px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .mock { transform: none; }
  .fc-1 { left: 8px; } .fc-2 { right: 8px; }
  .stats { grid-template-columns: repeat(3, auto); gap: 8px 18px; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .stats div { padding-left: 10px; }
  .stats dt { font-size: 1.3rem; }
  .bento, .why-grid, .ext-row, .benefits { grid-template-columns: 1fr; }
  .bento-lg, .bento-wide { grid-column: auto; }
  .bento-card { min-height: 0; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi b { font-size: 1.1rem; }
  .float-card { font-size: .74rem; padding: 8px 10px; }
  .fc-1 { bottom: 20px; }
  .acc summary { padding: 14px 16px; }
  .acc-body { padding: 0 16px 16px; }
  .features { padding: 22px; }
  .cta-tile { padding: 20px; }
  .header-row { gap: 12px; }
  .brand-mark { font-size: 1.7rem; }
}

/* ---------- 2026-11-13 round 3 */
/* hero visual: real Mod Hotel Cloud dashboard + phone */
.hero-shot { position: relative; display: block; perspective: 1400px; color: inherit; text-decoration: none !important; }
.hero-shot .browser { transform: rotateY(-7deg) rotateX(3deg); transform-origin: left center; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.hero-shot:hover .browser { transform: rotateY(-2deg) rotateX(1deg); }
.hero-shot .browser img { display: block; width: 100%; height: auto; }
.hero-shot .phone { right: -18px; bottom: -34px; width: 150px; padding: 7px; border-radius: 26px; }
.hero-shot .phone img { border-radius: 20px; }
.hero-shot .fc-1 { left: -22px; bottom: 34px; }
/* module tabs: wrapping grid, nothing hidden behind horizontal scroll */
.tabs[data-tabs] { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 0; margin-bottom: 18px;
  background: none; border: 0; border-radius: 0; overflow: visible; scroll-snap-type: none; }
.tabs[data-tabs] [role="tab"] { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 12px 14px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface); white-space: normal; text-align: left; line-height: 1.25;
  color: var(--ink-2); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
.tabs[data-tabs] [role="tab"]:hover { border-color: var(--accent); color: var(--ink); background: var(--surface); transform: translateY(-1px); }
.tabs[data-tabs] [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: var(--shadow); }
/* references: one draggable row */
.marquee[data-marquee] { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.marquee[data-marquee].dragging { cursor: grabbing; }
.marquee[data-marquee] .marquee-track { animation: none; will-change: transform; }
.marquee[data-marquee] img { pointer-events: none; }
/* partner tile with a text label (MOD MRZ) */
.logo.has-label { display: flex; align-items: center; justify-content: center; gap: 10px; }
.logo.has-label img { max-height: 40px; }
.logo.has-label b { color: #0c1324; font-size: .92rem; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 960px) {
  .hero-shot { max-width: 620px; margin: 8px auto 30px; width: 100%; }
  .hero-shot .browser { transform: none; }
  .hero-shot .phone { right: 4px; width: 110px; padding: 5px; border-radius: 18px; bottom: -26px; }
  .hero-shot .phone img { border-radius: 14px; }
  .hero-shot .fc-1 { left: 6px; bottom: 14px; }
}
@media (max-width: 640px) {
  .tabs[data-tabs] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs[data-tabs] [role="tab"] { min-height: 46px; padding: 10px 12px; font-size: .86rem; }
}

/* privacy pages */
.privacy h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .3em; }
.privacy h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; }
.privacy h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.privacy h4 { font-size: 1rem; margin: 1.2em 0 .3em; }
.privacy li > p { margin: 0 0 .4em; }

/* ---------- round 4: colourful module tabs with a light sweep ("ışıldak") */
.tabs[data-tabs] [role="tab"].shine { position: relative; overflow: hidden; isolation: isolate; color: #fff; border: 0;
  background: linear-gradient(135deg, var(--t1), var(--t2)); box-shadow: 0 6px 16px -8px var(--t2); font-weight: 700; }
.tabs[data-tabs] [role="tab"].shine .count { background: rgba(255, 255, 255, .22); color: #fff; }
.tabs[data-tabs] [role="tab"].shine:hover { color: #fff; background: linear-gradient(135deg, var(--t1), var(--t2)); transform: translateY(-2px); box-shadow: 0 10px 22px -8px var(--t2); filter: saturate(1.1); }
.tabs[data-tabs] [role="tab"].shine[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--t1), var(--t2));
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--t1), 0 12px 24px -10px var(--t2); transform: translateY(-1px); }
.tabs[data-tabs] [role="tab"].shine::before { content: ""; position: absolute; top: 0; left: -120px; width: 100px; height: 100%; z-index: -1; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%); }
.tabs[data-tabs] [role="tab"].shine:hover::before { animation: tab-shine .75s ease-out; }
.tabs[data-tabs] [role="tab"].shine[aria-selected="true"]::before { animation: tab-shine-loop 4s linear infinite; }
@keyframes tab-shine { from { left: -120px; } to { left: 110%; } }
@keyframes tab-shine-loop { 0% { left: -120px; } 20% { left: 110%; } 100% { left: 110%; } }
.tc0 { --t1: #6fb22a; --t2: #14967f; } .tc1 { --t1: #2b8fe0; --t2: #4f5bd5; } .tc2 { --t1: #e11d63; --t2: #f25f5c; }
.tc3 { --t1: #f2762e; --t2: #e0a21b; } .tc4 { --t1: #7b5cff; --t2: #b44bd6; } .tc5 { --t1: #0fb5ae; --t2: #2b8fe0; }
.tc6 { --t1: #ef4f7d; --t2: #8e44ad; } .tc7 { --t1: #3d5afe; --t2: #00a3c4; }
/* phone in the Cloud showcase follows the selected screen */
.phone .phone-view { position: relative; aspect-ratio: 500 / 781; border-radius: 26px; overflow: hidden; background: #0b1022; }
.phone .phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 0; opacity: 0; transition: opacity .6s ease; }
.phone .phone-frame.is-active { opacity: 1; }
@media (max-width: 1080px) { .phone .phone-view { border-radius: 20px; } }
@media (max-width: 640px) { .phone .phone-view { border-radius: 15px; } }

/* partners collapsed until a category is chosen (without JS everything stays visible) */
.js .partners:not(.has-selection) { display: none; }
.partner-hint { display: none; align-items: center; gap: 8px; margin: -12px 0 0; color: var(--muted); font-size: .92rem; }
.js .partner-hint:not([hidden]) { display: inline-flex; }
.partner-hint .ic { color: var(--accent); transform: rotate(-90deg); }

/* caption to the right of the showcase tabs */
.shot-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
.shot-head .shot-tabs { margin-bottom: 0; }
.shot-head .shot-caption { margin: 0; flex: 1 1 260px; }
.cloud .device { margin-bottom: 52px; }
@media (max-width: 640px) { .cloud .device { margin-bottom: 36px; } }

/* accordion frames: raised ("bombeli") and clearer */
.acc { border: 1.5px solid var(--line-strong); border-radius: 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 100%, #fff 6%), var(--surface));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 2px rgba(12, 19, 36, .06), 0 6px 14px -8px rgba(12, 19, 36, .22); }
.acc:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 2px 4px rgba(12, 19, 36, .08), 0 12px 22px -10px rgba(12, 19, 36, .3); }
.acc[open] { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-strong)); }
:root[data-theme="dark"] .acc { background: linear-gradient(180deg, #1a2440, var(--surface)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 6px 16px -8px rgba(0, 0, 0, .7); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .acc { background: linear-gradient(180deg, #1a2440, var(--surface)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 6px 16px -8px rgba(0, 0, 0, .7); }
}
.panel-card .acc { background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 100%, #fff 5%), var(--surface-2)); }

/* pastel module tabs (selected one keeps the full colour) */
.tabs[data-tabs] [role="tab"].shine { color: #1d2740; background: linear-gradient(135deg, color-mix(in srgb, var(--t1) 30%, #fff), color-mix(in srgb, var(--t2) 30%, #fff));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 14px -10px var(--t2); }
.tabs[data-tabs] [role="tab"].shine .count { background: rgba(12, 19, 36, .10); color: #1d2740; }
.tabs[data-tabs] [role="tab"].shine:hover { color: #0c1324; background: linear-gradient(135deg, color-mix(in srgb, var(--t1) 42%, #fff), color-mix(in srgb, var(--t2) 42%, #fff)); }
.tabs[data-tabs] [role="tab"].shine[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--t1) 85%, #fff), color-mix(in srgb, var(--t2) 85%, #fff)); }
.tabs[data-tabs] [role="tab"].shine[aria-selected="true"] .count { background: rgba(255, 255, 255, .25); color: #fff; }
.tabs[data-tabs] [role="tab"].shine::before { background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%); }
.section-head { margin-bottom: clamp(24px, 3vw, 40px); }

/* Cloud caption: more visible without bold */
.shot-head .shot-caption { position: relative; padding: 10px 16px 10px 18px; border-radius: 14px; color: var(--ink); font-size: 1.08rem; font-weight: 400; line-height: 1.45;
  background: color-mix(in srgb, var(--cloud) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--cloud) 32%, transparent);
  box-shadow: 0 6px 16px -12px color-mix(in srgb, var(--cloud) 70%, transparent); }
.shot-head .shot-caption::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--cloud), var(--m)); }
.shot-head .shot-caption.swap { animation: cap-in .45s ease; }
@keyframes cap-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card, .bars i { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  /* logo strip keeps scrolling on purpose (requested); it pauses on hover */
}
