/* iStation Business – theme styles */
:root {
	--ib-bg: #08090A;
	--ib-surface: #111214;
	--ib-line: #1C1E21;
	--ib-line-2: #2C2F33;
	--ib-ink: #F2F1EC;
	--ib-muted: #A3A6AC;
	--ib-dim: #8C8F95;
	--ib-accent: #C8F169;
	--ib-display: 'Unbounded', system-ui, sans-serif;
	--ib-body: 'Manrope', system-ui, sans-serif;
	--ib-mono: 'JetBrains Mono', ui-monospace, monospace;
	--ib-header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--ib-bg);
	color: var(--ib-ink);
	font-family: var(--ib-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ib-ink); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--ib-accent); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--ib-header-h) + 16px); }

.ib-wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.ib-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ib-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ib-accent); color: var(--ib-bg); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.ib-skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.ib-btn {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px; padding: 0 20px; border-radius: 10px;
	font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
	transition: transform .15s ease, opacity .15s ease;
}
.ib-btn:hover { transform: translateY(-1px); }
.ib-btn--light { background: var(--ib-ink); color: var(--ib-bg); }
.ib-btn--light:hover { color: var(--ib-bg); }
.ib-btn--accent { background: var(--ib-accent); color: var(--ib-bg); min-height: 56px; padding: 0 28px; }
.ib-btn--accent:hover { color: var(--ib-bg); }

/* ---------- Top bar ---------- */
.ib-topbar { border-bottom: 1px solid var(--ib-line); font-family: var(--ib-mono); font-size: 12px; letter-spacing: .06em; color: var(--ib-dim); }
.ib-topbar__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 10px; padding-bottom: 10px; }
.ib-topbar__badge { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; }
.ib-topbar a { color: var(--ib-dim); text-decoration: none; }
.ib-topbar a:hover { color: var(--ib-ink); }
.ib-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ib-accent); }

/* ---------- Header ---------- */
.ib-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(8, 9, 10, .82);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--ib-line);
	transition: background .2s ease;
}
.admin-bar .ib-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ib-header { top: 0; } }
.ib-header.is-scrolled { background: rgba(8, 9, 10, .95); }
.ib-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--ib-header-h); }
.ib-logo { font-family: var(--ib-display); font-weight: 500; font-size: 21px; letter-spacing: -.01em; text-decoration: none; color: var(--ib-ink); display: inline-flex; align-items: center; }
.ib-logo img { max-height: 40px; width: auto; }
.ib-logo__dot { color: var(--ib-accent); }

.ib-menu { display: flex; align-items: center; gap: 28px; }
.ib-nav__list, .ib-lang ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.ib-nav__list a { color: var(--ib-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.ib-nav__list a:hover { color: var(--ib-ink); }
.ib-lang ul { gap: 4px; padding: 3px; border: 1px solid var(--ib-line-2); border-radius: 9px; }
.ib-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 32px; padding: 0 8px; border-radius: 6px; font-family: var(--ib-mono); font-size: 12px; text-transform: uppercase; color: var(--ib-muted); text-decoration: none; }
.ib-lang .current-lang a { background: var(--ib-ink); color: var(--ib-bg); }
.ib-lang img { display: none; }

.ib-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--ib-line-2); border-radius: 10px; background: transparent; color: var(--ib-ink); cursor: pointer; position: relative; }
.ib-burger__lines, .ib-burger__lines::before, .ib-burger__lines::after { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; content: ''; transition: transform .2s ease, opacity .2s ease; }
.ib-burger__lines { top: 21px; }
.ib-burger__lines::before { top: -6px; left: 0; right: 0; }
.ib-burger__lines::after { top: 6px; left: 0; right: 0; }
.ib-burger[aria-expanded="true"] .ib-burger__lines { background: transparent; }
.ib-burger[aria-expanded="true"] .ib-burger__lines::before { transform: translateY(6px) rotate(45deg); background: var(--ib-ink); }
.ib-burger[aria-expanded="true"] .ib-burger__lines::after { transform: translateY(-6px) rotate(-45deg); background: var(--ib-ink); }

@media (max-width: 1024px) {
	:root { --ib-header-h: 68px; }
	.ib-wrap { padding: 0 20px; }
	.ib-burger { display: inline-block; }
	.ib-menu {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 24px 20px 28px; background: var(--ib-bg); border-bottom: 1px solid var(--ib-line);
	}
	.ib-menu.is-open { display: flex; }
	.ib-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.ib-nav__list a { display: flex; align-items: center; min-height: 52px; font-size: 18px; border-bottom: 1px solid var(--ib-line); }
	.ib-lang ul { align-self: flex-start; }
	.ib-menu .ib-btn { justify-content: center; min-height: 52px; }
}

/* ---------- Main / plain pages ---------- */
.ib-content { padding-top: 96px; padding-bottom: 128px; }
.ib-page-title { font-family: var(--ib-display); font-weight: 300; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 40px; }
.ib-eyebrow { font-family: var(--ib-mono); font-size: 13px; letter-spacing: .1em; color: var(--ib-accent); margin: 0 0 20px; }
.ib-prose { max-width: 760px; color: var(--ib-muted); }
.ib-prose h2, .ib-prose h3 { color: var(--ib-ink); font-family: var(--ib-display); font-weight: 400; line-height: 1.2; margin: 1.8em 0 .6em; }
.ib-prose a { color: var(--ib-accent); }
.ib-entry + .ib-entry { margin-top: 56px; }
.ib-entry__title { font-family: var(--ib-display); font-weight: 400; font-size: 28px; margin: 0 0 12px; }
.ib-entry__title a { text-decoration: none; }

/* ---------- Footer ---------- */
.ib-footer { border-top: 1px solid var(--ib-line); overflow: hidden; }
.ib-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 56px; font-size: 14px; color: var(--ib-dim); }
.ib-footer__copy { margin: 0; }
.ib-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ib-footer__nav a { color: var(--ib-dim); text-decoration: none; }
.ib-footer__nav a:hover { color: var(--ib-ink); }
.ib-footer__mark {
	margin: 40px 0 -.18em; font-family: var(--ib-display); font-weight: 600;
	font-size: clamp(80px, 17vw, 250px); line-height: 1; letter-spacing: -.05em;
	color: #16181A; user-select: none;
}

/* ---------- Elementor content helpers ---------- */
.ib-builder .elementor-widget-heading .elementor-heading-title strong { font-weight: 500; }
.ib-accent { color: var(--ib-accent); }
.ib-h1 .elementor-heading-title { text-wrap: balance; }
.ib-badge .elementor-heading-title { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #1C2A12; }
.ib-bar { height: 4px; min-height: 4px !important; padding: 0 !important; flex-grow: 0 !important; }
.ib-strip { border-top: 1px solid var(--ib-line); border-bottom: 1px solid var(--ib-line); }
.ib-why-row { border-top: 1px solid #CFCCC4; }
.ib-why-list > .e-con-inner > .ib-why-row:last-child,
.ib-why-list > .ib-why-row:last-child { border-bottom: 1px solid #CFCCC4; }
.ib-topline { border-top: 1px solid var(--ib-line); }
.ib-maxw { max-width: 760px; }
.ib-step-num .elementor-heading-title {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3A3D42;
}
.ib-step-num--on .elementor-heading-title { background: var(--ib-accent); border-color: var(--ib-accent); }
.ib-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* FAQ accordion: only horizontal rules */
.ib-faq .elementor-accordion-item { border-width: 1px 0 0 0 !important; }
.ib-faq .elementor-accordion-item:last-child { border-bottom-width: 1px !important; }
.ib-faq .elementor-tab-title, .ib-faq .elementor-tab-content { border: 0 !important; background: transparent; }
.ib-faq .elementor-tab-title { cursor: pointer; }

/* ---------- Contact form ---------- */
.ib-form { color: var(--ib-ink); }
.ib-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ib-form__field { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ib-muted); }
.ib-form__field--full { grid-column: 1 / -1; }
.ib-form input[type="text"], .ib-form input[type="email"], .ib-form input[type="tel"], .ib-form textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
	border: 1px solid var(--ib-line-2); background: var(--ib-surface); color: var(--ib-ink);
	font: inherit; font-size: 16px;
}
.ib-form textarea { resize: vertical; min-height: 120px; }
.ib-form input:focus, .ib-form textarea:focus { border-color: var(--ib-accent); outline: none; box-shadow: 0 0 0 3px rgba(200, 241, 105, .2); }
.ib-form__consent { margin: 0; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ib-muted); }
.ib-form__consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ib-accent); flex: none; }
.ib-form__consent a { color: var(--ib-ink); }
.ib-form__hp { position: absolute !important; left: -9999px !important; }
.ib-form__submit {
	width: 100%; margin-top: 20px; min-height: 56px; border: 0; border-radius: 12px;
	background: var(--ib-ink); color: var(--ib-bg); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
	transition: transform .15s ease;
}
.ib-form__submit:hover { transform: translateY(-1px); }
.ib-form__msg { margin: 0 0 20px; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.ib-form__msg--ok { background: #1C2A12; color: var(--ib-accent); }
.ib-form__msg--err, .ib-form__msg--fail, .ib-form__msg--limit { background: #2A1414; color: #FFB4AB; }
@media (max-width: 600px) { .ib-form__grid { grid-template-columns: 1fr; } }
